﻿/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080808;
  --bg-2: #111111;
  --bg-3: #0a0a0a;
  --border: #1a1a1a;
  --accent: #e8ff47;
  --accent-text: #000;
  --text: #f5f5f0;
  --muted: #888888;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

[data-theme="light"] {
  --bg: #f8f8f5;
  --bg-2: #f0f0eb;
  --bg-3: #e8e8e3;
  --border: #e0e0d8;
  --accent: #1a1a1a;
  --accent-text: #f8f8f5;
  --text: #0a0a0a;
  --muted: #555550;
}

/* Theme transition */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Light-mode hardcoded-color overrides */
[data-theme="light"] .comparison-table th:first-child,
[data-theme="light"] .comparison-table th:nth-child(2),
[data-theme="light"] .comparison-table td:first-child,
[data-theme="light"] .comparison-table td:nth-child(2) { background: var(--bg-2); }
[data-theme="light"] .comparison-table td:nth-child(2) { color: #bbb; }
[data-theme="light"] .comparison-table tr:hover td:first-child,
[data-theme="light"] .comparison-table tr:hover td:nth-child(2) { background: var(--bg); }
[data-theme="light"] .service-card:hover { background: #e4e4df; }
[data-theme="light"] .blog-card-img { background: #e4e4df; }
[data-theme="light"] #quote blockquote { color: #f8f8f5; }
[data-theme="light"] .btn-primary:hover { background: #333; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
[data-theme="light"] .btn-outline { border-color: rgba(10,10,10,0.3); color: var(--text); }
[data-theme="light"] .btn-outline:hover { border-color: var(--text); }
[data-theme="light"] .nav-cta { color: var(--accent-text) !important; }
[data-theme="light"] .nav-cta:hover { background: #333 !important; }
[data-theme="light"] .faq-item.open .faq-icon svg { stroke: #f8f8f5; }
[data-theme="light"] .hero-eyebrow::before { background: var(--accent); }
[data-theme="light"] #header.scrolled { background: var(--bg); }

html { scroll-behavior: smooth; overflow-x: hidden; margin: 0; padding: 0; }

/* ─── CANVAS BACKGROUND ─────────────────────────────────────────── */
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

/* ─── THEME TOGGLE ──────────────────────────────────────────────── */
.theme-toggle {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); background: rgba(128,128,128,0.08); }
.theme-toggle svg { width: 16px; height: 16px; stroke: var(--muted); transition: stroke 0.2s; }
.theme-toggle:hover svg { stroke: var(--accent); }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }

/* ─── MEGA MENU ─────────────────────────────────────────────────── */
.nav-item { position: relative; }

.nav-link-mega {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
  cursor: pointer;
}
.nav-link-mega::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.nav-link-mega:hover,
.nav-item.open .nav-link-mega { color: var(--accent); }
.nav-item.open .nav-link-mega::after { width: 100%; }

.nav-link-mega svg {
  width: 12px; height: 12px;
  stroke: currentColor;
  transition: transform 0.2s;
}
.nav-item.open .nav-link-mega svg { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 640px;
  background: var(--bg-2);
  border-top: 2px solid var(--accent);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 8px 8px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.mega-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 6px;
  transition: background 0.15s ease;
  cursor: pointer;
}
.mega-item:hover { background: var(--bg); }

.mega-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  padding-top: 2px;
}

.mega-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.25;
}

.mega-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}


body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
}

h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-stretch: normal;
  word-spacing: normal;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── SCROLL ANIMATION BASE ────────────────────────────────────── */
.anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }
.anim-delay-6 { transition-delay: 0.6s; }

/* ─── UTILITIES ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 1400px) {
  .container { max-width: 1200px; padding: 0 40px; }
}

@media (max-width: 1024px) {
  .container { padding: 0 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

h2.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
}

p.section-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary-base {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(245,245,240,0.3);
}
.btn-outline:hover { border-color: var(--text); transform: translateY(-2px); }

section { padding: 100px 0; }

/* ─── HEADER ───────────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: var(--bg);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

#header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo span { color: var(--text); }

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}
.header-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 4px;
}

nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}
nav a:hover { color: var(--accent); }
nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 20px;
  background: var(--accent);
  color: #000 !important;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease !important;
}
.nav-cta:hover { background: #d4eb2e !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: var(--bg);
  flex-direction: column;
  gap: 0;
  z-index: 99;
  padding: 0;
}
.mobile-nav.open { display: flex; max-height: calc(100vh - 65px); overflow-y: auto; }
.mobile-nav-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav > a,
.mobile-solutions-toggle {
  display: flex;
  width: 100%;
  padding: 16px 24px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  border-left: none; border-right: none; border-top: none;
  background: none;
  cursor: pointer;
}
.mobile-nav > a::after { display: none; }
.mobile-solutions-toggle svg { width: 16px; height: 16px; stroke: var(--text); transition: transform 0.3s; }
.mobile-solutions-toggle.open svg { transform: rotate(180deg); }
.mobile-solutions-list { display: none; flex-direction: column; }
.mobile-solutions-list.open { display: flex; }
.mobile-solutions-list a { display: block !important; font-size: 14px !important; font-weight: 400 !important; color: var(--muted) !important; padding: 12px 24px !important; border-bottom: 1px solid var(--border); text-align: center; }
.mobile-solutions-list a::after { display: none !important; }
.mobile-nav a.mobile-cta { background: var(--accent); color: var(--accent-text) !important; border-bottom: none; }

/* ─── HERO ─────────────────────────────────────────────────────── */
#hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}

#hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,255,71,0.06) 0%, transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}


.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--accent);
}

h1.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.35s forwards;
}

h1.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.65s forwards;
}

/* ─── HERO STATS SECTION ────────────────────────────────────────── */
#hero-stats {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
#hero-stats .stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  align-self: center;
  flex-shrink: 0;
}
.stat-item {
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-body);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── SERVICES ─────────────────────────────────────────────────── */
#services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  background: var(--bg-2);
  padding: 40px 36px;
  position: relative;
  transition: background 0.2s ease;
  cursor: pointer;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 0;
  transition: border-color 0.25s ease;
  pointer-events: none;
}

.service-card:hover { background: #141414; }
.service-card:hover::after { border-color: var(--accent); }

.service-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.service-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── CTA INTERMEDIO ───────────────────────────────────────────── */
#cta-mid {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}

#cta-mid h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 32px;
}

/* ─── DIFERENCIADORES ──────────────────────────────────────────── */
#differentiators { background: var(--bg); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}

.diff-block {
  padding: 36px 32px;
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  border-radius: 0 6px 6px 0;
}

.diff-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}

.diff-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── PROCESO ──────────────────────────────────────────────────── */
#process { background: var(--bg); }

.process-list { display: flex; flex-direction: column; }

.process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.process-step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  letter-spacing: -0.04em;
}

.step-content { padding-top: 8px; }

.step-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ─── TABLA COMPARATIVA ────────────────────────────────────────── */
#comparison { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-table th {
  padding: 20px 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th:first-child { background: #0d0d0d; color: var(--muted); }
.comparison-table th:nth-child(2) { background: #0d0d0d; color: var(--muted); text-align: center; }
.comparison-table th:nth-child(3) {
  background: #e8ff47;
  color: #080808;
  font-family: var(--font-head);
  font-weight: 800;
  text-align: center;
  border-radius: 8px 8px 0 0;
}

.comparison-table td {
  padding: 18px 28px;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table td:first-child { background: #0d0d0d; color: var(--text); font-weight: 500; }
.comparison-table td:nth-child(2) { background: #0d0d0d; text-align: center; color: #444; font-size: 18px; }
.comparison-table td:nth-child(3) { background: rgba(232,255,71,0.06); text-align: center; font-size: 18px; color: var(--accent); font-weight: 700; }
[data-theme="light"] .comparison-table td:nth-child(3) { color: #b8cc1a; font-weight: 700; }

.comparison-table tr:hover td:first-child { background: #121212; }
.comparison-table tr:hover td:nth-child(2) { background: #121212; }
.comparison-table tr:hover td:nth-child(3) { background: rgba(232,255,71,0.1); }

/* ─── QUOTE ────────────────────────────────────────────────────── */
#quote {
  background: var(--accent);
  padding: 100px 0;
  text-align: center;
}

#quote blockquote {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 52px);
  color: #000;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto;
  letter-spacing: -0.02em;
}

#quote blockquote::before,
#quote blockquote::after {
  content: '"';
  font-size: 1.2em;
}

/* ─── BLOG ─────────────────────────────────────────────────────── */
#blog { background: var(--bg); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.blog-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.blog-card-img {
  width: 100%;
  height: 200px;
  background: #141414;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,255,71,0.08) 0%, transparent 60%);
}

.blog-card-img-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.5;
}

.blog-card-body { padding: 28px 28px 32px; }

.blog-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.blog-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}

.blog-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.blog-cta { text-align: center; }

/* ─── FAQ ──────────────────────────────────────────────────────── */
#faq { background: var(--bg-2); border-top: 1px solid var(--border); }

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.faq-icon svg {
  width: 14px; height: 14px;
  stroke: var(--muted);
  transition: transform 0.3s ease, stroke 0.2s ease;
}

.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-icon svg { stroke: #000; transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding-bottom: 28px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
}

/* ─── CTA FINAL REDESIGN ─────────────────────────────────────────── */
#cta-final {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(232,255,71,0.06) 0%, transparent 70%), var(--bg-2);
  border-top: 1px solid var(--border);
}
[data-theme="light"] #cta-final {
  background: var(--bg-2);
}

.cta-final-bg-text {
  position: absolute;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(80px, 15vw, 180px);
  color: var(--text);
  opacity: 0.02;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-final-h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
}

.cta-h2-accent {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px #e8ff47;
  text-stroke: 1.5px #e8ff47;
}
[data-theme="light"] .cta-h2-accent {
  -webkit-text-stroke: 1.5px #1a1a1a;
  text-stroke: 1.5px #1a1a1a;
}

.cta-final-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
}

.cta-final-btn {
  padding: 20px 56px !important;
  font-size: 17px !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  box-shadow: 0 0 40px rgba(232,255,71,0.20), 0 4px 20px rgba(0,0,0,0.3);
}
.cta-final-btn:hover {
  box-shadow: 0 0 60px rgba(232,255,71,0.40), 0 8px 30px rgba(0,0,0,0.4) !important;
  transform: translateY(-2px);
}
[data-theme="light"] .cta-final-btn {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-final-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
}
.cta-stat-sep { color: var(--border); }

/* ─── FOOTER ───────────────────────────────────────────────────── */
#footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}
.footer-logo span { color: var(--text); }

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: #444;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 8px;
}

/* ─── NAV ACTIVE STATE ──────────────────────────────────────────── */
.nav-active { color: var(--accent) !important; }
.nav-active::after { width: 100% !important; }

/* ─── PLACEHOLDER COMPONENTS ────────────────────────────────────── */
.placeholder-img, .placeholder-video {
  position: relative;
  background: var(--bg-2);
  border: 1px dashed var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  overflow: hidden;
  min-height: 200px;
}
.placeholder-img[data-ratio="16/9"], .placeholder-video[data-ratio="16/9"] { aspect-ratio: 16/9; min-height: unset; }
.placeholder-img[data-ratio="4/3"] { aspect-ratio: 4/3; min-height: unset; }
.placeholder-video .play-icon {
  width: 48px; height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent);
}

.placeholder-cta-banner {
  background: var(--bg-2);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.placeholder-label {
  font-size: 14px;
  color: var(--muted);
  font-family: var(--font-body);
}

/* ─── PAGE TITLE BAR ─────────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero .breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero .breadcrumb a { color: var(--muted); transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: var(--text); }
.page-hero .breadcrumb span { color: var(--border); }
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 20px;
}
.page-hero .page-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  max-width: 560px;
}

/* ─── SERVICE DETAIL SECTIONS ────────────────────────────────────── */
.service-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.service-section:last-of-type { border-bottom: none; }

.service-section-bg-num {
  position: absolute;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(160px, 20vw, 260px);
  color: var(--accent);
  opacity: 0.04;
  line-height: 1;
  letter-spacing: -0.04em;
  top: 20px;
  right: -20px;
  pointer-events: none;
  user-select: none;
}

.service-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-section-inner.reverse { direction: rtl; }
.service-section-inner.reverse > * { direction: ltr; }

.service-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.service-section h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.service-section p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.service-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.service-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.service-section ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── BLOG PAGE ─────────────────────────────────────────────────── */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-pill {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.filter-pill:hover { border-color: var(--accent); color: var(--text); }
.filter-pill.active { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }

.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.blog-page-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.blog-page-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.blog-page-card:hover .blog-page-card-title { color: var(--accent); }
.blog-page-card:hover .blog-page-card-img-inner { transform: scale(1.04); }

.blog-page-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-page-card-img-inner {
  width: 100%; height: 100%;
  background: #141414;
  transition: transform 0.35s ease;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
[data-theme="light"] .blog-page-card-img-inner { background: #e4e4df; }
.blog-page-card-img-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,255,71,0.06) 0%, transparent 60%);
}
[data-theme="light"] .blog-page-card-img-inner::before {
  background: linear-gradient(135deg, rgba(26,26,26,0.04) 0%, transparent 60%);
}
.blog-page-card-img-label {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); opacity: 0.5;
}

.blog-page-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-page-card-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.blog-page-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.2s;
}
.blog-page-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.blog-page-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.blog-page-card-footer a {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  transition: opacity 0.2s;
}
.blog-page-card-footer a:hover { opacity: 0.7; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.pagination-item {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  background: transparent;
}
.pagination-item:hover, .pagination-item.active {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination-item.active { background: var(--accent); color: var(--accent-text); }

/* ─── RECURSOS PAGE ─────────────────────────────────────────────── */
.recursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.recurso-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.recurso-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.recurso-card-cover {
  height: 180px;
  background: #141414;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .recurso-card-cover { background: #e4e4df; }
.recurso-card-cover::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,255,71,0.06) 0%, transparent 60%);
}
[data-theme="light"] .recurso-card-cover::before {
  background: linear-gradient(135deg, rgba(26,26,26,0.04) 0%, transparent 60%);
}
.recurso-card-cover-label {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); opacity: 0.5;
}

.recurso-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.recurso-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: flex-start;
  margin-bottom: 4px;
}

.recurso-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  line-height: 1.25;
}
.recurso-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.recurso-card-footer {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}
.btn-download:hover { background: var(--accent); color: var(--accent-text); }
.recurso-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ─── MODAL ─────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal-card { transform: translateY(0); }

.modal-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.form-group input {
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus { border-color: var(--accent); }
.form-group input::placeholder { color: var(--muted); opacity: 0.6; }

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  align-items: center;
}
.modal-close-link {
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close-link:hover { color: var(--text); }

/* ─── NEWSLETTER SECTION ─────────────────────────────────────────── */
.newsletter-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-radius: 12px;
  padding: 64px 48px;
  text-align: center;
  margin: 0 0 80px;
}
.newsletter-section h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text);
  margin-bottom: 12px;
}
.newsletter-section p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--muted); opacity: 0.6; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-page-grid { grid-template-columns: repeat(2, 1fr); }
  .recursos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  nav { display: none; }
  .hamburger { display: flex; }
  #header .container { display: flex !important; justify-content: space-between; align-items: center; }
  #header nav { display: none; }
  #header .lang-selector { display: none; }
  #header .header-sep { display: none; }
  #header .theme-toggle { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-step { grid-template-columns: 72px 1fr; gap: 24px; padding: 36px 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .recursos-grid { grid-template-columns: 1fr; }
  .comparison-table th, .comparison-table td { padding: 14px 16px; font-size: 13px; }
  #hero-stats .stats-inner { justify-content: center; gap: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  #quote { padding: 72px 0; }
  h1.hero-title { font-size: clamp(32px, 9vw, 48px); }
  .service-section-inner, .service-section-inner.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .newsletter-form { flex-direction: column; }
  #hero .container { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stat-value { font-size: 22px; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .recursos-grid { grid-template-columns: 1fr; }
  .h1-line { font-size: clamp(44px, 12vw, 56px); line-height: 0.95; }
  .h1-accent { -webkit-text-stroke: 1.5px #e8ff47; text-stroke: 1.5px #e8ff47; }
}

@media (max-width: 400px) {
  #hero-stats .stats-inner { gap: 12px; }
  #hero-stats .stat-sep { display: none; }
  #hero-stats .stat-value { font-size: 28px; }
  #hero-stats .stat-label { font-size: 11px; }
}


/* ─── HERO H1 LINES ─────────────────────────────────────────────── */
.h1-line {
  display: block;
}
.h1-accent {
  color: transparent;
  -webkit-text-stroke: 2px #e8ff47;
  text-stroke: 2px #e8ff47;
  white-space: nowrap;
}
[data-theme="light"] .h1-accent {
  -webkit-text-stroke: 2px #1a1a1a;
  text-stroke: 2px #1a1a1a;
}

/* ─── GREAT AGAIN ANIMATION ──────────────────────────────────────── */
.ga-letter {
  display: inline-block;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}
.ga-letter.revealed {
  animation: ga-reveal 200ms cubic-bezier(0.16, 1, 0.32, 1) forwards;
}
@keyframes ga-reveal {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0% 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ga-letter { opacity: 1 !important; clip-path: none !important; animation: none !important; }
}
h1.hero-title {
  opacity: 1 !important;
  animation: none !important;
}

/* ─── HERO GRID ─────────────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 60px;
  align-items: center;
  min-height: 90vh;
  padding: 120px 0 60px;
}
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 90px 0 48px;
  }
  .hero-media-col {
    display: none;
  }
}

/* ─── BUTTON RIPPLE + GLOW ──────────────────────────────────────── */
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 600ms ease, height 600ms ease, opacity 400ms ease;
  opacity: 0;
  pointer-events: none;
}
.btn-primary:hover::before {
  width: 300px;
  height: 300px;
  opacity: 1;
}
.btn-primary:hover {
  background: #d4eb2e;
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(232,255,71,0.35), 0 4px 16px rgba(0,0,0,0.3);
}

/* ─── STAT VALUES GLOW ──────────────────────────────────────────── */
.stat-value {
  text-shadow: 0 0 40px rgba(232,255,71,0.3);
}
[data-theme="light"] .stat-value { text-shadow: none; }

/* ─── EYEBROW DOT ───────────────────────────────────────────────── */
.eyebrow::before, .section-label::before {
  content: '•';
  margin-right: 8px;
  font-size: 1.2em;
  color: var(--accent);
  vertical-align: middle;
}

/* ─── GRADIENT DIVIDERS ─────────────────────────────────────────── */
section + section,
.section-divider {
  border-top: none;
}
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,255,71,0.3), transparent);
  border: none;
  margin: 0;
}
[data-theme="light"] .gradient-divider {
  background: linear-gradient(90deg, transparent, rgba(26,26,26,0.2), transparent);
}

/* ─── SCROLL INDICATOR ──────────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}
.scroll-indicator.hidden { opacity: 0; }
.scroll-indicator-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-body);
}
.scroll-indicator-line {
  width: 2px;
  height: 40px;
  background: var(--accent);
  border-radius: 2px;
  transform-origin: top;
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); opacity: 1; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}


/* ─── PROCESS MARQUEE ───────────────────────────────────────────── */
#process { position: relative; }
#cta-mid { position: relative; overflow: hidden; }
#cta-mid .container { position: relative; z-index: 1; }
.process-marquee {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(60px, 10vw, 140px);
  color: var(--text);
  opacity: 0.04;
  animation: marquee-scroll 25s linear infinite;
  user-select: none;
}
[data-theme="light"] .process-marquee { opacity: 0.06; }
@keyframes marquee-scroll {
  from { transform: translateY(-50%) translateX(0); }
  to   { transform: translateY(-50%) translateX(-50%); }
}
#process .container { position: relative; z-index: 1; }
#process .process-list { position: relative; z-index: 1; }
@media (max-width: 768px) {
  .process-marquee { font-size: 60px; animation-duration: 18s; }
}

/* ─── DIFFERENTIATOR VALUE CARDS ────────────────────────────────── */
.value-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.value-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 350ms cubic-bezier(0.16,1,0.32,1),
              box-shadow 350ms cubic-bezier(0.16,1,0.32,1);
}
.value-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 300ms ease;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(232,255,71,0.08);
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
              linear-gradient(135deg, var(--accent), transparent 60%) border-box;
  border: 1px solid transparent;
}
[data-theme="light"] .value-card:hover {
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
              linear-gradient(135deg, var(--accent), transparent 60%) border-box;
}
.value-card:hover::before { width: 40px; }

.value-card-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: border-color 0.2s, background 0.2s;
}
.value-card-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; }
.value-card:hover .value-card-icon {
  border-color: var(--accent);
  background: rgba(232,255,71,0.06);
}
[data-theme="light"] .value-card:hover .value-card-icon {
  background: rgba(184,204,26,0.08);
}
.value-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 8px;
  line-height: 1.25;
}
.value-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1024px) { .value-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .value-cards-grid { grid-template-columns: 1fr; } }

/* ─── SERVICE CARD IMAGE SLOT ───────────────────────────────────── */
.service-card-img {
  height: 160px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px dashed var(--border);
  margin: -40px -36px 32px;
  width: calc(100% + 72px);
  font-size: 12px;
  color: var(--muted);
  opacity: 0.5;
}

/* ─── SERVICE SECTION PLACEHOLDERS ─────────────────────────────── */
.placeholder-img.service-img {
  border-radius: 12px;
  aspect-ratio: 4/3;
  height: auto;
  min-height: 280px;
  position: relative;
}
.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.placeholder-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
}
.placeholder-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.5;
}
.placeholder-hint {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.6;
}

/* ─── FAQ OPEN BORDER ───────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  padding-left: 0;
  transition: padding-left 300ms ease, border-left-color 300ms ease;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item.open {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

/* ─── TABLE ROW ANIMATION ───────────────────────────────────────── */
.comparison-table tbody tr {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.comparison-table tbody tr.row-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── QUOTE GRID PATTERN ────────────────────────────────────────── */
#quote {
  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ─── HUBSPOT FORM STYLES ───────────────────────────────────────── */
.hubspot-form-container { width: 100%; }
.hs-form fieldset { max-width: 100% !important; }
.hs-form .hs-input,
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form select,
.hs-form textarea {
  width: 100% !important;
  background: var(--bg-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  transition: border-color 200ms !important;
  outline: none !important;
  box-shadow: none !important;
}
.hs-form .hs-input:focus,
.hs-form input:focus,
.hs-form select:focus,
.hs-form textarea:focus {
  border-color: var(--accent) !important;
}
.hs-form .hs-button,
.hs-form input[type="submit"] {
  background: var(--accent) !important;
  color: var(--accent-text) !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 14px 28px !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
}
.hs-form .hs-button:hover { opacity: 0.9 !important; transform: translateY(-1px) !important; }
.hs-form .hs-error-msgs { color: #ff6b6b !important; font-size: 13px !important; margin-top: 4px !important; }
.hs-form label { font-size: 13px !important; font-weight: 500 !important; color: var(--muted) !important; margin-bottom: 6px !important; display: block !important; }

/* ─── CONTACT PAGE ──────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0 100px;
}
.contact-form-section h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-form-section .contact-form-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.contact-form-placeholder { display: flex; flex-direction: column; gap: 16px; }
.contact-form-group { display: flex; flex-direction: column; gap: 6px; }
.contact-form-group label { font-size: 13px; font-weight: 500; color: var(--muted); }
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 200ms;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus { border-color: var(--accent); }
.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder { color: var(--muted); opacity: 0.6; }
.contact-form-group textarea { resize: vertical; min-height: 120px; }
.contact-form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

.contact-info-section { display: flex; flex-direction: column; gap: 0; padding-top: 52px; }

.contact-info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-block:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-info-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.contact-info-text a { color: var(--muted); transition: color 0.2s; }
.contact-info-text a:hover { color: var(--accent); }

.contact-quote-block {
  margin-top: 32px;
  background: var(--bg-2);
  border-radius: 12px;
  padding: 28px;
  border-left: 3px solid var(--accent);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
}

.contact-hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.contact-stat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--accent);
  display: block;
}
.contact-stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-info-section { padding-top: 0; }
}

/* ─── REDUCED MOTION ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .anim { opacity: 1 !important; transform: none !important; }
  .hero-eyebrow,
  .hero-sub, .hero-buttons, .hero-stats { opacity: 1 !important; animation: none !important; }
}

/* ─── MOBILE MENU BODY LOCK ──────────────────────────────────────── */
body.menu-open { overflow: hidden; }

/* ─── HERO BLOB ──────────────────────────────────────────────────── */
.hero-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,255,71,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  top: 0; left: 0;
  will-change: transform;
}
[data-theme="light"] .hero-blob {
  background: radial-gradient(circle, rgba(232,255,71,0.12) 0%, transparent 70%);
}
#hero .hero-inner, #hero .container > * { position: relative; z-index: 1; }

/* ─── LIGHT MODE ACCENT VISIBLE ──────────────────────────────────── */
:root { --accent-visible: #e8ff47; }

[data-theme="light"] .eyebrow::before,
[data-theme="light"] .section-label::before { color: #b8cc1a; }
[data-theme="light"] .eyebrow,
[data-theme="light"] .section-label { color: #b8cc1a; }
[data-theme="light"] .stat-value {
  color: #b8cc1a;
  text-shadow: 0 0 30px rgba(184,204,26,0.25);
}
[data-theme="light"] .diff-block { border-left-color: #b8cc1a; }
[data-theme="light"] .value-card:hover::before { background: #b8cc1a; }
[data-theme="light"] .service-card:hover::after { border-color: #b8cc1a; }
[data-theme="light"] nav a:hover { color: #b8cc1a; }
[data-theme="light"] nav a::after { background: #b8cc1a; }
[data-theme="light"] .hero-eyebrow { color: #b8cc1a; }
[data-theme="light"] .hero-eyebrow::before { background: #b8cc1a; }
[data-theme="light"] .hero-blob {
  background: radial-gradient(circle, rgba(232,255,71,0.12) 0%, transparent 70%);
}
[data-theme="light"] .btn-primary {
  background: #e8ff47;
  color: #080808;
}
[data-theme="light"] .btn-primary:hover {
  background: #d4eb2e;
  box-shadow: 0 8px 24px rgba(184,204,26,0.3);
}
[data-theme="light"] { --accent-visible: #b8cc1a; }

/* ─── DARK MODE ENHANCEMENTS ─────────────────────────────────────── */

/* Footer gradient top */
#footer {
  background: linear-gradient(to bottom, var(--bg-2) 0%, var(--bg-3) 120px, var(--bg-3) 100%);
}

/* Quote text depth */
#quote blockquote {
  text-shadow: 2px 4px 0 rgba(0,0,0,0.15);
}

/* Service cards subtle gradient */
.service-card {
  background: linear-gradient(145deg, #0f0f0f 0%, #0a0a0a 100%);
}
[data-theme="light"] .service-card {
  background: var(--bg-2);
}

/* Process step number — accent color */
.step-num {
  color: var(--accent);
  opacity: 0.08;
}

/* ─── ASSISTANT BLOCK ────────────────────────────────────────────── */
.assistant-block {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.9s forwards;
}
[data-theme="light"] .assistant-block {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}
.assistant-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(232,255,71,0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(232,255,71,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,255,71,0); }
}
[data-theme="light"] .status-dot {
  background: #1a1a1a;
  animation: pulse-ring-light 2s infinite;
}
@keyframes pulse-ring-light {
  0%   { box-shadow: 0 0 0 0 rgba(26,26,26,0.3); }
  70%  { box-shadow: 0 0 0 8px rgba(26,26,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,26,26,0); }
}
.assistant-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.assistant-sep { color: var(--muted); font-size: 13px; }
.assistant-status {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--accent);
  font-weight: 400;
}
[data-theme="light"] .assistant-status { color: #1a1a1a; }
.assistant-response-time {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
}

.assistant-messages {
  height: 220px;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  background: var(--bg-2);
}
.assistant-messages::-webkit-scrollbar { width: 4px; }
.assistant-messages::-webkit-scrollbar-track { background: transparent; }
.assistant-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Message bubbles */
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.asst-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 85%;
  animation: msgIn 0.25s ease;
}
.asst-msg.user-msg {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 75%;
}
.asst-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.asst-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.asst-msg.bot-msg .asst-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px 12px 12px 12px;
}
.asst-msg.user-msg .asst-bubble {
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 12px 2px 12px 12px;
  font-family: var(--font-head);
  font-weight: 500;
}
.asst-msg.bot-msg .asst-bubble a { color: var(--accent); text-decoration: underline; }

/* Result card inside assistant */
.asst-result-card {
  background: var(--bg-3);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin-top: 8px;
  max-width: 380px;
  animation: msgIn 0.25s ease;
}
.asst-result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.asst-result-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.asst-result-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.asst-result-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0;
  line-height: 1.5;
}
.asst-result-cta {
  display: block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--accent);
  transition: opacity 0.2s;
}
.asst-result-cta:hover { text-decoration: underline; opacity: 0.8; }

/* Typing indicator */
@keyframes dot-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}
.asst-typing-dots {
  display: flex; gap: 4px; align-items: center; padding: 4px 0;
}
.asst-typing-dots span {
  width: 6px; height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: dot-bounce 1.2s ease-in-out infinite;
}
.asst-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.asst-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Quick reply pills (in messages area) */
.chat-quick-replies {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.chat-quick-pill {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.chat-quick-pill:hover { border-color: var(--accent); color: var(--text); }

/* Input area */
.assistant-input-area {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.chat-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.suggestion-pill {
  font-family: var(--font-body);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.suggestion-pill:hover { border-color: var(--accent); color: var(--accent); }
.assistant-input-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.assistant-input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
  min-height: 46px;
  max-height: 88px;
  overflow-y: auto;
  line-height: 1.5;
}
.assistant-input:focus { border-color: var(--accent); }
.assistant-input::placeholder { color: var(--muted); opacity: 0.6; }
.assistant-send-btn {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, filter 0.2s, opacity 0.2s;
}
.assistant-send-btn:hover:not(:disabled) { transform: scale(1.05); filter: brightness(1.1); }
.assistant-send-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.assistant-send-btn svg { width: 18px; height: 18px; }

/* Mobile */
@media (max-width: 768px) {
  .assistant-messages { height: 180px; padding: 16px; }
  .assistant-header { padding: 12px 16px; }
  .assistant-sep, .assistant-status, .assistant-header-right { display: none; }
  .assistant-input-area { padding: 12px 16px; }
  .chat-suggestions {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }
  .chat-suggestions::-webkit-scrollbar { display: none; }
  .suggestion-pill { flex-shrink: 0; }
}

/* ─── nxtGPT WIDGET ─────────────────────────────────────────────── */
#nxtgpt {
  padding: 80px 0;
}
.nxtgpt-bar {
  max-width: 860px;
  margin: 0 auto;
  background: #e8ff47;
  border-radius: 16px;
  padding: 32px 40px;
  position: relative;
  overflow: hidden;
}
.nxtgpt-bar-bg {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 120px;
  color: rgba(0,0,0,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}
.nxtgpt-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.nxtgpt-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nxtgpt-badge {
  background: rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 4px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  color: #080808;
  letter-spacing: 0.08em;
}
.nxtgpt-top-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #080808;
}
.nxtgpt-top-hint {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(0,0,0,0.5);
}
.nxtgpt-input-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nxtgpt-text-input {
  flex: 1;
  background: rgba(0,0,0,0.08);
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #080808;
  outline: none;
  transition: background 0.2s;
}
.nxtgpt-text-input::placeholder { color: rgba(0,0,0,0.4); }
.nxtgpt-text-input:focus { background: rgba(0,0,0,0.12); }
.nxtgpt-submit-btn {
  background: #080808;
  color: #e8ff47;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nxtgpt-submit-btn:hover { background: #1a1a1a; transform: scale(1.02); }
.nxtgpt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.nxtgpt-pill {
  background: rgba(0,0,0,0.08);
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  color: #080808;
  cursor: pointer;
  transition: background 0.15s;
}
.nxtgpt-pill:hover { background: rgba(0,0,0,0.15); }
.nxtgpt-response-area {
  background: rgba(0,0,0,0.06);
  border-radius: 0 0 12px 12px;
  padding: 20px;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.nxtgpt-response-area.open {
  max-height: 600px;
  padding: 20px;
  margin-top: 8px;
  border-radius: 12px;
}
.nxtgpt-msg {
  font-family: var(--font-body);
  font-size: 14px;
  color: #080808;
  margin-bottom: 12px;
  line-height: 1.6;
}
.nxtgpt-user-msg {
  background: rgba(0,0,0,0.1);
  color: #080808;
  border-radius: 10px;
  padding: 8px 14px;
  display: inline-block;
  float: right;
  clear: both;
  max-width: 80%;
  margin-bottom: 12px;
}
.nxtgpt-typing {
  display: flex;
  gap: 4px;
  padding: 8px 0;
  clear: both;
}
.nxtgpt-typing span {
  width: 6px; height: 6px;
  background: #080808;
  border-radius: 50%;
  animation: nxtgpt-dot 1.2s infinite;
}
.nxtgpt-typing span:nth-child(2) { animation-delay: 0.2s; }
.nxtgpt-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes nxtgpt-dot {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}
.nxtgpt-service-card {
  background: rgba(0,0,0,0.08);
  border-left: 3px solid #080808;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin-bottom: 8px;
  clear: both;
}
.nxtgpt-service-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #080808;
  margin-bottom: 4px;
}
.nxtgpt-service-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(0,0,0,0.6);
  line-height: 1.5;
  margin-bottom: 8px;
}
.nxtgpt-service-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  color: #080808;
  text-decoration: none;
  display: inline-block;
}
.nxtgpt-service-link:hover { text-decoration: underline; }
.nxtgpt-footer-note {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}
@media (max-width: 600px) {
  .nxtgpt-bar { padding: 24px 20px; }
  .nxtgpt-top-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nxtgpt-input-row { flex-direction: column; }
  .nxtgpt-submit-btn { width: 100%; }
}

/* OLD nxtGPT widget placeholder (kept for compat) */
.nxtgpt-widget {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(232,255,71,0.08), 0 32px 64px rgba(0,0,0,0.4);
}
[data-theme="light"] .nxtgpt-widget {
  box-shadow: 0 8px 48px rgba(0,0,0,0.10);
}

/* Topbar */
.nxtgpt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.nxtgpt-topbar-left { display: flex; align-items: center; gap: 8px; }
.nxtgpt-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.nxtgpt-logo-accent { color: var(--accent); }
[data-theme="light"] .nxtgpt-logo-accent { color: #b8cc1a; }
.nxtgpt-divider { color: var(--border); font-size: 14px; }
.nxtgpt-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-ring 2s infinite;
}
[data-theme="light"] .nxtgpt-status-dot { background: #1a1a1a; }
.nxtgpt-online {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--accent);
}
[data-theme="light"] .nxtgpt-online { color: #1a1a1a; }
.nxtgpt-badge {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
}

/* Messages area */
.nxtgpt-messages {
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.nxtgpt-messages::-webkit-scrollbar { width: 4px; }
.nxtgpt-messages::-webkit-scrollbar-track { background: transparent; }
.nxtgpt-messages::-webkit-scrollbar-thumb { background: rgba(232,255,71,0.4); border-radius: 2px; }
[data-theme="light"] .nxtgpt-messages::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); }

/* Bot message */
@keyframes nxtgpt-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nxtgpt-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: nxtgpt-msg-in 0.25s ease;
  max-width: 85%;
}
.nxtgpt-msg.nxtgpt-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 75%;
}
.nxtgpt-avatar {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8ff47, #c8df27);
  color: #080808;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.nxtgpt-bubble {
  padding: 12px 16px;
  border-radius: 4px 16px 16px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--border);
  max-width: 100%;
}
.nxtgpt-bubble em { font-style: italic; opacity: 0.8; }
.nxtgpt-bubble a { color: var(--accent); text-decoration: underline; }
.nxtgpt-msg-user .nxtgpt-bubble {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: 16px 4px 16px 16px;
  font-family: var(--font-head);
  font-weight: 500;
}

/* Result card inside nxtGPT */
.nxtgpt-result-card {
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin-top: 6px;
  max-width: 360px;
  animation: nxtgpt-msg-in 0.25s ease;
}
.nxtgpt-result-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.nxtgpt-result-num { font-family: var(--font-head); font-weight: 800; font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }
.nxtgpt-result-name { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--text); }
.nxtgpt-result-desc { font-size: 13px; color: var(--muted); margin: 4px 0; line-height: 1.5; }
.nxtgpt-result-cta { display: block; margin-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--accent); transition: opacity 0.2s; }
.nxtgpt-result-cta:hover { text-decoration: underline; opacity: 0.8; }

/* Typing dots */
.nxtgpt-typing-dots { display: flex; gap: 5px; align-items: center; padding: 2px 0; }
.nxtgpt-typing-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot-bounce 1.2s ease-in-out infinite;
}
.nxtgpt-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.nxtgpt-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

/* Questions grid */
.nxtgpt-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 24px 20px;
}
.nxtgpt-question-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  text-align: left;
  transition: all 200ms cubic-bezier(0.16,1,0.32,1);
}
.nxtgpt-question-card:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--bg-2);
  transform: translateY(-2px);
}

/* Input */
.nxtgpt-input-area {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  background: var(--bg-2);
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.nxtgpt-input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
  min-height: 46px;
  max-height: 100px;
  overflow-y: auto;
  line-height: 1.5;
}
.nxtgpt-input:focus { border-color: var(--accent); }
.nxtgpt-input::placeholder { color: var(--muted); opacity: 0.6; }
.nxtgpt-send-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, filter 0.2s, opacity 0.2s;
}
.nxtgpt-send-btn:hover:not(:disabled) { transform: scale(1.05); }
.nxtgpt-send-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.nxtgpt-send-btn svg { width: 16px; height: 16px; }

.nxtgpt-disclaimer {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  opacity: 0.7;
}

/* Mobile */
@media (max-width: 768px) {
  .nxtgpt-widget { margin: 0; width: 100%; }
  .nxtgpt-topbar { padding: 12px 16px; }
  .nxtgpt-urlbar { display: none; }
  .nxtgpt-input { font-size: 16px !important; padding: 12px 14px; width: 100%; box-sizing: border-box; }
  .nxtgpt-send-btn { flex-shrink: 0; width: 44px; height: 44px; }
}

/* ─── LANGUAGE SELECTOR ─────────────────────────────────────────── */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 4px 2px;
  transition: color 200ms;
  line-height: 1;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--accent); }
[data-theme="light"] .lang-btn.active { color: #b8cc1a; }
.lang-divider {
  color: var(--border);
  font-size: 11px;
  user-select: none;
}


/* --- ICON SYSTEM --------------------------------------------------------- */
.icon-wrapper { display: inline-flex; align-items: center; justify-content: center; }
.card-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; stroke: var(--accent); }
.service-card:hover .card-icon,
.value-card:hover .card-icon {
  border-color: var(--accent);
  background: rgba(232,255,71,0.06);
}
[data-theme='light'] .service-card:hover .card-icon,
[data-theme='light'] .value-card:hover .card-icon {
  background: rgba(184,204,26,0.08);
}
.step-icon svg { width: 24px; height: 24px; stroke: var(--accent); }
.contact-icon svg { width: 20px; height: 20px; stroke: var(--accent); }
.icon-check svg { width: 18px; height: 18px; stroke: var(--accent); }
.icon-cross svg { width: 18px; height: 18px; stroke: rgba(255,80,80,0.7); }
.footer-icon svg { width: 16px; height: 16px; stroke: var(--muted); transition: stroke 0.2s; }
.footer-icon:hover svg { stroke: var(--accent); }

/* ─── nxtGPT BROWSER CHROME ─────────────────────────────────────── */
.nxtgpt-traffic-lights { display: flex; gap: 6px; align-items: center; }
.nxtgpt-tl { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.nxtgpt-tl.tl-red   { background: #ff5f57; }
.nxtgpt-tl.tl-yellow{ background: #febc2e; }
.nxtgpt-tl.tl-green { background: #28c840; }
.nxtgpt-urlbar {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-body);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 12px;
}
[data-theme="light"] .nxtgpt-urlbar { background: rgba(0,0,0,0.04); }
.nxtgpt-tab-badge {
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  border-radius: 6px;
  padding: 5px 12px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

/* Override topbar layout for browser-tab mode */
.nxtgpt-widget .nxtgpt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nxtgpt-widget .nxtgpt-topbar-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

/* ─── SERVICE PAGE COMPONENTS ────────────────────────────────────── */
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  align-items: center;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--text); }

/* 3-col problem grid */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .cards-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid-3 { grid-template-columns: 1fr; } }

.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.problem-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}
.problem-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Deliverables */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .deliverables-grid { grid-template-columns: 1fr; } }

.deliverable-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.deliverable-item:hover { border-color: var(--accent); }
.deliverable-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  margin-top: 3px;
}
.deliverable-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}
.deliverable-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* For who */
.for-who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
@media (max-width: 768px) { .for-who-grid { grid-template-columns: 1fr; gap: 32px; } }

.for-who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.for-who-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

/* Service process steps (4-col card grid, overrides home process-step) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .process-steps { grid-template-columns: 1fr; } }

.process-steps .process-step {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-bottom: none;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
  gap: 0;
  grid-template-columns: unset;
}
.process-steps .process-step:hover { border-color: var(--accent); transform: translateY(-4px); }
.process-step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-top: 10px;
  margin-bottom: 6px;
}
.process-step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}
.process-steps .process-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Service page FAQ (.faq-q / .faq-a) */
.faq-item .faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(15px, 2vw, 18px);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-item .faq-q:hover { color: var(--accent); }
.faq-item .faq-q::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s;
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--accent); }
.faq-item .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-item .faq-a p {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
}

/* Contact page form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 200ms;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus { border-color: var(--accent); }
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder { color: var(--muted); opacity: 0.6; }
.contact-form .form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-block { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info-block:last-of-type { border-bottom: none; }
.contact-info-icon { width: 40px; height: 40px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.contact-info-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 6px; }
.contact-info-text { font-size: 14px; color: var(--muted); line-height: 1.6; }
.contact-direct { }
.contact-direct-label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.contact-direct-email { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--accent); transition: opacity 0.2s; }
.contact-direct-email:hover { opacity: 0.8; }
.contact-promise-inner { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.contact-promise-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 16px; }
.contact-promise-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-promise-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }

/* ─── QUOTE WORD ANIMATION ───────────────────────────────────────── */
.quote-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.quote-word.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Light mode quote: dark bg with grid and radial glow */
[data-theme="light"] #quote {
  background-color: #111;
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(232,255,71,0.14) 0%, transparent 70%),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}
[data-theme="light"] #quote blockquote { color: #f0f0eb; text-shadow: none; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE TYPOGRAPHY & LAYOUT — global overrides
   Applied on top of existing breakpoints for text-size compliance:
   h1 max 40px · h2 max 28px · h3 max 22px · body min 14px
═══════════════════════════════════════════════════════════════════ */

/* ── Tablet (≤768px) ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Section headings */
  h2.section-title {
    font-size: clamp(22px, 6.5vw, 28px) !important;
    letter-spacing: -0.015em;
  }
  h3 { font-size: clamp(18px, 5vw, 22px); }
  p.section-sub { font-size: 15px; margin-bottom: 36px; }

  /* Page hero h1 (blog, recursos, servicios, contacto) */
  .page-hero h1 {
    font-size: clamp(28px, 7.5vw, 40px) !important;
    letter-spacing: -0.02em;
  }
  .page-hero { padding: 120px 0 60px; }

  /* Service cards */
  .service-title { font-size: 18px !important; }
  .service-desc  { font-size: 14px; }
  .services-grid { gap: 16px; }

  /* CTA headings */
  .cta-final-h2 { font-size: clamp(22px, 6vw, 28px) !important; }
  #cta-mid h2   { font-size: clamp(22px, 6vw, 28px) !important; }

  /* Contact layout */
  .contact-layout { grid-template-columns: 1fr !important; gap: 40px; }

  /* Ensure min padding on all containers */
  section { padding: 64px 0; }
}

/* ── Mobile (≤480px) ──────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Home hero h1 — override the .h1-line clamp that goes up to 56px */
  h1.hero-title      { font-size: clamp(28px, 9.5vw, 38px) !important; line-height: 1.05; }
  .h1-line           { font-size: clamp(28px, 9.5vw, 38px) !important; line-height: 1.05; }

  /* All page h1 */
  h1, .page-hero h1  { font-size: clamp(24px, 9vw, 36px) !important; line-height: 1.1; }

  /* Section h2 */
  h2, h2.section-title { font-size: clamp(20px, 7vw, 26px) !important; }

  /* h3 */
  h3                 { font-size: clamp(17px, 5.5vw, 20px) !important; }

  /* Body text */
  p, li, .service-desc, .section-sub, .step-desc, .value-card-desc,
  .recurso-desc, .blog-page-card-excerpt { font-size: 14px !important; }

  /* Service cards 1-col, smaller titles */
  .services-grid     { grid-template-columns: 1fr !important; gap: 12px; }
  .service-title     { font-size: 17px !important; }
  .service-card      { padding: 24px !important; }

  /* Contact form */
  .contact-layout    { grid-template-columns: 1fr !important; }
  .contact-form .form-group input,
  .contact-form .form-group select,
  .contact-form .form-group textarea { font-size: 16px; } /* prevent iOS zoom */

  /* Quote */
  #quote blockquote  { font-size: clamp(20px, 7vw, 26px) !important; }
  #cta-mid h2        { font-size: clamp(20px, 7vw, 26px) !important; }
  .cta-final-h2      { font-size: clamp(20px, 7vw, 26px) !important; }

  /* Hero sub and buttons */
  .hero-sub          { font-size: 15px !important; margin-bottom: 32px; }
  .hero-buttons .btn { font-size: 14px; padding: 12px 20px; }

  /* Steps */
  .step-title        { font-size: 18px; }
  .step-num          { font-size: clamp(40px, 12vw, 56px); }

  /* General padding guard */
  .container         { padding: 0 20px !important; }
}

/* ── Very small (≤380px) ──────────────────────────────────────── */
@media (max-width: 380px) {
  h1, .page-hero h1, h1.hero-title, .h1-line { font-size: 26px !important; }
  h2, h2.section-title { font-size: 20px !important; }
  h3 { font-size: 17px !important; }
}
