/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Brand colors */
  --navy:        #1A1835;
  --navy-2:      #2D2B4E;
  --navy-3:      #4A4768;
  --navy-mute:   #8A88A0;
  --navy-ghost:  #C4C3D0;

  /* Off-white (never pure #fff in design) */
  --off-white:   #F5F3EE;

  /* Backgrounds */
  --bg:          #FAFAF8;
  --bg-2:        #F8F6F2;
  --bg-3:        #F0EDE7;
  --bg-dark:     #1A1835;
  --bg-dark-2:   #130F2E;

  /* Text */
  --ink:         #1A1835;
  --ink-soft:    #4A4768;
  --ink-mute:    #8A88A0;

  /* Accent */
  --accent:      #1A1835;
  --accent-light: rgba(26, 24, 53, 0.07);

  /* Lines */
  --line:        rgba(26, 24, 53, 0.09);
  --line-dark:   rgba(255, 255, 255, 0.1);

  /* Typography */
  --sans:   'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --mono:   'JetBrains Mono', monospace;

  /* Spacing */
  --gutter:  clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 9vw, 8rem);
  --nav-h:   72px;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.025em; }
ul { list-style: none; padding: 0; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 3px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--navy); color: #fff;
  z-index: 9999; border-radius: 6px; font-weight: 500; font-size: .875rem;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100%, 1200px);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.container-sm {
  width: min(100%, 860px);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

/* Kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-mute);
  margin-bottom: 1.25rem;
}
.kicker-line {
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--navy-mute);
}

/* Section titles */
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.section-title em {
  font-style: normal;
  position: relative;
  display: inline-block;
}
.section-title em::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.section-title em.is-visible::after { transform: scaleX(1); }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%; height: 3px;
  background: var(--navy);
  z-index: 500;
  transition: width .05s linear;
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .875rem 1.875rem;
  border-radius: 6px;
  transition: all .3s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform .3s var(--ease-out);
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 24, 53, 0.25);
}
.btn-primary svg { transition: transform .3s var(--ease-out); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-lg { font-size: 1rem; padding: 1.1rem 2.25rem; }
.btn-sm { font-size: .8125rem; padding: .625rem 1.25rem; }

/* =============================================================
   5. Navigation
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 250, 248, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(250, 250, 248, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--gutter);
  max-width: 1200px;
  margin-inline: auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.logo-icon {
  width: 28px; height: 32px;
  color: var(--navy);
  flex-shrink: 0;
}
.logo-wordmark {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-menu a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease-out);
  border-radius: 1px;
}
.nav-menu a:hover { color: var(--navy); }
.nav-menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-menu a.is-active { color: var(--navy); }
.nav-menu a.is-active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: .5rem 1.25rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy-2) !important; transform: translateY(-1px) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s var(--ease-out);
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 500;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s var(--ease-in), transform .5s var(--ease-in);
  animation: splashAuto .01s 4.5s forwards;
}
@keyframes splashAuto { to { opacity: 0; pointer-events: none; } }
.splash.is-out { opacity: 0; pointer-events: none; }
.splash-logo {
  display: flex; align-items: center; gap: .75rem;
  opacity: 0; transform: translateY(12px);
  animation: splashIn .7s .3s var(--ease-out) forwards;
}
.splash-icon { width: 36px; height: 42px; color: var(--navy); }
.splash-word {
  font-family: var(--sans); font-size: 1.5rem;
  font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy);
}
.splash-bar {
  width: 100px; height: 2px;
  background: var(--line);
  margin: 1.5rem auto 0;
  overflow: hidden; border-radius: 2px;
}
.splash-progress {
  height: 100%; background: var(--navy); width: 0;
  animation: splashLoad 1.8s .5s var(--ease-out) forwards;
}
@keyframes splashIn { to { opacity: 1; transform: translateY(0); } }
@keyframes splashLoad { to { width: 100%; } }

/* =============================================================
   7. Custom cursor
   ============================================================= */
.cursor { position: fixed; pointer-events: none; z-index: 9000; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: fixed; width: 6px; height: 6px;
  background: var(--navy); border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 9001;
  transition: transform .1s, background .2s;
}
.cursor-ring {
  position: fixed; width: 34px; height: 34px;
  border: 1.5px solid rgba(26, 24, 53, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 9000;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s;
}
body.cursor-hover .cursor-dot { transform: translate(-50%, -50%) scale(2.5); background: var(--navy-2); }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; border-color: rgba(26, 24, 53, 0.2); }
@media (hover: none) { .cursor, .cursor-dot, .cursor-ring { display: none; } }

/* =============================================================
   8. Page header (reusable across pages)
   ============================================================= */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,24,53,0.04), transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero-label {
  font-family: var(--mono);
  font-size: .6875rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--navy-mute);
  display: flex; align-items: center; gap: .625rem;
  margin-bottom: 1.5rem;
}
.page-hero-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--navy-mute);
}
.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.page-hero-sub {
  font-size: clamp(.9375rem, 1.5vw, 1.1rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.7;
  margin-top: 1.25rem;
}

/* =============================================================
   9. Home Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--bg);
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.04);
  transition: transform 8s var(--ease-soft);
  filter: saturate(0.7) brightness(0.35);
}
.hero.is-loaded .hero-bg img { transform: scale(1); }

.hero-gradient-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    110deg,
    rgba(26, 24, 53, 0.88) 0%,
    rgba(26, 24, 53, 0.70) 50%,
    rgba(26, 24, 53, 0.82) 100%
  );
}

.hero-mouse-gradient {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(circle 600px at var(--mx, 70%) var(--my, 40%),
      rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
  transition: background .15s ease;
}

.hero-grain {
  position: absolute; inset: 0; z-index: 3;
  opacity: 0.025; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

.hero-inner {
  position: relative; z-index: 4;
  max-width: 1200px;
  padding-inline: var(--gutter);
  margin-inline: auto;
  width: 100%;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.hero-eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--mono); font-size: .6875rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
  opacity: 0; transform: translateY(12px);
  animation: heroIn .6s .8s var(--ease-out) forwards;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.5); border-radius: 50%;
  animation: pulse 2.5s 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

.hero-title {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 700; line-height: 1.0;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 14ch;
  margin-bottom: 1.75rem;
  opacity: 0; transform: translateY(24px);
  animation: heroIn .9s 1s var(--ease-out) forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
}

.hero-sub {
  font-size: clamp(.9375rem, 1.5vw, 1.1rem);
  font-weight: 400; line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 46ch;
  margin-bottom: 2.5rem;
  opacity: 0; transform: translateY(18px);
  animation: heroIn .8s 1.2s var(--ease-out) forwards;
}

.hero-actions {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(14px);
  animation: heroIn .7s 1.4s var(--ease-out) forwards;
}

/* Btn override for dark hero */
.hero-actions .btn-primary {
  background: #fff; color: var(--navy);
  border-color: #fff;
}
.hero-actions .btn-primary:hover {
  background: var(--bg-2); border-color: var(--bg-2);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* Hero scroll cue */
.hero-scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column;
  align-items: center; gap: .75rem;
  opacity: 0; animation: heroIn .6s 2s var(--ease-out) forwards;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.75));
  animation: lineAnim 2.2s 2.5s infinite;
}
@keyframes lineAnim {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.hero-scroll-text {
  font-family: var(--mono); font-size: .625rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* =============================================================
   10. Marquee
   ============================================================= */
.marquee-strip {
  background: var(--navy);
  overflow: hidden; padding-block: .9rem;
  user-select: none;
}
.marquee-track {
  display: flex; align-items: center;
  gap: 2rem; width: max-content;
  animation: marquee 25s linear infinite;
}
.marquee-track span {
  font-family: var(--mono); font-size: .6875rem;
  font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9); white-space: nowrap;
}
.marquee-track .sep { color: rgba(255,255,255,0.5); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* =============================================================
   11. Home – About teaser
   ============================================================= */
.about-teaser {
  padding-block: var(--section);
}
.about-teaser-grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
}
.about-teaser-visual { position: relative; }
.about-teaser-img {
  width: 100%; height: clamp(300px, 45vw, 520px);
  object-fit: cover; border-radius: 8px;
}
.about-teaser-badge {
  position: absolute; bottom: -1.5rem; right: -1rem;
  background: var(--navy); color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 8px; text-align: center;
}
.about-badge-num {
  display: block; font-size: 2.5rem; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
}
.about-badge-label {
  font-family: var(--mono); font-size: .6875rem;
  letter-spacing: .06em; text-transform: uppercase;
  opacity: .75; margin-top: .25rem;
}
.about-teaser-content {
  display: flex; flex-direction: column;
  gap: 1.5rem; justify-content: center;
}
.about-teaser-lead {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600; line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-teaser-content p {
  font-size: .9375rem; line-height: 1.75;
  color: var(--ink-soft);
}

/* =============================================================
   12. Stats row
   ============================================================= */
.stats-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--bg);
}
.stat-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.stat-card:hover { background: var(--bg-2); }
.stat-value {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.04em;
  color: var(--navy); line-height: 1;
  margin-bottom: .5rem;
}
.stat-label {
  font-family: var(--mono); font-size: .6875rem;
  font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute);
}

/* =============================================================
   13. Services section / cards
   ============================================================= */
.services-section {
  padding-block: var(--section);
  background: var(--bg-2);
}
.services-header {
  display: flex; flex-direction: column;
  gap: 1rem; margin-bottom: clamp(3rem, 5vw, 4rem);
}
.services-header-row {
  display: flex; align-items: flex-end;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}

.services-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
  display: flex; flex-direction: column;
  text-decoration: none;
}
.service-card:hover {
  border-color: var(--navy);
  box-shadow: 0 16px 48px rgba(26, 24, 53, 0.1);
  transform: translateY(-4px);
}
.service-card-img {
  height: 200px; overflow: hidden; flex-shrink: 0;
  position: relative;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out), filter .4s;
  filter: saturate(0.85);
}
.service-card:hover .service-card-img img {
  transform: scale(1.06); filter: saturate(1);
}
.service-card-body {
  padding: 1.75rem; flex: 1;
  display: flex; flex-direction: column; gap: .875rem;
}
.service-card-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-card-icon svg { width: 22px; height: 22px; color: var(--navy); }
.service-card-title {
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);
}
.service-card-desc {
  font-size: .9rem; line-height: 1.7;
  color: var(--ink-soft); flex: 1;
}
.service-card-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.service-card-tags li {
  font-family: var(--mono); font-size: .6875rem;
  font-weight: 500; letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--bg-2); color: var(--ink-mute);
  padding: .25rem .625rem; border-radius: 3px;
  border: 1px solid var(--line);
  transition: background .2s, color .2s;
}
.service-card:hover .service-card-tags li {
  background: var(--accent-light);
  color: var(--navy);
  border-color: rgba(26,24,53,0.15);
}
.service-card-cta {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600;
  color: var(--navy); margin-top: .5rem;
  transition: gap .25s var(--ease-out);
}
.service-card:hover .service-card-cta { gap: .875rem; }

/* =============================================================
   14. Process steps
   ============================================================= */
.process-section {
  padding-block: var(--section);
  background: var(--bg);
}
.process-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; margin-top: 3rem;
}
.process-step {
  display: flex; gap: 1.5rem;
  align-items: flex-start;
}
.process-num {
  font-family: var(--mono); font-size: .75rem;
  font-weight: 700; color: var(--navy-ghost);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 50%; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: .04em;
  transition: background .2s, color .2s, border-color .2s;
}
.process-step:hover .process-num {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.process-content h3 {
  font-size: 1.0625rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: .5rem;
}
.process-content p {
  font-size: .9rem; line-height: 1.7; color: var(--ink-soft);
}

/* =============================================================
   15. CTA Banner
   ============================================================= */
.cta-banner {
  background: var(--bg-dark);
  padding-block: clamp(4rem, 8vw, 7rem);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(255,255,255,0.04), transparent 60%),
    radial-gradient(ellipse 40% 70% at 20% 80%, rgba(255,255,255,0.02), transparent 60%);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; gap: 2rem;
  text-align: center;
}
.cta-banner-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: #fff; max-width: 16ch;
}
.cta-banner-title em {
  font-style: italic; font-weight: 400;
  color: rgba(255,255,255,0.65);
}
.cta-banner-sub {
  font-size: .9375rem; color: rgba(255,255,255,0.6);
  max-width: 46ch; line-height: 1.7;
}

/* =============================================================
   16. Contact form & channels
   ============================================================= */
.contact-section {
  padding-block: var(--section);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 4rem; margin-top: clamp(3rem, 5vw, 4rem);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-family: var(--mono); font-size: .6875rem;
  font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-mute);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: .875rem 1rem;
  font-family: var(--sans);
  font-size: .9375rem; color: var(--ink);
  width: 100%; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A88A0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.form-group option { background: var(--bg); color: var(--ink); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--navy-ghost); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(26, 24, 53, 0.07);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-footer {
  display: flex; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.form-note {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--ink-mute); line-height: 1.5;
}
.btn-submit { min-width: 180px; }
.btn-submit .btn-sending,
.btn-submit .btn-sent { display: none; }
.btn-submit.is-sending .btn-text { display: none; }
.btn-submit.is-sending .btn-sending { display: inline; }
.btn-submit.is-sent .btn-text,
.btn-submit.is-sent .btn-sending { display: none; }
.btn-submit.is-sent .btn-sent { display: inline-flex; align-items: center; gap: .5rem; }
.btn-submit.is-sent { background: #1a6a3a; border-color: #1a6a3a; }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; transform: none !important; }

/* Contact channels */
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-header { margin-bottom: .5rem; }
.contact-info-header h3 {
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: .5rem;
}
.contact-info-header p { font-size: .9375rem; color: var(--ink-soft); line-height: 1.65; }

.channel-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-2); border: 1.5px solid var(--line);
  border-radius: 8px; padding: 1.125rem 1.375rem;
  text-decoration: none;
  transition: border-color .25s, background .25s, transform .25s;
}
.channel-card:hover {
  border-color: var(--navy);
  background: var(--bg);
  transform: translateX(4px);
}
.channel-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.channel-icon svg { width: 20px; height: 20px; }
.channel-wa .channel-icon { background: rgba(37,211,102,.1); color: #25D366; }
.channel-email .channel-icon { background: rgba(26,24,53,.07); color: var(--navy); }
.channel-ig .channel-icon { background: rgba(225,48,108,.1); color: #E1306C; }
.channel-li .channel-icon { background: rgba(10,102,194,.1); color: #0A66C2; }
.channel-body { flex: 1; }
.channel-name { font-weight: 600; font-size: .9375rem; color: var(--ink); display: block; }
.channel-sub { font-size: .8125rem; color: var(--ink-mute); }
.channel-arrow { color: var(--navy-ghost); flex-shrink: 0; transition: transform .25s, color .2s; }
.channel-card:hover .channel-arrow { transform: translateX(4px); color: var(--navy); }

/* =============================================================
   17. Footer
   ============================================================= */
.footer {
  background: var(--bg-3);
  padding-top: clamp(3.5rem, 7vw, 5rem);
}
.footer-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
}
.footer-logo-icon { width: 26px; height: 30px; color: var(--navy); }
.footer-logo-word {
  font-family: var(--sans); font-size: 1.0625rem;
  font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy); line-height: 1;
}
/* Footer blue logo — same navy on cream footer */
.footer-logo-blue { color: var(--navy); }

.footer-tagline {
  font-size: .875rem; color: var(--ink-soft);
  max-width: 30ch; line-height: 1.65;
}
.footer-socials { display: flex; gap: .75rem; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 6px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
  transition: color .2s, border-color .2s, background .2s;
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-socials a:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: rgba(26, 24, 53, 0.05);
}

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col-title {
  font-family: var(--mono); font-size: .6875rem;
  font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-mute); margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col a {
  font-size: .875rem; color: var(--ink-soft);
  transition: color .2s;
}
.footer-col a:hover { color: var(--navy); }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; padding: 1.5rem var(--gutter);
  max-width: 1200px; margin-inline: auto; width: 100%;
}
.footer-bottom p {
  font-family: var(--mono); font-size: .75rem;
  color: var(--ink-mute); letter-spacing: .04em;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a {
  font-family: var(--mono); font-size: .75rem;
  color: var(--ink-mute); transition: color .2s;
}
.footer-legal a:hover { color: var(--navy); }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  width: 52px; height: 52px; background: #25D366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,0.45); }

/* Instagram float — aligned directly above WhatsApp */
.ig-float {
  position: fixed; bottom: 5.75rem; right: 2rem; z-index: 200;
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(214,36,159,0.45);
  text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.ig-float:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(214,36,159,0.55); }
.ig-float svg { width: 24px; height: 24px; }

/* =============================================================
   18. Service landing page
   ============================================================= */
.service-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background: var(--bg-dark);
  position: relative; overflow: hidden;
}
.service-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 85% 50%, rgba(255,255,255,0.04), transparent 60%);
  pointer-events: none;
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .6875rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  padding: .35rem .875rem; border-radius: 3rem;
  margin-bottom: 1.75rem;
}
.service-hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700; letter-spacing: -0.04em;
  color: #fff; max-width: 14ch;
  margin-bottom: 1.25rem;
}
.service-hero-sub {
  font-size: clamp(.9375rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.6); max-width: 52ch;
  line-height: 1.7; margin-bottom: 2.5rem;
}
.service-hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Features grid */
.features-section {
  padding-block: var(--section);
}
.features-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; margin-top: 3rem;
}
.feature-item {
  display: flex; gap: 1.25rem;
  padding: 1.75rem; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg);
  transition: border-color .25s, box-shadow .25s;
}
.feature-item:hover { border-color: var(--navy); box-shadow: 0 8px 24px rgba(26,24,53,.07); }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--navy); }
.feature-body h3 {
  font-size: 1.0625rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: .5rem; color: var(--ink);
}
.feature-body p { font-size: .9rem; line-height: 1.7; color: var(--ink-soft); }

/* For-whom section */
.for-whom {
  padding-block: var(--section);
  background: var(--bg-2);
}
.for-whom-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem; margin-top: 2.5rem;
}
.for-whom-item {
  display: flex; align-items: center; gap: .875rem;
  padding: 1.125rem 1.375rem;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .2s, transform .2s;
}
.for-whom-item:hover { border-color: var(--navy); transform: translateX(4px); }
.for-whom-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.for-whom-check svg { width: 12px; height: 12px; color: var(--navy); }
.for-whom-item span { font-size: .9375rem; font-weight: 500; color: var(--ink); }

/* FAQ */
.faq-section { padding-block: var(--section); }
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-trigger {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.375rem 0; cursor: pointer;
  font-size: 1rem; font-weight: 600;
  color: var(--ink); text-align: left;
  transition: color .2s;
}
.faq-trigger:hover { color: var(--navy-2); }
.faq-arrow {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--navy-mute);
  transition: transform .3s var(--ease-out);
}
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }
.faq-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease-out);
}
.faq-item.is-open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner {
  overflow: hidden;
  min-height: 0;
  font-size: .9375rem; line-height: 1.75;
  color: var(--ink-soft);
}
.faq-item.is-open .faq-body-inner { padding-bottom: 1.375rem; }

/* =============================================================
   19. About page specifics
   ============================================================= */
.about-values { padding-block: var(--section); background: var(--bg-2); }
.values-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem; margin-top: 3rem;
}
.value-card {
  padding: 2rem; background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .25s, box-shadow .25s;
}
.value-card:hover { border-color: var(--navy); box-shadow: 0 8px 24px rgba(26,24,53,.07); }
.value-num {
  font-family: var(--mono); font-size: .75rem;
  font-weight: 700; color: var(--navy-ghost);
  margin-bottom: 1rem;
}
.value-card h3 {
  font-size: 1.125rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: .625rem; color: var(--ink);
}
.value-card p { font-size: .9rem; line-height: 1.7; color: var(--ink-soft); }

/* =============================================================
   20. Legal pages
   ============================================================= */
.legal-page {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 6rem; min-height: 100vh;
}
.legal-page .container { max-width: 760px; }
.legal-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: .75rem;
}
.legal-date {
  font-family: var(--mono); font-size: .75rem;
  color: var(--ink-mute); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 3rem; display: block;
}
.legal-body { display: flex; flex-direction: column; gap: 2rem; }
.legal-body h2 {
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: .5rem; margin-top: .5rem;
}
.legal-body p, .legal-body li {
  font-size: .9375rem; line-height: 1.75; color: var(--ink-soft);
}
.legal-body ul, .legal-body ol {
  padding-left: 1.5rem; display: flex; flex-direction: column; gap: .5rem;
}
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600; color: var(--navy);
  margin-bottom: 2.5rem;
  transition: gap .25s var(--ease-out);
}
.legal-back:hover { gap: .875rem; }

/* =============================================================
   21. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .for-whom-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .about-teaser-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; }
  .footer-inner { grid-template-columns: 1fr 2fr; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .for-whom-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile nav */
@media (max-width: 959px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--gutter) 2rem;
    gap: 0; box-shadow: 0 8px 32px rgba(26,24,53,0.08);
  }
  .nav-menu.is-open {
    display: flex;
    animation: navDown .3s var(--ease-out) both;
  }
  @keyframes navDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu a { display: block; padding: 1rem 0; font-size: 1rem; }
  .nav-menu a::after { display: none; }
  .nav-cta {
    margin-top: 1rem !important;
    text-align: center !important;
    padding: .875rem !important;
  }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

/* Page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) {
  animation: .35s var(--ease-in) both fadeOut;
}
::view-transition-new(root) {
  animation: .45s var(--ease-out) both fadeIn;
}
@keyframes fadeOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll-line, .kicker-dot, .splash-progress { animation: none; }
  .marquee-track { animation-play-state: paused; }
}

/* =============================================================
   22. Additions & missing utilities
   ============================================================= */

.splash-inner { text-align: center; }

/* Section kicker — mono label above section titles */
.section-kicker {
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-mute);
  margin-bottom: 1.25rem;
  display: block;
}

/* Footer logo blue cascades to children */
.footer-logo.footer-logo-blue .footer-logo-icon,
.footer-logo.footer-logo-blue .footer-logo-word {
  color: var(--navy);
}

/* About page full-section layout */
.about-intro {
  padding-block: var(--section);
}
.about-intro-grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 720px) {
  .about-intro-grid { grid-template-columns: 1fr 1fr; }
}
.about-intro-lead {
  font-size: clamp(1.25rem, 2.2vw, 1.5625rem);
  font-weight: 600; line-height: 1.45;
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 1.25rem;
}
.about-intro-text p {
  font-size: .9375rem; line-height: 1.8;
  color: var(--ink-soft); margin-bottom: 1rem;
}
.about-intro-visual { position: relative; }
.about-intro-img {
  width: 100%; height: clamp(300px, 45vw, 520px);
  object-fit: cover; border-radius: 8px;
}
.about-intro-badge {
  position: absolute; bottom: -1.5rem; right: -1rem;
  background: var(--navy); color: #fff;
  padding: 1.25rem 1.5rem; border-radius: 8px;
  text-align: center; min-width: 120px;
}
.about-intro-badge .badge-num {
  display: block; font-size: 2.5rem; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
}
.about-intro-badge .badge-label {
  font-family: var(--mono); font-size: .625rem;
  letter-spacing: .06em; text-transform: uppercase;
  opacity: .75; margin-top: .25rem; display: block;
}

/* Team section */
.about-team {
  padding-block: var(--section);
}

/* Services page layout */
.services-page-intro {
  padding-block: var(--section);
  background: var(--bg);
}
.services-page-lead {
  font-size: clamp(1rem, 1.75vw, 1.25rem);
  line-height: 1.75; color: var(--ink-soft);
  max-width: 60ch;
}

/* Contact page standalone */
.contact-page {
  padding-block: var(--section);
}

/* Process connector line on desktop — solo en layout 4 columnas */
@media (min-width: 1280px) {
  .process-step { position: relative; }
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(40px + 1.5rem);
    right: -2rem;
    height: 1px;
    background: var(--line);
  }
}

/* Enhanced service card glow */
.service-card {
  background:
    radial-gradient(circle at var(--cx, 50%) var(--cy, 50%),
      rgba(26, 24, 53, 0.03) 0%, transparent 50%),
    var(--bg);
}

/* Stagger helpers */
.stagger-1 { transition-delay: .07s !important; }
.stagger-2 { transition-delay: .14s !important; }
.stagger-3 { transition-delay: .21s !important; }
.stagger-4 { transition-delay: .28s !important; }

/* About values header spacing */
.about-values .container .section-kicker { color: var(--navy-mute); }

/* Testimonial / quote block */
.blockquote-pull {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--navy);
  border-left: 3px solid var(--navy);
  padding-left: 1.75rem;
  margin-block: 2.5rem;
}

/* Nav current page indicator */
.nav-menu a[aria-current="page"] {
  color: var(--navy);
}
.nav-menu a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Reveal with stagger on grid children */
.services-grid .service-card:nth-child(1) { transition-delay: .05s; }
.services-grid .service-card:nth-child(2) { transition-delay: .12s; }
.services-grid .service-card:nth-child(3) { transition-delay: .19s; }
.services-grid .service-card:nth-child(4) { transition-delay: .26s; }

/* Hero gradient orb float */
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.15;
  pointer-events: none; animation: orbFloat 12s ease-in-out infinite;
  z-index: 1;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.15);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: rgba(200,195,255,0.2);
  bottom: -50px; left: -50px;
  animation-delay: -6s;
}

/* Page hero decoration */
.page-hero-deco {
  position: absolute;
  top: 0; right: 0;
  width: clamp(200px, 35vw, 420px);
  height: 100%; pointer-events: none;
  background: radial-gradient(ellipse 80% 80% at 100% 50%, rgba(26,24,53,0.04), transparent 70%);
}

/* Service landing breadcrumb */
.breadcrumb {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .6875rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.75rem;
}
.breadcrumb a { color: inherit; transition: color .2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.75); }
.breadcrumb-sep { opacity: .4; }

/* Section divider */
.section-divider {
  width: 48px; height: 3px;
  background: var(--navy);
  border-radius: 2px;
  margin-block: 1.5rem 0;
}

/* Section subtitle */
.section-sub {
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  color: var(--ink-soft); line-height: 1.75;
  max-width: 56ch;
  margin-top: 1rem;
}

/* Floating label input animation */
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  color: var(--navy);
}

/* Contact section header */
.contact-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Tabs / pill nav for services page */
.service-nav-pills {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 3rem;
}
.service-nav-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .6875rem;
  font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; padding: .5rem 1.125rem;
  border: 1.5px solid var(--line); border-radius: 3rem;
  color: var(--ink-mute); background: var(--bg);
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.service-nav-pill:hover, .service-nav-pill.is-active {
  color: var(--navy); border-color: var(--navy);
  background: var(--accent-light);
}

/* =============================================================
   Pain Points section
   ============================================================= */
.pain-section {
  padding-block: var(--section);
  background: var(--navy);
}
.pain-section .section-kicker { color: rgba(255,255,255,0.4); }
.pain-section .section-title { color: #fff; }
.pain-intro { max-width: 680px; margin-bottom: clamp(3rem,6vw,4.5rem); }
.pain-intro-sub {
  font-size: 1rem; line-height: 1.8;
  color: rgba(255,255,255,0.65); margin-top: .875rem;
}
.pain-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
.pain-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid rgba(255,255,255,0.3);
  border-radius: 6px; padding: 1.875rem 2rem;
  transition: background .25s var(--ease-out), border-color .25s;
}
.pain-card:hover {
  background: rgba(255,255,255,0.09);
  border-left-color: rgba(255,255,255,0.7);
}
.pain-card-num {
  font-family: var(--mono); font-size: .625rem;
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: .75rem;
}
.pain-card-title {
  font-size: 1.0625rem; font-weight: 700;
  letter-spacing: -0.01em; color: #fff; margin-bottom: .625rem;
}
.pain-card-body {
  font-size: .9rem; line-height: 1.75;
  color: rgba(255,255,255,0.6);
}
@media (min-width: 640px) {
  .pain-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   Vision section (sobre-nosotros)
   ============================================================= */
.vision-section {
  padding-block: var(--section);
  background: var(--bg-2);
}
.vision-inner {
  max-width: 820px; margin-inline: auto; text-align: center;
}
.vision-headline {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  font-weight: 400; font-style: italic;
  line-height: 1.25; letter-spacing: -0.02em;
  color: var(--navy); margin-bottom: 2rem;
}
.vision-body {
  font-size: 1.0625rem; line-height: 1.85; color: var(--ink-soft);
}
.vision-body + .vision-body { margin-top: 1.25rem; }

/* =============================================================
   Scenarios section (sobre-nosotros)
   ============================================================= */
.scenarios-section { padding-block: var(--section); }
.scenarios-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem; margin-top: clamp(2.5rem,5vw,4rem);
}
.scenario-card {
  border: 1px solid var(--line); border-top: 3px solid var(--navy);
  border-radius: 6px; padding: 2rem;
  transition: box-shadow .3s var(--ease-out), transform .3s;
}
.scenario-card:hover {
  box-shadow: 0 12px 40px rgba(26,24,53,0.08); transform: translateY(-3px);
}
.scenario-num {
  font-family: var(--mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); opacity: .5; margin-bottom: .875rem;
}
.scenario-title {
  font-size: 1.0625rem; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: .75rem;
}
.scenario-body { font-size: .9rem; line-height: 1.75; color: var(--ink-soft); }
@media (min-width: 768px) {
  .scenarios-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   Capabilities (sobre-nosotros)
   ============================================================= */
.capabilities-section {
  padding-block: var(--section); background: var(--navy);
}
.capabilities-section .section-kicker { color: rgba(255,255,255,0.4); }
.capabilities-section .section-title { color: #fff; }
.capabilities-section .section-sub { color: rgba(255,255,255,0.6); }
.capabilities-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem; margin-top: clamp(2.5rem,5vw,4rem);
}
.capability-item {
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
}
.capability-item-num {
  font-family: var(--mono); font-size: .625rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: .875rem;
}
.capability-item-title {
  font-size: 1.0625rem; font-weight: 700;
  color: #fff; margin-bottom: .75rem; letter-spacing: -0.01em;
}
.capability-item-body { font-size: .9rem; line-height: 1.75; color: rgba(255,255,255,0.6); }
@media (min-width: 768px) {
  .capabilities-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   History timeline (sobre-nosotros)
   ============================================================= */
.history-section {
  padding-block: var(--section); background: var(--bg-2);
}
.history-timeline {
  max-width: 720px; margin-inline: auto;
  margin-top: clamp(3rem,6vw,4.5rem);
  display: flex; flex-direction: column; gap: 3rem;
  position: relative; padding-left: 60px;
}
.history-timeline::before {
  content: ''; position: absolute;
  top: 20px; bottom: 20px; left: 19px;
  width: 1px; background: var(--line);
}
.history-entry { position: relative; }
.history-entry-dot {
  position: absolute; left: -60px; top: 0;
  width: 40px; height: 40px;
  background: var(--navy); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .6rem; font-weight: 500;
  letter-spacing: .06em; flex-shrink: 0; z-index: 1;
}
.history-entry-label {
  font-family: var(--mono); font-size: .6875rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); opacity: .5; margin-bottom: .5rem;
}
.history-entry-title {
  font-size: 1.125rem; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: .75rem;
}
.history-entry-body {
  font-size: .9rem; line-height: 1.8; color: var(--ink-soft);
}

/* =============================================================
   Process section intro text
   ============================================================= */
.process-intro {
  max-width: 680px; margin-inline: auto;
  text-align: center; margin-bottom: clamp(2.5rem,5vw,4rem);
}
.process-intro-sub {
  font-size: 1rem; line-height: 1.8;
  color: var(--ink-soft); margin-top: .875rem;
}

/* =============================================================
   CTA Banner button fix (dark bg → white button)
   ============================================================= */
.cta-banner .btn-primary {
  background: #fff; color: var(--navy);
  border-color: #fff;
}
.cta-banner .btn-primary:hover {
  background: var(--bg-2); border-color: var(--bg-2);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* =============================================================
   Pain section alternating layout (index.html)
   ============================================================= */
.pain-rows {
  display: flex; flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.pain-row {
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem; align-items: center;
}
@media (min-width: 768px) {
  .pain-row { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.pain-row-img img {
  width: 100%; height: clamp(260px, 35vw, 420px);
  object-fit: cover; border-radius: 12px;
}
.pain-items { display: flex; flex-direction: column; gap: 2rem; }
.pain-item {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-left: 3px solid var(--line);
  transition: border-color .25s;
}
.pain-item:hover { border-left-color: var(--navy); }
.pain-item-num {
  font-family: var(--mono); font-size: .6875rem;
  color: var(--navy-mute); letter-spacing: .1em;
  margin-bottom: .5rem; text-transform: uppercase;
}
.pain-item-title {
  font-size: 1.0625rem; font-weight: 700;
  color: var(--navy); margin-bottom: .625rem;
  line-height: 1.3;
}
.pain-item-body {
  font-size: .9rem; line-height: 1.75; color: var(--ink-soft);
}

/* =============================================================
   About logo display (replaces teaser image)
   ============================================================= */
.about-logo-display {
  width: 100%; height: clamp(300px, 45vw, 520px);
  background: var(--navy); border-radius: 8px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.25rem; color: #fff; overflow: hidden;
  position: relative;
}
.about-logo-display::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(255,255,255,0.06), transparent 70%);
}
.about-logo-svg { width: 104px; height: 116px; position: relative; z-index: 1; }
.about-logo-wordmark {
  font-family: var(--sans); font-size: 2.625rem;
  font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; position: relative; z-index: 1;
}
.about-logo-tagline {
  font-family: var(--mono); font-size: .6875rem;
  letter-spacing: .2em; color: rgba(255,255,255,0.45);
  text-transform: uppercase; position: relative; z-index: 1;
}

/* =============================================================
   Vision section bold title (sobre-nosotros)
   ============================================================= */
.vision-headline {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.vision-section-footer {
  display: flex; justify-content: center; margin-top: 3rem;
}
.vision-arrow {
  display: flex; flex-direction: column; align-items: center; gap: .375rem;
  color: var(--navy-mute); animation: arrowBounce 2s ease-in-out infinite;
}
.vision-arrow svg { display: block; }
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* =============================================================
   Scenario checklist (sobre-nosotros)
   ============================================================= */
.scenario-list {
  max-width: 720px; margin-top: clamp(2.5rem,5vw,4rem);
  display: flex; flex-direction: column; gap: 0;
}
.scenario-check-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.scenario-check-item:first-child { border-top: 1px solid var(--line); }
.scenario-check-num {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: 50%; border: 2px solid var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .625rem;
  font-weight: 700; color: var(--navy); letter-spacing: .06em;
  margin-top: .25rem;
}
.scenario-check-num.done {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.scenario-check-num.done svg { width: 14px; height: 14px; }
.scenario-check-content h3 {
  font-size: 1.0625rem; font-weight: 700; color: var(--navy);
  margin-bottom: .625rem; line-height: 1.3;
}
.scenario-check-content p {
  font-size: .9rem; line-height: 1.75; color: var(--ink-soft);
}

/* =============================================================
   About intro visual with logo + photo stacked
   ============================================================= */
.about-intro-visual-stack {
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative;
}
.about-logo-compact {
  background: var(--navy); border-radius: 8px;
  padding: 2.5rem; display: flex; flex-direction: column;
  align-items: center; gap: 1rem; color: #fff;
}
.about-logo-compact svg { width: 48px; height: 54px; }
.about-logo-compact-text {
  font-family: var(--sans); font-size: 1.375rem;
  font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.about-logo-compact-sub {
  font-family: var(--mono); font-size: .625rem;
  letter-spacing: .2em; color: rgba(255,255,255,0.45); text-transform: uppercase;
}
.about-intro-photo {
  width: 100%; height: 260px;
  object-fit: cover; border-radius: 8px;
}

/* =============================================================
   Capabilities new design (sobre-nosotros)
   ============================================================= */
.capability-new-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 2.25rem; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
}
.capability-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 8px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
}
.capability-icon svg { width: 22px; height: 22px; }
.capability-new-body h3 {
  font-size: 1.125rem; font-weight: 700; color: #fff;
  margin-bottom: .75rem;
}
.capability-new-body p {
  font-size: .9rem; line-height: 1.75; color: rgba(255,255,255,0.6);
}

/* =============================================================
   Urgency badge (servicios.html)
   ============================================================= */
.urgency-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #F5C400; color: #1A1835;
  font-family: var(--mono); font-size: .625rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 3rem;
  box-shadow: 0 2px 12px rgba(245,196,0,0.3);
  animation: urgencyPulse 2.5s ease-in-out infinite;
  margin-bottom: 1.5rem;
}
.urgency-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1A1835;
  animation: urgencyDot 2.5s ease-in-out infinite;
}
@keyframes urgencyPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(245,196,0,0.3); }
  50% { box-shadow: 0 4px 24px rgba(245,196,0,0.55); }
}
@keyframes urgencyDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.5); }
}

/* =============================================================
   Pain split layout (servicios.html)
   ============================================================= */
.pain-split {
  display: grid; grid-template-columns: 1fr;
  gap: 3rem; align-items: center;
  margin-top: clamp(2.5rem,5vw,4rem);
}
@media (min-width: 768px) {
  .pain-split { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.pain-split-img img {
  width: 100%; height: clamp(320px, 40vw, 480px);
  object-fit: cover; border-radius: 12px;
}
.pain-split-items { display: flex; flex-direction: column; gap: 2.25rem; }
.pain-split-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.pain-split-icon {
  flex-shrink: 0; width: 42px; height: 42px;
  border-radius: 8px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
}
.pain-split-icon svg { width: 18px; height: 18px; }
.pain-split-content h3 {
  font-size: 1.0625rem; font-weight: 700; color: #fff; margin-bottom: .5rem;
}
.pain-split-content p {
  font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,0.6);
}

/* =============================================================
   "Un servicio diferente" redesign (servicios.html)
   ============================================================= */
.diferente-section {
  padding-block: var(--section);
  background: var(--bg-2);
}
.diferente-list {
  display: flex; flex-direction: column;
  gap: 0; margin-top: clamp(2.5rem,5vw,4rem);
}
.diferente-item {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 2rem; align-items: start;
  padding: 2.25rem 0; border-bottom: 1px solid var(--line);
}
.diferente-item:first-child { border-top: 1px solid var(--line); }
.diferente-num {
  font-family: var(--mono); font-size: 2rem; font-weight: 700;
  color: var(--navy); line-height: 1; letter-spacing: -0.03em;
  padding-top: .25rem;
}
.diferente-content h3 {
  font-size: 1.1875rem; font-weight: 700; color: var(--navy);
  margin-bottom: .75rem;
}
.diferente-content p {
  font-size: .9375rem; line-height: 1.75; color: var(--ink-soft);
}

/* =============================================================
   "¿Tienes alguna duda?" section (servicios.html)
   ============================================================= */
.duda-section {
  padding-block: clamp(3rem,6vw,5rem);
  background: var(--bg);
  text-align: center;
}
.duda-inner {
  max-width: 600px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.duda-inner h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--navy); }
.duda-inner p { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }

/* =============================================================
   FAQ Accordion (servicios.html)
   ============================================================= */
.faq-section {
  padding-block: var(--section);
  background: var(--bg);
}
.faq-list {
  max-width: 820px; margin-inline: auto;
  margin-top: clamp(2.5rem,5vw,4rem);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; padding: 1.5rem 0;
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: .9375rem;
  color: var(--navy); text-align: left;
}
.faq-q::-webkit-details-marker { display: none; }
details[open] > .faq-q { color: var(--navy); }
.faq-chevron {
  flex-shrink: 0; color: var(--navy-mute);
  transition: transform .35s var(--ease-out);
}
details[open] .faq-chevron { transform: rotate(180deg); }
/* faq-body animation handled by Section 17 rules (grid-template-rows) */

/* =============================================================
   24. Correcciones visuales globales
   ============================================================= */

/* — Off-white: todos los "blancos" visibles se sustituyen —————— */
.btn-primary { color: var(--off-white); }
.btn-outline:hover { color: var(--off-white); }
.nav-cta { color: var(--off-white) !important; }
.hero-title { color: var(--off-white); }
.hero-title em { color: rgba(245,243,238,0.75); }
.service-hero-title { color: var(--off-white); }
.cta-banner-title { color: var(--off-white); }
.cta-banner-title em { color: rgba(245,243,238,0.65); }
.cta-banner .btn-primary { background: var(--off-white); border-color: var(--off-white); }
.cta-banner .btn-primary:hover { background: var(--bg-3); border-color: var(--bg-3); }
.hero-actions .btn-primary { background: var(--off-white); border-color: var(--off-white); color: var(--navy); }
.hero-actions .btn-primary:hover { background: var(--bg-2); border-color: var(--bg-2); }
.pain-section .section-title { color: var(--off-white); }
.pain-card-title { color: var(--off-white); }
.pain-split-content h3 { color: var(--off-white); }
.capability-item-title { color: var(--off-white); }
.capability-new-body h3 { color: var(--off-white); }
.history-entry-dot { color: var(--off-white); }
.marquee-track span { color: rgba(245,243,238,0.9); }
.splash-word { color: var(--navy); }

/* — Pain section (index.html) — items sobre fondo oscuro ————— */
.pain-section .pain-item-title { color: var(--off-white); }
.pain-section .pain-item-body { color: rgba(245,243,238,0.6); }
.pain-section .pain-item-num { color: rgba(245,243,238,0.35); }
.pain-section .pain-item { border-left-color: rgba(255,255,255,0.15); }
.pain-section .pain-item:hover { border-left-color: rgba(255,255,255,0.5); }
.pain-section .pain-row-img img { border-radius: 12px; }

/* — Page hero oscuro (sobre-nosotros.html) ——————————————————— */
.page-hero-dark {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.page-hero-dark .page-hero-deco {
  background: radial-gradient(ellipse 80% 80% at 100% 50%, rgba(255,255,255,0.03), transparent 70%);
}
.page-hero-dark .page-hero-label { color: rgba(245,243,238,0.4); }
.page-hero-dark .page-hero-label::before { background: rgba(245,243,238,0.25); }
.page-hero-dark .page-hero-title { color: var(--off-white); }
.page-hero-dark .page-hero-sub { color: rgba(245,243,238,0.6); }

/* — Capabilities: sin cajas, lista vertical ————————————————— */
.capabilities-grid {
  grid-template-columns: 1fr !important;
  gap: 0;
}
.capability-new-item {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  padding: 2.5rem 0;
}
.capability-new-item:last-child { border-bottom: none; }
.capability-icon {
  background: rgba(255,255,255,0.08);
}

/* — Scenario list: ancho completo ——————————————————————————— */
.scenario-list { max-width: none; }

/* — Contact info header: más espacio ————————————————————————— */
.contact-info-header { margin-bottom: 2rem; }
.contact-info-header h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

/* — Diferente section: animaciones hover ————————————————————— */
.diferente-item {
  transition: background .3s var(--ease-out), padding .3s var(--ease-out);
  border-radius: 6px;
}
.diferente-item:hover {
  background: rgba(26,24,53,0.04);
  padding-left: 1.5rem;
  padding-right: 1rem;
}
.diferente-num { transition: color .3s var(--ease-out), transform .3s var(--ease-out); display: inline-block; }
.diferente-item:hover .diferente-num { color: var(--navy-2); transform: scale(1.1); }
.diferente-content h3 { transition: color .3s var(--ease-out); }
.diferente-item:hover .diferente-content h3 { color: var(--navy-2); }
.diferente-content p { transition: color .3s var(--ease-out); }
.diferente-item:hover .diferente-content p { color: var(--ink); }

/* — Duda section: menos espacio arriba, sin kicker visual ——— */
.duda-section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* — btn-text: svg alineado al lado ——————————————————————————— */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn svg { flex-shrink: 0; }

/* =============================================================
   25. Service Landing Pages (sl-*)
   ============================================================= */

/* ── Hero kicker — gap from breadcrumb, balanced pill padding */
.service-hero-kicker { padding-left: .875rem; margin-left: .875rem; }

/* ── Service hero CTA button hover → white bg + navy text ── */
.service-hero .btn-primary:hover {
  background: #fff !important;
  color: var(--navy) !important;
  border-color: #fff !important;
}

/* ── Urgency strip ───────────────────────────────────────── */
.urgency-strip {
  background: linear-gradient(90deg, #b91c1c 0%, #ef4444 50%, #b91c1c 100%);
  background-size: 200% 100%;
  animation: urg-bg 4s ease-in-out infinite;
  padding: .875rem 1.5rem; text-align: center;
}
@keyframes urg-bg {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.urgency-inner {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem; flex-wrap: wrap;
  font-size: .9375rem; font-weight: 600; color: var(--off-white);
}
.urgency-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--off-white); flex-shrink: 0;
  animation: urg-pulse 1.4s ease-in-out infinite;
}
@keyframes urg-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.3; transform:scale(1.5); }
}
.urgency-sub { color: rgba(245,243,238,.7); font-weight: 400; font-size: .875rem; }

/* ── Problem section — clean, no card boxes ──────────────── */
.sl-problem { background: var(--navy); padding-block: clamp(3.5rem,7vw,6rem); }
.sl-problem .section-kicker       { color: rgba(245,243,238,.45); }
.sl-problem .section-kicker::before { background: rgba(245,243,238,.25); }
.sl-problem .section-title        { color: var(--off-white); max-width: 20ch; margin-bottom: clamp(2rem,4vw,3rem); }
.problem-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; margin-bottom: clamp(2.5rem,5vw,4rem);
}
@media (min-width:640px) { .problem-grid { grid-template-columns: repeat(3,1fr); gap: 2rem 2.5rem; } }
.problem-item {
  padding: 0;
  background: none; border: none; border-radius: 0;
}
.problem-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.22);
  display: flex; align-items: center; justify-content: center;
  color: #f87171; margin-bottom: 1rem;
}
.problem-icon svg { width: 20px; height: 20px; }
.problem-item-title { font-size: 1.0625rem; font-weight: 700; color: var(--off-white); margin-bottom: .5rem; }
.problem-item-body  { font-size: .9rem; color: rgba(245,243,238,.52); line-height: 1.75; }
.problem-cta-text {
  max-width: 58ch; font-size: 1.0625rem; line-height: 1.8;
  color: rgba(245,243,238,.7);
  border-left: 3px solid rgba(239,68,68,.5); padding-left: 1.5rem;
}
.problem-cta-text strong { color: var(--off-white); }

/* ── Why stuck section ───────────────────────────────────── */
.sl-why-stuck { background: var(--bg); padding-block: clamp(3.5rem,7vw,6rem); }
.sl-why-stuck .section-title { max-width: 26ch; margin-bottom: 1.75rem; }
.why-stuck-lead {
  max-width: 62ch; font-size: 1.0625rem; line-height: 1.8;
  color: var(--ink-soft); margin-bottom: 2rem;
}
.why-stuck-box {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 2rem;
}
.why-stuck-box-label {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700; color: var(--navy-mute); margin-bottom: 1.25rem;
}
.why-points { display: flex; flex-direction: column; gap: 1.25rem; }
.why-point  { display: flex; gap: 1rem; align-items: flex-start; }
.why-point-x {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25);
  display: flex; align-items: center; justify-content: center;
  color: #ef4444; font-size: .7rem; font-weight: 900;
  margin-top: .2rem; line-height: 1;
  animation: x-shake 4s ease-in-out infinite;
}
.why-point:nth-child(2) .why-point-x { animation-delay: 1.3s; }
.why-point:nth-child(3) .why-point-x { animation-delay: 2.6s; }
@keyframes x-shake {
  0%, 85%, 100% { transform: rotate(0deg) scale(1); }
  88%  { transform: rotate(-12deg) scale(1.15); }
  92%  { transform: rotate(10deg) scale(1.15); }
  96%  { transform: rotate(-6deg) scale(1.1); }
  99%  { transform: rotate(3deg) scale(1.05); }
}
.why-point-text { font-size: .9375rem; color: var(--ink); line-height: 1.7; }
.why-point-text strong { color: var(--navy); }

/* ── Solution section ────────────────────────────────────── */
.sl-solution { background: var(--navy); padding-block: clamp(3.5rem,7vw,6rem); }
.sl-solution .section-kicker       { color: rgba(245,243,238,.45); }
.sl-solution .section-kicker::before { background: rgba(245,243,238,.25); }
.sl-solution .section-title        { color: var(--off-white); max-width: 22ch; margin-bottom: 1.75rem; }
.solution-intro {
  max-width: 58ch; font-size: 1.0625rem; line-height: 1.8;
  color: rgba(245,243,238,.65); margin-bottom: 2.5rem;
}
.solution-name-block {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: clamp(1.5rem,3vw,2.5rem); margin-bottom: 2.5rem;
}
.solution-name-label {
  font-size: .6875rem; text-transform: uppercase; letter-spacing: .12em;
  font-family: var(--mono); color: rgba(245,243,238,.4); margin-bottom: .75rem;
}
.solution-name {
  font-size: clamp(1.5rem,3vw,2.125rem); font-weight: 800;
  color: var(--off-white); letter-spacing: -.03em; line-height: 1.15; margin-bottom: .875rem;
}
.solution-desc { font-size: .9375rem; color: rgba(245,243,238,.6); line-height: 1.75; }
/* Solution tags — bold animated keyword cards */
.solution-tags {
  display: flex; flex-wrap: wrap; gap: .875rem;
}
.solution-tag {
  font-family: var(--mono); font-size: .8125rem; letter-spacing: .08em; font-weight: 700;
  text-transform: uppercase; color: var(--off-white);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-bottom: 2px solid rgba(255,255,255,.32);
  padding: .75rem 1.5rem;
  border-radius: 8px;
  position: relative; overflow: hidden;
  transition: background .25s, transform .3s var(--ease-out), box-shadow .3s, border-color .25s;
  animation: tag-pulse 3.5s ease-in-out infinite;
  cursor: default;
}
.solution-tag:nth-child(2) { animation-delay: .5s; }
.solution-tag:nth-child(3) { animation-delay: 1s; }
.solution-tag::before {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation: tag-shimmer 3.5s ease-in-out infinite;
}
.solution-tag:nth-child(2)::before { animation-delay: .5s; }
.solution-tag:nth-child(3)::before { animation-delay: 1s; }
.solution-tag:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
  border-bottom-color: rgba(255,255,255,.55);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
@keyframes tag-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  50% { box-shadow: 0 0 16px 0 rgba(255,255,255,.07); }
}
@keyframes tag-shimmer {
  0%   { left: -100%; }
  60%, 100% { left: 200%; }
}

/* ── Benefits section ────────────────────────────────────── */
.sl-benefits { background: var(--bg-2); padding-block: clamp(3.5rem,7vw,6rem); }
.sl-benefits .section-title { max-width: 28ch; margin-bottom: 1.75rem; }
.benefits-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem; margin-top: clamp(1.5rem,3vw,2rem);
}
@media (min-width:720px) { .benefits-grid { grid-template-columns: repeat(3,1fr); } }
.benefit-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 2rem;
  transition: border-color .25s, box-shadow .3s, transform .3s var(--ease-out);
}
.benefit-card:hover {
  border-color: var(--navy-mute); box-shadow: 0 8px 32px rgba(26,24,53,.1);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(26,24,53,.07); border: 1px solid rgba(26,24,53,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); margin-bottom: 1.25rem;
}
.benefit-icon svg { width: 20px; height: 20px; }
.benefit-title { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.benefit-body  { font-size: .875rem; color: var(--ink-soft); line-height: 1.75; }

/* ── Offer section ───────────────────────────────────────── */
.sl-offer { background: var(--navy); padding-block: clamp(3.5rem,7vw,6rem); }
.sl-offer .section-kicker       { color: rgba(245,243,238,.45); }
.sl-offer .section-kicker::before { background: rgba(245,243,238,.25); }
.sl-offer .section-title        { color: var(--off-white); max-width: 24ch; }
.offer-intro {
  max-width: 58ch; font-size: 1.0625rem; color: rgba(245,243,238,.65);
  line-height: 1.8; margin-bottom: clamp(2rem,4vw,3rem);
}
.offer-box {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; overflow: hidden;
}
.offer-items { padding: clamp(1.25rem,3vw,2rem); }
.offer-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s; border-radius: 8px;
}
.offer-item:last-child { border-bottom: none; }
.offer-check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.3);
  display: flex; align-items: center; justify-content: center; margin-top: .1rem;
  color: #4ade80;
}
.offer-check svg { width: 12px; height: 12px; }
.offer-item-title { font-size: 1rem; font-weight: 700; color: var(--off-white); margin-bottom: .25rem; }
.offer-item-body  { font-size: .875rem; color: rgba(245,243,238,.55); line-height: 1.65; }

/* ── Bonus section — WOW factor ──────────────────────────── */
.sl-bonus {
  background: var(--bg); padding-block: clamp(3.5rem,7vw,6rem);
  position: relative; overflow: hidden;
}
.sl-bonus::after {
  content: ''; position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(202,138,4,.07) 0%, transparent 68%);
  pointer-events: none;
}
.sl-bonus .section-title { max-width: 28ch; position: relative; z-index: 1; }
.sl-bonus .section-kicker { position: relative; z-index: 1; }
.bonus-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem; margin-top: clamp(2rem,4vw,3rem); position: relative; z-index: 1;
}
@media (min-width:720px) { .bonus-grid { grid-template-columns: repeat(3,1fr); } }
@keyframes bonus-shimmer {
  0%   { transform: translateX(-100%); }
  60%, 100% { transform: translateX(250%); }
}
@keyframes bonus-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(202,138,4,.12), 0 0 0 1px rgba(202,138,4,.15); }
  50%       { box-shadow: 0 8px 40px rgba(202,138,4,.25), 0 0 0 1px rgba(202,138,4,.3); }
}
.bonus-card {
  background: linear-gradient(145deg, rgba(202,138,4,.07) 0%, rgba(202,138,4,.02) 100%);
  border: 1px solid rgba(202,138,4,.22);
  border-radius: 16px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
  animation: bonus-glow 3.5s ease-in-out infinite;
}
.bonus-card:nth-child(2) { animation-delay: 1.1s; }
.bonus-card:nth-child(3) { animation-delay: 2.2s; }
.bonus-card:hover {
  border-color: rgba(202,138,4,.55);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 60px rgba(202,138,4,.22), 0 0 0 1px rgba(202,138,4,.35) !important;
  animation: none;
}
/* Shimmer sweep */
.bonus-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,.1), transparent);
  transform: translateX(-100%);
  animation: bonus-shimmer 3.5s ease-in-out infinite;
}
.bonus-card:nth-child(2)::before { animation-delay: 1.1s; }
.bonus-card:nth-child(3)::before { animation-delay: 2.2s; }
/* Top accent bar */
.bonus-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,
    rgba(202,138,4,.4) 0%,
    rgba(251,191,36,.85) 50%,
    rgba(202,138,4,.4) 100%);
}
.bonus-tag {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .14em;
  font-weight: 700; text-transform: uppercase; color: #92400e;
  background: linear-gradient(135deg, rgba(202,138,4,.18), rgba(251,191,36,.12));
  border: 1px solid rgba(202,138,4,.3);
  padding: .35rem 1rem;
  border-radius: 3rem; display: inline-block; margin-bottom: 1.25rem;
  position: relative; z-index: 1;
}
.bonus-title {
  font-size: 1.125rem; font-weight: 800; color: var(--navy);
  margin-bottom: .625rem; position: relative; z-index: 1;
}
.bonus-body {
  font-size: .9rem; color: var(--ink-soft); line-height: 1.75;
  position: relative; z-index: 1;
}

/* ── Pricing section ─────────────────────────────────────── */
.sl-pricing { background: var(--bg-2); padding-block: clamp(3.5rem,7vw,6rem); }
.pricing-inner { max-width: 680px; margin-inline: auto; text-align: center; }
.pricing-inner .section-title { max-width: none; margin-bottom: 1.5rem; }
.pricing-body {
  font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.8;
  margin-bottom: 2.5rem; text-align: left;
}
.pricing-body strong { color: var(--navy); }
.pricing-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: .875rem; }
.pricing-note { font-size: .8125rem; color: var(--ink-soft); }

/* ── Recap section — WOW factor ──────────────────────────── */
.sl-recap {
  background: var(--navy); padding-block: clamp(4rem,8vw,7rem);
  position: relative; overflow: hidden;
}
.sl-recap::before {
  content: ''; position: absolute;
  bottom: -150px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 60%);
  pointer-events: none;
}
.recap-box {
  max-width: 760px; margin-inline: auto; text-align: center;
  position: relative; z-index: 1;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: clamp(2rem,5vw,3.5rem);
  box-shadow: 0 0 80px rgba(255,255,255,.03), inset 0 1px 0 rgba(255,255,255,.08);
}
.recap-box .section-title { color: var(--off-white); max-width: none; margin-bottom: 2rem; }
.recap-list {
  list-style: none; text-align: left;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: clamp(1.25rem,3vw,1.75rem);
  margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: .75rem;
}
.recap-list li {
  display: flex; align-items: flex-start; gap: .875rem;
  font-size: .9375rem; color: rgba(245,243,238,.8); line-height: 1.6;
}
/* Highlight the bonus list item */
.recap-list li:last-child {
  background: linear-gradient(135deg, rgba(202,138,4,.13), rgba(202,138,4,.05));
  border: 1px solid rgba(202,138,4,.28);
  border-radius: 8px;
  padding: .75rem 1rem;
  color: rgba(245,243,238,.95);
  font-weight: 600;
  margin-top: .25rem;
}
.recap-list li:last-child .rc {
  background: rgba(202,138,4,.2);
  border-color: rgba(202,138,4,.45);
  color: #fbbf24;
}
.rc { /* recap check */
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.25);
  display: flex; align-items: center; justify-content: center;
  margin-top: .2rem; color: #4ade80;
}
.rc svg { width: 10px; height: 10px; }
.recap-cta { margin-bottom: 2rem; }
/* Recap CTA button hover → white bg + navy text */
.recap-cta .btn-primary:hover {
  background: #fff !important;
  color: var(--navy) !important;
  border-color: #fff !important;
}
/* Guarantee badge — impactful */
.guarantee-badge {
  display: flex; align-items: center; gap: 1.25rem;
  background: linear-gradient(135deg, rgba(34,197,94,.1), rgba(34,197,94,.03));
  border: 1px solid rgba(34,197,94,.28);
  border-radius: 14px; padding: 1.5rem 2rem; text-align: left;
  box-shadow: 0 0 30px rgba(34,197,94,.07), inset 0 1px 0 rgba(34,197,94,.1);
}
.guarantee-icon {
  flex-shrink: 0; width: 48px; height: 48px; color: #4ade80;
}
.guarantee-text { font-size: .9375rem; color: rgba(245,243,238,.7); line-height: 1.7; }
.guarantee-text strong {
  color: var(--off-white); display: block;
  font-size: 1rem; margin-bottom: .3rem;
}

/* =============================================================
   Case study section (index.html)
   ============================================================= */
.casestudy-section { padding-block: var(--section); background: var(--bg-2); }
.casestudy-intro { max-width: 640px; margin-bottom: clamp(3rem,5vw,4rem); }
.casestudy-card {
  display: grid; grid-template-columns: 1fr;
  border-radius: 16px; overflow: hidden;
  background: var(--bg);
  box-shadow: 0 4px 40px rgba(26,24,53,0.08);
}
@media (min-width: 768px) {
  .casestudy-card { grid-template-columns: 1fr 1fr; }
}
.casestudy-visual { position: relative; overflow: hidden; }
.casestudy-visual img {
  width: 100%; height: 100%; min-height: 280px;
  object-fit: cover; display: block;
}
.casestudy-type-tag {
  position: absolute; top: 1.25rem; left: 1.25rem;
  background: var(--navy); color: #fff;
  font-family: var(--mono); font-size: .625rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 3rem;
}
.casestudy-content {
  padding: clamp(2rem,4vw,3rem);
  display: flex; flex-direction: column; justify-content: center;
}
.casestudy-domain {
  display: inline-block;
  font-family: var(--mono); font-size: .75rem;
  letter-spacing: .1em; color: var(--navy-mute);
  text-transform: uppercase; margin-bottom: 1rem;
}
.casestudy-title {
  font-size: clamp(1.25rem,2.5vw,1.625rem); font-weight: 700;
  color: var(--navy); letter-spacing: -.025em; line-height: 1.25;
  margin-bottom: 1rem;
}
.casestudy-body {
  font-size: .9375rem; line-height: 1.8;
  color: var(--ink-soft); margin-bottom: 1.5rem;
}
.casestudy-results {
  list-style: none; display: flex; flex-direction: column;
  gap: .625rem; margin-bottom: 2rem;
}
.casestudy-results li {
  display: flex; align-items: flex-start; gap: .625rem;
  font-size: .875rem; color: var(--ink-soft); line-height: 1.5;
}
.casestudy-results li svg { flex-shrink: 0; margin-top: .05rem; }

/* =============================================================
   About intro horizontal visual (sobre-nosotros.html)
   ============================================================= */
.about-intro-horiz {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem; align-items: stretch;
}
.about-intro-horiz img {
  width: 100%; height: 100%; min-height: 220px;
  object-fit: cover; border-radius: 12px;
}
@media (max-width: 639px) {
  .about-intro-horiz { grid-template-columns: 1fr; }
}

/* =============================================================
   Case study banner (index.html, servicios.html)
   ============================================================= */
.casebanner-section {
  padding-block: var(--section);
  background: var(--bg);
}
.casebanner-label { margin-bottom: 2rem; }
.casebanner-inner {
  display: grid; grid-template-columns: 1fr;
  overflow: hidden; border-radius: 20px;
  box-shadow: 0 24px 80px rgba(26,24,53,0.18);
  max-width: 860px; margin-inline: auto;
}
@media (min-width: 768px) {
  .casebanner-inner { grid-template-columns: 1fr 1.1fr; }
}
.casebanner-visual {
  position: relative; overflow: hidden; min-height: 320px;
}
.casebanner-visual img {
  width: 100%; height: 100%; min-height: 320px;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 6s ease-out;
}
.casebanner-inner:hover .casebanner-visual img { transform: scale(1.04); }
.casebanner-visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,9,30,0.45) 0%, rgba(10,9,30,0.1) 60%, transparent 100%);
}
.casebanner-url-chip {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--mono); font-size: .6875rem; font-weight: 600;
  letter-spacing: .1em; color: rgba(255,255,255,0.9);
  padding: .375rem .875rem; border-radius: 3rem;
}
.casebanner-content {
  background: var(--navy);
  padding: clamp(2.5rem,5vw,4rem);
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.625rem; color: var(--off-white);
}
.casebanner-header {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.casebanner-logo {
  height: 28px; width: auto;
  filter: invert(1) sepia(0.4) brightness(0.9);
  mix-blend-mode: screen;
  opacity: 1;
}
.casebanner-service-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  font-family: var(--mono); font-size: .6rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(245,243,238,0.7);
  padding: .35rem .8rem; border-radius: 3rem;
}
.casebanner-title {
  font-size: clamp(1.375rem, 3vw, 2rem); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.15;
  color: var(--off-white); margin: 0;
}
.casebanner-body {
  font-size: .9375rem; line-height: 1.78;
  color: rgba(245,243,238,0.62); max-width: 52ch;
}
.casebanner-body strong { color: var(--off-white); }
.casebanner-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: .25rem; padding-top: 1.625rem;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.casebanner-metric {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.125rem .875rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
  text-align: left;
  opacity: 0; transform: translateY(16px) scale(.96);
  transition:
    opacity .6s var(--ease-out), transform .6s var(--ease-out),
    border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.casebanner-inner.is-visible .casebanner-metric {
  opacity: 1; transform: translateY(0) scale(1);
}
.casebanner-inner.is-visible .casebanner-metric:nth-child(1) { transition-delay: .1s, .1s, 0s, 0s, 0s; }
.casebanner-inner.is-visible .casebanner-metric:nth-child(2) { transition-delay: .2s, .2s, 0s, 0s, 0s; }
.casebanner-inner.is-visible .casebanner-metric:nth-child(3) { transition-delay: .3s, .3s, 0s, 0s, 0s; }
.casebanner-metric:hover {
  border-color: rgba(255,255,255,0.26);
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  box-shadow: 0 10px 32px rgba(0,0,0,0.24);
}
.casebanner-metric-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(245,243,238,0.85);
}
.casebanner-metric-icon svg { width: 15px; height: 15px; }
.casebanner-metric-value {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 800; letter-spacing: -.03em;
  color: var(--off-white); line-height: 1;
}
.casebanner-metric-label {
  font-family: var(--mono); font-size: .625rem;
  letter-spacing: .03em; line-height: 1.4;
  color: rgba(245,243,238,0.55);
}
.casebanner-results {
  list-style: none; display: flex; flex-direction: column; gap: .5rem;
}
.casebanner-results li {
  display: flex; align-items: center; gap: .625rem;
  font-size: .875rem; color: rgba(245,243,238,0.72);
}
.casebanner-results li::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(245,243,238,0.35);
}
.casebanner-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  align-self: flex-start;
  font-weight: 600; font-size: .9375rem;
  color: var(--off-white);
  border: 1.5px solid rgba(255,255,255,0.32);
  padding: .75rem 1.5rem; border-radius: 6px;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s;
  margin-top: .25rem;
}
.casebanner-cta:hover {
  background: var(--off-white); color: var(--navy);
  border-color: var(--off-white);
}
.casebanner-cta svg { transition: transform .25s; }
.casebanner-cta:hover svg { transform: translateX(3px); }

/* =============================================================
   Mobile-specific improvements (≤ 767px)
   ============================================================= */

/* 1. More breathing room on small screens */
@media (max-width: 767px) {
  .container { padding-inline: 1.5rem; }
}

/* 2. Floating buttons — smaller on mobile */
@media (max-width: 767px) {
  .wa-float {
    width: 42px; height: 42px;
    bottom: 1.5rem; right: 1.5rem;
  }
  .wa-float svg { width: 21px; height: 21px; }
  .ig-float {
    width: 42px; height: 42px;
    bottom: 4.75rem; right: 1.5rem;
  }
  .ig-float svg { width: 20px; height: 20px; }
}

/* 3. Hero — fix scroll-cue centering (animation was overriding translateX) & space below buttons */
@keyframes heroScrollCueIn {
  from { opacity: 0; }
  to   { opacity: 1; transform: translateX(-50%); }
}
.hero-scroll-cue {
  animation: heroScrollCueIn .6s 2s var(--ease-out) forwards;
}
@media (max-width: 767px) {
  .hero-inner { padding-bottom: 5rem; }
  .hero-scroll-cue { bottom: 3rem; }
}

/* 4. Pain section — show image before items in row 2 on mobile */
@media (max-width: 767px) {
  .pain-row:nth-child(2) .pain-row-img { order: -1; }
}

/* 5. Process steps — vertical connector line on mobile */
@media (max-width: 767px) {
  .process-step { position: relative; }
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: -2rem;
    width: 1px;
    background: var(--line);
  }
}

/* 6. Case banner — more compact on mobile */
@media (max-width: 767px) {
  .casebanner-section {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(4.5rem, 8vw, 6rem);
  }
  .casebanner-visual { min-height: 200px; }
  .casebanner-visual img { min-height: 200px; height: 200px; }
  .casebanner-content {
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
  }
  .casebanner-title { font-size: 1.25rem; }
  .casebanner-body { font-size: .875rem; line-height: 1.65; }
  .casebanner-metrics { grid-template-columns: 1fr; gap: .625rem; padding-top: 1.375rem; }
  .casebanner-metric {
    flex-direction: row; align-items: center; gap: .75rem;
    text-align: left; padding: .875rem 1rem;
  }
  .casebanner-metric-icon { margin-bottom: 0; }
  .casebanner-metric-label { margin-left: auto; text-align: right; max-width: 52%; }
  .casebanner-results { gap: .5rem; }
  .casebanner-results li { font-size: .8125rem; }
}

/* 7. Stats row — tighter top gap when integrated inside a section */
.about-intro .stats-row { margin-top: clamp(2rem, 4vw, 3rem); }

/* 8. Garantias dentro de contact-section */
.contact-section .garantias-inner {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.contact-section .garantias-inner .process-grid {
  margin-top: 1.5rem;
}

/* 9. Case banner — remove border, spacing already handled in rule 6 */

/* 10. Service landing pages — mobile fixes */
@media (max-width: 767px) {
  /* Hero kicker aligned left */
  .service-hero-kicker { margin-left: 0; }

  /* "Solicitar presupuesto" button — outline style on dark hero */
  .service-hero-actions .btn-primary {
    background: transparent !important;
    border-color: rgba(255,255,255,0.55) !important;
    color: #fff !important;
  }
  /* Fix hover: keep white text on transparent background */
  .service-hero-actions .btn-primary:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.8) !important;
  }

  /* Urgency strip — less tall, hide dash+sub on mobile */
  .urgency-strip { padding: .5rem 1.25rem; }
  .urgency-inner { font-size: .8125rem; gap: .5rem; }
  .urgency-sub { display: none; }

  /* Pricing CTA — constrain button width */
  .pricing-cta-wrap .btn-lg {
    font-size: .875rem;
    padding-inline: 1.25rem;
    white-space: normal;
    text-align: center;
    max-width: 260px;
  }

  /* Recap list — more breathing room + compact bonus */
  .recap-box { padding: 1.5rem 1.125rem; }
  .recap-list { padding: 1rem; gap: 1rem; }
  .recap-list li { font-size: .875rem; gap: .625rem; }
  .recap-list li:last-child {
    padding: .5rem .75rem;
    font-size: .75rem;
    font-weight: 500;
    margin-top: .125rem;
  }

  /* Recap CTA — center button */
  .recap-cta { display: flex; justify-content: center; }
  .recap-cta .btn-primary { max-width: 280px; width: 100%; }

  /* Guarantee badge — row layout, compact */
  .guarantee-badge {
    flex-direction: row;
    align-items: flex-start;
    gap: .875rem;
    padding: 1rem 1.125rem;
  }
  .guarantee-icon { width: 28px; height: 28px; flex-shrink: 0; margin-top: .125rem; }
  .guarantee-text { font-size: .8125rem; line-height: 1.55; }
  .guarantee-text strong { font-size: .875rem; margin-bottom: .125rem; }
}

/* 11. About teaser logo — no background, just the navy logo */
.about-logo-display {
  background: transparent;
  color: var(--navy);
  height: auto;
  padding: 2.5rem 0;
  border-radius: 0;
  box-shadow: none;
}
.about-logo-display::before { display: none; }
.about-logo-tagline { color: var(--navy-mute); }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10000;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  transform: translateY(100%);
  transition: transform 0.42s var(--ease-out);
}
#cookie-banner.ck-visible { transform: translateY(0); }
#cookie-banner.ck-hiding  { transform: translateY(100%); }

.ck-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.125rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.ck-text { flex: 1; min-width: 220px; }
.ck-text p {
  font-family: var(--sans);
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(245,243,238,0.6);
  margin: 0;
}
.ck-text strong { color: var(--off-white); font-weight: 600; }
.ck-text a {
  color: var(--off-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .7;
  transition: opacity .2s;
}
.ck-text a:hover { opacity: 1; }

.ck-actions { display: flex; gap: .625rem; flex-shrink: 0; }

.ck-btn {
  cursor: pointer;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .5625rem 1.25rem;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: background .2s var(--ease-out), border-color .2s, transform .2s var(--ease-out);
  white-space: nowrap;
}
.ck-btn:hover { transform: translateY(-2px); }

.ck-btn-primary {
  background: var(--off-white);
  color: var(--navy);
  border-color: var(--off-white);
}
.ck-btn-primary:hover { background: var(--bg-3); border-color: var(--bg-3); }

.ck-btn-secondary {
  background: transparent;
  color: rgba(245,243,238,0.55);
  border-color: rgba(255,255,255,0.18);
}
.ck-btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(245,243,238,0.85);
  border-color: rgba(255,255,255,0.3);
}

/* float buttons move up when banner is open */
body.cookie-open .wa-float { bottom: calc(2rem + 64px); }
body.cookie-open .ig-float { bottom: calc(5.75rem + 64px); }

@media (max-width: 600px) {
  .ck-inner { padding: .875rem 1.125rem; gap: .875rem; }
  .ck-actions { width: 100%; }
  .ck-btn { flex: 1; text-align: center; }
  body.cookie-open .wa-float { bottom: calc(2rem + 88px); }
  body.cookie-open .ig-float { bottom: calc(5.75rem + 88px); }
}

