:root {
  --bg:          #f2f5f9;
  --ink:         #1a1a18;
  --ink-muted:   #292927;
  --accent:      #002e98;
  --accent-light:#e3edf8;
  --white:       #ffffff;
  --border:      #ccd5e0;
  --whatsapp:    #25D366;
  --nav-h:       86px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; line-height: 1.1; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  background: #b8cfe0;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-logo-img { height: 70px; width: auto; display: block; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.lang-switcher {
  background: var(--accent) !important; color: var(--white) !important;
  padding: 0.2rem 0.65rem; font-size: 0.85rem !important;
  letter-spacing: 0.1em; transition: background 0.2s !important;
}
.lang-switcher:hover { background: #0d47a1 !important; color: var(--white) !important; }
.lang-switcher-mobile {
  color: var(--accent) !important; font-weight: 700;
  border-top: 1px solid var(--border); padding-top: 0.75rem; margin-top: 0.25rem;
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); }
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem; z-index: 199; flex-direction: column; gap: 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); text-decoration: none;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--ink); }

/* WHATSAPP FLOTANTE */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-float svg { width: 30px; height: 30px; }

/* SECCIONES */
.section { padding: 5rem 4rem; }
.section--white { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label {
  font-size: 1rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.section-title { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--ink); margin-bottom: 1rem; }
.section-divider { width: 40px; height: 2px; background: var(--accent); margin-bottom: 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }

/* BOTONES */
.btn {
  display: inline-block; padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #0d47a1; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); }

/* FOOTER */
footer {
  background: #9ab8d0; color: var(--ink-muted);
  border-top: 1px solid var(--border);
  padding: 2rem 4rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: 1rem; text-align: center;
}
footer .footer-logo { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: var(--accent); }

/* ANIMACIÓN */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-img { height: 36px; }
  .section { padding: 3rem 1.25rem; }
  footer { padding: 1.25rem; }
}
@media (max-width: 480px) {
  .section { padding: 2.5rem 1rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 1rem; }
}