/* Citroën TDF — landing "Planes de Ahorro". Fuentes propias de Citroën en assets/fonts/ */
@font-face { font-family: 'Citroen'; src: url('../fonts/Citroen-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Citroen'; src: url('../fonts/Citroen-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Citroen'; src: url('../fonts/Citroen-Black.otf') format('opentype'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Citroen'; src: url('../fonts/Citroen-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'CitroenItalic'; src: url('../fonts/CitroenItalic-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }

:root {
  --rojo: #c8102e;
  --rojo-osc: #a50d25;
  --gris-oscuro: #2b2b2b;
  --gris-medio: #3d3d3d;
  --gris-claro: #f0f0f0;
  --gris-suave: #e8e8e8;
  --blanco: #ffffff;
  --texto: #1a1a1a;
  --texto-suave: #666;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Citroen', sans-serif; background: var(--gris-claro); color: var(--texto); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--rojo);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.nav-logo-main { font-family: 'Citroen', sans-serif; font-weight: 900; font-size: 1.4rem; letter-spacing: 0.12em; color: var(--gris-oscuro); }
.nav-logo-sub { font-weight: 300; font-size: 0.52rem; letter-spacing: 0.45em; color: var(--rojo); text-transform: uppercase; margin-top: 2px; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-tel { font-weight: 400; font-size: 0.88rem; color: var(--gris-oscuro); letter-spacing: 0.05em; }
.nav-tel span { color: var(--rojo); font-weight: 700; }
.nav-wa {
  background: var(--rojo); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em;
  padding: 10px 22px; display: flex; align-items: center; gap: 8px;
  transition: background 0.2s;
}
.nav-wa:hover { background: var(--rojo-osc); }
.nav-wa svg { width:16px; height:16px; }

/* ── HERO ── */
.hero {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  background: var(--gris-oscuro);
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: linear-gradient(135deg, #1e1e1e 0%, #2b2b2b 50%, #353535 100%);
}
.hero-diagonal {
  position: absolute; top:0; right: 38%; bottom:0;
  width: 120px;
  background: linear-gradient(to right, transparent, rgba(200,16,46,0.08));
  transform: skewX(-3deg);
}
.hero-left {
  position: relative; z-index:2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px 80px 72px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 300; font-size: 0.72rem; letter-spacing: 0.5em;
  color: var(--rojo); text-transform: uppercase; margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards;
}
.hero-eyebrow::before { content:''; width:32px; height:2px; background:var(--rojo); }
.hero-title {
  font-weight: 900; font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  line-height: 0.95; letter-spacing: 0.02em; color: #fff;
  margin-bottom: 12px;
  opacity: 0; animation: fadeUp 0.7s ease 0.25s forwards;
}
.hero-title-accent {
  font-family: 'CitroenItalic', 'Citroen', sans-serif;
  font-weight: 400; color: var(--rojo);
  font-size: 0.85em; display: block;
}
.hero-subtitle {
  font-weight: 300; font-size: 1rem; color: #aaa; line-height: 1.8;
  max-width: 440px; margin: 28px 0 44px;
  opacity: 0; animation: fadeUp 0.7s ease 0.4s forwards;
}
.hero-subtitle strong { color: #fff; font-weight: 700; }
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s ease 0.55s forwards;
}
.btn-red {
  background: var(--rojo); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 16px 36px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.2s, transform 0.2s;
}
.btn-red:hover { background: var(--rojo-osc); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3); color: #fff; text-decoration: none;
  font-weight: 400; font-size: 0.8rem; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 16px 32px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  opacity: 0; animation: fadeUp 0.7s ease 0.7s forwards;
}
.hero-stat-num {
  font-weight: 900; font-size: 2rem; color: var(--rojo); line-height: 1;
}
.hero-stat-label {
  font-weight: 300; font-size: 0.7rem; letter-spacing: 0.2em; color: #888;
  text-transform: uppercase; margin-top: 4px;
}

.hero-right {
  position: relative; z-index:2;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 40px;
  opacity: 0; animation: fadeIn 1s ease 0.3s forwards;
}
.hero-car-img {
  width: 100%; max-width: 580px;
  filter: drop-shadow(0 24px 48px rgba(200,16,46,0.25));
  transition: filter 0.3s;
}
.hero-car-img:hover { filter: drop-shadow(0 32px 60px rgba(200,16,46,0.4)); }

.hero-badge-strip {
  position: absolute; bottom: 0; left:0; right:0;
  background: var(--rojo);
  display: flex; justify-content: center; align-items: center; gap: 48px;
  padding: 18px 48px; z-index:3;
}
.badge-item {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.2em;
  color: #fff; text-transform: uppercase;
}
.badge-item svg { width:18px; height:18px; opacity:0.9; }
.badge-sep { width: 1px; height: 24px; background: rgba(255,255,255,0.3); }

/* ── COMO FUNCIONA ── */
.section { padding: 96px 72px; }
.section-white { background: #fff; }
.section-grey { background: var(--gris-claro); }
.section-dark { background: var(--gris-oscuro); }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.65rem; letter-spacing: 0.5em;
  color: var(--rojo); text-transform: uppercase; margin-bottom: 16px;
}
.tag::before { content:''; width:24px; height:2px; background:var(--rojo); }

.section-heading {
  font-weight: 900; font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05; letter-spacing: 0.02em; margin-bottom: 56px;
}
.section-heading em {
  font-family: 'CitroenItalic', sans-serif; font-weight: 400;
  font-style: normal; color: var(--rojo);
}
.section-dark .section-heading { color: #fff; }
.section-dark .tag { color: #aaa; }
.section-dark .tag::before { background: #aaa; }

.steps-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid #e0e0e0;
}
.step {
  padding: 40px 32px; border-right: 1px solid #e0e0e0;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.step:last-child { border-right: none; }
.step::after {
  content:''; position: absolute; bottom:0; left:0; right:0; height:3px;
  background: var(--rojo); transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s;
}
.step:hover { background: #f9f9f9; }
.step:hover::after { transform: scaleX(1); }
.step-num {
  font-weight: 900; font-size: 4.5rem; color: rgba(200,16,46,0.1);
  line-height: 1; margin-bottom: 20px; transition: color 0.3s;
}
.step:hover .step-num { color: rgba(200,16,46,0.2); }
.step-icon { width:36px; height:36px; color: var(--rojo); margin-bottom: 16px; }
.step-title { font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; margin-bottom: 12px; }
.step-desc { font-weight: 300; font-size: 0.82rem; color: var(--texto-suave); line-height: 1.75; }

/* ── PLANES ── */
.planes-intro {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; flex-wrap: wrap; gap: 24px;
}
.planes-nota {
  font-weight: 300; font-size: 0.75rem; color: #999;
  max-width: 260px; line-height: 1.6; text-align: right;
}

.planes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.plan-card {
  background: #fff; border: 1px solid #e8e8e8;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.plan-card.featured { border: 2px solid var(--rojo); }
.plan-featured-tag {
  background: var(--rojo); color: #fff;
  font-weight: 700; font-size: 0.6rem; letter-spacing: 0.25em;
  text-transform: uppercase; padding: 6px 16px;
  text-align: center;
}

.plan-img-wrap {
  height: 220px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #f5f5f5, #ebebeb);
  display: flex; align-items: center; justify-content: center;
}
.plan-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.plan-card:hover .plan-img-wrap img { transform: scale(1.04); }

.plan-body { padding: 28px; flex:1; display:flex; flex-direction:column; }
.plan-brand-tag {
  font-weight: 700; font-size: 0.6rem; letter-spacing: 0.45em;
  color: var(--rojo); text-transform: uppercase; margin-bottom: 8px;
}
.plan-name {
  font-weight: 900; font-size: 1.6rem; letter-spacing: 0.03em;
  line-height: 1; margin-bottom: 24px; color: var(--gris-oscuro);
}
.plan-divider { height:2px; background: var(--gris-suave); margin-bottom: 20px; }
.plan-price-row { display:flex; flex-direction:column; gap:4px; margin-bottom:24px; }
.plan-desde { font-weight: 300; font-size: 0.65rem; letter-spacing: 0.3em; color: #999; text-transform: uppercase; }
.plan-precio {
  font-weight: 900; font-size: 2.2rem; color: var(--texto); line-height: 1;
}
.plan-precio sup { font-size: 0.5em; vertical-align: super; font-weight: 700; }
.plan-mes { font-weight: 300; font-size: 0.72rem; color: #999; letter-spacing: 0.1em; }

.plan-features { list-style:none; flex:1; margin-bottom:28px; }
.plan-features li {
  display:flex; align-items:center; gap:10px;
  font-weight: 300; font-size: 0.8rem; color: #555;
  padding: 8px 0; border-bottom: 1px solid #f0f0f0;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content:''; width:5px; height:5px; border-radius:50%;
  background: var(--rojo); flex-shrink:0;
}

.plan-actions { display:flex; flex-direction:column; gap:8px; }
.plan-btn-primary {
  background: var(--rojo); color:#fff; text-decoration:none;
  font-weight: 700; font-size: 0.75rem; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 15px; text-align: center;
  transition: background 0.2s;
}
.plan-btn-primary:hover { background: var(--rojo-osc); }
.plan-btn-secondary {
  border: 1px solid #e0e0e0; color: var(--gris-oscuro);
  text-decoration: none; font-weight: 400; font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 12px; text-align: center; transition: background 0.2s, border-color 0.2s;
}
.plan-btn-secondary:hover { background: #f5f5f5; border-color: #ccc; }

/* ── BENEFICIOS ── */
.beneficios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  margin-top: 56px;
}
.beneficio {
  padding: 44px 36px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
.beneficio:hover { background: rgba(255,255,255,0.08); }
.beneficio-num {
  font-weight: 900; font-size: 3rem; color: rgba(200,16,46,0.3);
  line-height:1; margin-bottom:16px;
}
.beneficio-title {
  font-weight: 700; font-size: 1.1rem; letter-spacing:0.05em;
  color:#fff; margin-bottom:12px;
}
.beneficio-desc {
  font-weight: 300; font-size: 0.83rem; color: #888; line-height:1.75;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--rojo);
  padding: 72px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.cta-banner-title {
  font-weight: 900; font-size: clamp(2rem, 3.5vw, 3rem);
  color: #fff; letter-spacing: 0.02em; line-height: 1.05;
  margin-bottom: 12px;
}
.cta-banner-sub {
  font-weight: 300; font-size: 1rem; color: rgba(255,255,255,0.8);
}
.cta-banner-actions { display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.btn-white {
  background: #fff; color: var(--rojo); text-decoration: none;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 16px 36px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.2s;
}
.btn-white:hover { background: #f0f0f0; }
.btn-white-outline {
  border: 2px solid rgba(255,255,255,0.6); color: #fff;
  text-decoration: none; font-weight: 400; font-size: 0.8rem;
  letter-spacing: 0.15em; text-transform: uppercase; padding: 16px 32px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ── CONTACTO ── */
.contacto-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.contacto-info-list { display:flex; flex-direction:column; gap:20px; margin-top:36px; }
.contacto-info-item {
  display:flex; align-items:center; gap:16px;
  padding: 20px; background: var(--gris-claro);
  border-left: 3px solid var(--rojo);
}
.contacto-info-item svg { width:22px; height:22px; color: var(--rojo); flex-shrink:0; }
.contacto-info-label { font-weight: 700; font-size: 0.65rem; letter-spacing:0.3em; color:#999; text-transform:uppercase; }
.contacto-info-value { font-weight: 400; font-size: 0.95rem; color: var(--texto); margin-top:2px; }

.form-box { background: var(--gris-oscuro); padding: 48px; }
.form-box-title { font-weight: 900; font-size: 1.5rem; color:#fff; letter-spacing:0.05em; margin-bottom:32px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.fg { margin-bottom:18px; }
.fl { display:block; font-weight:700; font-size:0.62rem; letter-spacing:0.3em; color:#888; text-transform:uppercase; margin-bottom:8px; }
.fi, .fs {
  width:100%; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12); color:#fff;
  font-family:'Citroen',sans-serif; font-size:0.88rem; font-weight:300;
  padding:13px 16px; outline:none;
  transition: border-color 0.2s; -webkit-appearance:none;
}
.fi:focus, .fs:focus { border-color: var(--rojo); }
.fi::placeholder { color:#555; }
.fs option { background: #2b2b2b; }
.form-submit {
  width:100%; margin-top:8px;
  background: var(--rojo); color:#fff; border:none;
  font-family:'Citroen',sans-serif; font-weight:700; font-size:0.8rem;
  letter-spacing:0.2em; text-transform:uppercase;
  padding:18px; cursor:pointer; transition: background 0.2s;
  display:flex; align-items:center; justify-content:center; gap:10px;
}
.form-submit:hover { background: var(--rojo-osc); }
.form-submit:disabled { opacity:0.6; cursor:not-allowed; }
.form-submit svg { width:18px; height:18px; }

/* ── FOOTER ── */
footer {
  background: #1a1a1a; padding: 40px 72px;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:24px;
  border-top: 3px solid var(--rojo);
}
.footer-logo-main { font-weight:900; font-size:1.2rem; letter-spacing:0.15em; color:#fff; }
.footer-logo-sub { font-weight:300; font-size:0.5rem; letter-spacing:0.45em; color:var(--rojo); margin-top:3px; }
.footer-links { display:flex; gap:28px; list-style:none; flex-wrap:wrap; }
.footer-links a { font-weight:300; font-size:0.75rem; color:#666; text-decoration:none; letter-spacing:0.05em; transition:color 0.2s; }
.footer-links a:hover { color:#fff; }
.footer-legal { font-weight:300; font-size:0.68rem; color:#444; line-height:1.6; max-width:280px; }

/* ── WA FLOAT ── */
.wa-float {
  position:fixed; bottom:28px; right:28px; z-index:200;
  width:58px; height:58px; border-radius:50%;
  background:#25d366; display:flex; align-items:center; justify-content:center;
  text-decoration:none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: wa-pulse 2.5s ease infinite;
  transition: transform 0.2s;
}
.wa-float:hover { transform:scale(1.1); }
.wa-float svg { width:28px; height:28px; color:#fff; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes wa-pulse {
  0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.5)}
  50%{box-shadow:0 4px 36px rgba(37,211,102,0.8)}
}
.reveal { opacity:0; transform:translateY(36px); transition:opacity 0.65s ease,transform 0.65s ease; }
.reveal.in { opacity:1; transform:translateY(0); }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s}
.d4{transition-delay:.4s} .d5{transition-delay:.5s} .d6{transition-delay:.6s}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  nav { padding:0 28px; }
  .hero { grid-template-columns:1fr; }
  .hero-right { height:360px; padding:40px; }
  .hero-left { padding:72px 28px 100px; }
  .steps-row { grid-template-columns:repeat(2,1fr); }
  .planes-grid { grid-template-columns:repeat(2,1fr); }
  .beneficios-grid { grid-template-columns:repeat(2,1fr); }
  .contacto-grid { grid-template-columns:1fr; gap:40px; }
  .section { padding:72px 28px; }
  .cta-banner { padding:48px 28px; }
  footer { padding:32px 28px; }
  .form-row { grid-template-columns:1fr; }
}
@media(max-width:640px){
  .steps-row,.planes-grid,.beneficios-grid{grid-template-columns:1fr;}
  .step{border-right:none;border-bottom:1px solid #e0e0e0;}
  .hero-stats{gap:24px;}
  .hero-badge-strip{gap:20px;padding:14px 20px;flex-wrap:wrap;}
  .nav-tel{display:none;}
}
