/* =========================================================
   CUNHA REFRIGERAÇÃO — Precisão Térmica
   ========================================================= */

:root {
  --navy-950: #04070f;
  --navy-900: #070d1f;
  --navy-800: #0b1530;
  --navy-700: #101c42;
  --blue-royal: #2952e8;
  --blue-royal-bright: #3f66ff;
  --blue-light: #8fc0ff;
  --white: #ffffff;
  --red-accent: #e2342f;

  /* Dark theme: --bg-page/--bg-alt give sections two close-but-distinct
     dark tones for zone rhythm; --ink* are the text tokens, now light. */
  --bg-page: var(--navy-950);
  --bg-alt: #0a1224;
  --ink: #f3f6fc;
  --ink-soft: rgba(243, 246, 252, 0.68);
  --ink-mute: rgba(243, 246, 252, 0.45);

  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.065);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.16);

  --border-soft: rgba(255, 255, 255, 0.12);
  --border-light: rgba(255, 255, 255, 0.14);

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "Space Mono", monospace;

  --container: 1200px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ============ SITE LOADER (intro) ============ */
/* Plays on every load/refresh — js/app.js hides it after ~3s. */

body.loader-active { overflow: hidden; }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 42%, var(--navy-700) 0%, var(--navy-950) 70%);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.site-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }

.loader-logo {
  width: 190px; height: 190px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  animation:
    loader-logo-in 0.7s var(--ease) forwards,
    loader-logo-glow 2.2s ease-in-out 0.7s infinite;
}
@keyframes loader-logo-in {
  to { opacity: 1; transform: scale(1); }
}
@keyframes loader-logo-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(63,102,255,0.25); }
  50% { box-shadow: 0 0 55px rgba(63,102,255,0.5); }
}

.loader-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  opacity: 0;
  transform: translateY(12px);
  animation: loader-slogan-in 0.55s var(--ease) forwards;
  animation-delay: 0.85s;
}
@keyframes loader-slogan-in {
  to { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 100%; height: 100%; }

/* ============ TYPOGRAPHY ============ */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-royal);
  margin-bottom: 18px;
}
.tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blue-royal);
}
.tag-light { color: var(--blue-light); }
.tag-light::before { background: var(--blue-light); }

/* ============ REVEAL ANIMATION ============ */
/* Base hidden state; GSAP (js/app.js) animates elements to their resting
   state per data-driven anim type. The transition below is a no-JS fallback
   only — .js-ready removes it so GSAP has full control over timing/easing. */

.reveal {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), clip-path 0.8s var(--ease);
}
.js-ready .reveal { transition: none; }

.reveal.anim-fade-up { transform: translateY(40px); }
.reveal.anim-slide-left { transform: translateX(-70px); }
.reveal.anim-slide-right { transform: translateX(70px); }
.reveal.anim-scale-up { transform: scale(0.88); }
.reveal.anim-rotate-in { transform: translateY(30px) rotate(3deg); }
.reveal.anim-clip-reveal { opacity: 1; clip-path: inset(0 0 100% 0); }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) rotate(0deg);
  clip-path: inset(0 0 0% 0);
}

/* ============ SCROLL PROGRESS ============ */

.scroll-progress {
  position: absolute;
  bottom: -1px; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-royal-bright), var(--blue-light));
  z-index: 2;
  transition: width 0.05s linear;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn .icon { width: 18px; height: 18px; flex-shrink: 0; position: relative; z-index: 1; }
.btn .icon path { fill: currentColor; stroke: none; }

.btn-arrow {
  width: 16px; height: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Diagonal light sweep on hover */
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease);
  pointer-events: none;
}
.btn:hover::before { left: 130%; }

.btn-primary {
  background: var(--blue-royal-bright);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(63,102,255,0.5);
}
.btn-primary:hover {
  background: var(--blue-royal);
  box-shadow: 0 10px 28px rgba(41,82,232,0.4);
  transform: translateY(-2px);
}

/* Ambient pulsing glow — reserved for the big CTAs so it reads as a
   deliberate accent rather than noise across every button on the page. */
.btn-primary.btn-lg { animation: btn-glow-pulse 3s ease-in-out infinite; }
.btn-primary.btn-lg:hover { animation-play-state: paused; }
@keyframes btn-glow-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(41,82,232,0.25); }
  50% { box-shadow: 0 6px 32px rgba(63,102,255,0.55); }
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-soft);
}
.btn-ghost:hover { border-color: var(--blue-light); box-shadow: 0 0 16px rgba(143,192,255,0.2); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--border-light);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: var(--white); box-shadow: 0 0 16px rgba(255,255,255,0.15); }

.btn-lg { padding: 18px 34px; font-size: 1rem; }
.btn-sm { padding: 11px 20px; font-size: 0.85rem; }

/* ============ HEADER ============ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.35s var(--ease);
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.brand-badge img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--white); }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand-text em { font-style: normal; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--blue-light); }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:hover { color: var(--white); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--blue-light);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); transition: all 0.25s; }

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse at 20% -10%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 160px 32px 100px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143,192,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,192,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 10%, transparent 70%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.55;
}
.hero-glow-a {
  width: 520px; height: 520px;
  background: var(--blue-royal-bright);
  top: -140px; right: -120px;
  animation: drift-a 16s ease-in-out infinite;
}
.hero-glow-b {
  width: 380px; height: 380px;
  background: #6ea8ff;
  bottom: -160px; left: -100px;
  animation: drift-b 20s ease-in-out infinite;
}
@keyframes drift-a {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-40px, 30px); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(30px, -30px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}

.hero-streak {
  position: absolute;
  top: -10%; left: -15%;
  width: 70%; height: 140%;
  background: linear-gradient(115deg, rgba(143,192,255,0.16) 0%, transparent 35%);
  pointer-events: none;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero-welcome {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-light);
  filter: drop-shadow(0 0 18px rgba(143,192,255,0.35));
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 auto 44px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.trust-item { display: flex; align-items: center; gap: 12px; text-align: left; }
.trust-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--blue-light); }
.trust-text { display: flex; flex-direction: column; gap: 2px; }
.trust-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--white); }
.trust-num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--white); }
.trust-label { font-size: 0.72rem; color: rgba(255,255,255,0.55); letter-spacing: 0.02em; line-height: 1.3; }
.trust-div { width: 1px; height: 36px; background: var(--border-light); }

.hero-tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-cue span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.scroll-cue-line { width: 1px; height: 40px; background: linear-gradient(var(--blue-light), transparent); animation: pulse-line 2s ease-in-out infinite; }
@keyframes pulse-line { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ============ SECTIONS ============ */

.section { padding: 120px 0; position: relative; }
.section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,192,255,0.25), transparent);
  z-index: 1;
}
.section-light {
  background:
    radial-gradient(ellipse at 12% -10%, rgba(63,102,255,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 105% 110%, rgba(143,192,255,0.06) 0%, transparent 50%),
    linear-gradient(rgba(143,192,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,192,255,0.035) 1px, transparent 1px),
    var(--bg-alt);
  background-size: auto, auto, 56px 56px, 56px 56px, auto;
}
.section-dark {
  background: radial-gradient(ellipse at 80% 0%, var(--navy-700) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  color: var(--white);
  overflow: hidden;
}
.section-dark .hero-grid { opacity: 0.7; }

.section-snow { overflow: hidden; }
.snow-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
.section-snow .container { position: relative; z-index: 1; }

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head-dark p { color: rgba(255,255,255,0.65); }

/* ============ SERVICES: SCROLL-DRIVEN FRAME SEQUENCE ============ */
/* Sticky canvas + absolutely-positioned content blocks revealed one at a
   time as the tall .vs-runway scrolls past — js/app.js binds the 118
   WebP frames (public/frames/) and each block's data-enter/data-leave/
   data-animation to a single ScrollTrigger over this runway. */

.section-video-scroll { position: relative; background: var(--navy-950); }
.vs-runway { position: relative; height: 500vh; }
.vs-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.canvas-wrap { position: absolute; inset: 0; z-index: 0; background: var(--navy-950); }
#servicosCanvas { width: 100%; height: 100%; display: block; }

.section-video-scroll .section-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,7,15,0.85) 0%, rgba(4,7,15,0.2) 40%, rgba(4,7,15,0.2) 60%, rgba(4,7,15,0.85) 100%),
    linear-gradient(180deg, rgba(4,7,15,0.55) 0%, transparent 20%, transparent 80%, rgba(4,7,15,0.6) 100%);
}

.vs-content-layer { position: relative; z-index: 2; width: 100%; height: 100%; }

.vs-block {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 460px;
  padding: 0 6vw;
  opacity: 0;
  pointer-events: none;
}
.vs-block.is-active { pointer-events: auto; }
.vs-align-left { left: 0; }
.vs-align-right { right: 0; text-align: right; }
.vs-align-center {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 680px;
}

.vs-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}
.vs-label-accent {
  color: var(--red-accent);
  border: 1px solid var(--red-accent);
  padding: 4px 12px;
  border-radius: 100px;
}

.vs-block h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--white); margin-bottom: 16px; }
.vs-block h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--white); margin-bottom: 12px; }
.vs-block p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 18px; }

.vs-block .service-icon {
  width: 46px; height: 46px;
  color: var(--blue-light);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 14px rgba(143,192,255,0.4));
}
.vs-align-right .service-icon { margin-left: auto; }
.vs-align-center .service-icon { margin-left: auto; margin-right: auto; }

.vs-lottie { width: 84px; height: 84px; }
.vs-lottie svg { width: 100% !important; height: 100% !important; }

.vs-block .service-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-light);
  border-bottom: 1px solid rgba(143,192,255,0.4);
  padding-bottom: 2px;
}

.vs-cta { display: flex; flex-direction: column; align-items: center; }
.vs-cta p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 34px;
}
.vs-cta .btn { padding: 22px 44px; font-size: 1.1rem; }

/* Progress rail — small dots marking which block is currently active */
.vs-progress {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vs-progress span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.vs-progress span.is-active { background: var(--blue-light); transform: scale(1.7); box-shadow: 0 0 10px rgba(143,192,255,0.8); }

@media (max-width: 900px) {
  .vs-runway { height: 400vh; }
  .vs-block { max-width: 86vw; padding: 0 7vw; }
  .vs-align-right { text-align: left; }
  .vs-align-right .service-icon, .vs-align-right .vs-lottie { margin-left: 0; }
  .vs-progress { display: none; }
}

@media (max-width: 640px) {
  /* The block sits vertically centered inside a hard-clipped 100vh sticky
     viewport — on a short phone screen the full desktop copy (icon +
     label + heading + paragraph + link) can run taller than that and get
     clipped top/bottom. Tightening type and spacing here keeps every
     service block fully visible instead of cutting it off. */
  .vs-block h2 { font-size: clamp(1.7rem, 8vw, 2.1rem); margin-bottom: 10px; }
  .vs-block h3 { font-size: 1.25rem; margin-bottom: 8px; }
  .vs-block p { font-size: 0.88rem; line-height: 1.45; margin-bottom: 10px; }
  .vs-label { font-size: 0.62rem; margin-bottom: 8px; }
  .vs-block .service-icon { width: 34px; height: 34px; margin-bottom: 10px; }
  .vs-lottie { width: 52px; height: 52px; margin-bottom: 8px; }
}

/* ============ PAIN POINTS ============ */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}
.pain-card {
  background: var(--navy-950);
  padding: 36px 28px;
}
.pain-index { font-family: var(--font-mono); color: var(--blue-light); font-size: 0.85rem; }
.pain-card h3 { margin: 16px 0 12px; font-size: 1.1rem; }
.pain-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ============ DIFERENCIAIS ============ */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.diff-item { padding: 24px; border-radius: 8px; transition: background 0.3s var(--ease); }
.diff-item:hover { background: var(--surface); }
.diff-icon { width: 42px; height: 42px; color: var(--blue-royal); margin-bottom: 18px; transition: filter 0.3s var(--ease), transform 0.3s var(--ease); }
.diff-item:hover .diff-icon { filter: drop-shadow(0 0 10px rgba(63,102,255,0.5)); transform: translateY(-2px); }

.diff-lottie {
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  margin-left: -6px;
}
.diff-lottie svg { width: 100% !important; height: 100% !important; }
.diff-item h3 { margin-bottom: 8px; font-size: 1.1rem; }
.diff-item p { color: var(--ink-soft); font-size: 0.92rem; }

/* ============ BRANDS MARQUEE ============ */

.section-brands {
  padding: 72px 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(63,102,255,0.08) 0%, transparent 65%),
    var(--navy-950);
  overflow: hidden;
}
.brands-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.32);
  white-space: nowrap;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ PROCESS ============ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.process-step { position: relative; padding-top: 8px; border-top: 2px solid var(--blue-royal); }
.process-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue-royal); }
.process-step h3 { margin: 14px 0 8px; font-size: 1.1rem; }
.process-step p { color: var(--ink-soft); font-size: 0.88rem; }

/* ============ RATINGS / TESTIMONIALS ============ */

.rating-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.rating-stars { color: var(--blue-light); font-size: 1.3rem; letter-spacing: 2px; }
.rating-num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.rating-link { font-size: 0.9rem; color: var(--blue-light); font-weight: 600; margin-left: 8px; }

/* ---- Dynamic carousel ---- */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 4px 32px 4px 0;
  animation: testimonials-scroll 46s linear infinite;
}
.testimonials-carousel:hover .testimonials-track,
.testimonials-track.is-dragging { animation-play-state: paused; }
@keyframes testimonials-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.testimonial-card {
  flex: 0 0 360px;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  padding: 32px 28px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-card:hover {
  border-color: rgba(255,255,255,0.32);
  background: var(--glass-bg-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.12), 0 0 34px rgba(63,102,255,0.18);
}
.testimonial-placeholder {
  border-style: dashed;
  border-color: rgba(255,255,255,0.25);
}
.testimonial-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.testimonial-top .rating-stars { font-size: 0.95rem; letter-spacing: 1px; }
.google-mark { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.01em; }
.google-mark span:nth-child(1) { color: #4285F4; }
.google-mark span:nth-child(2) { color: #EA4335; }
.google-mark span:nth-child(3) { color: #FBBC05; }
.google-mark span:nth-child(4) { color: #4285F4; }
.google-mark span:nth-child(5) { color: #34A853; }
.google-mark span:nth-child(6) { color: #EA4335; }

.quote-mark { font-family: var(--font-display); font-size: 2.4rem; color: var(--blue-royal-bright); line-height: 1; display: block; margin-bottom: 8px; }
.testimonial-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 20px; }
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-loc { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* ============ ABOUT ============ */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; max-width: 560px; }
.about-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about-list li {
  list-style: none;
  padding-left: 26px;
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 2px;
  background: var(--blue-royal);
}
.about-visual { display: flex; justify-content: center; }
.about-badge {
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 20%, var(--navy-700), var(--navy-950));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 60px rgba(63,102,255,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid var(--border-light);
  animation: badge-glow 4s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(63,102,255,0.14), inset 0 1px 0 rgba(255,255,255,0.08); }
  50% { box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 70px rgba(63,102,255,0.32), inset 0 1px 0 rgba(255,255,255,0.08); }
}
.about-badge-num { font-family: var(--font-display); font-weight: 900; font-size: 4.5rem; line-height: 1; color: var(--blue-light); }
.about-badge-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; text-align: center; color: rgba(255,255,255,0.7); }

/* ============ FAQ ============ */

.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.faq-plus {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  background: var(--blue-royal);
  transition: transform 0.3s var(--ease);
}
.faq-plus::before { width: 18px; height: 2px; top: 8px; left: 0; }
.faq-plus::after { width: 2px; height: 18px; top: 0; left: 8px; }
.faq-item.is-open .faq-plus::after { transform: rotate(90deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-answer p { padding-bottom: 24px; color: var(--ink-soft); max-width: 620px; }

/* ============ CTA / CONTACT ============ */

.section-cta { padding-bottom: 100px; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.cta-copy p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.05rem; }
.commitment-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.commitment-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.commitment-item .check { color: var(--blue-light); font-weight: 700; }

.cta-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}
.cta-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.cta-address { color: rgba(255,255,255,0.65); margin-bottom: 20px; font-size: 0.92rem; }
.map-wrap { border-radius: 4px; overflow: hidden; filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.92); margin-bottom: 20px; border: 1px solid var(--border-light); }
.cta-card-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.cta-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

/* ============ FOOTER ============ */

.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-light);
}
.footer-brand .brand-badge { margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; max-width: 260px; margin-bottom: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--blue-royal-bright); border-color: var(--blue-royal-bright); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 28px 32px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ============ FLOATING SOCIAL BUTTONS ============ */

.float-stack {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 1;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
/* Hidden while the hero is in view — it already has its own WhatsApp CTA,
   and on phones the hero's full-width buttons sit right where these fixed
   buttons live. js/app.js toggles this via an IntersectionObserver. */
.float-stack.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.social-float {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease);
}
.social-float:hover { transform: scale(1.08); }
.social-float svg { width: 28px; height: 28px; color: var(--white); }

.whatsapp-float {
  background: #25D366;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}
.whatsapp-float svg path { fill: currentColor; stroke: none; }

.instagram-float {
  background: radial-gradient(circle at 30% 110%, #ffdb73 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 8px 24px rgba(214,36,159,0.4);
}

/* ============ SPOTLIGHT (card hover glow) ============ */

.service-card, .testimonial-card { position: relative; overflow: hidden; }
.service-card::after, .testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(41,82,232,0.1), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.service-card-featured::after {
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(143,192,255,0.16), transparent 62%);
}
.testimonial-card::after {
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(143,192,255,0.14), transparent 62%);
}
.service-card:hover::after, .testimonial-card:hover::after { opacity: 1; }

/* ============ SCROLLSPY NAV ============ */

.main-nav a.is-active { color: var(--white); }
.main-nav a.is-active::after { width: 100%; box-shadow: 0 0 8px rgba(143,192,255,0.7); }

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
  .testimonial-card { flex-basis: 300px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy-950);
    padding: 24px 32px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; gap: 12px; }
  .brand { gap: 10px; }
  .brand-badge { width: 38px; height: 38px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text em { font-size: 0.52rem; letter-spacing: 0.1em; }
  .section { padding: 72px 0; }
  .hero { padding: 130px 20px 70px; }

  /* Same visual language as desktop — bigger type, glows, animated
     counters, icon trust bar — just re-scaled and re-flowed for a phone
     column instead of dropped or simplified. */
  h2 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 20px; }
  .hero-welcome { font-size: 0.7rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 32px; }
  .eyebrow { font-size: 0.68rem; padding: 7px 14px; text-align: center; }

  .pain-grid, .diff-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .hero-trust { flex-direction: column; align-items: center; gap: 20px; }
  .trust-div { display: none; }
  .trust-item { flex-direction: column; text-align: center; gap: 8px; }
  .trust-label { text-align: center; }

  /* Capped width (not full-stretch) keeps the button's right edge clear
     of the fixed WhatsApp/Instagram buttons, which otherwise sit right on
     top of it once this section scrolls near the bottom of the viewport. */
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { justify-content: center; width: 100%; max-width: 340px; }

  .about-badge { width: 200px; height: 200px; }
  .about-badge-num { font-size: 3.4rem; }

  .vs-cta p { font-size: clamp(1.6rem, 9vw, 2.2rem); }

  .testimonial-card { flex-basis: 260px; padding: 26px 22px; }

  .float-stack { bottom: 18px; right: 18px; gap: 10px; }
  .social-float { width: 50px; height: 50px; }
  .social-float svg { width: 24px; height: 24px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: clamp(1.7rem, 9.5vw, 2.1rem); }
}
