/* ============================================================
   MI ACCESO DIGITAL — Estilos
   Paleta: teal (#0f766e / #14b8a6), dorado (#fbbf24), fondo #f7faf9
   ============================================================ */

:root {
  --teal-900: #0f3d38;
  --teal-700: #0f766e;
  --teal-500: #14b8a6;
  --teal-100: #d1f4ef;
  --teal-50: #e2fbf7;
  --gold: #fbbf24;
  --gold-dark: #d97706;
  --ink: #12231f;
  --muted: #56706a;
  --line: #e3eeea;
  --bg: #ffffff;
  --bg-alt: #f4faf8;
  --dark: #0a1f1c;
  --radius: 20px;
  --shadow: 0 18px 40px -18px rgba(15, 61, 56, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

.container { width: min(1120px, 92%); margin: 0 auto; }
.center { text-align: center; margin-top: 28px; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-teal { background: var(--teal-700); color: #fff; box-shadow: var(--shadow); }
.btn-teal:hover { background: var(--teal-900); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: #fbbf24; filter: brightness(1.03); }
.btn-outline { background: transparent; color: var(--teal-700); border-color: var(--teal-500); }
.btn-outline:hover { background: var(--teal-50); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 14px 30px -14px rgba(37, 211, 102, .6); }
.btn-whatsapp:hover { background: #1eb355; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 17px; color: var(--teal-900); letter-spacing: .5px; }
.brand-text small { font-size: 10px; font-weight: 800; letter-spacing: 4px; color: var(--gold-dark); }

.main-nav { display: flex; gap: 26px; }
.main-nav a { font-weight: 600; color: var(--muted); font-size: 15px; position: relative; padding: 4px 0; }
.main-nav a:hover { color: var(--teal-700); }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.main-nav a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--teal-700); border-radius: 3px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--teal-50), #ffffff 60%);
  padding: 70px 0 60px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: var(--teal-100); color: var(--teal-700); font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 4.5vw, 52px); line-height: 1.1; color: var(--teal-900); margin-bottom: 18px; }
.accent { color: var(--teal-500); }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 54ch; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 34px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 22px; color: var(--teal-700); }
.trust-item span { color: var(--muted); font-size: 14px; }
.hero-visual img { width: 100%; }

.hero-short { padding: 48px 0 40px; text-align: center; }
.hero-short .hero-sub { margin: 0 auto 26px; }

/* ===== Secciones ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--teal-900); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ===== Tarjetas de servicios ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: center; transition: transform .2s, box-shadow .25s; display: flex; flex-direction: column; align-items: center;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img { width: 100%; max-width: 180px; margin: 0 auto 16px; }
.card h3 { color: var(--teal-900); font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; flex: 1; }
.card-link { color: var(--teal-500); font-weight: 700; font-size: 14px; margin-top: 16px; }

/* ===== Video ===== */
.video-wrap { position: relative; width: min(820px, 100%); aspect-ratio: 16/9; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== Pasos resumen ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; transition: transform .2s;
}
.step:hover { transform: translateY(-4px); }
.step-num { display: inline-block; font-weight: 800; color: var(--gold-dark); background: #fdf3df; font-size: 14px; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.step h4 { color: var(--teal-900); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13px; }

/* ===== Asesores ===== */
.advisors { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 36px; }
.advisor {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: 0 8px 20px -14px rgba(0,0,0,.2);
}
.advisor-avatar {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 26px; background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
}
.advisor:nth-child(even) .advisor-avatar { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.advisor h4 { color: var(--teal-900); }
.advisor .role { color: var(--gold-dark); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.advisor .phone { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.advisor .advisor-actions { display: flex; flex-direction: column; gap: 8px; }
.advisor .advisor-actions a { padding: 9px; border-radius: 999px; font-weight: 700; font-size: 13px; }

/* ===== Contacto big ===== */
.contact-big {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700)); color: #fff;
  border-radius: 24px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; box-shadow: var(--shadow);
}
.contact-line h3 { font-size: 26px; margin-bottom: 6px; }
.contact-line p { color: #d1f4ef; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Ubicación ===== */
.location-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }
.location-info h3 { color: var(--teal-900); font-size: 22px; margin-bottom: 8px; }
.location-info p { color: var(--muted); margin-bottom: 10px; }
.location-info .schedule { font-weight: 600; color: var(--teal-700); }
.location-info .note { font-size: 14px; }
.location-info .btn { margin-top: 8px; }

/* ===== Redes ===== */
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; max-width: 760px; margin: 0 auto; }
.social {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--teal-900); transition: transform .15s, box-shadow .2s;
}
.social:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.social .s-ico { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 18px; }
.social span { font-size: 14px; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: #bfd8d2; padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-brand .brand-logo { margin-bottom: 12px; }
.footer-brand strong { color: #fff; }
.footer-brand p { font-size: 14px; margin-bottom: 6px; }
.footer-links h4, .footer-contact h4 { color: #fff; margin-bottom: 12px; }
.footer-links a, .footer-contact a { display: block; color: #bfd8d2; font-size: 14px; margin-bottom: 8px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: 14px; }
.disclaimer { font-size: 12.5px; color: #93a9a3; border-top: 1px solid #24403a; padding-top: 20px; margin-bottom: 12px; line-height: 1.7; }
.copyright { font-size: 13px; color: #93a9a3; }

/* ===== Proceso detallado ===== */
.process-list { display: flex; flex-direction: column; gap: 40px; }
.process-step {
  display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 26px -18px rgba(15,61,56,.25);
}
.process-step:nth-child(even) { direction: rtl; }
.process-step:nth-child(even) .process-body { direction: ltr; }
.process-img img { width: 100%; border-radius: 14px; }
.process-body .step-tag { font-weight: 800; color: var(--gold-dark); background: #fdf3df; font-size: 13px; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px; }
.process-body h3 { color: var(--teal-900); font-size: 24px; margin: 10px 0 12px; }
.process-body p { color: var(--muted); margin-bottom: 14px; }
.process-body ul li { position: relative; padding-left: 24px; color: var(--muted); margin-bottom: 6px; }
.process-body ul li::before { content: "✔"; position: absolute; left: 0; color: var(--teal-500); font-weight: 800; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-step { grid-template-columns: 1fr; direction: ltr !important; }
  .process-img { max-width: 320px; margin: 0 auto; }
  .contact-big { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: var(--teal-900);
    flex-direction: column; gap: 8px; padding: 90px 30px; transition: right .3s ease; box-shadow: -10px 0 30px rgba(0,0,0,.2);
  }
  .main-nav.open { right: 0; }
  .main-nav a { color: #fff; font-size: 18px; }
  .main-nav a::after { background: var(--gold); }
  .cta-mobile { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px; }
}
