/* Su Seguro Salvador — estilos base (mobile-first, sin dependencias) */

:root {
  --navy: #1e2a44;
  --navy-dark: #141d31;
  --gold: #c9922e;
  --gold-light: #e8c876;
  --cream: #faf7f1;
  --white: #ffffff;
  --ink: #232a38;
  --muted: #5d6678;
  --whatsapp: #1faa55;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 29, 49, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { line-height: 1.2; color: var(--navy); }

h1 { font-size: 2.4rem; letter-spacing: -0.5px; }
h2 { font-size: 1.7rem; margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { margin-bottom: 14px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.accent { color: var(--gold); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-dark);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.02rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 1.15rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
}

.nav-menu {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  padding: 8px 20px 18px;
}

.nav-menu.open { display: block; }

.nav-menu a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 14px rgba(201, 146, 46, 0.4);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31, 170, 85, 0.35);
}

.btn-small { padding: 8px 18px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}

.hero h1 { color: var(--white); font-size: 2.6rem; }
.hero .eyebrow { color: var(--gold-light); }
.hero-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  margin: 6px 0 12px;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 26px;
  font-size: 1.08rem;
  color: #d7dce6;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.hero-cta .btn { width: 100%; max-width: 320px; }
.hero-note {
  font-size: 0.92rem;
  color: var(--gold-light);
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }

.split { display: grid; gap: 32px; }

.photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
  display: block;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #2a3a5e, var(--navy-dark));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: var(--shadow);
}

.license {
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid #e5e0d5;
  padding-top: 12px;
  margin-top: 18px;
}

/* ---------- Tarjetas de servicios ---------- */
.cards {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.card {
  background: var(--cream);
  border: 1px solid #ece5d6;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card p { margin-bottom: 0; color: var(--muted); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin-top: 24px; }

.checklist li {
  position: relative;
  padding: 14px 0 14px 40px;
  border-bottom: 1px solid #ece5d6;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ---------- Contacto ---------- */
.contact { text-align: center; }
.contact-sub { max-width: 520px; margin: 0 auto 28px; color: var(--muted); }

.contact-cards {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  display: block;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.contact-card:hover { transform: translateY(-2px); }

.contact-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.contact-value { font-size: 1.15rem; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #aeb6c6;
  padding: 40px 0;
  text-align: center;
}

.footer-brand { color: var(--white); font-weight: 700; margin-bottom: 12px; }

.disclaimer {
  font-size: 0.82rem;
  max-width: 640px;
  margin: 0 auto 14px;
  color: #8b94a7;
}

.copyright { font-size: 0.82rem; color: #8b94a7; margin-bottom: 0; }

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  h1 { font-size: 3rem; }
  .hero h1 { font-size: 3.4rem; }
  h2 { font-size: 2rem; }

  .nav-toggle { display: none; }

  .nav-menu {
    display: flex;
    position: static;
    align-items: center;
    gap: 26px;
    padding: 0;
    background: none;
  }

  .nav-menu a { border-bottom: none; padding: 6px 0; }

  .hero { padding: 96px 0 88px; }
  .hero-cta { flex-direction: row; justify-content: center; }
  .hero-cta .btn { width: auto; }

  .split { grid-template-columns: 340px 1fr; align-items: center; }

  .cards { grid-template-columns: repeat(2, 1fr); }

  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}
