/* ===== My Gator Mortgage — Landing ===== */
:root {
  --gold: #FFB600;
  --gold-dark: #E09E00;
  --gold-soft: #FFF3D0;
  --navy: #245786;
  --navy-dark: #163A5C;
  --navy-soft: #E9F0F7;
  --ink: #16283a;
  --muted: #5b6b7a;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 58, 92, .12);
  --shadow-lg: 0 20px 50px rgba(20, 58, 92, .18);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--navy); line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.07rem; }
.btn-block, .btn-block.btn { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy-dark); box-shadow: 0 8px 20px rgba(247,168,27,.35); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-white { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ===== Icons (SVG) ===== */
.ico {
  width: 22px; height: 22px; flex: 0 0 auto;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ico.ic-fill { fill: currentColor; stroke: none; }
.btn .ico { width: 20px; height: 20px; }
.btn-sm .ico { width: 17px; height: 17px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid #eef2f6;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand-logo { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--navy); }
.nav a:not(.btn):hover { color: var(--gold-dark); }
.nav-cta { color: var(--navy-dark) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(247,168,27,.18), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, var(--navy-soft) 100%);
  padding: 64px 0 72px;
}
.hero-inner { display: flex; justify-content: center; text-align: center; padding: 8px 0; }
.hero-copy { max-width: 780px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-dark); background: var(--gold-soft);
  padding: 6px 14px; border-radius: 50px; margin-bottom: 18px;
}
.eyebrow .ico { width: 15px; height: 15px; }
.eyebrow-center { display: inline-flex; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); font-weight: 900; margin-bottom: 18px; }
.hero h1 .hl { color: var(--gold-dark); }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.lead strong { color: var(--navy); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; justify-content: center; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.hero-trust .ico { width: 18px; height: 18px; color: var(--gold-dark); }

/* Hero card / form */
.quote-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 30px 28px; border-top: 6px solid var(--gold); }
.quote-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.quote-sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.lead-form { display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-weight: 600; font-size: .85rem; color: var(--navy); }
.lead-form input, .lead-form select {
  font-family: inherit; font-size: .98rem; padding: 12px 14px;
  border: 1.5px solid #d9e2ec; border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .15s;
}
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: .74rem; color: var(--muted); text-align: center; }
.form-success { display: flex; align-items: center; gap: 10px; margin-top: 14px; background: #e7f7ec; color: #1c7a3f; padding: 14px; border-radius: var(--radius-sm); font-weight: 600; }
.form-success[hidden] { display: none; }
.form-success .ico { width: 22px; height: 22px; }

/* ===== Stats ===== */
.stats { background: var(--navy); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2.1rem; color: var(--gold); }
.stat-label { font-size: .9rem; opacity: .9; }

/* ===== Nosotros ===== */
#nosotros { padding: 76px 0; }
.about-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.about-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); font-weight: 800; margin: 4px 0 16px; }
.about-copy p { color: var(--muted); font-size: 1.03rem; margin-bottom: 16px; }
.about-copy .btn { margin-top: 8px; }
.about-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-points li {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid #e7edf3; border-radius: var(--radius-sm);
  padding: 16px 16px; font-weight: 600; font-size: .96rem; color: var(--navy);
  box-shadow: 0 4px 14px rgba(20,58,92,.06);
}
.pt-ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px;
  background: var(--navy-soft); color: var(--navy);
  display: grid; place-items: center;
}
.pt-ico .ico { width: 22px; height: 22px; }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; margin: 4px 0 12px; }
.section-sub { color: var(--muted); font-size: 1.08rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid #eef2f6; border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-ico {
  width: 56px; height: 56px; border-radius: 15px; margin-bottom: 16px;
  background: var(--gold-soft); color: var(--gold-dark);
  display: grid; place-items: center;
}
.card-ico .ico { width: 28px; height: 28px; stroke-width: 2.1; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; }

.program {
  background: #fff; border: 1px solid #e7edf3; border-left: 5px solid var(--gold);
  border-radius: var(--radius-sm); padding: 26px 24px; transition: transform .2s, box-shadow .2s;
}
.program:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-left-color: var(--navy); }
.program h3 { display: flex; align-items: center; gap: 11px; font-size: 1.22rem; margin-bottom: 8px; }
.program h3 .ico { width: 26px; height: 26px; color: var(--gold-dark); }
.program:hover h3 .ico { color: var(--navy); }
.program p { color: var(--muted); font-size: .97rem; }

/* ===== Mortgage AI section ===== */
.ai-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.steps { list-style: none; display: grid; gap: 20px; margin: 26px 0 30px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--navy-dark);
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.15rem;
  display: grid; place-items: center;
}
.steps strong { color: var(--navy); font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: .96rem; }
.ai-visual { display: grid; place-items: center; }
.ai-badge {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; border-radius: 24px; padding: 44px 34px; text-align: center;
  box-shadow: var(--shadow-lg); width: 100%; max-width: 340px;
  border: 3px solid var(--gold);
}
.ai-badge-top { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--gold); letter-spacing: .05em; margin-bottom: 14px; }
.ai-badge-top .ico { width: 20px; height: 20px; }
.ai-badge-big { display: block; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.9rem; line-height: 1.2; margin-bottom: 16px; }
.ai-badge-bot { display: block; font-size: .9rem; opacity: .85; }

/* ===== CTA band ===== */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(247,168,27,.25), transparent 60%),
    var(--navy);
  color: #fff; padding: 66px 0; text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { font-size: 1.1rem; opacity: .92; margin-bottom: 26px; }
.cta-band-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: #cfdcea; padding: 54px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 118px; width: auto; background: #fff; padding: 12px 16px; border-radius: 14px; margin-bottom: 14px; }
.footer-tagline { max-width: 320px; font-size: .96rem; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-links a { display: flex; align-items: center; gap: 10px; color: #cfdcea; font-size: .97rem; transition: color .15s; }
.footer-links a:hover { color: var(--gold); }
.footer-links .ico { width: 18px; height: 18px; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.footer-bottom .container { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom p { font-size: .82rem; color: #93a6bb; }
.disclaimer { font-size: .76rem; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5); transition: transform .2s;
  animation: waPulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 34px; height: 34px; color: #fff; }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .ai-inner { grid-template-columns: 1fr; gap: 36px; }
  .ai-copy { text-align: center; }
  .steps li { text-align: left; }
  .about-inner { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid #eef2f6; padding: 10px 0;
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s; pointer-events: none;
  }
  .nav.open { transform: translateY(0); pointer-events: auto; }
  .nav a { width: 100%; padding: 13px 22px; }
  .nav-cta { margin: 8px 22px; width: calc(100% - 44px); }
  .nav-toggle { display: flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .cards, .cards-3 { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .btn-lg { width: 100%; }
  .hero-cta .btn { width: 100%; }
}
