/* ==========================================================================
   Fantasy Tech Labs — styles.css
   Palette is unchanged from the original site (teal + orange on neutrals).
   Sections: 1 Tokens · 2 Base · 3 Type · 4 Buttons · 5 Header & menu
   6 Heroes · 7 Sections · 8 Contact · 9 Footer (bento) · 10 Floating UI
   11 Motion · 12 Responsive
   ========================================================================== */

/* 1 ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --teal-900: #0b3b37;
  --teal-800: #0d5b53;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-50:  #fff7ed;
  --yellow-400: #f8d358;
  --green-500:  #22c55e;
  --white: #ffffff;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --ink-orange: #431407;   /* text on orange tiles */
  --ink-yellow: #3b2f05;   /* text on yellow tiles */
  --danger: #b91c1c;

  --font-head: 'Satoshi', 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --shadow-sm: 0 2px 8px rgba(17,24,39,.06);
  --shadow:    0 10px 30px -8px rgba(15,23,42,.12);
  --shadow-lg: 0 30px 60px -15px rgba(15,23,42,.22);

  --ease: cubic-bezier(.16,1,.3,1);
  --ease-soft: cubic-bezier(.22,1,.36,1);
  /* Only animate what actually changes (cheaper than `all`) */
  --t-ui: background-color .25s ease, color .25s ease, border-color .25s ease,
          box-shadow .35s var(--ease), transform .35s var(--ease), opacity .25s ease;

  --radius-sm: .7rem;
  --radius: 1.1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
}

/* 2 ── BASE ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { font-size: clamp(14px, .22vw + 13.3px, 16px); scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
address { font-style: normal; }
section { position: relative; overflow: clip; padding: clamp(3.5rem, 8vw, 7rem) 1.25rem; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sentinel { position: absolute; left: 0; width: 1px; pointer-events: none; opacity: 0; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 2000;
  background: var(--teal-900); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--radius-pill); font-weight: 600; font-size: .9rem; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* Icons (lucide swaps <i data-lucide> for an <svg class="lucide">) */
[data-lucide], .lucide { display: inline-block; width: 1.05em; height: 1.05em; flex: none; vertical-align: -.15em; }
.lucide { stroke-width: 2; }

/* Placeholder logos should be contained, not cropped */
.team-photo img[src$="Logo.png"] { object-fit: contain; padding: 1.25rem; }

.bg-alt  { background: var(--gray-50); }
.bg-dark { background: var(--teal-900); color: #fff; }
.bg-dark p { color: rgba(255,255,255,.8); }

/* 3 ── TYPE ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--gray-900); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); font-weight: 900; margin-bottom: .9rem; }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.35rem); margin-bottom: .6rem; }
h4 { font-size: .98rem; }
p { line-height: 1.7; margin-bottom: .9rem; color: var(--gray-600); font-size: .98rem; text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .02em;
  color: var(--teal-700); font-weight: 600; margin-bottom: .8rem;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); flex: none; }

.section-title { text-align: center; margin: 0 auto clamp(2rem, 5vw, 3.25rem); max-width: 640px; }
.section-title h2 span, .cta-band h2 span { color: var(--teal-600); }
.section-title p { font-size: 1rem; }
.section-title.on-dark h2 { color: #fff; }
.section-title.on-dark h2 span { color: var(--orange-400); }
.section-title.on-dark .eyebrow { color: var(--orange-400); }
.section-title.on-dark .eyebrow::before { background: var(--teal-500); }
.section-title.on-dark p { color: rgba(255,255,255,.8); }

.cta-band { text-align: center; }
.cta-band p { max-width: 460px; margin: 0 auto 1.25rem; }

/* 4 ── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.35rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem; border: 1.5px solid transparent; white-space: nowrap;
  transition: var(--t-ui);
}
.btn .lucide, .btn [data-lucide] { width: 1rem; height: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .65; pointer-events: none; }
.btn-sm { padding: .5rem 1.05rem; font-size: .82rem; }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(13,148,136,.5); }
.btn-primary:hover { background: var(--teal-700); box-shadow: 0 10px 22px -6px rgba(13,148,136,.55); }
.btn-secondary { background: var(--orange-500); color: #fff; box-shadow: 0 6px 16px -6px rgba(234,88,12,.5); }
.btn-secondary:hover { background: var(--orange-600); box-shadow: 0 10px 22px -6px rgba(234,88,12,.55); }
.btn-outline { background: transparent; color: var(--gray-900); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--teal-600); color: var(--teal-700); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.2); border-color: #fff; }

/* 5 ── HEADER & MOBILE MENU ───────────────────────────────────────────── */
#header {
  position: fixed; top: .6rem; left: 0; right: 0; margin-inline: auto;
  width: min(94%, 1100px); z-index: 1000; padding: .85rem 0;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(17,24,39,.06); border-radius: var(--radius-lg);
  transition: width .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
  view-transition-name: site-header;
}
#header.contracted { width: min(94%, 1040px); padding: .55rem 0; box-shadow: 0 10px 26px -12px rgba(17,24,39,.18); }
.header-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1.15rem; }

.logo { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; }
.logo-img { height: 28px; width: auto; border-radius:15%; }
.logo-a { color: var(--teal-700); }
.logo-b { color: var(--orange-500); }

.nav-links { display: flex; gap: .2rem; align-items: center; }
.nav-links a {
  display: block; padding: .5rem .85rem; border-radius: var(--radius-pill);
  font-size: .87rem; font-weight: 500; color: var(--gray-600); transition: var(--t-ui);
}
.nav-links a:hover { color: var(--gray-900); background: var(--gray-100); }
.nav-links a[aria-current="page"] { color: var(--teal-700); background: var(--teal-50); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: .6rem; }
.hamburger { background: none; border: 0; border-radius: .6rem; color: var(--gray-800); }
.hamburger .lucide { width: 1.4rem; height: 1.4rem; }

.menu-overlay {
  position: fixed; inset: 0; z-index: 950; background: rgba(17,24,39,.45);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.menu-overlay.is-open { opacity: 1; pointer-events: auto; }

/* Dropdown: grows down out of the header (top is set from the header's real position in JS) */
.mobile-menu {
  position: fixed; top: var(--menu-top, 4.6rem); left: 0; right: 0; margin-inline: auto; z-index: 990;
  width: min(94%, 1100px); max-height: calc(100vh - var(--menu-top, 4.6rem) - 1rem); max-height: calc(100dvh - var(--menu-top, 4.6rem) - 1rem);
  overflow-y: auto; overscroll-behavior: contain; padding: .6rem;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  transform-origin: top center; transform: translateY(-14px) scale(.985); opacity: 0;
  clip-path: inset(0 0 100% 0 round 1.5rem); visibility: hidden;
  transition: clip-path .5s var(--ease), transform .5s var(--ease), opacity .25s ease, visibility 0s .5s;
}
.mobile-menu.is-open {
  transform: none; opacity: 1; clip-path: inset(0 0 0 0 round 1.5rem); visibility: visible;
  transition: clip-path .55s var(--ease), transform .55s var(--ease), opacity .3s ease;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: .15rem; }
.mobile-nav-links li, .mobile-menu .btn { opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .3s var(--ease); }
.mobile-menu.is-open .mobile-nav-links li, .mobile-menu.is-open .btn { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s var(--ease); transition-delay: calc(var(--k, 0) * 40ms + 120ms); }
.mobile-nav-links a { display: flex; align-items: center; gap: .75rem; padding: .85rem .8rem; border-radius: var(--radius-sm); font-weight: 500; color: var(--gray-800); transition: background-color .2s; }
.mobile-nav-links a:hover { background: var(--gray-100); }
.mobile-nav-links a .lucide { color: var(--teal-600); width: 1.1rem; height: 1.1rem; }
.mobile-nav-links a[aria-current="page"] { color: var(--teal-700); background: var(--teal-50); font-weight: 600; }
.mobile-menu .btn { width: 100%; margin-top: .6rem; }

/* Hamburger swaps to an X while open */
.hamburger { position: relative; width: 2.4rem; height: 2.4rem; display: none; place-items: center; }
.hamburger .ico-menu, .hamburger .ico-x { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .25s ease, transform .4s var(--ease); }
.hamburger .ico-x { opacity: 0; transform: rotate(-90deg) scale(.6); }
.hamburger[aria-expanded="true"] .ico-menu { opacity: 0; transform: rotate(90deg) scale(.6); }
.hamburger[aria-expanded="true"] .ico-x { opacity: 1; transform: none; }

/* 6 ── HEROES ─────────────────────────────────────────────────────────── */
/* Home hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--teal-900);
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  padding: 7rem 1.25rem 5rem;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(11,59,55,.74), rgba(17,24,39,.6) 60%, rgba(11,59,55,.78));
}
.hero-content { max-width: 780px; text-align: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.2rem;
  padding: .42rem .95rem; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 500; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-400); }
.hero h1 { color: #fff; margin-bottom: 1.1rem; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.hero h1 .accent { color: var(--orange-400); }
.hero .lede { color: rgba(255,255,255,.92); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 560px; margin: 0 auto; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-buttons { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-top: 1.85rem; }
.hero-stats { display: flex; gap: clamp(1.5rem, 5vw, 3rem); justify-content: center; flex-wrap: wrap; margin-top: clamp(2.5rem, 6vw, 3.75rem); }
.hero-stat { text-align: center; }
.hero-stat .num { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 900; color: var(--orange-400); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stat .label { font-size: .8rem; color: rgba(255,255,255,.78); }
.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .3rem; color: rgba(255,255,255,.75); font-size: .72rem; }
.scroll-cue .lucide { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Sub-page hero */
.page-hero {
  padding: clamp(7rem, 13vw, 9.5rem) 1.25rem clamp(3.25rem, 7vw, 5rem);
  text-align: center; color: #fff; overflow: hidden;
  background:
    radial-gradient(45% 80% at 0% 0%, rgba(249,115,22,.34), transparent 70%),
    radial-gradient(45% 80% at 100% 100%, rgba(20,184,166,.42), transparent 70%),
    var(--teal-900);
}
.page-hero .eyebrow { color: var(--orange-400); }
.page-hero .eyebrow::before { background: var(--teal-500); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: .85rem; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 580px; margin: 0 auto; font-size: 1.02rem; }
.page-hero--article { padding-bottom: 6.5rem; }
.breadcrumb { margin-top: 1.25rem; }
.breadcrumb ol { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .82rem; color: rgba(255,255,255,.7); }
.breadcrumb li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: '/'; opacity: .5; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Split-word headline reveal (JS wraps words; no library needed) */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.sw > span { display: inline-block; transform: translateY(110%); animation: word-up .85s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 45ms + 100ms); }
@keyframes word-up { to { transform: none; } }
.rise { opacity: 0; animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* 7 ── SECTIONS ───────────────────────────────────────────────────────── */
/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.35rem; }
.service-card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 1.85rem 1.6rem; box-shadow: var(--shadow-sm); transition: var(--t-ui);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 1.15rem; border-radius: .85rem; background: var(--teal-50); color: var(--teal-600); transition: var(--t-ui); }
.service-icon .lucide { width: 1.35rem; height: 1.35rem; }
.service-card:hover .service-icon { background: var(--teal-600); color: #fff; transform: rotate(-4deg) scale(1.06); }
.learn-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; font-size: .87rem; font-weight: 600; color: var(--teal-700); }
.learn-more .lucide { transition: transform .3s var(--ease); }
.learn-more:hover .lucide { transform: translateX(4px); }
.check-list { margin: 0 0 1rem; display: grid; gap: .45rem; }
.check-list li { position: relative; padding-left: 1.5rem; font-size: .9rem; color: var(--gray-600); }
.check-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem; border-left: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600); transform: translateY(-50%) rotate(-45deg) scale(.8); }

/* Subtle dotted texture replaces the old 5%-opacity stock photos (saves 3 large requests) */
.tex { background-color: var(--gray-50); background-image: radial-gradient(rgba(15,118,110,.09) 1px, transparent 1.2px); background-size: 22px 22px; }

/* Portfolio */
.portfolio-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-bottom: 2.75rem; }
.filter-btn { padding: .5rem 1.1rem; border-radius: var(--radius-pill); border: 1.5px solid var(--gray-200); background: #fff; font-weight: 600; font-size: .82rem; color: var(--gray-600); transition: var(--t-ui); }
.filter-btn:hover { border-color: var(--teal-500); color: var(--gray-900); }
.filter-btn[aria-pressed="true"] { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 1.35rem; justify-content: center; }
.portfolio-item { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: var(--t-ui); }
.portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-item.pop { animation: pop .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.portfolio-img { position: relative; height: 168px; overflow: hidden; background: linear-gradient(135deg, var(--teal-800), var(--teal-500)); }
.portfolio-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portfolio-content { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.35rem 1.5rem; }
.portfolio-content h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.portfolio-content p { flex: 1; font-size: .87rem; margin-bottom: 1.1rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.2rem; }
.portfolio-tag { padding: .22rem .62rem; border-radius: var(--radius-pill); background: var(--teal-50); color: var(--teal-700); font: 600 .7rem var(--font-mono); }
.portfolio-content .btn { align-self: flex-start; }
.section-cta { text-align: center; margin-top: 2.75rem; }

/* About */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.tech-stack { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tech-item { padding: .42rem .9rem; border-radius: var(--radius-pill); background: var(--gray-100); color: var(--gray-800); font: 600 .78rem var(--font-mono); }
.about-image { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--teal-50); box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text .btn { margin-top: 1.35rem; }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.1rem; margin-top: clamp(2.5rem, 6vw, 3.75rem); }
.value-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-sm); padding: 1.6rem 1.35rem; box-shadow: var(--shadow-sm); transition: var(--t-ui); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: .8rem; background: var(--orange-50); color: var(--orange-500); }
.value-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.value-card p { margin: 0; font-size: .87rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.35rem; margin-top: clamp(2.5rem, 6vw, 3.75rem); }
.team-card { overflow: hidden; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: var(--t-ui); }
.team-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); }
.team-photo { aspect-ratio: 1; background: rgba(255,255,255,.08); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 1.15rem 1.15rem 1.35rem; }
.team-info h3 { color: #fff; font-size: 1rem; margin-bottom: .2rem; }
.team-role { color: var(--orange-400); font: 600 .8rem var(--font-mono); }

/* Testimonials — native scroll-snap carousel (swipe, keyboard, no resize maths) */
.testimonial-carousel { position: relative; max-width: 1050px; margin: 0 auto; }
.testimonial-track { display: flex; gap: 1.35rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem .25rem 1rem; margin: -.5rem -.25rem -1rem; overscroll-behavior-x: contain; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card { position: relative; flex: 0 0 100%; scroll-snap-align: start; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: box-shadow .3s ease; }
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-card .quote-icon { position: absolute; top: 1.4rem; right: 1.4rem; width: 1.75rem; height: 1.75rem; color: var(--teal-100); }
.testimonial-card blockquote p { color: var(--gray-800); font-size: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; margin-top: 1.4rem; }
.author-avatar { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); }
.testimonial-author h3 { font-size: .95rem; margin: 0; }
.testimonial-author p { margin: 0; font-size: .82rem; }
.stars { display: flex; gap: .12rem; margin-top: .25rem; color: var(--yellow-400); }
.stars .lucide { width: .8rem; height: .8rem; fill: currentColor; }
.testimonial-arrow { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; border: 1px solid var(--gray-200); background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); transition: var(--t-ui); }
.testimonial-arrow:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.testimonial-arrow.prev { left: -20px; }
.testimonial-arrow.next { right: -20px; }
.testimonial-dots { display: flex; justify-content: center; gap: .4rem; margin-top: 1.85rem; }
.testimonial-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--gray-300); transition: width .3s var(--ease), background-color .25s; }
.testimonial-dot[aria-current="true"] { width: 24px; background: var(--teal-600); }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.5rem, 6vw, 3.75rem); position: relative; }
.process-steps::before { content: ''; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,.1)); }
.process-step { position: relative; padding: 0 1.25rem; }
.step-circle { position: relative; z-index: 1; width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.15rem; border-radius: 50%; background: var(--teal-800); border: 1.5px solid rgba(255,255,255,.25); transition: var(--t-ui); }
.step-circle .lucide { width: 1.3rem; height: 1.3rem; color: #fff; }
.process-step:hover .step-circle { background: var(--orange-500); border-color: var(--orange-500); transform: scale(1.06); }
.step-num { display: block; margin-bottom: .4rem; font: 600 .75rem var(--font-mono); color: var(--orange-400); }
.process-step h3 { color: #fff; font-size: 1.05rem; }
.process-step p { margin: 0; font-size: .87rem; }

/* Pricing */
.pricing-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-bottom: 2.75rem; }
.pricing-tab { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.2rem; border-radius: var(--radius-pill); border: 1.5px solid var(--gray-200); background: #fff; font-weight: 600; font-size: .85rem; transition: var(--t-ui); }
.pricing-tab:hover { border-color: var(--teal-600); }
.pricing-tab[aria-selected="true"] { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.35rem; align-items: start; }
.pricing-card { position: relative; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow-sm); transition: var(--t-ui); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border: 1.5px solid var(--teal-600); background: linear-gradient(180deg, var(--teal-50), #fff 40%); transform: scale(1.02); }
.pricing-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.popular-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .9rem; border-radius: var(--radius-pill); background: var(--orange-500); color: #fff; font-size: .72rem; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 16px -4px rgba(249,115,22,.5); }
.popular-tag .lucide { width: .7rem; height: .7rem; fill: currentColor; }
.price { margin: .85rem 0; font: 900 1.9rem var(--font-head); letter-spacing: -.02em; color: var(--teal-700); }
.price span { font: 500 .9rem var(--font-body); color: var(--gray-400); }
.pricing-features { margin: 1.15rem 0; }
.pricing-features li { display: flex; align-items: center; gap: .55rem; padding: .5rem 0; border-bottom: 1px solid var(--gray-100); font-size: .87rem; color: var(--gray-600); }
.pricing-features li:last-child { border-bottom: 0; }
.pricing-features .lucide { color: var(--green-500); }
.pricing-card .btn { width: 100%; margin-top: .4rem; }
.pricing-note { max-width: 560px; margin: 2.25rem auto 0; text-align: center; font-size: .88rem; }

/* FAQ — native <details>, no JS needed */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { margin-bottom: .65rem; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; transition: border-color .25s; }
.faq-item:hover, .faq-item[open] { border-color: var(--gray-300); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.35rem; font-weight: 600; font-size: .95rem; color: var(--gray-800); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: .55rem; height: .55rem; border-right: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600); transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-item .faq-answer p { padding: 0 1.35rem 1.2rem; margin: 0; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.35rem; }
.blog-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: var(--t-ui); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-img { position: relative; height: 150px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.blog-img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 55%); }
.blog-img .lucide { width: 1.75rem; height: 1.75rem; position: relative; z-index: 1; }
.blog-content { padding: 1.5rem; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-bottom: .7rem; font: .78rem var(--font-mono); color: var(--gray-600); }
.blog-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.blog-card h3 a::after { content: ''; position: absolute; inset: 0; }   /* whole card is the link */
.blog-card .btn { position: relative; z-index: 1; }

.article-body { position: relative; z-index: 2; max-width: 740px; margin: -2.5rem auto 0; padding: clamp(1.5rem, 5vw, 2.75rem); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.article-body .blog-meta { margin-bottom: 1.5rem; }
.article-body h2 { font-size: 1.35rem; text-align: left; margin: 1.85rem 0 .6rem; }
.article-body ul { margin: 0 0 1.25rem 1.25rem; list-style: disc; color: var(--gray-600); }
.article-body li { margin-bottom: .5rem; line-height: 1.6; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); }
.article-cta p { margin: 0; }
.article-more { max-width: 740px; margin: 3rem auto 0; }
.article-more h2 { font-size: 1.35rem; text-align: left; }
.article-section { padding-top: 0; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 1200; height: 3px; background: var(--orange-500); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* 404 */
.notfound { text-align: center; padding-top: clamp(8rem, 16vw, 11rem); min-height: 70vh; }
.notfound .big { font: 900 clamp(5rem, 18vw, 10rem)/1 var(--font-head); color: var(--teal-100); letter-spacing: -.04em; }
.notfound .hero-buttons { margin-top: 1.5rem; }

/* 8 ── CONTACT ────────────────────────────────────────────────────────── */
.contact-container { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 4rem); }
.contact-methods { margin-top: 1.6rem; display: grid; gap: 1.35rem; }
.contact-method { display: flex; align-items: center; gap: 1.1rem; }
.contact-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: .9rem; background: var(--teal-50); color: var(--teal-600); }
.contact-method h3 { font-size: .98rem; margin-bottom: .1rem; }
.contact-method p, .contact-method a { margin: 0; font-size: .95rem; }
.contact-method a:hover { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.contact-form { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: clamp(1.35rem, 4vw, 2.15rem); box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .85rem; color: var(--gray-800); }
.form-control { width: 100%; padding: .75rem .95rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--gray-50); font: inherit; font-size: .95rem; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.form-control:focus { outline: none; border-color: var(--teal-600); background: #fff; box-shadow: 0 0 0 4px var(--teal-50); }
.form-control[aria-invalid="true"] { border-color: var(--danger); }
textarea.form-control { min-height: 120px; resize: vertical; }
.field-error { margin-top: .35rem; font-size: .8rem; color: var(--danger); }
.form-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: 1rem; font-size: .8rem; color: var(--gray-600); }
.form-alert { margin-bottom: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm); background: #fef2f2; color: var(--danger); font-size: .88rem; }
.form-alert a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success .tick { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); }
.form-success .tick .lucide { width: 1.6rem; height: 1.6rem; }
/* Contact channel picker (WhatsApp / Email) */
.channel { border: 0; margin: 0 0 1.1rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.channel legend { padding: 0; margin-bottom: .45rem; font-weight: 600; font-size: .85rem; color: var(--gray-800); }
.channel-opt { position: relative; cursor: pointer; }
.channel-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.channel-opt span { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem .9rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--gray-50); font-weight: 600; font-size: .9rem; color: var(--gray-600); transition: border-color .25s, background-color .25s, color .25s, box-shadow .25s; }
.channel-opt span .lucide { width: 1.05rem; height: 1.05rem; }
.channel-opt input:checked + span { border-color: var(--teal-600); background: var(--teal-50); color: var(--teal-700); }
.channel-opt input:focus-visible + span { box-shadow: 0 0 0 4px var(--teal-50), 0 0 0 2px var(--teal-600); }
.form-group label small { font-weight: 500; color: var(--gray-600); }
.form-success .btn { margin: .25rem .25rem 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 9 ── FOOTER (plain columns + colossal wordmark) ─────────────────────── */
.ftl-wrap { background: var(--gray-50); padding-top: clamp(1.5rem, 4vw, 3rem); }
.ftl {
  position: relative; isolation: isolate; overflow: hidden; color: var(--teal-50);
  border-radius: 1.75rem 1.75rem 0 0; padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.1rem, 4vw, 2.5rem) 0;
  background: radial-gradient(60% 55% at 92% 0, rgba(20,184,166,.28), transparent 70%), radial-gradient(40% 40% at 0 60%, rgba(251,146,60,.12), transparent 70%), var(--teal-900);
}
.ftl p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.ftl-top { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr 1.35fr 1.2fr; gap: clamp(1.5rem, 3vw, 2.5rem); max-width: 1160px; margin: 0 auto; font-size: .84rem; }
.ftl-brand { display: grid; gap: .9rem; align-content: start; }
.f-brand { display: inline-flex; align-items: center; gap: .5rem; font: 700 .95rem var(--font-head); color: #fff; }
.f-brand img { width: 26px; height: 26px; object-fit: contain; }
.ftl .f-lead { font: 700 clamp(1.05rem, 1.8vw, 1.35rem)/1.25 var(--font-head); letter-spacing: -.01em; max-width: 20ch; color: #fff; }
.f-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.f-cta { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: var(--radius-pill); background: var(--orange-500); color: #fff; font-weight: 600; font-size: .8rem; transition: var(--t-ui); }
.ftl .f-note { font-size: .76rem; opacity: .72; }
.ftl .f-h { margin-bottom: .75rem; font: 600 .78rem/1.2 var(--font-mono); color: var(--orange-400); }
.ftl-col { display: grid; gap: .5rem; align-content: start; min-width: 0; }
.ftl-col ul { display: grid; gap: .5rem; }
/* Links: animated underline drawn with a background, so there is no stuck text-decoration.
   It only reacts to a real mouse hover or keyboard focus, never to a tap or a finished click. */
.ftl a, .f-bar button { -webkit-tap-highlight-color: transparent; }
.ftl-col > ul:not(.prod-list) a, .ftl address > a, .f-bar button {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .3s var(--ease), color .25s ease;
}
.ftl-col > ul:not(.prod-list) a { display: inline-block; }
@media (hover: hover) and (pointer: fine) {
  .ftl-col > ul:not(.prod-list) a:hover, .ftl address > a:hover, .f-bar button:hover { background-size: 100% 1.5px; }
  .ftl-col > ul:not(.prod-list) a:hover { color: #fff; }
  .prod-list a:hover { background-color: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
  .f-cta:hover { transform: translateY(-2px); background: var(--orange-600); }
}
.ftl-col > ul:not(.prod-list) a:focus-visible, .ftl address > a:focus-visible, .f-bar button:focus-visible { background-size: 100% 1.5px; outline-offset: 4px; }
.ftl :focus-visible { outline-color: var(--orange-400); }

/* Product list becomes three quiet tiles */
.prod-list { gap: .6rem; }
.prod-list a { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: center; padding: .7rem .8rem;
  border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; background: rgba(255,255,255,.04); background-image: none;
  transition: background-color .25s ease, border-color .25s ease, transform .35s var(--ease); }
.prod-list .lucide { width: 2.1rem; height: 2.1rem; padding: .55rem; margin: 0; border-radius: .7rem; background: rgba(255,255,255,.1); color: var(--orange-400); }
.prod-list strong { display: block; font-weight: 600; color: #fff; }
.prod-list small { display: block; font-size: .74rem; opacity: .7; margin-top: .1rem; }

.ftl address > a { display: flex; align-items: flex-start; gap: .55rem; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.ftl address .lucide { margin-top: .2em; color: var(--orange-400); }
.ftl address .copy .lucide { margin: 0; color: inherit; }
.copy { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; padding: .55rem .8rem .55rem 1rem; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-pill); background: rgba(255,255,255,.08); text-align: left; font-size: .8rem; overflow-wrap: anywhere; transition: background-color .25s, border-color .25s; }
@media (hover: hover) and (pointer: fine) { .copy:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.22); } }
.f-clock { display: grid; gap: .25rem; margin-top: .35rem; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.14); }
.clock { font: 500 1.25rem/1 var(--font-mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.f-status { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: rgba(255,255,255,.4); }
.dot.on { background: var(--green-500); box-shadow: 0 0 0 4px rgba(34,197,94,.22); }
.ftl .f-hours { font-size: .74rem; opacity: .7; }
.soc { display: flex; gap: .5rem; margin-top: .5rem; }
.soc a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); transition: transform .3s var(--ease), background-color .25s, border-color .25s; }
.soc .lucide { width: 1.1rem; height: 1.1rem; }
@media (hover: hover) and (pointer: fine) { .soc a:hover { transform: translateY(-3px); background: var(--orange-500); border-color: transparent; } }
.f-bar { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.25rem; max-width: 1160px; margin: clamp(1.75rem, 3.5vw, 2.5rem) auto 0; padding: 1rem 0 1.25rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem; }
.f-bar > span { opacity: .8; }
.f-bar button { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-pill); background-image: none; font-weight: 500; transition: background-color .25s ease, border-color .25s ease; }
.f-bar button .lucide { transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .f-bar button:hover { background-color: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); } .f-bar button:hover .lucide { transform: translateY(-2px); } }
.ftl-wm { position: relative; z-index: 1; overflow: hidden; display: flex; justify-content: center; user-select: none; font: 900 31vw/.78 var(--font-head); letter-spacing: -.04em; margin: .1em 0 -.09em; pointer-events: none; }
.ftl-wm-t { display: inline-block; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(180deg, rgba(204,251,241,.34), rgba(204,251,241,.04)); }
@media (max-width: 900px) { .ftl-top { grid-template-columns: 1fr 1fr; } .ftl-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ftl-top { grid-template-columns: 1fr; } }

/* 10 ── FLOATING UI ───────────────────────────────────────────────────── */
.whatsapp-btn { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 900; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(37,211,102,.55); transition: var(--t-ui); }
.whatsapp-btn .lucide { width: 1.6rem; height: 1.6rem; }
.whatsapp-btn:hover { transform: scale(1.08) translateY(-2px); }
.back-to-top { position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 900; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gray-200); background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: var(--t-ui); }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

/* 11 ── MOTION ────────────────────────────────────────────────────────── */
/* Reveal-once on scroll. Attribute is removed after the transition so card hover styles take over. */
.js [data-reveal] { transition: opacity .6s var(--ease-soft), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; mix-blend-mode: normal; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .sw > span, .rise { transform: none !important; opacity: 1 !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* 12 ── RESPONSIVE ────────────────────────────────────────────────────── */
@media (min-width: 700px)  { .testimonial-card { flex-basis: calc(50% - .675rem); } }
@media (min-width: 1000px) { .testimonial-card { flex-basis: calc(33.333% - .9rem); } }

@media (max-width: 1100px) { .testimonial-arrow.prev { left: -8px; } .testimonial-arrow.next { right: -8px; } }

@media (max-width: 980px) {
  .about-content, .contact-container { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .process-steps::before { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: grid; }
  section { padding: 3rem 1.25rem; }
  .pricing-card.featured, .pricing-card.featured:hover { transform: none; }
  .whatsapp-btn { right: 1rem; bottom: 1rem; width: 48px; height: 48px; }
  .back-to-top { left: 1rem; bottom: 1rem; width: 38px; height: 38px; }
  .testimonial-arrow { width: 36px; height: 36px; }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero-buttons .btn { flex: 1 1 100%; max-width: 260px; }
}
@media (max-width: 480px) {
  .portfolio-grid, .pricing-grid, .blog-grid, .team-grid, .services-grid { grid-template-columns: 1fr; }
  .logo { font-size: .9rem; gap: .4rem; }
  .logo-img { height: 24px; }
  .pricing-tabs { flex-direction: column; align-items: stretch; }
  .pricing-tab { justify-content: center; }
  h1 { font-size: clamp(1.9rem, 9vw, 2.3rem); }
  .service-card, .pricing-card, .blog-content { padding: 1.35rem; }
}
@media (max-width: 420px) { .header-cta .btn { display: none; } }

/* Service-page card titles are h2 for a correct heading outline, styled like h3 */
.service-card h2 { font-size: clamp(1.12rem, 1.8vw, 1.35rem); font-weight: 700; margin-bottom: .6rem; letter-spacing: -.02em; }


/* ==========================================================================
   13 ── V2: compact scale · pill header · hero mockup · bento · parallax
   ========================================================================== */

/* Compact, fluid type + controls (rem scales with the fluid html size above) */
h1 { font-size: clamp(1.85rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.4rem, 2.9vw, 2.15rem); margin-bottom: .7rem; }
h3 { font-size: clamp(1rem, 1.5vw, 1.15rem); margin-bottom: .45rem; }
p { font-size: .9rem; line-height: 1.65; margin-bottom: .75rem; }
section { padding: clamp(2.75rem, 6vw, 5.25rem) 1.25rem; }
.section-title { max-width: 560px; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-title p { font-size: .92rem; }
.eyebrow { font-size: .72rem; margin-bottom: .6rem; }
.page-hero { padding: clamp(6rem, 11vw, 8rem) 1.25rem clamp(2.75rem, 6vw, 4.25rem); }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.55rem); }
.page-hero p { font-size: .92rem; }
.btn { padding: .55rem 1.1rem; font-size: .82rem; gap: .4rem; }
.btn .lucide, .btn [data-lucide] { width: .9rem; height: .9rem; }
.btn-sm { padding: .4rem .85rem; font-size: .76rem; }
.filter-btn, .pricing-tab { padding: .42rem .95rem; font-size: .78rem; }
.service-icon { width: 38px; height: 38px; margin-bottom: .9rem; border-radius: .7rem; }
.service-icon .lucide { width: 1.15rem; height: 1.15rem; }
.value-icon { width: 36px; height: 36px; margin-bottom: .75rem; }
.service-card, .pricing-card { padding: 1.25rem; }
.value-card { padding: 1.1rem; }
.contact-form { padding: clamp(1.1rem, 3.5vw, 1.75rem); }
.testimonial-card { padding: 1.25rem; }
.testimonial-card blockquote p { font-size: .9rem; }
.faq-item summary { padding: .9rem 1.1rem; font-size: .88rem; }
.price { font-size: 1.6rem; }
.form-control { padding: .62rem .8rem; font-size: .88rem; }
.tech-item { padding: .32rem .75rem; font-size: .72rem; }
.whatsapp-btn { width: 46px; height: 46px; }
.whatsapp-btn .lucide { width: 1.4rem; height: 1.4rem; }
.service-card h2 { font-size: clamp(1rem, 1.5vw, 1.15rem); }

/* Pill header */
#header {
  top: .7rem; width: min(92%, 960px); padding: .35rem .4rem .35rem .5rem; border-radius: 999px;
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 10px 30px -14px rgba(15,23,42,.3), inset 0 1px 0 rgba(255,255,255,.7);
}
#header.contracted { width: min(86%, 780px); padding: .25rem .35rem .25rem .45rem; background: rgba(255,255,255,.92); box-shadow: 0 16px 36px -16px rgba(15,23,42,.38); }
.header-container { padding: 0 .3rem 0 .85rem; gap: .5rem; }
.logo { font-size: .9rem; } .logo-img { height: 22px; }
.nav-links { gap: .1rem; }
.nav-links a { padding: .36rem .75rem; font-size: .79rem; }
.nav-links a[aria-current="page"] { background: var(--teal-600); color: #fff; }
.header-cta { gap: .4rem; }
.hamburger { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--gray-100); }
.hamburger .lucide { width: 1.15rem; height: 1.15rem; }
.mobile-menu { width: min(92%, 960px); border-radius: 1.5rem; padding: .5rem; }
.mobile-nav-links a { padding: .7rem .8rem; font-size: .9rem; }

/* Parallax: individual `translate` so it never fights other transforms/animations */
[data-parallax] { translate: 0 var(--py, 0px); will-change: translate; }
.has-orbs { isolation: isolate; }
.px-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; opacity: .22; }
.px-orb--a { width: clamp(9rem, 22vw, 18rem); aspect-ratio: 1; left: -4%; top: 8%; background: radial-gradient(circle at 30% 30%, var(--orange-400), transparent 70%); }
.px-orb--b { width: clamp(8rem, 18vw, 15rem); aspect-ratio: 1; right: -3%; bottom: 4%; background: radial-gradient(circle at 60% 40%, var(--teal-500), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }

/* Hero */
.hero { padding: 6.25rem 1.25rem 3.75rem; text-align: left; }
.hero-media { inset: -14% 0; }
.hero-slide.is-active { opacity: .3; }
.hero::after { background: radial-gradient(55% 65% at 78% 48%, rgba(249,115,22,.2), transparent 70%), linear-gradient(160deg, rgba(11,59,55,.9), rgba(10,34,38,.94)); }
.hero-inner { width: min(1160px, 100%); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.hero-content { max-width: none; text-align: left; }
.hero h1 { font-size: clamp(1.85rem, 3.9vw, 3rem); margin-bottom: .9rem; }
.hero .lede { margin: 0; max-width: 30rem; font-size: clamp(.92rem, 1.4vw, 1.02rem); }
.hero-chip { font-size: .74rem; padding: .32rem .8rem; margin-bottom: 1rem; }
.hero-buttons { justify-content: flex-start; margin-top: 1.4rem; gap: .6rem; }
.hero-stats { justify-content: flex-start; margin-top: clamp(1.75rem, 4vw, 2.5rem); gap: clamp(1.25rem, 4vw, 2.25rem); }
.hero-stat { text-align: left; }
.hero-stat .num { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.hero-stat .label { font-size: .74rem; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: clamp(240px, 36vw, 440px); }
.hv-circle { position: absolute; inset: 0; margin: auto; width: min(90%, 290px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, #fdba74, var(--orange-500) 45%, var(--orange-600)); box-shadow: 0 30px 80px -20px rgba(234,88,12,.6); }
.hv-stage { position: relative; width: min(88%, 440px); }
/* Custom hero image: a floating cut-out. No border, frame or box, just the artwork and a soft shadow */
.hv-laptop { position: relative; display: block; width: auto; height: auto; max-width: 100%; max-height: clamp(260px, 40vw, 500px); margin: 0 auto;
  object-fit: contain; border: 0; border-radius: 0; background: none; box-shadow: none;
  filter: drop-shadow(0 34px 34px rgba(0,0,0,.42)); animation: hv-float 6.5s ease-in-out infinite; will-change: transform; }
@keyframes hv-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
.hv-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .7rem; border-radius: 99px; background: #fff; color: var(--teal-900); font: 600 .7rem var(--font-body); box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); animation: hv-bob 5s ease-in-out infinite; }
.hv-chip i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--green-500); }
.hv-chip--a { left: -3%; top: 12%; } .hv-chip--b { right: -1%; bottom: 16%; animation-delay: -2s; }
@keyframes hv-bob { 50% { transform: translateY(-9px); } }

/* Bento grids */
.bento-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; grid-auto-rows: minmax(12rem, auto); gap: .8rem; justify-content: stretch; }
.bento-grid > * { grid-column: span var(--col, 2); min-width: 0; }
.b4 > :nth-child(4n+1), .b4 > :nth-child(4n+4) { --col: 4; }
.b4 > :nth-child(4n+2), .b4 > :nth-child(4n+3) { --col: 2; }
.b3 > * { --col: 3; } .b3 > :first-child { grid-row: span 2; }
.bento-grid .service-card { display: flex; flex-direction: column; justify-content: flex-end; border-radius: 1.25rem; box-shadow: none; }
.bento-grid .service-card .service-icon { margin-bottom: auto; }
.bento-grid .service-card:nth-child(4n+1) { background: var(--teal-900); border-color: transparent; }
.bento-grid .service-card:is(:nth-child(4n+1), :nth-child(4n+4)) :is(h2, h3) { color: #fff; }
.bento-grid .service-card:is(:nth-child(4n+1), :nth-child(4n+4)) :is(p, li) { color: rgba(255,255,255,.86); }
.bento-grid .service-card:is(:nth-child(4n+1), :nth-child(4n+4)) .service-icon { background: rgba(255,255,255,.12); color: var(--orange-400); }
.bento-grid .service-card:is(:nth-child(4n+1), :nth-child(4n+4)) .learn-more { color: var(--orange-400); }
.bento-grid .service-card:is(:nth-child(4n+1), :nth-child(4n+4)) .check-list li::before { border-color: var(--orange-400); }
.bento-grid .service-card:nth-child(4n+2) { background: var(--orange-50); border-color: transparent; }
.bento-grid .service-card:nth-child(4n+3) { background: var(--teal-50); border-color: transparent; }
.b3 .service-card:first-child { background: linear-gradient(180deg, rgba(11,59,55,.45), rgba(11,59,55,.94)), url('https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&q=60&w=900') center / cover; }
.bento-grid .value-card { border-radius: 1.25rem; box-shadow: none; display: flex; flex-direction: column; justify-content: flex-end; }
.bento-grid .value-card:nth-child(4n+1) { background: var(--teal-50); border-color: transparent; }
.bento-grid .value-card:nth-child(4n+4) { background: var(--orange-50); border-color: transparent; }
.bento-grid .value-card .value-icon { margin-bottom: auto; }

/* Image cards: the photo fills the whole card, text sits on a gradient */
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.16; transition: scale .8s var(--ease); }
.portfolio-item { position: relative; isolation: isolate; min-height: 15rem; border: 0; border-radius: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--teal-800), var(--teal-500)); box-shadow: none; }
.portfolio-img { position: absolute; inset: 0; height: auto; z-index: -2; background: none; }
.portfolio-item::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,59,55,0) 20%, rgba(9,36,34,.92) 100%); }
.portfolio-item:hover .fill, .blog-card:hover .fill { scale: 1.24; }
.portfolio-content { justify-content: flex-end; padding: 1rem; }
.portfolio-content h3 { color: #fff; font-size: 1rem; }
.portfolio-content p { color: rgba(255,255,255,.86); font-size: .82rem; flex: 0 1 auto; margin-bottom: .7rem; }
.portfolio-tags { margin-bottom: .75rem; }
.portfolio-tag { background: rgba(255,255,255,.16); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.portfolio-content .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.portfolio-content .btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }

.blog-card { display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; min-height: 17rem; border: 0; border-radius: 1.25rem; color: #fff; box-shadow: none; }
.blog-img { position: absolute; inset: 0; height: auto; z-index: -2; display: block; }
.blog-img::after { background: linear-gradient(180deg, rgba(17,24,39,0) 15%, rgba(17,24,39,.92) 100%); z-index: 1; }
.blog-content { position: relative; z-index: 1; padding: 1rem 1.1rem 1.15rem; }
.blog-content h3 a { color: #fff; }
.blog-content p { color: rgba(255,255,255,.85); font-size: .82rem; }
.blog-meta { color: rgba(255,255,255,.8); }
.blog-card .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.blog-grid:not(.bento-grid) { grid-template-columns: 1fr; }

.about-image { position: relative; border-radius: 1.25rem; }
.team-card { position: relative; min-height: 15rem; border: 0; border-radius: 1.25rem; background: linear-gradient(135deg, var(--teal-800), var(--teal-600)); }
.team-photo { position: absolute; inset: 0; aspect-ratio: auto; background: none; }
.team-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem; background: linear-gradient(transparent, rgba(9,36,34,.92)); }
.team-info h3 { font-size: .95rem; }

/* V2 responsive */
@media (max-width: 900px) {
  .hero { padding: 5.75rem 1.1rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { text-align: center; }
  .hero .lede { margin: 0 auto; }
  .hero-buttons, .hero-stats { justify-content: center; }
  .hero-stat { text-align: center; }
  .hero-visual { width: 100%; max-width: 420px; margin: 0 auto; }
  .scroll-cue { display: none; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid > * { grid-column: auto; }
  .b3 > :first-child { grid-row: auto; }
  .bento-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  #header { width: 94%; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(11rem, auto); }
  .bento-grid > :last-child:nth-child(odd) { grid-column: auto; }
  .hv-chip--a { left: 0; } .hv-chip--b { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  [data-parallax] { translate: none; will-change: auto; }
  .hv-laptop, .hv-chip { animation: none; }
}

/* V2.1 fixes */
@media (max-width: 900px) {
  .hero-visual { margin-top: 1.75rem; min-height: 0; padding: 1.5rem 0 2rem; }
  .hv-stage { width: 84%; }
}
.bento-grid .service-card:nth-child(4n+4) { background: var(--teal-700); border-color: transparent; }
@media (max-width: 700px) { .testimonial-arrow { display: none; } }

/* Hold the footer and floating buttons back until the page content exists */
.js:not(.ready) .ftl-wrap, .js:not(.ready) .whatsapp-btn { visibility: hidden; }
.js:not(.ready) main { min-height: 100svh; background: var(--teal-900); }

@media (max-width: 560px) {
  .ftl-col > ul { gap: .15rem; }
  .ftl-col > ul:not(.prod-list) a { padding: .45rem 0; }
  .ftl address > a { padding: .35rem 0; }
}
