/**
 * Fortema Theme - Custom CSS & Keyframe Animations
 *
 * @package Fortema
 */

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.18); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@keyframes funnel-bounce-1 {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-16px) scale(1.06); }
}

@keyframes funnel-bounce-2 {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-12px) scale(0.97); }
}

@keyframes funnel-bounce-3 {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.08); }
}

@keyframes funnel-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes line-dash-flow {
  to { stroke-dashoffset: -40; }
}

@-webkit-keyframes scroll-up {
  0% { -webkit-transform: translateY(0); transform: translateY(0); }
  100% { -webkit-transform: translateY(-50%); transform: translateY(-50%); }
}

@keyframes scroll-up {
  0% { -webkit-transform: translateY(0); transform: translateY(0); }
  100% { -webkit-transform: translateY(-50%); transform: translateY(-50%); }
}

@-webkit-keyframes scroll-down {
  0% { -webkit-transform: translateY(-50%); transform: translateY(-50%); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes scroll-down {
  0% { -webkit-transform: translateY(-50%); transform: translateY(-50%); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
}

.animate-scroll-up,
.hero-scroll-up {
  -webkit-animation: scroll-up 24s linear infinite !important;
  animation: scroll-up 24s linear infinite !important;
  will-change: transform;
}

.animate-scroll-down,
.hero-scroll-down {
  -webkit-animation: scroll-down 24s linear infinite !important;
  animation: scroll-down 24s linear infinite !important;
  will-change: transform;
}

/* Hover pause for Hero Diamond Carousel - strictly halts ONLY the hovered column so other columns keep rolling */
.hero-col-wrapper-1:hover #hero-carousel-col1,
.hero-scroll-col-1:hover,
#hero-carousel-col1:hover {
  -webkit-animation-play-state: paused !important;
  animation-play-state: paused !important;
}
.hero-col-wrapper-2:hover #hero-carousel-col2,
.hero-scroll-col-2:hover,
#hero-carousel-col2:hover {
  -webkit-animation-play-state: paused !important;
  animation-play-state: paused !important;
}
.hero-col-wrapper-3:hover #hero-carousel-col3,
.hero-scroll-col-3:hover,
#hero-carousel-col3:hover {
  -webkit-animation-play-state: paused !important;
  animation-play-state: paused !important;
}

/* Strict Desktop Funnel Grid side-by-side layout */
@media (min-width: 1024px) {
  #paslaugos-grid-container {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    align-items: center !important;
  }
  #paslaugos-grid-container > .funnel-left-col {
    grid-column: 1 / span 6 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }
  #paslaugos-grid-container > .funnel-right-col {
    grid-column: 7 / span 6 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }
}

/* Dedicated Funnel Orbit positioning: guarantees 100% mathematical center alignment in WordPress and React on all screens */
.funnel-orbit-1-wrapper {
  position: absolute !important;
  top: 34.4% !important;
  left: 50% !important;
  -webkit-transform: translate(-50%, -50%) rotate(-11deg) !important;
  transform: translate(-50%, -50%) rotate(-11deg) !important;
  width: 420px;
  max-width: 90%;
  height: 90px;
  pointer-events: none;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  margin: 0 !important;
}
.funnel-orbit-2-wrapper {
  position: absolute !important;
  top: 49.3% !important;
  left: 50% !important;
  -webkit-transform: translate(-50%, -50%) !important;
  transform: translate(-50%, -50%) !important;
  width: 370px;
  max-width: 82%;
  height: 75px;
  pointer-events: none;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  margin: 0 !important;
}
.funnel-orbit-3-wrapper {
  position: absolute !important;
  top: 63.5% !important;
  left: 50% !important;
  -webkit-transform: translate(-50%, -50%) rotate(14deg) !important;
  transform: translate(-50%, -50%) rotate(14deg) !important;
  width: 280px;
  max-width: 65%;
  height: 65px;
  pointer-events: none;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  margin: 0 !important;
}

/* Funnel Icons Cloud container */
.funnel-icons-cloud {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 120px;
  margin-bottom: -54px;
  z-index: 25;
}
@media (max-width: 768px) {
  .funnel-icons-cloud {
    max-width: 420px;
    height: 95px;
    margin-bottom: -30px;
  }
}
@media (max-width: 480px) {
  .funnel-icons-cloud {
    max-width: 320px;
    height: 72px;
    margin-bottom: -14px;
  }
}

/* Hero diamond carousel box: strictly 45-degree rotated diamond shape */
.hero-diamond-box {
  rotate: 0deg !important;
  transform: translate3d(850px, 0, 0) rotate(-45deg);
  will-change: transform, opacity;
}

/* Motion Scroll styling (controlled by admin settings per section) */
@media (min-width: 1024px) {
  body.motion-hero-active .hero-diamond-box {
    opacity: 0;
    transform: translate3d(850px, 0, 0) rotate(-45deg);
    will-change: transform, opacity;
  }
  body:not(.motion-hero-active) .hero-diamond-box {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(-45deg) !important;
  }

  /* 180 degree flip animation for Bento Cards (matching 5 steps) */
  body.motion-why-active .motion-bento-card {
    opacity: 0;
    transform: perspective(1000px) rotateY(180deg) scale(0.9);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease;
    will-change: transform, opacity;
  }
  body.motion-why-active .motion-bento-card.bento-revealed {
    opacity: 1 !important;
    transform: perspective(1000px) rotateY(0deg) scale(1) !important;
  }

  /* 180 degree flip animation for 5 steps */
  body.motion-steps-active .motion-step-card {
    opacity: 0;
    transform: perspective(1000px) rotateY(180deg) scale(0.9);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease;
    will-change: transform, opacity;
  }
  body.motion-steps-active .motion-step-card.step-revealed {
    opacity: 1 !important;
    transform: perspective(1000px) rotateY(0deg) scale(1) !important;
  }

  /* Cascade fall-in for FAQ items */
  body.motion-faq-active .motion-faq-item {
    opacity: 0;
    transform: translateY(35px) scale(0.97);
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease;
    will-change: transform, opacity;
  }
  body.motion-faq-active .motion-faq-item.faq-revealed {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }
}

@keyframes hero-circle-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-orbit-disk {
  animation: hero-circle-spin 24s linear infinite !important;
  transform-origin: center center !important;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float-slow {
  animation: float-slow 5s ease-in-out infinite;
}

.animate-float-reverse {
  animation: float-reverse 4s ease-in-out infinite;
}

.animate-heartbeat {
  animation: heartbeat 1.6s ease-in-out infinite;
}

.animate-marquee-left {
  animation: marquee-left 115s linear infinite;
}

.animate-marquee-right {
  animation: marquee-right 115s linear infinite;
}

.pause-hover:hover {
  animation-play-state: paused;
}

/* Image zoom on hover for team card */
.group:hover .agency-team-photo,
.agency-team-photo:hover {
  transform: scale(1.10) !important;
}

.animate-funnel-bounce-1 {
  animation: funnel-bounce-1 3.2s ease-in-out infinite;
}

.animate-funnel-bounce-2 {
  animation: funnel-bounce-2 4s ease-in-out infinite 0.5s;
}

.animate-funnel-bounce-3 {
  animation: funnel-bounce-3 3.6s ease-in-out infinite 1s;
}

.animate-funnel-orbit {
  animation: funnel-orbit 18s linear infinite;
}

.animate-dash-flow {
  animation: line-dash-flow 1.5s linear infinite;
}

/* Orbit Comets */
@keyframes orbit-sweep-1 {
  0% { transform: translate(-170px, 0px) scale(0.92); opacity: 0; }
  5% { opacity: 1; }
  25% { transform: translate(0px, 34px) scale(1.18); opacity: 1; }
  45% { opacity: 1; }
  50% { transform: translate(170px, 0px) scale(0.92); opacity: 0; }
  75% { transform: translate(0px, -34px) scale(0.72); opacity: 0; }
  98% { transform: translate(-168px, 0px) scale(0.88); opacity: 0; }
  100% { transform: translate(-170px, 0px) scale(0.92); opacity: 0; }
}

@keyframes orbit-sweep-2 {
  0% { transform: translate(150px, 0px) scale(0.92); opacity: 0; }
  5% { opacity: 1; }
  25% { transform: translate(0px, 28px) scale(1.16); opacity: 1; }
  45% { opacity: 1; }
  50% { transform: translate(-150px, 0px) scale(0.92); opacity: 0; }
  75% { transform: translate(0px, -28px) scale(0.72); opacity: 0; }
  98% { transform: translate(148px, 0px) scale(0.88); opacity: 0; }
  100% { transform: translate(150px, 0px) scale(0.92); opacity: 0; }
}

@keyframes orbit-sweep-3 {
  0% { transform: translate(-115px, 0px) scale(0.92); opacity: 0; }
  5% { opacity: 1; }
  25% { transform: translate(0px, 22px) scale(1.15); opacity: 1; }
  45% { opacity: 1; }
  50% { transform: translate(115px, 0px) scale(0.92); opacity: 0; }
  75% { transform: translate(0px, -22px) scale(0.72); opacity: 0; }
  98% { transform: translate(-113px, 0px) scale(0.88); opacity: 0; }
  100% { transform: translate(-115px, 0px) scale(0.92); opacity: 0; }
}

.animate-orbit-comet-1 { animation: orbit-sweep-1 7s linear infinite; }
.animate-orbit-comet-2 { animation: orbit-sweep-2 8.5s linear infinite; }
.animate-orbit-comet-3 { animation: orbit-sweep-3 6s linear infinite; }

/* Responsive Chevron Cut for 12 Years Experience Image */
.chevron-triangle-cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 50% 100%, 0 calc(100% - 30px));
}

@media (min-width: 1024px) {
  .chevron-triangle-cut {
    clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 50%, calc(100% - 44px) 100%, 0 100%);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.no-scrollbar::-webkit-scrollbar { display: none !important; width: 0 !important; }
.no-scrollbar { -ms-overflow-style: none !important; scrollbar-width: none !important; }

/* Clickable elements cursor */
button, a, input[type="submit"], [role="button"], select {
  cursor: pointer !important;
}

/* Sticky white main header bar below WordPress Admin Bar when logged in */
header#masthead {
  position: sticky;
  top: 0;
  z-index: 50;
}
body.admin-bar header#masthead {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar header#masthead {
    top: 46px;
  }
}

/* Smooth anchor scrolling compensated ONLY for the sticky white navigation bar (80px + breathing room) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}
#hero,
#kodel-mes,
#paslaugos,
#projektai,
#tinklarastis,
#atsiliepimai,
#duk,
#faq,
#kontaktai,
#kaip-tai-veikia,
#portfolio,
[id] {
  scroll-margin-top: 86px;
}
body.admin-bar #hero,
body.admin-bar #kodel-mes,
body.admin-bar #paslaugos,
body.admin-bar #projektai,
body.admin-bar #tinklarastis,
body.admin-bar #atsiliepimai,
body.admin-bar #duk,
body.admin-bar #faq,
body.admin-bar #kontaktai,
body.admin-bar #kaip-tai-veikia,
body.admin-bar #portfolio,
body.admin-bar [id] {
  scroll-margin-top: 118px;
}
@media screen and (max-width: 782px) {
  body.admin-bar #hero,
  body.admin-bar #kodel-mes,
  body.admin-bar #paslaugos,
  body.admin-bar #projektai,
  body.admin-bar #tinklarastis,
  body.admin-bar #atsiliepimai,
  body.admin-bar #duk,
  body.admin-bar #faq,
  body.admin-bar #kontaktai,
  body.admin-bar #kaip-tai-veikia,
  body.admin-bar #portfolio,
  body.admin-bar [id] {
    scroll-margin-top: 132px;
  }
}

/* Mega Menu Dropdown fixed position (dynamically positioned via JS relative to #masthead bottom) */
#mega-menu-dropdown {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  -webkit-transform: translateX(-50%) !important;
  translate: none !important;
  top: 84px;
  width: 980px !important;
  max-width: calc(100vw - 32px) !important;
  box-sizing: border-box !important;
  z-index: 99999 !important;
}

body.admin-bar #mega-menu-dropdown {
  top: 116px;
}

/* 360 degree smooth rotation on hover for marketing problems */
.group:hover .group-hover-rotate-360,
.group-hover-rotate-360:hover {
  transform: rotate(360deg) scale(1.1) !important;
}

/* Mega menu visible helper */
#mega-menu-dropdown.is-active {
  display: block !important;
  opacity: 1 !important;
  transform: translateX(-50%) !important;
}

/* ==========================================================================
   PORTFOLIO SINGLE (CASE STUDY) BULLETPROOF STYLES
   Matches final-portfolio_5a0370c2.png exactly
   ========================================================================== */
.fortema-kpi-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
  margin-bottom: 32px !important;
}
@media (min-width: 768px) {
  .fortema-kpi-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px !important;
  }
}
.fortema-kpi-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
.fortema-kpi-icon-box {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 14px !important;
  background-color: #eaf8f0 !important;
  border: 1px solid #d1fae5 !important;
  color: #1e7d40 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 12px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}
.fortema-kpi-value {
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 4px !important;
}
@media (min-width: 640px) {
  .fortema-kpi-value {
    font-size: 36px !important;
  }
}
.fortema-kpi-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

/* Gallery Carousel Cards */
.fortema-gallery-card {
  flex-shrink: 0 !important;
  width: 380px !important;
  max-width: 85vw !important;
  height: 380px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  position: relative !important;
  cursor: pointer !important;
  background-color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06) !important;
}
.fortema-gallery-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.fortema-gallery-card.is-fit-contain img {
  object-fit: contain !important;
}

/* Stepper Timeline with Connecting Line */
.fortema-step-row {
  position: relative !important;
  padding-left: 42px !important;
  padding-bottom: 22px !important;
}
.fortema-step-row:last-child {
  padding-bottom: 0 !important;
}
.fortema-step-line {
  position: absolute !important;
  left: 13px !important;
  top: 26px !important;
  bottom: 0 !important;
  width: 2px !important;
  background-color: #a7f3d0 !important;
}
.fortema-step-row:last-child .fortema-step-line {
  display: none !important;
}
.fortema-step-badge {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 9999px !important;
  background-color: #2eb35e !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
}

/* Channel Icons Circle Badge */
.fortema-channel-badge {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  transition: transform 0.2s ease !important;
}
.fortema-channel-badge:hover {
  transform: scale(1.1) !important;
}

/* Related Projects Horizontal Slider */
.fortema-related-slider {
  display: flex !important;
  gap: 20px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 6px 2px 16px !important;
}
.fortema-related-slider::-webkit-scrollbar {
  display: none !important;
}
.fortema-related-card {
  position: relative !important;
  height: 300px !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background-color: #0f172a !important;
  text-decoration: none !important;
  display: block !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07) !important;
}
.fortema-related-card img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0.8 !important;
  transition: transform 0.5s ease, opacity 0.5s ease !important;
}
.fortema-related-card.is-fit-contain img {
  object-fit: contain !important;
}
.fortema-related-card:hover img {
  transform: scale(1.05) !important;
  opacity: 0.9 !important;
}
.fortema-related-caption {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  background: rgba(0, 0, 0, 0.50) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  padding: 16px 20px !important;
  z-index: 10 !important;
}

/* Portfolio KPI Row (Strict 1 horizontal row on desktop 768px+) */
.fortema-kpi-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}
@media (min-width: 768px) {
  .fortema-kpi-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
.fortema-kpi-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
  min-width: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.fortema-kpi-card:hover {
  border-color: #2eb35e !important;
  box-shadow: 0 4px 12px rgba(46, 179, 94, 0.08) !important;
}
.fortema-channel-badge {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
  flex-shrink: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

/* ==========================================================================
   SIDEBAR BLOCK WIDGET HEADINGS & LITHUANIAN STYLING
   Matches "Atlikti darbai" & "Naujausi įrašai" bold headings
   ========================================================================== */
.widget-area .widget h2,
.widget-area .widget h3,
.widget-area .widget .wp-block-heading,
.widget-area .widget .widget-title,
.fortema-dynamic-widgets .widget h2,
.fortema-dynamic-widgets .widget h3,
.fortema-dynamic-widgets .widget .wp-block-heading {
  font-size: 1rem !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  letter-spacing: -0.025em !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.625rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.fortema-dynamic-widgets ul,
.fortema-dynamic-widgets ol {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.fortema-dynamic-widgets li {
  font-size: 0.875rem !important;
  color: #475569 !important;
  font-weight: 600 !important;
}

.fortema-dynamic-widgets li a {
  color: #334155 !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
}

.fortema-dynamic-widgets li a:hover {
  color: #2eb35e !important;
}

/* ==========================================================================
   SERVICE LANDING PAGE BULLETPROOF LAYOUTS
   (Ensures styles apply cleanly without relying on uncompiled Tailwind classes)
   ========================================================================== */
.fortema-landing-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.875rem !important;
  align-items: stretch !important;
  width: 100% !important;
}
@media (min-width: 640px) {
  .fortema-landing-kpi-grid {
    gap: 1.25rem !important;
  }
}

.fortema-hero-floating-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  padding: 0.625rem 1rem !important;
  border-radius: 1rem !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  color: #1e293b !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  max-width: 100% !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.fortema-hero-floating-pill:hover {
  border-color: #2eb35e !important;
  box-shadow: 0 10px 24px rgba(46, 179, 94, 0.22) !important;
}

#landing-tool-orbit {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  height: auto;
  position: relative;
  overflow: visible;
}

#landing-orbit-wheel-layer {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 76%, rgba(0,0,0,0) 100%) !important;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 76%, rgba(0,0,0,0) 100%) !important;
  z-index: 15 !important;
}

.fortema-landing-tool-node {
  position: absolute !important;
  width: 76px !important;
  height: 76px !important;
  border-radius: 9999px !important;
  background-color: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2) !important;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  transform: translate(-50%, -50%) !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 20 !important;
}

.fortema-landing-tool-node.is-hidden {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.fortema-landing-tool-node:hover {
  border-color: #2eb35e !important;
  transform: translate(-50%, -50%) scale(1.08) !important;
}

.fortema-landing-tool-node.is-apex {
  border-width: 2.5px !important;
  border-color: #2eb35e !important;
  box-shadow: 0 0 0 6px rgba(46, 179, 94, 0.25), 0 0 28px rgba(46, 179, 94, 0.58) !important;
  transform: translate(-50%, -50%) scale(1.13) !important;
  background-color: #ffffff !important;
  z-index: 30 !important;
}

/* Unmistakable Channel Badge + Priemonės Pill + Google Partner Card stacked with identical gaps inside right semicircle */
.fortema-landing-badge-stack {
  position: absolute !important;
  left: 50.5% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 40 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  max-width: 52% !important;
}

.fortema-landing-channel-badge,
.fortema-landing-orbit-pill,
.fortema-landing-partner-logo {
  position: static !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: 40 !important;
  max-width: 100% !important;
}

/* Minimalist Google Ads Channels Icon Bar */
.fortema-google-channels-strip {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
  margin-bottom: 2rem !important;
}
@media (min-width: 640px) {
  .fortema-google-channels-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1024px) {
  .fortema-google-channels-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}
.fortema-google-channel-tile {
  background-color: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 1rem !important;
  padding: 0.9rem 0.85rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.45rem !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.fortema-google-channel-tile:hover {
  transform: translateY(-2px) !important;
  border-color: #2eb35e !important;
  box-shadow: 0 10px 24px rgba(46, 179, 94, 0.1) !important;
}

.fortema-pricing-watermark {
  position: absolute !important;
  top: 1.4rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-size: clamp(64px, 18vw, 180px) !important;
  font-weight: 900 !important;
  color: rgba(203, 213, 225, 0.42) !important;
  letter-spacing: 0.1em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  user-select: none !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
@media (min-width: 640px) {
  .fortema-pricing-watermark {
    top: 2.5rem !important;
  }
}

/* Pricing Cards Hover Lift */
.fortema-pricing-card {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}
.fortema-pricing-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 22px 38px -12px rgba(15, 23, 42, 0.14) !important;
  border-color: #2eb35e !important;
}
.fortema-pricing-featured {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease !important;
}
.fortema-pricing-featured:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 26px 46px -12px rgba(46, 179, 94, 0.44) !important;
}
@media (min-width: 768px) {
  .fortema-pricing-featured {
    transform: translateY(-0.5rem) !important;
  }
  .fortema-pricing-featured:hover {
    transform: translateY(-1rem) !important;
  }
}

/* Merged Ethical Card seamless corners */
.fortema-merged-ethics-card {
  border-radius: 1.5rem !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.1) !important;
}

/* Precompiled Tailwind fallback utilities used by modular landing partials */
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.items-baseline { align-items: baseline; }
.bottom-4 { bottom: 1rem; }
.opacity-35 { opacity: 0.35; }
.border-\[\#259b50\] { border-color: #259b50; }
.border-\[\#2eb35e\] { border-color: #2eb35e; }
.border-\[\#2eb35e\]\/50 { border-color: rgba(46, 179, 94, 0.5); }
.hover\:border-\[\#2eb35e\]:hover { border-color: #2eb35e; }
.min-h-\[620px\] { min-height: 620px; }
@media (min-width: 1024px) {
  .lg\:min-h-\[680px\] { min-height: 680px; }
}
.object-\[18\%_center\] { object-position: 18% center; }
@media (min-width: 640px) {
  .sm\:object-\[24\%_center\] { object-position: 24% center; }
}
.drop-shadow-\[0_4px_14px_rgba\(0\,0\,0\,0\.4\)\] { filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4)); }

/* Authentic Google Search Ad Mockup Card */
.fortema-google-ad-mockup {
  margin-top: 1.75rem !important;
  font-family: Arial, Roboto, 'Helvetica Neue', sans-serif !important;
  background-color: #ffffff !important;
  border: 1px solid #dadce0 !important;
  border-radius: 1.25rem !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(32, 33, 36, 0.06) !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease !important;
}
.fortema-google-ad-mockup:hover {
  transform: translateY(-2px) !important;
  border-color: #2eb35e !important;
  box-shadow: 0 12px 28px rgba(32, 33, 36, 0.11) !important;
}
.fortema-gsearch-bar {
  background-color: #f8f9fa !important;
  border-bottom: 1px solid #ebebeb !important;
  padding: 0.65rem 1.25rem !important;
}
.fortema-g-dots {
  font-family: 'Product Sans', Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: -0.02em !important;
}
.fortema-gsearch-body {
  padding: 1.15rem 1.35rem 1.25rem !important;
}
.fortema-gsearch-sponsored {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #202124 !important;
  margin-bottom: 0.45rem !important;
  letter-spacing: 0.01em !important;
}
.fortema-gsearch-favicon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 9999px !important;
  background-color: #eef9f2 !important;
  border: 1px solid #ccebd7 !important;
  color: #2eb35e !important;
  font-weight: 900 !important;
  font-size: 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.fortema-gsearch-site {
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  color: #202124 !important;
  line-height: 1.25 !important;
}
.fortema-gsearch-url {
  font-size: 0.72rem !important;
  color: #4d5156 !important;
  line-height: 1.25 !important;
}
.fortema-gsearch-headline {
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  color: #1a0dab !important;
  line-height: 1.3 !important;
  margin: 0.35rem 0 0.35rem !important;
}
.fortema-google-ad-mockup:hover .fortema-gsearch-headline {
  text-decoration: underline !important;
}
.fortema-gsearch-desc {
  font-size: 0.84rem !important;
  color: #4d5156 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.fortema-gsearch-sitelinks {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.65rem !important;
  margin-top: 0.85rem !important;
  padding-top: 0.75rem !important;
  border-top: 1px solid #f1f3f4 !important;
}
@media (min-width: 640px) {
  .fortema-gsearch-sitelinks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
}
.fortema-gsearch-sitelink {
  display: flex !important;
  flex-direction: column !important;
}
.fortema-gsearch-sl-title {
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  color: #1a0dab !important;
}
.fortema-google-ad-mockup:hover .fortema-gsearch-sl-title {
  text-decoration: underline !important;
}
.fortema-gsearch-sl-sub {
  font-size: 0.72rem !important;
  color: #4d5156 !important;
  margin-top: 0.1rem !important;
}

/* Expandable Administration Fee Calculator inside Pricing Note */
.fortema-calc-toggle-wrap {
  display: flex !important;
  justify-content: center !important;
  margin-top: 0.9rem !important;
  width: 100% !important;
}
.fortema-calc-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.65rem 1.1rem !important;
  border-radius: 0.75rem !important;
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}
@media (max-width: 639px) {
  .fortema-calc-toggle-btn {
    width: 100% !important;
  }
}
.fortema-calc-toggle-btn:hover,
.fortema-calc-toggle-btn.is-open {
  background-color: #eef9f2 !important;
  border-color: #2eb35e !important;
  color: #1e7d40 !important;
  box-shadow: 0 4px 12px rgba(46, 179, 94, 0.12) !important;
}
.fortema-calc-toggle-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #2eb35e !important;
  flex-shrink: 0 !important;
}
.fortema-calc-chevron {
  transition: transform 0.24s ease !important;
  flex-shrink: 0 !important;
}
.fortema-calc-toggle-btn.is-open .fortema-calc-chevron {
  transform: rotate(180deg) !important;
}
.fortema-calc-panel[hidden] {
  display: none !important;
}
.fortema-calc-panel {
  margin-top: 1.1rem !important;
  padding-top: 1.1rem !important;
  border-top: 1px solid #e2e8f0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.fortema-fee-calculator {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 1rem !important;
  padding: 0.95rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
@media (min-width: 640px) {
  .fortema-fee-calculator {
    padding: 1.15rem 1.25rem !important;
  }
}
@media (min-width: 768px) {
  .fortema-fee-calculator {
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
  }
}
.fortema-calc-controls {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.9rem !important;
  flex: 1 !important;
  min-width: 0 !important;
}
@media (min-width: 640px) {
  .fortema-calc-controls {
    grid-template-columns: 1fr 1fr !important;
  }
}
.fortema-calc-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  min-width: 0 !important;
}
.fortema-calc-field label {
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  color: #475569 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}
.fortema-calc-field select,
.fortema-calc-field input[type="number"] {
  width: 100% !important;
  min-height: 44px !important;
  padding: 0.58rem 0.85rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.7rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  outline: none !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}
.fortema-calc-field select:focus,
.fortema-calc-field input[type="number"]:focus {
  border-color: #2eb35e !important;
  box-shadow: 0 0 0 3px rgba(46, 179, 94, 0.14) !important;
}
.fortema-calc-range {
  width: 100% !important;
  margin-top: 0.3rem !important;
  accent-color: #2eb35e !important;
  cursor: pointer !important;
}
.fortema-calc-result {
  background-color: #ffffff !important;
  border: 1.5px solid #2eb35e !important;
  border-radius: 0.9rem !important;
  padding: 0.9rem 1.05rem !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-shadow: 0 6px 18px rgba(46, 179, 94, 0.1) !important;
}
@media (min-width: 768px) {
  .fortema-calc-result {
    width: auto !important;
    min-width: 260px !important;
    padding: 0.9rem 1.2rem !important;
  }
}
.fortema-calc-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-size: 0.76rem !important;
  color: #64748b !important;
  margin-bottom: 0.32rem !important;
}
.fortema-calc-row strong {
  color: #334155 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
.fortema-calc-total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  gap: 0.75rem !important;
  margin-top: 0.35rem !important;
  padding-top: 0.48rem !important;
  border-top: 1px dashed #cbd5e1 !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
.fortema-calc-total strong {
  color: #1e7d40 !important;
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   GOOGLE ADS LANDING EXCLUSIVE INTERACTIVE FUNNEL (.gfunnel-*)
   ========================================================================== */
@media (min-width: 1024px) {
  #google-funnel-grid-container.gfunnel-grid {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 2.25rem !important;
    align-items: center !important;
  }
  #google-funnel-grid-container > .gfunnel-left-col {
    grid-column: 1 / span 6 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }
  #google-funnel-grid-container > .gfunnel-right-col {
    grid-column: 7 / span 6 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }
}

.gfunnel-ad-mockup {
  margin-top: 0 !important;
}

/* 6 Official Google Ecosystem Bubbles (Larger on Google Ads page since fewer icons than front page) */
.gfunnel-icons-cloud {
  max-width: 560px !important;
  height: 140px !important;
  margin-bottom: -44px !important;
}
@media (max-width: 768px) {
  .gfunnel-icons-cloud {
    max-width: 440px !important;
    height: 112px !important;
    margin-bottom: -24px !important;
  }
}
@media (max-width: 480px) {
  .gfunnel-icons-cloud {
    max-width: 340px !important;
    height: 96px !important;
    margin-bottom: -14px !important;
  }
}
.gfunnel-bubble {
  position: absolute !important;
  border-radius: 9999px !important;
  background-color: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.55rem !important;
  cursor: pointer !important;
  transition: transform 0.22s ease, border-color 0.22s ease !important;
}
.gfunnel-bubble:hover {
  transform: scale(1.15) !important;
  border-color: #2eb35e !important;
}
.gfunnel-bubble-chrome {
  left: 1%;
  top: 30px;
  width: 68px;
  height: 68px;
  z-index: 20;
}
.gfunnel-bubble-youtube {
  left: 16%;
  top: 56px;
  width: 78px;
  height: 78px;
  z-index: 30;
}
.gfunnel-bubble-google {
  left: 33%;
  top: -8px;
  width: 88px;
  height: 88px;
  z-index: 32;
}
.gfunnel-bubble-gmail {
  left: 52%;
  top: 14px;
  width: 78px;
  height: 78px;
  z-index: 26;
}
.gfunnel-bubble-maps {
  left: 69%;
  top: 52px;
  width: 76px;
  height: 76px;
  z-index: 30;
}
.gfunnel-bubble-gemini {
  right: 1%;
  top: 18px;
  width: 68px;
  height: 68px;
  z-index: 24;
}
@media (max-width: 640px) {
  .gfunnel-bubble { padding: 0.35rem !important; }
  .gfunnel-bubble-chrome  { left: 0%;  top: 24px; width: 50px; height: 50px; }
  .gfunnel-bubble-youtube { left: 15%; top: 44px; width: 56px; height: 56px; }
  .gfunnel-bubble-google  { left: 33%; top: -2px; width: 64px; height: 64px; }
  .gfunnel-bubble-gmail   { left: 53%; top: 12px; width: 56px; height: 56px; }
  .gfunnel-bubble-maps    { left: 70%; top: 42px; width: 56px; height: 56px; }
  .gfunnel-bubble-gemini  { right: 0%; top: 12px; width: 50px; height: 50px; }
}

/* Tier Dynamic States (Preserves -translate-y-1/2 CSS translate property untouched) */
.gfunnel-tier-hover {
  transition: opacity 0.24s ease, filter 0.24s ease, transform 0.24s ease !important;
}
.gfunnel-tier-hover.is-stage-dimmed {
  opacity: 0.28 !important;
  filter: grayscale(40%) !important;
}
.gfunnel-tier-hover.is-stage-active {
  opacity: 1 !important;
  transform: scale(1.04) !important;
}
.gfunnel-tier-pct {
  position: absolute !important;
  left: 50% !important;
  top: calc(100% + 2px) !important;
  transform: translateX(-50%) !important;
  display: inline-block !important;
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(255, 255, 255, 0.94) !important;
  color: #15803d !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  padding: 0.12rem 0.55rem !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14) !important;
  pointer-events: none !important;
}
.gfunnel-tier-pct.hidden {
  display: none !important;
}

/* Compact Right Column Project Type Cards ([Icon] + Title) */
.gfunnel-project-card {
  background-color: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 1rem !important;
  padding: 0.78rem 1rem !important;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.22s ease, opacity 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
  cursor: pointer !important;
}
.gfunnel-project-card:hover,
.gfunnel-project-card.is-pinned {
  border-color: #2eb35e !important;
  box-shadow: 0 8px 22px rgba(46, 179, 94, 0.14) !important;
}
.gfunnel-project-card.is-pinned {
  background-color: #f9fefb !important;
  box-shadow: 0 0 0 2px rgba(46, 179, 94, 0.2), 0 10px 24px rgba(46, 179, 94, 0.16) !important;
}
.gfunnel-project-card.is-dimmed {
  opacity: 0.34 !important;
  filter: grayscale(25%) !important;
  transform: scale(0.985) !important;
}
.gfunnel-card-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 9999px !important;
  background-color: #edf9f1 !important;
  border: 1px solid #d1fae5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.22s ease, border-color 0.22s ease !important;
}
.gfunnel-project-card:hover .gfunnel-card-icon,
.gfunnel-project-card.is-pinned .gfunnel-card-icon {
  background-color: #2eb35e !important;
  border-color: #2eb35e !important;
}
.gfunnel-project-card:hover .gfunnel-card-icon svg,
.gfunnel-project-card.is-pinned .gfunnel-card-icon svg {
  color: #ffffff !important;
}
.gfunnel-project-card:hover .gfunnel-card-title,
.gfunnel-project-card.is-pinned .gfunnel-card-title {
  color: #1e7d40 !important;
}

/* Full-Width Bottom Ethics Split Card */
.gfunnel-ethics-split {
  display: grid !important;
  grid-template-columns: 1fr !important;
}
.gfunnel-ethics-photo {
  min-height: 190px !important;
}
.gfunnel-ethics-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.65rem 1.4rem !important;
}
@media (min-width: 768px) {
  .gfunnel-ethics-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1024px) {
  .gfunnel-ethics-split {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }
  .gfunnel-ethics-photo {
    grid-column: span 5 / span 5 !important;
    min-height: 100% !important;
  }
  .gfunnel-ethics-body {
    grid-column: span 7 / span 7 !important;
  }
}

/* Top Utility Bar & Language Switcher Stacking Context (never slides behind sticky #masthead z-index: 50) */
#top-utility-bar {
  position: relative;
  z-index: 60 !important;
}
#lang-switcher-wrapper {
  position: relative;
  z-index: 70 !important;
}
#lang-switcher-dropdown {
  z-index: 99999 !important;
}

/* Unified Pagination (Tinklaraštis, Atlikti darbai, Žymos, Paieška) - Green active pill */
.fortema-pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fortema-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.fortema-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.85rem;
  border-radius: 0.75rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.fortema-pagination a.page-numbers:hover {
  border-color: #2eb35e;
  color: #1e7d40;
  background-color: #f0fdf4;
}
.fortema-pagination span.page-numbers.current {
  background-color: #2eb35e !important;
  border-color: #2eb35e !important;
  color: #ffffff !important;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(46, 179, 94, 0.28);
  cursor: default !important;
}
.fortema-pagination span.page-numbers.dots {
  border-color: transparent;
  background-color: transparent;
  box-shadow: none;
  color: #64748b;
  min-width: 1.5rem;
  padding: 0 0.25rem;
}

/* Subtle DI (Dirbtinis intelektas) badge for AI-generated visual assets */
.fortema-di-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 4px;
  background-color: rgba(15, 23, 42, 0.52);
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  opacity: 0.76;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: none;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  user-select: none;
  pointer-events: auto;
}
.fortema-di-badge:hover {
  opacity: 0.96;
  background-color: rgba(15, 23, 42, 0.72);
}
.fortema-di-dot {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background-color: #2eb35e;
  flex-shrink: 0;
}
.fortema-hero-di-pos {
  bottom: 1.75rem;
  left: 0.75rem;
  z-index: 20;
}
@media (min-width: 1024px) {
  .fortema-hero-di-pos {
    bottom: 5.75rem;
    left: 1rem;
  }
}
.fortema-trust-di-pos {
  bottom: 2.25rem;
  left: 0.75rem;
  z-index: 20;
}
@media (min-width: 1024px) {
  .fortema-trust-di-pos {
    bottom: 0.75rem;
    left: 0.75rem;
  }
}

/* Constrained Content-Width Footer Copyright Bar */
.fortema-footer-copyright-wrap {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1rem 2.5rem;
}
@media (min-width: 640px) {
  .fortema-footer-copyright-wrap {
    padding: 0.5rem 1.5rem 2.75rem;
  }
}
@media (min-width: 1024px) {
  .fortema-footer-copyright-wrap {
    padding: 0.5rem 2rem 3rem;
  }
}
.fortema-footer-copyright-bar {
  background-color: #0a0d13;
  padding: 1.25rem 1.5rem;
}

/* Client Logo Pill in Portfolio Cards & Single Case Study */
.fortema-client-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 0.5rem;
  padding: 0.25rem 0.55rem;
  max-width: 120px;
  height: 28px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14);
}
.fortema-client-logo-pill img {
  max-height: 18px;
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.fortema-client-logo-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  padding: 0.375rem 0.75rem;
  max-width: 170px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.fortema-client-logo-inline img {
  max-height: 28px;
  max-width: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Kontaktai Page Dedicated Card Shadows & Map Container */
.fortema-contacts-map-frame {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}
@media (min-width: 1024px) {
  .fortema-contacts-map-frame {
    height: 100%;
    min-height: 460px;
  }
}

/* Missing standalone Tailwind utility helpers */
.pb-2\.5 { padding-bottom: 0.625rem; }
.pb-20 { padding-bottom: 5rem; }
.decoration-slate-300 { text-decoration-color: #cbd5e1; }
.cursor-not-allowed { cursor: not-allowed; }
.bg-black\/30 { background-color: rgba(0, 0, 0, 0.30); }
.bg-slate-50\/60 { background-color: rgba(248, 250, 252, 0.60); }
.bg-slate-950 { background-color: #020617; }
.max-w-\[80px\] { max-width: 80px; }
.max-w-\[90\%\] { max-width: 90%; }
.hover\:text-\[\#15803d\]:hover { color: #15803d; }
.rounded-none { border-radius: 0 !important; }
.bg-\[\#f1f5f0\] { background-color: #f1f5f0; }
.bg-\[\#eff2f0\] { background-color: #eff2f0; }
.bg-\[\#091a24\] { background-color: #091a24; }
.bg-amber-400\/95 { background-color: rgba(251, 191, 36, 0.95); }
.bg-rose-500\/20 { background-color: rgba(244, 63, 94, 0.20); }
.border-white\/25 { border-color: rgba(255, 255, 255, 0.25); }
.text-rose-400 { color: #fb7185; }
.text-white\/90 { color: rgba(255, 255, 255, 0.90); }
.max-h-full { max-height: 100%; }
.z-\[60\] { z-index: 60; }
.hover\:shadow-sm:hover { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.group:hover .group-hover\:bg-\[\#269c51\] { background-color: #269c51; }
@media (min-width: 640px) {
  .sm\:py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .sm\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .sm\:mb-10 { margin-bottom: 2.5rem; }
  .sm\:h-56 { height: 14rem; }
  .sm\:-left-5 { left: -1.25rem; }
  .sm\:-right-5 { right: -1.25rem; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:rounded-xl { border-radius: 0.75rem; }
}
@media (min-width: 1024px) {
  .lg\:items-start { align-items: flex-start; }
}

/* Desktop Header Dropdown (Apie mus & Dynamic Nav Walker submenus — aligned identically to Paslaugos mega menu) */
.group\/dropdown {
  position: relative;
}
.fortema-header-dropdown {
  position: fixed;
  z-index: 50;
  width: 14rem;
}
.fortema-header-dropdown-bridge {
  position: absolute;
  top: -28px;
  left: 0;
  right: 0;
  height: 30px;
  background: transparent;
}
.group\/dropdown.is-open .group-hover\/dropdown\:rotate-180,
.group\/dropdown:hover .group-hover\/dropdown\:rotate-180 {
  transform: rotate(180deg);
}
.group\/dropdown:hover .fortema-header-dropdown.fortema-dropdown-static,
.group\/dropdown.is-open .fortema-header-dropdown {
  display: block;
}

/* Certificates Carousel, Hover Zoom & Lightbox Helpers */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.fortema-cert-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fortema-cert-card:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}
.fortema-cert-card:hover .group-hover\:opacity-100 {
  opacity: 1;
}
.fortema-cert-card:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}
.fortema-press-logo-wrap img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
.fortema-review-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.fortema-review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.snap-x { scroll-snap-type: x mandatory; }
.snap-start { scroll-snap-align: start; }
.-left-3 { left: -0.75rem; }
.-right-3 { right: -0.75rem; }
.bg-\[\#0c212e\] { background-color: #0c212e; }
.bg-\[\#eaf8f0\] { background-color: #eaf8f0; }
.max-h-\[80vh\] { max-height: 80vh; }
.max-w-\[85vw\] { max-width: 85vw; }
.w-56 { width: 14rem; }
.lg\:w-64 { width: 100%; }
@media (min-width: 1024px) {
  .lg\:w-64 { width: 16rem; }
}

/* Kontaktai Redesign */
.fortema-contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 640px) {
  .fortema-contact-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem;
  }
}
@media (min-width: 1024px) {
  .fortema-contact-cards-grid {
    gap: 3.25rem;
  }
}
.fortema-contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}
.fortema-contact-stat-card {
  position: relative;
  background-color: #f1f5f0;
  padding: 3.25rem 1.75rem 2rem;
  text-align: center;
  margin-top: 1.75rem;
}
.fortema-contact-circle-icon {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #2eb35e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(46, 179, 94, 0.25);
}
.fortema-contact-social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: #f1f5f0;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.fortema-contact-social-btn:hover {
  background-color: #2eb35e;
  color: #ffffff;
}
.fortema-contact-input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fortema-contact-input:focus {
  border-color: #2eb35e;
  box-shadow: 0 0 0 2px rgba(46, 179, 94, 0.15);
}

/* Apie mus Redesign */
.fortema-dot-pattern {
  background-image: radial-gradient(#334155 1.3px, transparent 1.3px);
  background-size: 12px 12px;
}
.fortema-about-stats-bar {
  background-color: #2eb35e;
  color: #ffffff;
}
.fortema-about-floating-badge {
  position: absolute;
  bottom: 1.25rem;
  right: -1rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 20;
}
@media (max-width: 767px) {
  .fortema-about-floating-badge {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
.fortema-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
@media (min-width: 1024px) {
  .fortema-about-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.25rem;
  }
}
.fortema-about-hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.fortema-about-work-img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  display: block;
}
@media (min-width: 640px) {
  .fortema-about-hero-img {
    height: 430px;
  }
  .fortema-about-work-img {
    height: 460px;
  }
}
.fortema-link-underline {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Contact Form Submit Button (prevents WP block/theme button collapse) */
.fortema-contact-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 150px !important;
  padding: 0.875rem 2.75rem !important;
  border-radius: 0.75rem !important;
  background-color: #2eb35e !important;
  color: #ffffff !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  border: 0 !important;
  box-shadow: 0 6px 16px rgba(46, 179, 94, 0.24) !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}
.fortema-contact-submit-btn:hover {
  background-color: #269c51 !important;
  box-shadow: 0 8px 20px rgba(38, 156, 81, 0.28) !important;
}
.fortema-contact-submit-btn:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
}
.w-\[295px\] {
  width: 295px;
}

/* Additional Tailwind Utility Helpers for About & Contacts Layouts */
.tabular-nums { font-variant-numeric: tabular-nums; }
.gap-8 { gap: 2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2.5rem;
}
@media (min-width: 1024px) {
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
  .lg\:gap-10 { gap: 2.5rem; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}

/* Minimalist Advertising Tools Hub & Calculators */
.fortema-about-work-intro {
  margin-top: 2rem;
  margin-bottom: 2.25rem;
}
.fortema-tools-header {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background-color: #f8fafc;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
@media (min-width: 640px) {
  .fortema-tools-header {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
}
.fortema-tools-breadcrumb-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.625rem;
  font-size: 0.75rem;
  color: #64748b;
}
.fortema-tools-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
}
.fortema-tools-badge {
  display: inline-block;
  background-color: #2eb35e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}
.fortema-tools-body {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background-color: #ffffff;
}
@media (min-width: 640px) {
  .fortema-tools-body {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Sharp Dark Charcoal Tool Menu Bar (No border, no border-radius) + Mobile Menu Toggle */
.fortema-tools-nav-wrap {
  background-color: #2f3b39;
  border: 0;
  border-radius: 0;
  margin-bottom: 2rem;
}
.fortema-tools-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 1.25rem;
  background-color: #2f3b39;
  color: #ffffff;
  border: 0;
  border-radius: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.fortema-tools-mobile-toggle-left {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.fortema-tools-mobile-dot {
  width: 8px;
  height: 8px;
  background-color: #2eb35e;
  display: inline-block;
  flex-shrink: 0;
}
.fortema-tools-mobile-toggle-right {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
}
.fortema-tools-nav-list {
  display: none;
  flex-direction: column;
  background-color: #2f3b39;
  border: 0;
  border-radius: 0;
}
.fortema-tools-nav-wrap.is-open .fortema-tools-nav-list {
  display: flex;
}
.fortema-tool-tab {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.9rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #f8fafc;
  background-color: #2f3b39;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.fortema-tool-tab:hover {
  background-color: #3c4b48;
  color: #ffffff;
}
.fortema-tool-tab.is-active {
  background-color: #2eb35e !important;
  color: #ffffff !important;
}
@media (min-width: 768px) {
  .fortema-tools-mobile-toggle {
    display: none !important;
  }
  .fortema-tools-nav-list {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .fortema-tool-tab {
    justify-content: center;
  }
}

/* Tool Responsive Grids */
.fortema-tools-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .fortema-tools-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.fortema-tools-grid-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .fortema-tools-grid-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .fortema-tools-col-5 { grid-column: span 5 / span 5; }
  .fortema-tools-col-6 { grid-column: span 6 / span 6; }
  .fortema-tools-col-7 { grid-column: span 7 / span 7; }
}

.fortema-tool-card {
  background-color: #ffffff;
  border: 1px solid #dce3e1;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.fortema-tool-card-padded {
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .fortema-tool-card-padded {
    padding: 1.75rem 2rem;
  }
}
.fortema-tool-table {
  width: 100%;
  border: 1px solid #dce3e1;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #ffffff;
}
.fortema-tool-trow {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid #dce3e1;
}
.fortema-tool-trow:last-child {
  border-bottom: 0;
}
@media (min-width: 640px) {
  .fortema-tool-trow {
    grid-template-columns: 42% 58%;
  }
}
.fortema-tool-trow-lbl {
  background-color: #f4f7f6;
  padding: 0.95rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #dce3e1;
}
@media (min-width: 640px) {
  .fortema-tool-trow-lbl {
    border-bottom: 0;
    border-right: 1px solid #dce3e1;
  }
}
.fortema-tool-trow-val {
  background-color: #ffffff;
  padding: 0.75rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fortema-tool-trow.is-result .fortema-tool-trow-lbl {
  background-color: #2eb35e;
  color: #ffffff;
  font-weight: 800;
  border-color: rgba(255, 255, 255, 0.25);
}
.fortema-tool-trow.is-result .fortema-tool-trow-val {
  background-color: #2eb35e;
  color: #ffffff;
}
.fortema-tool-input-table {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #d1d9d7;
  border-radius: 0.5rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fortema-tool-input-table:focus {
  border-color: #2eb35e;
  box-shadow: 0 0 0 3px rgba(46, 179, 94, 0.14);
}
.fortema-tool-trow.is-result .fortema-tool-output-box {
  width: 100%;
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 0.6rem 0.95rem;
  font-size: 1rem;
  font-weight: 900;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.fortema-tool-output-plain {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #d1d9d7;
  border-radius: 0.5rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
}
.fortema-tool-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 0.375rem;
}
.fortema-tool-input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.65rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fortema-tool-input:focus {
  border-color: #2eb35e;
  box-shadow: 0 0 0 3px rgba(46, 179, 94, 0.14);
}
.fortema-rate-btn {
  padding: 0.35rem 0.7rem;
  border-radius: 0.45rem;
  border: 1px solid #cbd5e1;
  background-color: #f4f7f6;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.fortema-rate-btn:hover,
.fortema-rate-btn.is-selected {
  border-color: #2eb35e;
  color: #ffffff;
  background-color: #2eb35e;
}
.fortema-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.45rem;
  border-radius: 0.5rem;
  border: 0;
  background-color: #2d3331;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.fortema-btn-dark:hover {
  background-color: #1f2422;
}
.fortema-tool-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d9d7;
  background-color: #f4f7f6;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fortema-tool-reset:hover {
  border-color: #94a3b8;
  background-color: #e2e8f0;
  color: #0f172a;
}
.fortema-result-tile {
  background-color: #f4f7f6;
  border: 1px solid #dce3e1;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}
.fortema-result-tile.is-primary {
  background-color: #2eb35e;
  border-color: #2eb35e;
  color: #ffffff;
}
.fortema-result-lbl {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.fortema-result-tile.is-primary .fortema-result-lbl {
  color: rgba(255, 255, 255, 0.9);
}
.fortema-result-val {
  font-size: 1.375rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}
.fortema-result-tile.is-primary .fortema-result-val {
  color: #ffffff;
  font-size: 1.625rem;
}
.fortema-tool-guide {
  background-color: #f4f7f6;
  border: 1px solid #dce3e1;
  border-radius: 0.75rem;
  padding: 1.75rem 2rem;
  margin-top: 2.5rem;
}
.fortema-tool-guide h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.85rem;
}
.fortema-tool-guide h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.fortema-tool-guide h4 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #1e293b;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}
.fortema-tool-guide p,
.fortema-tool-guide li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 0.65rem;
}
.fortema-tool-guide ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
}
.fortema-tool-guide ol {
  list-style: decimal;
  padding-left: 1.35rem;
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
}
.fortema-tool-guide li + li {
  margin-top: 0.45rem;
}
.fortema-tool-guide code {
  background-color: #e2e8f0;
  color: #0f172a;
  padding: 0.125rem 0.375rem;
  border-radius: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
.fortema-formula-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background-color: #ffffff;
  border: 1px solid #dce3e1;
  border-left: 4px solid #2eb35e;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin: 0.65rem 0;
}
.fortema-formula-pre {
  margin: 0;
  padding: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #0f172a;
  white-space: pre-wrap;
  word-break: break-word;
  background: transparent;
  border: 0;
}
.fortema-formula-pre b {
  font-weight: 800;
  color: #0f172a;
}
.fortema-formula-pre u {
  text-decoration: underline;
  text-underline-color: #2eb35e;
  text-underline-offset: 3px;
  font-weight: 700;
  color: #15803d;
}
.fortema-formula-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.4rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid #dce3e1;
  background-color: #f4f7f6;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.fortema-formula-copy-btn:hover {
  border-color: #2eb35e;
  background-color: #2eb35e;
  color: #ffffff;
}
.fortema-formula-copy-btn.is-copied {
  border-color: #2eb35e;
  background-color: #2eb35e;
  color: #ffffff;
}
.fortema-tools-breadcrumb a:hover {
  color: #2eb35e;
}
.fortema-tool-guide a {
  color: #2eb35e;
  font-weight: 700;
  text-decoration: underline;
}
#utm-copy-btn {
  background-color: #2eb35e;
  color: #ffffff;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#utm-copy-btn:hover {
  background-color: #269c51;
}
.fortema-tools-wrap .w-3\.5 { width: 0.875rem; }
.fortema-tools-wrap .h-3\.5 { height: 0.875rem; }
.fortema-tools-wrap .gap-1\.5 { gap: 0.375rem; }
.fortema-tools-wrap .mt-1\.5 { margin-top: 0.375rem; }
.fortema-tools-wrap .content-start { align-content: start; }
.fortema-tools-wrap .font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.fortema-tools-wrap .bg-\[\#f4f7f6\] { background-color: #f4f7f6; }
.fortema-tools-wrap .border-\[\#dce3e1\] { border-color: #dce3e1; }
@media (min-width: 640px) {
  .fortema-tools-wrap .sm\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

