/* ═══════════════════════════════════════════════
   CALIFICASH — SHARED STYLES
   Fuentes: Montserrat (títulos) + Inter (cuerpo)
═══════════════════════════════════════════════ */

:root {
  --navy:        #1E4976;
  --navy-dark:   #142f4e;
  --navy-deeper: #0d1f33;
  --gold:        #C9A650;
  --gold-light:  #dfc27a;
  --gold-pale:   #f5ead8;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --gray-light:  #F0EEE9;
  --gray:        #D4D0C8;
  --gray-mid:    #9AA3AE;
  --text-dark:   #0F1923;
  --text-body:   #4A5568;
  --text-light:  #8896A5;
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --sh-sm: 0 2px 8px rgba(15,25,35,0.07);
  --sh-md: 0 8px 28px rgba(15,25,35,0.11);
  --sh-lg: 0 20px 56px rgba(15,25,35,0.15);
  --ease:  0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
ul { list-style: none; }
p { line-height: 1.75; color: var(--text-body); }

/* ── TIPOGRAFÍA ── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.18;
  color: var(--text-dark);
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

/* ── LAYOUT ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }

/* ── LABELS Y CHIPS ── */
.label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.04em;
}
.chip-gold  { background: rgba(201,166,80,0.12); border: 1px solid rgba(201,166,80,0.38); color: var(--gold); }
.chip-navy  { background: rgba(30,73,118,0.10);  border: 1px solid rgba(30,73,118,0.25);  color: var(--navy); }
.chip-white { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.32); color: #fff; }

/* ── BOTONES ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: var(--ease); cursor: pointer; border: none;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); box-shadow: 0 4px 18px rgba(201,166,80,0.32); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,166,80,0.42); }
.btn-navy   { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-ghost  { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 0.75rem; }
.btn-lg { padding: 16px 34px; font-size: 0.88rem; }

/* ── CARDS BASE ── */
.card {
  background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--gray); padding: 36px;
  transition: var(--ease);
}
.card:hover { border-color: var(--navy); box-shadow: var(--sh-md); transform: translateY(-3px); }

/* ── CHECK ITEM ── */
.check-item { display: flex; align-items: flex-start; gap: 12px; }
.check-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}
.check-dot::after { content: '✓'; color: #fff; font-size: 0.58rem; font-weight: 700; }
.check-text { font-size: 0.9rem; color: var(--text-body); line-height: 1.6; }

/* ── FADE-IN SCROLL ── */
.fade { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade.in { opacity: 1; transform: translateY(0); }
.fade.d1 { transition-delay: 0.08s; }
.fade.d2 { transition-delay: 0.16s; }
.fade.d3 { transition-delay: 0.24s; }

/* ═══ NAVBAR ═══
   - Siempre sólido (nunca transparente)
   - Visualmente separado del hero con borde inferior
   - Fondo navy-deeper para contraste máximo con el contenido
*/
#navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy-deeper);
  border-bottom: 2px solid rgba(201,166,80,0.25);
  padding: 0;
}
.nav-wrap {
  display: flex; align-items: stretch;
  justify-content: space-between; gap: 0;
  height: 68px;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 0;
  padding: 0 28px 0 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--gold); display: flex;
  align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem; font-weight: 800; color: var(--navy-deeper);
  margin-right: 12px; flex-shrink: 0;
  letter-spacing: -0.02em;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem; font-weight: 800; color: #fff;
  letter-spacing: 0.01em; line-height: 1;
}
.logo-name span { color: var(--gold); }
.logo-tagline {
  font-size: 0.6rem; color: rgba(255,255,255,0.38);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 4px; font-family: 'Inter', sans-serif;
}

/* Links */
.nav-links {
  display: flex; align-items: stretch;
  gap: 0; flex: 1; padding-left: 8px;
}
.nav-links a {
  display: flex; align-items: center;
  padding: 0 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  border-bottom: 2px solid transparent;
  transition: var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(201,166,80,0.06);
}

/* Actions */
.nav-actions {
  display: flex; align-items: center;
  gap: 12px; padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.nav-tel {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
  transition: color var(--ease); white-space: nowrap;
}
.nav-tel:hover { color: var(--gold); }

/* Mobile */
.nav-mobile-btn {
  display: none; background: none; border: none;
  color: rgba(255,255,255,0.7); font-size: 1.4rem;
  padding: 4px 8px; cursor: pointer;
}
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--navy-deeper); z-index: 999;
  padding: 80px 24px 32px;
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--ease);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.07); border: none;
  border-radius: 50%; width: 40px; height: 40px;
  color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ═══ PAGE HERO INTERNO ═══ (para páginas internas, no el index) */
.page-hero {
  background: var(--navy);
  padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1400&q=80') center/cover;
  opacity: 0.06;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .label { color: var(--gold); }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,0.62); max-width: 560px; font-size: 1rem; }

/* ═══ BREADCRUMB ═══ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: rgba(255,255,255,0.38);
  margin-bottom: 20px; font-family: 'Inter', sans-serif;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ═══ FOOTER ═══ */
footer {
  background: var(--navy-deeper);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px; margin-bottom: 52px;
}
.f-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem; font-weight: 800; color: #fff;
  margin-bottom: 14px; display: block;
}
.f-logo-name span { color: var(--gold); }
.f-desc {
  font-size: 0.83rem; color: rgba(255,255,255,0.4);
  line-height: 1.7; margin-bottom: 22px; max-width: 260px;
}
.f-socials { display: flex; gap: 9px; }
.f-social {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 0.82rem;
  transition: var(--ease); text-decoration: none;
}
.f-social:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deeper); }
.f-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.28); margin-bottom: 18px;
}
.f-links { display: flex; flex-direction: column; gap: 11px; }
.f-links a {
  font-size: 0.83rem; color: rgba(255,255,255,0.44);
  transition: color var(--ease);
}
.f-links a:hover { color: var(--gold); }
.f-contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; }
.f-contact-icon { color: var(--gold); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }
.f-contact-lbl  { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.3); display: block; margin-bottom: 2px; font-family: 'Montserrat', sans-serif; }
.f-contact-val  { font-size: 0.82rem; color: rgba(255,255,255,0.44); line-height: 1.4; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 26px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 14px;
}
.f-legal { font-size: 0.72rem; color: rgba(255,255,255,0.25); line-height: 1.55; }
.sbs-box {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 15px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}
.sbs-label { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; font-weight: 800; color: var(--gold); letter-spacing: 0.08em; }
.sbs-text  { font-size: 0.65rem; color: rgba(255,255,255,0.3); letter-spacing: 0.02em; line-height: 1.45; }

/* ═══ WHATSAPP FAB ═══ */
.wa-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; border-radius: 40px;
  padding: 13px 20px; box-shadow: 0 8px 28px rgba(37,211,102,0.42);
  transition: var(--ease); text-decoration: none;
}
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(37,211,102,0.52); }
.wa-pulse {
  position: absolute; top: -4px; right: -4px;
  width: 13px; height: 13px; background: #FF4444;
  border-radius: 50%; border: 2px solid #fff;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.35);opacity:0.65} }
.wa-icon { font-size: 1.25rem; color: #fff; line-height: 1; }
.wa-text { font-size: 0.8rem; font-weight: 600; color: #fff; white-space: nowrap; font-family: 'Inter', sans-serif; }

/* ═══ MODAL ═══ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(8,18,30,0.88); z-index: 2000;
  align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(10px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--r-lg);
  padding: 44px; max-width: 540px; width: 100%;
  max-height: 92vh; overflow-y: auto; position: relative;
  animation: mIn 0.3s cubic-bezier(0.34,1.4,0.64,1);
}
@keyframes mIn { from{opacity:0;transform:scale(0.93) translateY(22px)} to{opacity:1;transform:scale(1) translateY(0)} }
.modal-x {
  position: absolute; top: 18px; right: 18px;
  background: var(--gray-light); border: none; border-radius: 50%;
  width: 34px; height: 34px; font-size: 0.95rem; color: var(--text-body);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.modal-x:hover { background: var(--navy); color: #fff; }
.modal-badge {
  display: inline-block; background: var(--gold-pale); color: var(--navy);
  font-size: 0.65rem; font-weight: 700; padding: 4px 12px;
  border-radius: 20px; letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 14px; font-family: 'Montserrat', sans-serif;
}
.modal h3 { font-family: 'Montserrat', sans-serif; color: var(--navy); font-size: 1.4rem; margin-bottom: 8px; }
.modal-desc { font-size: 0.88rem; color: var(--text-body); margin-bottom: 26px; line-height: 1.65; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-grp { margin-bottom: 16px; }
.f-lbl { display: block; font-size: 0.72rem; font-weight: 600; font-family: 'Montserrat', sans-serif; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase; }
.f-inp, .f-sel, .f-ta {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray); border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text-dark);
  background: #fff; outline: none; transition: border-color var(--ease);
  appearance: none; -webkit-appearance: none;
}
.f-inp:focus, .f-sel:focus, .f-ta:focus { border-color: var(--navy); }
.f-inp::placeholder { color: var(--text-light); }
.f-sel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238896A5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
.f-ta { resize: vertical; min-height: 80px; }
.btn-submit {
  width: 100%; padding: 15px; font-size: 0.82rem; font-weight: 700;
  background: var(--gold); color: var(--navy-dark); border: none;
  border-radius: var(--r-sm); cursor: pointer;
  font-family: 'Montserrat', sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(201,166,80,0.32); transition: var(--ease); margin-top: 6px;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.f-legal { font-size: 0.7rem; color: var(--text-light); text-align: center; margin-top: 12px; line-height: 1.55; }
.success-screen { text-align: center; padding: 28px 0; }
.success-screen .icon { font-size: 2.8rem; margin-bottom: 18px; display: block; }
.success-screen h3 { font-family: 'Montserrat', sans-serif; color: var(--navy); margin-bottom: 12px; }
.success-screen p  { font-size: 0.9rem; color: var(--text-body); line-height: 1.65; margin-bottom: 28px; }

/* ═══ RESPONSIVE ═══ */
@media(max-width:1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-links a { padding: 0 12px; font-size: 0.68rem; }
}
@media(max-width:768px) {
  .nav-links, .nav-tel { display: none; }
  .nav-mobile-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wa-fab .wa-text { display: none; }
  .wa-fab { padding: 14px; border-radius: 50%; }
  .modal { padding: 28px 20px; }
  .f-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media(max-width:480px) {
  .container { padding: 0 16px; }
  .nav-logo { padding-right: 0; border-right: none; }
}
