/* Estilos compartidos de las páginas de área (Consumidor, Contratos). Misma paleta y tipografías que index.html */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #B8963E;
  --gold-light: #D4AF6A;
  --gold-pale: #F5EDD6;
  --white: #FAFAF8;
  --off-white: #F2F0EB;
  --ink: #1A1A18;
  --ink-mid: #3D3D3A;
  --ink-light: #7A7A75;
  --rule: #E2DDD4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0 5vw;
  height: 72px;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

/* ── BOTONES ── */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary { border: 1px solid var(--gold); color: var(--gold); }
.btn-secondary:hover { background: var(--gold-pale); }

.actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── SECCIONES ── */
section { padding: 80px 5vw; }
section.alt { background: var(--off-white); }

.hero { padding: 96px 5vw 80px; }
.hero-inner { max-width: 760px; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  max-width: 760px;
}

.lead {
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

.text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.85;
  max-width: 720px;
  margin-bottom: 1rem;
}

.list {
  max-width: 720px;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.75;
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.list strong { font-weight: 500; color: var(--ink); }

.quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin-top: 2.5rem;
  max-width: 640px;
}

/* ── TARJETAS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 2.5rem;
}

.card { background: var(--white); padding: 2.25rem; }

.card::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.card h3, .step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.card p, .step p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.75;
}

/* ── PASOS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ── PREGUNTAS FRECUENTES ── */
.faq { max-width: 760px; margin-top: 2rem; border-top: 1px solid var(--rule); }
.faq-item { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }

.faq-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.faq-item p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
}

/* ── CONTACTO ── */
.contact { background: var(--ink); color: var(--white); }
.contact h2 { color: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6vw;
  margin-top: 2.5rem;
  align-items: start;
}

.contact-info p {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}

.contact-detail::before { content: ''; width: 8px; height: 8px; background: var(--gold); flex-shrink: 0; }
.contact-detail a { color: inherit; text-decoration: none; }
.contact-detail a:hover { color: var(--gold-light); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }

.form-field label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.form-field input, .form-field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-field input:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: none; }

.btn-submit {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.btn-submit:hover { background: var(--gold-light); }

.form-legal { font-size: 0.78rem; font-weight: 300; color: rgba(255,255,255,0.5); }
.form-legal a { color: inherit; }

/* ── FOOTER ── */
footer {
  padding: 2rem 5vw;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.78rem;
  color: var(--ink-light);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.footer-link { color: var(--ink-light); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--gold); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

@media (max-width: 768px) {
  .nav-links li:not(.keep) { display: none; }
  section { padding: 64px 5vw; }
  .hero { padding: 64px 5vw; }
  .contact-grid, .form-row { grid-template-columns: 1fr; }
}
