/* ========================================
   DAMJI SYSTEMS — $12K Premium Build
   Trust + Quiet Luxury · Light Mode
   Built with 12K Site Builder + Website Intelligence standards
   ======================================== */

/* Fonts loaded via <link> in HTML — never @import in CSS (blocks render) */

/* ─── Design Tokens (Intelligence-grade palette) ─── */
:root {
  /* Trust Blue -> Graphite/Anthracite for Quiet Luxury */
  --blue-deep: #0D1017;
  --blue: #1A1F2C;
  --blue-mid: #2C3548;
  --blue-soft: #7B9CC8;
  --blue-mist: #C8D6E8;
  --blue-ghost: #EDF1F7;

  /* Luxury Gold — warm, muted, champagne */
  --gold: #C2A979;
  --gold-light: #D4BE93;
  --gold-pale: #F5EDD8;
  --gold-ghost: rgba(184, 147, 75, 0.08);
  --gold-border: rgba(184, 147, 75, 0.25);

  /* Warm Neutrals (Website Intelligence: warm paper tones) */
  --ink: #1A1F2E;
  --charcoal: #2D3040;
  --dark-gray: #4A4E5A;
  --gray: #6B7082;
  --mid-gray: #9B9FAD;
  --silver: #D5D3CE;
  --warm-bg: #F6F4F0;     /* paper tone from Intelligence */
  --cream: #FAF8F5;
  --white: #FFFFFF;

  /* Status */
  --green: #2B835E;
  --green-pale: #E4EFE9;
  --terracotta: #A85A43;  /* accent from Intelligence ref */

  /* Typography (Intelligence: Instrument Serif + DM Sans) */
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-7: 32px; --s-8: 40px;
  --s-9: 48px; --s-10: 64px; --s-11: 80px; --s-12: 100px;
  --s-13: 120px; --s-14: 160px;

  --max-w: 1200px;
  --r-xs: 4px; --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-full: 100px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.55, 1);
  --t-fast: 0.15s; --t-base: 0.35s; --t-slow: 0.7s; --t-slower: 1s;
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); background: var(--cream); color: var(--dark-gray); line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold-pale); color: var(--blue-deep); }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--silver); border-radius: 4px; }

/* Focus indicators (Accessibility from Builder skill) */
:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
}

/* prefers-reduced-motion (from Builder skill) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01s !important;
    transition-duration: 0.01s !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .text-reveal-line { transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* ─── Grain Texture (from Website Intelligence reference) ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ─── Preloader (Builder: cinematic load) ─── */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400;
  color: var(--blue-deep); letter-spacing: 0.06em;
  margin-bottom: var(--s-6);
  opacity: 0; animation: fade-in 0.7s 0.2s var(--ease) forwards;
}
.preloader-bar { width: 140px; height: 2px; background: var(--silver); border-radius: 2px; overflow: hidden; opacity: 0; animation: fade-in 0.5s 0.5s var(--ease) forwards; }
.preloader-fill { width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), var(--terracotta)); border-radius: 2px; animation: fill-bar 1.6s 0.6s var(--ease) forwards; }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fill-bar { to { width: 100%; } }

/* ─── Scroll Progress ─── */
.scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--terracotta)); z-index: 9998; will-change: width; }

/* ─── Container ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s-6); }

/* ─── Typography (Intelligence: Instrument Serif + DM Sans) ─── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); line-height: 1.15; }

.t-display { font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.02em; }
.t-heading { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; }
.t-sub { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 400; line-height: 1.3; }
.t-body-lg { font-size: 1.05rem; line-height: 1.85; color: var(--gray); }
.t-body { font-size: 0.9rem; line-height: 1.75; color: var(--gray); }
.t-label { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--terracotta); }
.t-label-gold { color: var(--gold); }
em, .italic { font-style: italic; }

/* ─── Text Reveal (12K: cinematic text entry) ─── */
.text-reveal { overflow: hidden; }
.text-reveal-line { display: block; transform: translateY(115%); transition: transform var(--t-slow) var(--ease); will-change: transform; }
.text-reveal.visible .text-reveal-line { transform: translateY(0); }
.text-reveal.visible .text-reveal-line:nth-child(2) { transition-delay: 0.08s; }
.text-reveal.visible .text-reveal-line:nth-child(3) { transition-delay: 0.16s; }

/* ─── Reveal System (scroll-triggered) ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger > .reveal:nth-child(1) { transition-delay: 0.03s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.09s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.21s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.27s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.33s; }
.stagger > .reveal:nth-child(7) { transition-delay: 0.39s; }
.stagger > .reveal:nth-child(8) { transition-delay: 0.45s; }
.stagger > .reveal:nth-child(9) { transition-delay: 0.51s; }

/* Parallax (from Builder: parallax depth on key elements) */
.parallax { will-change: transform; transition: transform 0.1s linear; }

/* ─── Navigation (12K: premium micro-interactions) ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: var(--s-5) 0;
  transition: all 0.45s var(--ease);
}
.nav.scrolled {
  padding: var(--s-3) 0;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(213, 211, 206, 0.6);
}
.nav-wrapper { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s-6); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: var(--s-3); z-index: 1001; }
.nav-logo-icon { width: 32px; height: 32px; border-radius: var(--r-xs); overflow: hidden; }
.nav-logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.nav-logo-name { font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: var(--s-8); }
.nav-links a { font-size: 0.8rem; font-weight: 500; color: var(--gray); transition: color var(--t-fast); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1.5px; background: var(--terracotta); transition: width var(--t-base) var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta-link { font-size: 0.78rem !important; font-weight: 600 !important; color: var(--white) !important; background: var(--blue-deep); padding: 10px 26px; border-radius: var(--r-sm); transition: all var(--t-base) var(--ease) !important; }
.nav-cta-link::after { display: none !important; }
.nav-cta-link:hover { background: var(--blue) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(27, 42, 74, 0.18); }

.nav-toggle { display: none; background: none; border: none; padding: var(--s-2); z-index: 1001; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4.5px 0; transition: all var(--t-base); transform-origin: center; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(3.5px, 3.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ─── Hero (12K: Apple/Stripe quality) ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 var(--s-12);
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-bg) 60%, var(--blue-ghost) 100%);
  position: relative; overflow: hidden;
}

/* Ambient glow — subtle, warm */
.hero-glow {
  position: absolute; top: 5%; right: 0; width: 55%; height: 80%;
  background: radial-gradient(ellipse at 70% 40%, rgba(184, 147, 75, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content-centered { text-align: center; max-width: 800px; margin: 0 auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-7); padding: 6px 16px 6px 10px; background: var(--green-pale); border-radius: var(--r-full); }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-eyebrow .t-label { color: var(--green); font-size: 0.65rem; }
.hero h1 { margin-bottom: var(--s-6); }
.hero h1 em { color: var(--terracotta); font-style: italic; }
.hero-lead { margin-bottom: var(--s-8); }
.hero-buttons { display: flex; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-11); }

/* Hero metrics */
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-7); }
.metric-card { padding: var(--s-6); background: rgba(255,255,255,0.6); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.8); border-radius: var(--r-md); text-align: center; transition: all var(--t-base); }
.metric-card:hover { border-color: var(--silver); background: var(--white); box-shadow: 0 12px 32px rgba(13,16,23,0.04); transform: translateY(-3px); }
.metric-value { font-family: var(--font-serif); font-size: 2.4rem; color: var(--ink); line-height: 1; }
.metric-desc { margin-top: var(--s-2); font-size: 0.68rem; }

/* ─── Buttons (12K: premium micro-interactions) ─── */
.btn { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600; cursor: pointer; border: none; transition: all var(--t-base) var(--ease); letter-spacing: 0.01em; }
.btn-primary { padding: 14px 32px; background: var(--blue-deep); color: var(--white); border-radius: var(--r-sm); }
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(27,42,74,0.15); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { padding: 14px 32px; background: transparent; color: var(--ink); border: 1px solid var(--silver); border-radius: var(--r-sm); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-gold { padding: 14px 32px; background: var(--gold); color: var(--white); border-radius: var(--r-sm); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(184,147,75,0.15); }
.btn-link { padding: 0; background: none; color: var(--terracotta); font-weight: 600; border: none; }
.btn-link .arrow { display: inline-block; transition: transform var(--t-base) var(--ease); margin-left: 4px; }
.btn-link:hover .arrow { transform: translateX(5px); }

/* ─── Marquee ─── */
.marquee-section { border-top: 1px solid var(--silver); border-bottom: 1px solid var(--silver); overflow: hidden; padding: var(--s-5) 0; background: var(--white); mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.marquee-track { display: flex; gap: var(--s-10); animation: marquee-slide 55s linear infinite; width: max-content; will-change: transform; }
@keyframes marquee-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { font-size: 0.75rem; font-weight: 600; color: var(--mid-gray); white-space: nowrap; letter-spacing: 0.08em; text-transform: uppercase; transition: color var(--t-fast); }
.marquee-item:hover { color: var(--ink); }

/* ─── Sections ─── */
.section { padding: var(--s-14) 0; }
.section-warm { background: var(--warm-bg); }      /* paper tone from Intelligence */
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .t-label { color: var(--gold-light); }
.section-dark .t-body-lg, .section-dark .t-body, .section-dark p { color: rgba(255,255,255,0.6); }

.section-header { margin-bottom: var(--s-11); }
.section-header .t-label { margin-bottom: var(--s-4); display: block; }
.section-header .t-body-lg { max-width: 560px; margin-top: var(--s-5); }
.section-header-center { text-align: center; }
.section-header-center .t-body-lg { margin-inline: auto; }

/* ─── Services (Intelligence: cards with accent left border) ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.services-grid-6 { grid-template-columns: repeat(3, 1fr); }

.service-card {
  padding: var(--s-7) var(--s-6);
  background: var(--white);
  border: 1px solid var(--silver);
  border-left: 4px solid var(--silver);     /* Intelligence: accent left border */
  border-radius: 0 var(--r-md) var(--r-md) 0;
  transition: all var(--t-base);
  position: relative;
}
.service-card:hover {
  border-left-color: var(--terracotta);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}

/* Intelligence: phase numbers large and faded */
.service-num {
  font-family: var(--font-serif); font-size: 2.8rem; font-weight: 400;
  color: var(--silver); line-height: 1; margin-bottom: var(--s-5);
  transition: color var(--t-base); opacity: 0.6;
}
.service-card:hover .service-num { color: var(--terracotta); opacity: 0.3; }
.service-card h3 { font-size: 1.2rem; margin-bottom: var(--s-3); color: var(--ink); }
.service-card > p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; margin-bottom: var(--s-5); }

/* Intelligence: tags in pill-shaped badges */
.service-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.service-pills span {
  font-family: var(--font-mono); font-size: 0.62rem; padding: 4px 10px;
  background: var(--blue-ghost); border-radius: var(--r-full); color: var(--blue-mid);
  letter-spacing: 0.02em; transition: all var(--t-fast);
}
.service-card:hover .service-pills span { background: rgba(196, 93, 62, 0.08); color: var(--terracotta); }

/* ─── Process (Intelligence: flow with accent numbers) ─── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); position: relative; }
.process-connector {
  position: absolute; top: 34px; left: 60px; right: 60px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-border) 0, var(--gold-border) 6px, transparent 6px, transparent 12px);  /* Intelligence: dashed flow connectors */
}
.process-step { position: relative; }
.process-num {
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--silver); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--terracotta);
  margin-bottom: var(--s-5); background: var(--white); position: relative; z-index: 2;
  transition: all var(--t-base);
}
.process-step:hover .process-num { border-color: var(--terracotta); background: rgba(196,93,62,0.04); box-shadow: 0 0 24px rgba(196,93,62,0.08); }
.process-step h3 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s-2); }
.process-step p { font-size: 0.82rem; color: var(--gray); line-height: 1.7; }

/* ─── Stats (12K: visual rhythm dark/light) ─── */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); }
.stat-cell { padding: var(--s-10) var(--s-6); text-align: center; border-right: 1px solid rgba(255,255,255,0.06); }
.stat-cell:last-child { border-right: none; }
.stat-value { font-family: var(--font-serif); font-size: 3rem; color: var(--white); line-height: 1; }
.stat-desc { margin-top: var(--s-2); color: var(--gold-light); }

/* ─── Differentiators ─── */
.diff-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); align-items: start; }
.diff-sticky { position: sticky; top: 120px; }
.diff-list { display: flex; flex-direction: column; gap: var(--s-5); }
.diff-card {
  padding: var(--s-6) var(--s-7);
  border-left: 3px solid var(--silver);     /* Intelligence: accent border */
  transition: all var(--t-base);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--white);
}
.diff-card:hover { border-left-color: var(--terracotta); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.diff-card h3 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s-2); }
.diff-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ─── Portfolio (12K: parallax + hover interactions) ─── */
.work-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-5); }
.work-grid-alt { grid-template-columns: 5fr 7fr; }
.work-card { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--silver); transition: all var(--t-base); cursor: pointer; }
.work-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.08); transform: translateY(-4px); }
.work-card-visual { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.work-card-bg { position: absolute; inset: 0; transition: transform 0.8s var(--ease); will-change: transform; }
.work-card:hover .work-card-bg { transform: scale(1.05); }
.work-bg-1 { background: linear-gradient(135deg, #EDF1F7 0%, #D8E0EC 100%); }
.work-bg-2 { background: linear-gradient(135deg, #F5EDD8 0%, #E8DCC5 100%); }
.work-bg-3 { background: linear-gradient(135deg, #E6F5EE 0%, #D0E8DB 100%); }
.work-bg-4 { background: linear-gradient(135deg, #F5E8E3 0%, #E8D5CE 100%); }
.work-card-icon { font-size: 2.5rem; opacity: 0.1; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; height: 100%; }
.work-card-info { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,31,46,0.92) 0%, rgba(26,31,46,0.15) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s-6); opacity: 0; transform: translateY(6px); transition: all var(--t-base) var(--ease); }
.work-card:hover .work-card-info { opacity: 1; transform: translateY(0); }
.work-card-info .t-label { color: var(--gold-light); margin-bottom: var(--s-2); }
.work-card-info h3 { font-size: 1.35rem; color: var(--white); margin-bottom: var(--s-1); }
.work-card-info p { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ─── Pricing ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: start; }
.pricing-card { padding: var(--s-8) var(--s-6); background: var(--white); border: 1px solid var(--silver); border-radius: var(--r-md); transition: all var(--t-base); position: relative; }
.pricing-card.featured { border-color: var(--terracotta); }
.pricing-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--terracotta), var(--gold)); border-radius: var(--r-md) var(--r-md) 0 0; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.pricing-badge { display: inline-block; padding: 4px 14px; background: var(--terracotta); color: var(--white); border-radius: var(--r-full); font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--s-5); }
.pricing-card h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s-2); }
.pricing-card .price { font-family: var(--font-serif); font-size: 2.6rem; color: var(--ink); line-height: 1; margin-bottom: var(--s-1); }
.pricing-card .price span { font-size: 0.85rem; font-weight: 400; color: var(--mid-gray); font-family: var(--font-sans); }
.pricing-card .price-note { font-size: 0.78rem; color: var(--mid-gray); margin-bottom: var(--s-6); }
.pricing-features { margin-bottom: var(--s-7); }
.pricing-features li { display: flex; align-items: flex-start; gap: var(--s-3); padding: 9px 0; font-size: 0.85rem; color: var(--dark-gray); border-bottom: 1px solid var(--cream); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--green); font-weight: 700; font-size: 0.8rem; margin-top: 2px; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ─── Testimonials ─── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.testimonial-card { padding: var(--s-7); background: var(--white); border: 1px solid var(--silver); border-left: 4px solid var(--gold-border); border-radius: 0 var(--r-md) var(--r-md) 0; transition: all var(--t-base); display: flex; flex-direction: column; }
.testimonial-card:hover { border-left-color: var(--gold); box-shadow: 0 8px 28px rgba(0,0,0,0.04); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--s-4); }
.testimonial-stars span { color: var(--gold); font-size: 0.85rem; }
.testimonial-text { font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; color: var(--dark-gray); line-height: 1.7; flex: 1; margin-bottom: var(--s-5); }
.testimonial-author { display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--silver); }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-ghost); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 0.9rem; font-weight: 600; color: var(--blue-mid); }
.testimonial-name { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.testimonial-role { font-size: 0.72rem; color: var(--mid-gray); }

/* ─── FAQ ─── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--silver); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: var(--s-6) 0; background: none; border: none; text-align: left; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; color: var(--ink); transition: color var(--t-fast); }
.faq-question:hover { color: var(--terracotta); }
.faq-icon { font-size: 1.3rem; color: var(--terracotta); transition: transform var(--t-base) var(--ease); font-weight: 300; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 0 var(--s-6); font-size: 0.88rem; color: var(--gray); line-height: 1.85; }

/* ─── CTA ─── */
.cta-section { padding: var(--s-14) 0; }
.cta-box { padding: var(--s-12) var(--s-8); background: var(--ink); border-radius: var(--r-lg); text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -50%; right: -15%; width: 500px; height: 400px; background: radial-gradient(circle, rgba(196,93,62,0.06) 0%, transparent 60%); pointer-events: none; }
.cta-box .t-label { color: var(--gold-light); margin-bottom: var(--s-6); position: relative; }
.cta-box h2 { color: var(--white); position: relative; margin-bottom: var(--s-5); }
.cta-box h2 em { color: var(--gold-light); }
.cta-box .t-body-lg { color: rgba(255,255,255,0.55); max-width: 500px; margin: 0 auto var(--s-8); position: relative; }
.cta-buttons { display: flex; gap: var(--s-4); justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── Floating Contact (FAB) — Lujo Silencioso ─── */
.fab { position: fixed; bottom: 32px; right: 32px; z-index: 999; }
.fab-toggle {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--gold-light);
  border: 1.5px solid rgba(194,169,121,0.45);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(13,16,23,0.5), 0 0 0 6px rgba(194,169,121,0.07);
  transition: all 0.4s var(--ease);
  animation: fab-breathe 4s ease-in-out infinite;
}
@keyframes fab-breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}
.fab-toggle:hover {
  background: var(--charcoal);
  transform: scale(1.1);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(13,16,23,0.55), 0 0 0 10px rgba(194,169,121,0.13);
  animation: none;
}
.fab-toggle .fab-sparkle { transition: transform 0.45s var(--ease), opacity 0.3s; }
.fab-toggle .icon-close { display: none; transition: transform 0.45s var(--ease); }
.fab.open .fab-toggle .fab-sparkle { display: none; }
.fab.open .fab-toggle .icon-close { display: flex; }
.fab.open .fab-toggle {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(194,169,121,0.45), 0 0 0 8px rgba(194,169,121,0.1);
  animation: none;
}
.fab-menu { position: absolute; bottom: 74px; right: 0; display: flex; flex-direction: column; gap: var(--s-3); opacity: 0; pointer-events: none; transform: translateY(12px) scale(0.95); transition: all var(--t-base) var(--ease); transform-origin: bottom right; }
.fab.open .fab-menu { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.fab-option { display: flex; align-items: center; gap: var(--s-3); padding: 10px 18px 10px 10px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border: 1px solid var(--silver); border-radius: var(--r-full); white-space: nowrap; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,0.06); transition: all var(--t-fast); }
.fab-option:hover { border-color: var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateX(-6px); }
.fab-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; background: var(--warm-bg); color: var(--ink); transition: all var(--t-fast); }
.fab-option:hover .fab-icon { background: var(--ink); color: var(--gold-light); }

/* ─── Footer ─── */
.footer { padding: var(--s-12) 0 var(--s-6); border-top: 1px solid var(--silver); background: var(--warm-bg); }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: var(--s-10); margin-bottom: var(--s-11); }
.footer-brand p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; max-width: 300px; margin-top: var(--s-4); }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--mid-gray); margin-bottom: var(--s-4); }
.footer-col a { display: block; font-size: 0.8rem; color: var(--gray); padding: 4px 0; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--s-6); border-top: 1px solid var(--silver); }
.footer-bottom p { font-size: 0.72rem; color: var(--mid-gray); }
.footer-socials { display: flex; gap: var(--s-3); }
.footer-socials a { width: 30px; height: 30px; border: 1px solid var(--silver); border-radius: var(--r-xs); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--gray); transition: all var(--t-fast); }
.footer-socials a:hover { border-color: var(--ink); color: var(--ink); }

/* ─── Starscape (3D Animation Creator: animated star background) ─── */
#starscape {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.5;
}

/* ─── Floating Orbs (3D Animation Creator: ambient orbs) ─── */
.orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); opacity: 0.08; will-change: transform;
  animation: orb-drift 35s ease-in-out infinite alternate;
}
.orb-1 { width: 400px; height: 400px; background: var(--gold-pale); top: 10%; left: -5%; animation-delay: 0s; }
.orb-2 { width: 350px; height: 350px; background: var(--blue-mist); bottom: 15%; right: -8%; animation-delay: -12s; }
.orb-3 { width: 300px; height: 300px; background: var(--terracotta); top: 40%; right: 10%; opacity: 0.04; animation-delay: -20s; }
@media (max-width: 768px) { .orb { display: none; } }
@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
  100% { transform: translate(15px, -15px) scale(1.03); }
}

/* ─── Navbar Pill Transform (3D Animation Creator: scroll-to-pill) ─── */
.nav.pill-mode {
  padding: var(--s-3) 0;
}
.nav.pill-mode .nav-wrapper {
  max-width: 780px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: var(--r-full);
  border: 1px solid rgba(213, 211, 206, 0.5);
  padding: 6px var(--s-6);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  margin: 8px auto 0;
  transition: all 0.4s var(--ease);
}
.nav.pill-mode .nav-inner { padding: 0; }

/* ─── Showcase (3D skills: immersive dark section with glass cards) ─── */
.showcase-section {
  padding: var(--s-14) 0;
  background: var(--ink);
  position: relative; overflow: hidden;
}
.showcase-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184,147,75,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(196,93,62,0.04) 0%, transparent 50%);
  pointer-events: none;
}
/* Glass grid overlay (3D Animation Creator: subtle grid) */
.showcase-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.showcase-header { position: relative; z-index: 2; text-align: center; margin-bottom: var(--s-11); }
.showcase-header .t-label { color: var(--gold-light); margin-bottom: var(--s-4); display: block; }
.showcase-header h2 { color: var(--white); }
.showcase-header .t-body-lg { color: rgba(255,255,255,0.5); max-width: 540px; margin: var(--s-5) auto 0; }

/* Glass-morphism cards (3D Animation Creator design system) */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); position: relative; z-index: 2; }

.glass-card {
  padding: var(--s-7) var(--s-6);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}
.glass-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.glass-card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--s-5);
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.08);
}
.glass-card h3 { color: var(--white); font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin-bottom: var(--s-3); }
.glass-card p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: var(--s-4); }
.glass-card .glass-tag { display: inline-block; padding: 3px 10px; background: rgba(196,93,62,0.15); border-radius: var(--r-full); font-family: var(--font-mono); font-size: 0.6rem; color: var(--terracotta); letter-spacing: 0.05em; }

/* ─── Feature Annotations (3D Animation Creator: annotation cards) ─── */
.annotation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  position: relative;
  z-index: 2;
  margin-top: var(--s-10);
}
.annotation-card {
  display: flex; gap: var(--s-5); align-items: flex-start;
  padding: var(--s-6);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  transition: all var(--t-base);
}
.annotation-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.annotation-num {
  font-family: var(--font-serif); font-size: 2.4rem;
  color: var(--terracotta); opacity: 0.3;
  line-height: 1; flex-shrink: 0; min-width: 40px;
}
.annotation-card h4 { color: var(--white); font-family: var(--font-sans); font-size: 0.9rem; font-weight: 700; margin-bottom: var(--s-1); }
.annotation-card p { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.65; }

/* ─── Enhanced Scrollbar (3D Animation Creator: gradient thumb) ─── */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--terracotta));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-light), var(--terracotta));
  box-shadow: 0 0 8px rgba(184,147,75,0.3);
}
/* ─── AI Audit Scorecard (AI Audit Report skill) ─── */
.audit-section { padding: var(--s-14) 0; background: var(--warm-bg); }
.audit-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); align-items: start; }
.audit-content { max-width: 480px; }
.audit-content .t-label { margin-bottom: var(--s-4); display: block; }
.audit-content .t-body-lg { margin-top: var(--s-5); }

.scorecard { background: var(--white); border: 1px solid var(--silver); border-radius: var(--r-lg); padding: var(--s-7); }
.scorecard-title { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--mid-gray); margin-bottom: var(--s-6); }
.score-row { display: flex; align-items: center; gap: var(--s-4); padding: 10px 0; border-bottom: 1px solid var(--cream); }
.score-row:last-child { border-bottom: none; }
.score-label { font-size: 0.8rem; font-weight: 600; color: var(--dark-gray); min-width: 160px; flex-shrink: 0; }
.score-bar-track { flex: 1; height: 6px; background: var(--cream); border-radius: 3px; overflow: hidden; position: relative; }
.score-bar-fill { height: 100%; border-radius: 3px; width: 0; transition: width 1.5s var(--ease); will-change: width; }
.score-bar-fill.green { background: linear-gradient(90deg, #2D9F6F, #3DC98A); }
.score-bar-fill.gold { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.score-bar-fill.orange { background: linear-gradient(90deg, #E88A3A, #F5A623); }
.score-bar-fill.terracotta { background: linear-gradient(90deg, var(--terracotta), #D4775C); }
.score-value { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--ink); min-width: 32px; text-align: right; }

.scorecard-overall { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 2px solid var(--silver); display: flex; align-items: center; justify-content: space-between; }
.scorecard-overall-label { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.scorecard-overall-score { font-family: var(--font-serif); font-size: 2rem; color: var(--green); line-height: 1; }
.scorecard-overall-badge { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 4px 12px; border-radius: var(--r-full); background: var(--green-pale); color: var(--green); margin-left: var(--s-3); }

.audit-cta { margin-top: var(--s-7); padding: var(--s-6); background: var(--blue-ghost); border: 1px dashed var(--blue-mist); border-radius: var(--r-md); text-align: center; }
.audit-cta p { font-size: 0.85rem; color: var(--dark-gray); margin-bottom: var(--s-4); }

/* ─── Pipeline (Improvised Intelligence: PROSPECT → PITCH → BRAND → OPERATE) ─── */
.pipeline-section { padding: var(--s-14) 0; background: var(--white); }
.pipeline-visual {
  display: flex; align-items: stretch; gap: 2px;
  margin-top: var(--s-10);
  border-radius: var(--r-md); overflow: hidden;
}
.pipeline-phase {
  flex: 1; padding: var(--s-7) var(--s-5);
  position: relative; transition: all var(--t-base);
  cursor: default;
}
.pipeline-phase:nth-child(1) { background: var(--blue-deep); }
.pipeline-phase:nth-child(2) { background: var(--blue); }
.pipeline-phase:nth-child(3) { background: var(--blue-mid); }
.pipeline-phase:nth-child(4) { background: var(--blue-soft); }
.pipeline-phase:nth-child(5) { background: var(--gold); }

.pipeline-phase:hover { filter: brightness(1.1); transform: translateY(-3px); }

.pipeline-phase-num { font-family: var(--font-mono); font-size: 0.58rem; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; margin-bottom: var(--s-3); }
.pipeline-phase-name { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: var(--s-2); }
.pipeline-phase-desc { font-size: 0.72rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.pipeline-arrow { position: absolute; right: -8px; top: 50%; transform: translateY(-50%); font-size: 0.7rem; color: rgba(255,255,255,0.5); z-index: 2; }

/* ─── Onboarding Timeline (AI Consulting Onboarding skill) ─── */
.onboarding-section { padding: var(--s-12) 0; background: var(--warm-bg); border-top: 1px solid var(--silver); border-bottom: 1px solid var(--silver); }
.onboarding-steps { display: flex; justify-content: center; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-8); }
.onboarding-step {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-5);
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--r-full);
  font-size: 0.78rem; font-weight: 600; color: var(--dark-gray);
  transition: all var(--t-base);
}
.onboarding-step:hover { border-color: var(--terracotta); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.onboarding-step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--blue-ghost); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.6rem; color: var(--blue-mid); font-weight: 700; }
.onboarding-step-arrow { color: var(--mid-gray); font-size: 0.7rem; margin: 0 var(--s-1); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-content-centered { max-width: 100%; }
  .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-connector { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .diff-layout { grid-template-columns: 1fr; gap: var(--s-8); }
  .diff-sticky { position: relative; top: 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .work-grid-alt { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .annotation-grid { grid-template-columns: 1fr; }
  .nav.pill-mode .nav-wrapper { max-width: 95%; }
  .audit-layout { grid-template-columns: 1fr; }
  .pipeline-visual { flex-direction: column; }
  .pipeline-arrow { display: none; }
  .onboarding-steps { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
  .nav-links { position: fixed; inset: 0; background: rgba(250,248,245,0.97); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: center; gap: var(--s-7); opacity: 0; pointer-events: none; transition: opacity var(--t-base); z-index: 999; }
  .nav-links.open { opacity: 1; pointer-events: all; }
  .nav-links a { font-size: 1.15rem; font-family: var(--font-serif); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .services-grid, .work-grid, .work-grid-alt, .testimonials-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr; gap: var(--s-3); }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-box { padding: var(--s-9) var(--s-6); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .footer-bottom { flex-direction: column; gap: var(--s-4); text-align: center; }
  .section { padding: var(--s-12) 0; }
  .showcase-grid { grid-template-columns: 1fr; }
  .annotation-grid { grid-template-columns: 1fr; }
  .nav.pill-mode .nav-wrapper { border-radius: var(--r-md); max-width: calc(100% - 32px); }
  .score-label { min-width: 120px; font-size: 0.72rem; }
  .pipeline-visual { flex-direction: column; }
  .pipeline-arrow { display: none; }
  .sector-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .tarifa-tabs { flex-wrap: wrap; gap: var(--s-2); }
}

/* ─── Page Hero (sub-pages) ─── */
.page-hero {
  padding: 140px 0 var(--s-10);
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-bg) 60%, var(--blue-ghost) 100%);
  position: relative; overflow: hidden; text-align: center;
}
.page-hero-content { max-width: 680px; margin: 0 auto; }
.page-hero-sector { padding-bottom: var(--s-12); }
.sector-hero-icon { font-size: 3.5rem; margin: var(--s-5) 0; line-height: 1; }

/* ─── Sector Cards ─── */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.sector-card {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--s-8) var(--s-6);
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--r-md);
  text-align: center;
  transition: all var(--t-base);
  text-decoration: none;
  color: inherit;
}
.sector-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
.sector-icon { font-size: 2.8rem; margin-bottom: var(--s-4); line-height: 1; }
.sector-card h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s-2); }
.sector-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; margin-bottom: var(--s-5); }
.sector-cta {
  font-size: 0.82rem; font-weight: 600; color: var(--terracotta);
  margin-top: auto;
  transition: all var(--t-fast);
}
.sector-card:hover .sector-cta { transform: translateX(4px); }
.sector-card:hover .sector-cta .arrow { display: inline-block; transform: translateX(4px); transition: transform var(--t-base); }

/* ─── Tarifa Tabs ─── */
.tarifa-tabs {
  display: flex; gap: var(--s-2); justify-content: center;
  margin-bottom: var(--s-10);
  flex-wrap: wrap;
}
.tarifa-tab {
  padding: 10px 24px;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--t-base);
}
.tarifa-tab:hover { border-color: var(--ink); color: var(--ink); }
.tarifa-tab.active {
  background: var(--blue-deep); color: var(--white);
  border-color: var(--blue-deep);
}
.tarifa-panel { display: none; }
.tarifa-panel.active { display: block; }

/* ─── Tarifa Group Titles (sector pages) ─── */
.tarifa-group-title {
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--terracotta);
  text-align: center;
  margin-bottom: var(--s-6);
}

/* ─── Active Nav Link ─── */
.nav-links a.active { color: var(--terracotta); }
.nav-links a.active::after { width: 100%; }

/* ─── CTA Split Layout (contacto con formulario) ─── */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: start;
  text-align: left;
}
.cta-split .cta-text .t-label { color: var(--gold-light); margin-bottom: var(--s-4); display: block; }
.cta-split .cta-text h2 { color: var(--white); }
.cta-split .cta-text h2 em { color: var(--gold-light); }

/* ─── Contact Form (sobre fondo oscuro) ─── */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: var(--s-7);
}
.form-group { margin-bottom: var(--s-5); }
.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--s-2);
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--white);
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.28); }
.form-input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(194, 169, 121, 0.15);
}
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-select option { background: var(--blue); color: var(--white); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  justify-content: center;
  padding: 15px 32px;
  font-size: 0.88rem;
  margin-top: var(--s-3);
}
.form-note {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: var(--s-3);
  letter-spacing: 0.02em;
}
.form-success {
  display: none;
  text-align: center;
  padding: var(--s-10) var(--s-6);
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: var(--s-3);
}
.form-success p { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; line-height: 1.7; }

/* ─── Responsive CTA Split ─── */
@media (max-width: 900px) {
  .cta-split { grid-template-columns: 1fr; gap: var(--s-8); }
  .cta-split .cta-text { text-align: center; }
  .cta-split .cta-text p { margin-inline: auto; }
}

/* ══════════════════════════════════════
   TARIFAS PAGE — New Components
══════════════════════════════════════ */

/* ─── Included strip ─── */
.included-strip {
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
}
.included-item {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark-gray);
  white-space: nowrap;
}
.included-icon { font-size: 1rem; line-height: 1; }

/* ─── How it works steps ─── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
  margin-top: var(--s-10);
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.66% + var(--s-4)); right: calc(16.66% + var(--s-4));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
  pointer-events: none;
}
.how-step { text-align: center; position: relative; }
.how-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--r-full);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s-5);
}
.how-step h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.how-step p { font-size: 0.88rem; color: var(--gray); line-height: 1.75; }

/* ─── Sector tab nav ─── */
.sector-tab-nav {
  display: flex;
  gap: var(--s-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--s-10);
}
.sector-tab-btn {
  padding: 11px 22px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all var(--t-base);
}
.sector-tab-btn:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.sector-tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* ─── Sector pricing panels ─── */
.sector-pricing-panel { display: none; }
.sector-pricing-panel.active { display: block; }

.sector-panel-intro {
  max-width: 740px;
  margin: 0 auto var(--s-10);
  text-align: center;
}
.sector-panel-intro h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--white);
  margin-bottom: var(--s-4);
  font-weight: 400;
}
.sector-panel-intro p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.sector-panel-intro strong { color: var(--gold-light); font-weight: 600; }

.sector-panel-cta {
  text-align: center;
  margin-top: var(--s-8);
}
.sector-more-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.01em;
  transition: gap var(--t-base), color var(--t-base);
}
.sector-more-link:hover { color: var(--white); gap: var(--s-3); }

/* ─── Ghost pricing card (on dark background) ─── */
.pricing-card-ghost {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.pricing-card-ghost:hover { background: rgba(255,255,255,0.07); }
.pricing-card-ghost h3 { color: var(--white); }
.price-ghost { color: var(--white) !important; }
.price-ghost span { color: rgba(255,255,255,0.5) !important; }
.price-note-ghost { color: rgba(255,255,255,0.45) !important; }
.pricing-features-ghost li { border-color: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75); }

/* ─── Outline button white variant ─── */
.btn-outline-white {
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.3) !important;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ─── Comparison table ─── */
.comparison-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.comparison-table thead tr { background: var(--ink); }
.comparison-table thead th {
  padding: 16px 20px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  border: none;
  line-height: 1.4;
}
.comparison-table thead th:first-child { text-align: left; color: rgba(255,255,255,0.5); }
.comparison-table thead th span { display: block; font-size: 0.7rem; font-weight: 400; color: rgba(255,255,255,0.45); margin-top: 3px; }
.comparison-table thead .comp-featured { background: var(--terracotta); }
.comparison-table thead .comp-featured span { color: rgba(255,255,255,0.6); }
.comparison-table tbody tr { border-bottom: 1px solid var(--cream); transition: background var(--t-fast); }
.comparison-table tbody tr:hover { background: var(--warm-bg); }
.comparison-table tbody td {
  padding: 13px 20px;
  text-align: center;
  color: var(--dark-gray);
  vertical-align: middle;
}
.comparison-table tbody td:first-child { text-align: left; font-weight: 500; color: var(--ink); }
.comparison-table tbody .comp-featured { background: rgba(168,90,67,0.04); }
.cy { color: var(--green); font-weight: 700; font-size: 1.05rem; }
.cn { color: var(--mid-gray); font-size: 1rem; }

/* ─── Responsive adjustments ─── */
@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr; gap: var(--s-7); }
  .how-steps::before { display: none; }
  .how-step { text-align: left; display: flex; gap: var(--s-5); align-items: flex-start; }
  .how-step-num { margin: 0; flex-shrink: 0; }
  .sector-tab-btn { font-size: 0.78rem; padding: 9px 16px; }
  .included-item { font-size: 0.78rem; padding: 8px 14px; }
}
@media (max-width: 600px) {
  .sector-tab-nav { gap: var(--s-1); }
  .sector-tab-btn { padding: 8px 13px; font-size: 0.74rem; }
}

/* ══════════════════════════════════════
   SECTOR PAGES — Premium Pricing Components
══════════════════════════════════════ */

/* ─── Breadcrumb nav ─── */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--s-8);
}
.breadcrumb-nav a { color: rgba(255,255,255,0.45); transition: color var(--t-base); }
.breadcrumb-nav a:hover { color: var(--gold-light); }
.breadcrumb-nav .bc-sep { color: rgba(255,255,255,0.2); }
.breadcrumb-nav .bc-current { color: var(--gold-light); }

/* ─── Sector decorative bg emoji ─── */
.sector-hero-wrap { position: relative; overflow: hidden; }
.sector-bg-emoji {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(120px, 22vw, 260px);
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  filter: grayscale(1);
}

/* ─── Featured pricing grid (1fr 1.15fr 1fr) ─── */
.pricing-grid-featured {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: var(--s-5);
  align-items: start;
}
.pricing-grid-featured .pricing-card { padding: var(--s-7) var(--s-6); }
.pricing-grid-featured .pricing-card.featured {
  padding: var(--s-8) var(--s-6);
  margin-top: calc(var(--s-4) * -1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ─── Gold badge (replaces plain terracotta badge) ─── */
.plan-badge-gold {
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--gold) 0%, #b8935a 100%);
  color: var(--ink);
  border-radius: var(--r-full);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: var(--s-5);
  transform: rotate(-1.5deg);
  transform-origin: left center;
  box-shadow: 0 3px 12px rgba(194,169,121,0.3);
}

/* ─── Price block redesign ─── */
.price-block { margin-bottom: var(--s-2); }
.price-original {
  font-size: 0.78rem;
  color: var(--mid-gray);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.price-launch {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3rem);
  color: var(--ink);
  line-height: 1;
  font-weight: 400;
}
.price-launch span { font-family: var(--font-sans); font-size: 0.9rem; color: var(--mid-gray); font-weight: 400; }
.price-monthly {
  font-size: 0.88rem;
  color: var(--dark-gray);
  margin-top: var(--s-1);
}
.price-monthly strong { color: var(--ink); font-weight: 700; }
.price-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-top: 3px;
}

/* ─── Feature list variants ─── */
.features-basic li { color: var(--gray); }
.features-basic li::before { content: '·'; color: var(--mid-gray); font-weight: 700; margin-right: var(--s-2); }
.features-basic li .check { display: none; }
.features-premium li:nth-child(-n+3) { color: var(--ink); font-weight: 500; }
.feature-divider {
  border: none;
  border-top: 1px dashed var(--silver);
  margin: var(--s-4) 0;
}
.feature-highlight { color: var(--terracotta) !important; font-weight: 600 !important; }

/* ─── Google Maps editorial layout ─── */
.maps-editorial {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--s-10);
  align-items: center;
}
.maps-why h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--white);
  margin-bottom: var(--s-5);
  font-weight: 400;
}
.maps-why-stats { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-6); }
.maps-stat { display: flex; align-items: flex-start; gap: var(--s-3); }
.maps-stat-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-light);
  line-height: 1;
  flex-shrink: 0;
}
.maps-stat-txt { font-size: 0.84rem; color: rgba(255,255,255,0.6); line-height: 1.5; padding-top: 3px; }
.maps-plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.maps-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: all var(--t-base);
}
.maps-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.maps-card.maps-featured {
  border-color: var(--gold-border);
  background: rgba(194,169,121,0.06);
}
.maps-card h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); margin-bottom: var(--s-3); }
.maps-card .maps-price { font-family: var(--font-serif); font-size: 2rem; color: var(--white); line-height: 1; }
.maps-card .maps-price span { font-family: var(--font-sans); font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.maps-card .maps-note { font-size: 0.72rem; color: var(--gold-light); margin: var(--s-2) 0 var(--s-4); }
.maps-card ul { display: flex; flex-direction: column; gap: var(--s-2); }
.maps-card ul li { font-size: 0.8rem; color: rgba(255,255,255,0.65); display: flex; gap: var(--s-2); align-items: flex-start; }
.maps-card ul li .check { color: var(--gold); font-size: 0.72rem; margin-top: 2px; flex-shrink: 0; }

/* ─── Inter-section CTA strip ─── */
.section-bridge {
  background: var(--warm-bg);
  border-top: 1px solid var(--silver);
  border-bottom: 1px solid var(--silver);
  padding: var(--s-6) 0;
}
.section-bridge .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.section-bridge p { font-size: 0.9rem; color: var(--gray); margin: 0; }
.section-bridge strong { color: var(--ink); }

/* ─── Tarifas compare mini-banner ─── */
.compare-banner {
  background: linear-gradient(135deg, var(--gold-ghost) 0%, rgba(168,90,67,0.04) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  margin-bottom: var(--s-10);
  flex-wrap: wrap;
}
.compare-banner p { font-size: 0.88rem; color: var(--dark-gray); margin: 0; }
.compare-banner strong { color: var(--ink); }

/* ─── Responsive for new components ─── */
@media (max-width: 960px) {
  .pricing-grid-featured { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pricing-grid-featured .pricing-card.featured { margin-top: 0; }
  .maps-editorial { grid-template-columns: 1fr; }
  .maps-plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .maps-plans { grid-template-columns: 1fr; }
  .compare-banner { flex-direction: column; text-align: center; }
  .section-bridge .container { flex-direction: column; text-align: center; }
}
