/* ============================================================
   CREATIVALIA.ES — Estilos de la Home
   Autónomo: no depende de theme.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --font:           'Inter', -apple-system, sans-serif;

  --navy-900:       #060E1C;
  --navy-800:       #0B1D35;
  --navy-700:       #0F2744;
  --navy-600:       #1B3A6B;
  --navy-500:       #2B5299;
  --navy-100:       #E8EEF8;

  --orange:         #E85910;
  --orange-hover:   #CF4E0E;
  --orange-light:   #FEF0EA;

  --gray-50:        #F5F6F8;
  --gray-100:       #ECEEF2;
  --gray-200:       #D9DCE4;
  --gray-400:       #9AA3B2;
  --gray-600:       #4B5567;
  --gray-800:       #1A2232;
  --gray-900:       #0F1520;

  --white:          #FFFFFF;
  --success:        #1A7A4A;
  --success-bg:     #EAF5EE;
  --error:          #B91C1C;
  --error-bg:       #FEF2F2;

  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      14px;
  --radius-xl:      20px;
  --radius-full:    9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.18);

  --section-py:     96px;
  --container:      1160px;
  --transition:     0.18s ease;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--gray-800); background: var(--white); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-py) 0; }

/* ─── Typography ─────────────────────────────────────────── */
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; }
h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -.8px; }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.3; }
p  { line-height: 1.7; }

.text-orange { color: var(--orange); }
.text-muted  { color: var(--gray-400); }
.label-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--orange); background: var(--orange-light);
  padding: 5px 12px; border-radius: var(--radius-full);
  margin-bottom: 20px;
}

/* ─── Botones ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 15px;
  transition: all var(--transition); white-space: nowrap; cursor: pointer;
  font-family: var(--font);
}
.btn-orange {
  background: var(--orange); color: white; border: 2px solid var(--orange);
}
.btn-orange:hover { background: var(--orange-hover); border-color: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,89,16,.3); }

.btn-ghost-white {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,.35);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }

.btn-navy {
  background: var(--navy-600); color: white; border: 2px solid var(--navy-600);
}
.btn-navy:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline-navy {
  background: transparent; color: var(--navy-600); border: 2px solid var(--navy-600);
}
.btn-outline-navy:hover { background: var(--navy-600); color: white; }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.header-logo {
  font-size: 22px; font-weight: 900; letter-spacing: -0.5px;
  color: var(--navy-600); flex-shrink: 0;
}
.header-logo span { color: var(--orange); }

.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--gray-600);
  transition: all var(--transition);
}
.header-nav a:hover { color: var(--navy-600); background: var(--gray-50); }

.header-right { display: flex; align-items: center; gap: 16px; }
.header-phone {
  font-size: 14px; font-weight: 700; color: var(--gray-800);
  display: flex; align-items: center; gap: 6px;
}
.header-phone svg { color: var(--navy-600); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: all .2s; }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  background: var(--navy-800);
  background-image: radial-gradient(ellipse 80% 80% at 60% 50%, #112346 0%, var(--navy-800) 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center;
  position: relative;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--orange); display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--orange);
}
.hero h1 { color: white; margin-bottom: 24px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-subtitle {
  font-size: 18px; color: rgba(255,255,255,.7); line-height: 1.7;
  max-width: 560px; margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500;
}
.trust-item strong { color: white; font-weight: 700; }
.trust-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--orange);
}

/* Hero visual */
.hero-visual {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 32px; aspect-ratio: 4/3;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.hero-stat {
  background: rgba(255,255,255,.06); border-radius: var(--radius-md);
  padding: 20px 16px; text-align: center;
}
.hero-stat-num { font-size: 32px; font-weight: 900; color: white; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; font-weight: 500; }
.hero-graph {
  background: rgba(255,255,255,.05); border-radius: var(--radius-md);
  padding: 20px; position: relative; overflow: hidden;
}
.hero-graph-label { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.hero-bars {
  display: flex; align-items: flex-end; gap: 8px; height: 64px;
}
.hero-bar {
  flex: 1; border-radius: 3px 3px 0 0;
  background: rgba(255,255,255,.15);
}
.hero-bar.active { background: var(--orange); }

/* ═══════════════════════════════════════════════════════════
   LOGO BAND
═══════════════════════════════════════════════════════════ */
.logo-band {
  padding: 48px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}
.logo-band-title {
  text-align: center; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray-400); margin-bottom: 28px;
}
.logo-track-wrap { overflow: hidden; position: relative; }
.logo-track-wrap::before,
.logo-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1;
}
.logo-track-wrap::before { left: 0; background: linear-gradient(to right, white, transparent); }
.logo-track-wrap::after  { right: 0; background: linear-gradient(to left, white, transparent); }
.logo-track {
  display: flex; gap: 48px; align-items: center;
  animation: scroll-logos 28s linear infinite;
  width: max-content;
}
.logo-track:hover { animation-play-state: paused; }
@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  display: flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px; opacity: .45;
  filter: grayscale(100%); transition: all var(--transition);
  font-size: 15px; font-weight: 800; color: var(--gray-800);
  letter-spacing: -.3px; white-space: nowrap;
}
.logo-item:hover { opacity: .75; filter: none; }
.logo-sub { font-size: 10px; font-weight: 500; color: var(--gray-400); display: block; text-align: center; margin-top: 4px; letter-spacing: .5px; }

/* ═══════════════════════════════════════════════════════════
   SECCIÓN GENÉRICA
═══════════════════════════════════════════════════════════ */
.section-header { max-width: 640px; margin-bottom: 56px; }
.section-header.centered { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { font-size: 17px; color: var(--gray-600); margin-top: 16px; line-height: 1.7; }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy-800); color: white; }

/* ═══════════════════════════════════════════════════════════
   PAIN POINT
═══════════════════════════════════════════════════════════ */
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pain-text h2 { margin-bottom: 24px; }
.pain-text p  { font-size: 17px; color: var(--gray-600); margin-bottom: 16px; }
.pain-text p strong { color: var(--gray-800); }
.pain-text .btn { margin-top: 24px; }
.pain-visual {
  display: flex; flex-direction: column; gap: 16px;
}
.pain-quote {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px;
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-sm);
}
.pain-quote p  { font-size: 15px; color: var(--gray-600); font-style: italic; line-height: 1.6; }
.pain-quote em { font-style: normal; font-weight: 600; color: var(--gray-800); }

/* ═══════════════════════════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════════════════════════ */
.services-intro {
  font-size: 17px; color: var(--gray-600); max-width: 760px; margin-bottom: 48px; line-height: 1.7;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.service-card:hover {
  border-color: var(--navy-600); box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-icon {
  width: 48px; height: 48px; background: var(--navy-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.service-card h3  { margin-bottom: 8px; font-size: 18px; }
.service-price    { font-size: 15px; font-weight: 700; color: var(--navy-600); margin: 10px 0 12px; }
.service-benefit  { font-size: 14px; color: var(--orange); font-weight: 600; margin-bottom: 16px; }
.service-bullets  { list-style: none; margin-bottom: 24px; flex: 1; }
.service-bullets li {
  font-size: 14px; color: var(--gray-600); padding: 5px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.service-bullets li::before { content: '→'; color: var(--navy-600); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.service-link {
  font-size: 14px; font-weight: 700; color: var(--navy-600);
  display: flex; align-items: center; gap: 6px; margin-top: auto;
  padding-top: 20px; border-top: 1px solid var(--gray-100);
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; color: var(--orange); }

/* ═══════════════════════════════════════════════════════════
   AI / GEO BLOCK
═══════════════════════════════════════════════════════════ */
.ai-block {
  background: var(--navy-800);
  background-image: radial-gradient(ellipse 60% 80% at 80% 50%, #1a3a6b 0%, var(--navy-800) 100%);
  color: white; position: relative; overflow: hidden;
}
.ai-block::before {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(232,89,16,.07);
  pointer-events: none;
}
.ai-inner { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: center; }
.ai-text .label-tag { background: rgba(232,89,16,.15); }
.ai-text h2 { color: white; margin-bottom: 20px; }
.ai-text p  { color: rgba(255,255,255,.7); margin-bottom: 16px; font-size: 17px; }
.ai-benefits {
  display: flex; flex-direction: column; gap: 16px; margin: 28px 0 36px;
}
.ai-benefit {
  display: flex; gap: 14px; align-items: flex-start;
}
.ai-benefit-icon {
  width: 36px; height: 36px; background: rgba(232,89,16,.15);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.ai-benefit-text strong { display: block; color: white; font-size: 15px; margin-bottom: 2px; }
.ai-benefit-text span   { color: rgba(255,255,255,.55); font-size: 14px; }
.ai-visual {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl); padding: 28px;
}
.ai-prompt {
  background: rgba(0,0,0,.3); border-radius: var(--radius-md);
  padding: 16px; margin-bottom: 16px;
  font-family: 'Courier New', monospace; font-size: 13px; color: #7ee8a2;
  line-height: 1.6;
}
.ai-prompt .dim { color: rgba(255,255,255,.3); }
.ai-sources { display: flex; flex-direction: column; gap: 10px; }
.ai-source {
  background: rgba(255,255,255,.05); border-radius: var(--radius-sm);
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between;
}
.ai-source-name { font-size: 13px; color: rgba(255,255,255,.8); font-weight: 600; }
.ai-source-bar-wrap { flex: 1; margin: 0 12px; background: rgba(255,255,255,.1); border-radius: 2px; height: 4px; }
.ai-source-bar { height: 100%; background: var(--orange); border-radius: 2px; }
.ai-source-pct { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   CASOS DE ÉXITO
═══════════════════════════════════════════════════════════ */
.cases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.case-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-header {
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
}
.case-logo {
  font-size: 16px; font-weight: 800; color: var(--navy-600);
}
.case-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case-tag {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  background: var(--navy-100); color: var(--navy-600);
  border-radius: var(--radius-full);
}
.case-body { padding: 28px; }
.case-metric {
  font-size: 48px; font-weight: 900; color: var(--navy-600);
  letter-spacing: -2px; line-height: 1; margin-bottom: 4px;
}
.case-metric-label { font-size: 14px; color: var(--orange); font-weight: 700; margin-bottom: 16px; }
.case-desc { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 20px; }
.case-link {
  font-size: 14px; font-weight: 700; color: var(--navy-600);
  display: flex; align-items: center; gap: 6px;
}
.case-link:hover { color: var(--orange); }

/* ═══════════════════════════════════════════════════════════
   METODOLOGÍA
═══════════════════════════════════════════════════════════ */
.method-steps {
  display: flex; flex-direction: column; gap: 0;
  max-width: 840px; margin: 0 auto;
}
.method-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 32px;
  padding: 36px 0; border-bottom: 1px solid var(--gray-100);
  align-items: flex-start;
}
.method-step:last-child { border-bottom: none; }
.method-num {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--navy-800); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; flex-shrink: 0;
}
.method-step:nth-child(1) .method-num { background: var(--navy-800); }
.method-step:nth-child(2) .method-num { background: var(--navy-700); }
.method-step:nth-child(3) .method-num { background: var(--navy-600); }
.method-step:nth-child(4) .method-num { background: var(--orange); }
.method-step:nth-child(5) .method-num { background: var(--success); }
.method-content h3  { margin-bottom: 8px; }
.method-content p   { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   EQUIPO
═══════════════════════════════════════════════════════════ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-avatar {
  aspect-ratio: 1; background: var(--navy-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 900; color: var(--navy-600);
  font-family: var(--font);
}
.team-avatar.c1 { background: #E8EEF8; color: #1B3A6B; }
.team-avatar.c2 { background: #FEF0EA; color: #E85910; }
.team-avatar.c3 { background: #EAF5EE; color: #1A7A4A; }
.team-avatar.c4 { background: #F0F0FF; color: #4040C0; }
.team-info { padding: 20px 16px; }
.team-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--orange); font-weight: 600; margin-bottom: 8px; }
.team-exp  { font-size: 12px; color: var(--gray-400); margin-bottom: 12px; }
.team-quote { font-size: 13px; color: var(--gray-600); font-style: italic; line-height: 1.5; padding: 0 4px; }
.team-linkedin {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--navy-600);
  margin-top: 12px; padding: 6px 14px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-full);
  transition: all var(--transition);
}
.team-linkedin:hover { background: var(--navy-600); color: white; border-color: var(--navy-600); }

/* ═══════════════════════════════════════════════════════════
   POR QUÉ NOSOTROS
═══════════════════════════════════════════════════════════ */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reason-card {
  padding: 32px; background: white;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
}
.reason-num {
  font-size: 11px; font-weight: 800; color: var(--orange);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.reason-card h3 { font-size: 17px; margin-bottom: 12px; }
.reason-card p  { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   PRECIOS
═══════════════════════════════════════════════════════════ */
.pricing-intro { font-size: 17px; color: var(--gray-600); max-width: 720px; margin-bottom: 40px; line-height: 1.7; }
.pricing-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); background: white; margin-bottom: 28px; }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pricing-table th {
  padding: 16px 24px; text-align: left;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  color: var(--gray-400); background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.pricing-table td {
  padding: 16px 24px; border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--gray-50); }
.pricing-table td:first-child { font-weight: 600; color: var(--gray-800); }
.pricing-price { font-weight: 700; color: var(--navy-600); }
.pricing-period { font-size: 13px; color: var(--gray-400); font-weight: 400; }
.pricing-note {
  font-size: 14px; color: var(--gray-600); line-height: 1.7;
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 20px 24px;
  border-left: 4px solid var(--navy-600);
}

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
details summary {
  list-style: none; cursor: pointer;
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
details summary::-webkit-details-marker { display: none; }
.faq-q {
  font-size: 16px; font-weight: 600; color: var(--gray-800);
  line-height: 1.4; user-select: none;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--gray-200); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--gray-600); transition: all var(--transition);
  font-weight: 300;
}
details[open] .faq-icon { background: var(--navy-600); border-color: var(--navy-600); color: white; transform: rotate(45deg); }
details[open] .faq-q { color: var(--navy-600); }
.faq-a {
  padding-bottom: 22px; font-size: 15px; color: var(--gray-600);
  line-height: 1.75; max-width: 700px;
}

/* ═══════════════════════════════════════════════════════════
   CONTACTO
═══════════════════════════════════════════════════════════ */
.contact-section {
  background: var(--navy-800);
  background-image: radial-gradient(ellipse 80% 100% at 30% 80%, #112346 0%, var(--navy-800) 100%);
  color: white;
}
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.contact-text h2 { color: white; margin-bottom: 16px; }
.contact-text p  { color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.7; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
}
.contact-item-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 18px;
}
.contact-item-text strong { display: block; color: white; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-item-text span   { color: rgba(255,255,255,.6); font-size: 14px; }
.contact-item-text a { color: rgba(255,255,255,.8); transition: color var(--transition); }
.contact-item-text a:hover { color: var(--orange); }

/* Formulario */
.contact-form-card {
  background: white; border-radius: var(--radius-xl); padding: 40px;
  box-shadow: var(--shadow-xl);
}
.contact-form-card h3 { font-size: 22px; color: var(--gray-800); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #E85910; margin-bottom: 6px; }
.form-label span { color: #E85910; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  font-family: var(--font); font-size: 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
  color: var(--gray-800); background: white; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(27,58,107,.08);
}
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-honeypot { display: none; }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy-600); }
.form-check label { font-size: 13px; color: var(--gray-600); line-height: 1.5; }
.form-check a { color: var(--navy-600); text-decoration: underline; }
.form-submit { margin-top: 24px; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-success {
  text-align: center; padding: 32px;
  background: var(--success-bg); border-radius: var(--radius-lg);
  border: 1px solid #b7e1c9;
}
.form-success h3 { color: var(--success); margin-bottom: 8px; }
.form-success p  { color: var(--gray-600); font-size: 14px; }
.form-error-msg {
  background: var(--error-bg); color: var(--error);
  padding: 12px 16px; border-radius: var(--radius-md);
  font-size: 14px; margin-bottom: 16px;
  border: 1px solid #f5c6c6;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-900); color: rgba(255,255,255,.5);
  padding: 48px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-logo { font-size: 18px; font-weight: 900; color: rgba(255,255,255,.8); }
.footer-logo span { color: var(--orange); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-copy { font-size: 13px; }
.footer-login {
  font-size: 12px; color: rgba(255,255,255,.2);
  transition: color var(--transition);
}
.footer-login:hover { color: rgba(255,255,255,.45); }

/* ═══════════════════════════════════════════════════════════
   WHATSAPP FLOTANTE
═══════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-float svg { width: 30px; height: 30px; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner      { grid-template-columns: 1fr; }
  .hero-visual     { display: none; }
  .ai-inner        { grid-template-columns: 1fr; }
  .ai-visual       { display: none; }
  .contact-inner   { grid-template-columns: 1fr; }
  .team-grid       { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .header-nav, .header-phone { display: none; }
  .hamburger { display: flex; }
  .pain-grid    { grid-template-columns: 1fr; }
  .pain-visual  { display: none; }
  .services-grid  { grid-template-columns: 1fr; }
  .cases-grid     { grid-template-columns: 1fr; }
  .reasons-grid   { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: repeat(2, 1fr); }
  .form-row       { grid-template-columns: 1fr; }
  .hero-ctas      { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .contact-form-card { padding: 28px 20px; }
  .footer-inner   { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
}
/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: white; flex-direction: column;
  padding: 80px 24px 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 20px; font-weight: 700; color: var(--gray-800);
  padding: 14px 0; border-bottom: 1px solid var(--gray-100);
}
.mobile-nav .close-btn {
  position: absolute; top: 20px; right: 20px;
  font-size: 28px; color: var(--gray-600);
}
