/* ============================================================
   HOFFMAN INSTITUTE — STYLES.CSS (GLOBAL)
   Alojamiento local: D:\Documents\public_html
   Todos los paths son relativos — funciona desde cualquier ubicación
   ============================================================ */

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Jost', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px; font-weight: 300; line-height: 1.7;
  color: #1e2d3d; background: #fdfaf4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; }

/* ── VARIABLES ────────────────────────────────────────────── */
:root {
  --navy:       #1a3a5c;
  --navy-mid:   #2a5080;
  --navy-dark:  #0f2233;
  --gold:       #c98b14;
  --gold-light: #f0aa28;
  --gold-pale:  #fde9b8;
  --cream:      #f9f6ef;
  --warm:       #fdfaf4;
  --text-dark:  #1e2d3d;
  --text-mid:   #4a6278;
  --text-light: #7a95a8;
  --border:     #ddd5c2;
  --border-light: #ede8df;
}

/* ── TIPOGRAFÍA ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Garamond', 'Georgia', 'Times New Roman', serif;
  font-weight: 300; line-height: 1.18; color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: clamp(20px, 3vw, 26px); }
h4 {
  font-family: 'Jost', 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
}
h5 {
  font-family: 'Jost', 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase;
}
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }

/* ── CONTENEDOR ───────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ── SECCIÓN ──────────────────────────────────────────────── */
section { padding: 80px 0; }

/* ── UTILIDADES ───────────────────────────────────────────── */
.section-eyebrow {
  display: block;
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-divider {
  width: 48px; height: 2px;
  background: var(--gold); margin: 18px 0;
}
.section-body {
  font-size: 16px; font-weight: 300;
  color: var(--text-mid); line-height: 1.82;
}
.text-center { text-align: center; }
.text-white  { color: white !important; }
.bg-cream    { background: var(--cream); }
.bg-navy     { background: var(--navy); }
.bg-white    { background: white; }

/* ── BOTONES ──────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 13px 28px;
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 2px; border: 1.5px solid transparent;
  cursor: pointer; transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: linear-gradient(135deg, rgba(201,139,20,0.78) 0%, rgba(240,170,32,0.68) 100%);
  backdrop-filter: blur(10px) saturate(1.6);
  -webkit-backdrop-filter: blur(10px) saturate(1.6);
  color: #fff;
  border-color: rgba(255,196,70,0.52);
  box-shadow: inset 0 1px 0 rgba(255,225,130,0.42), 0 4px 18px rgba(185,120,8,0.28);
  text-shadow: 0 1px 2px rgba(80,40,0,0.28);
}
.btn-gold:hover {
  background: linear-gradient(135deg, rgba(225,158,24,0.88) 0%, rgba(255,188,48,0.80) 100%);
  border-color: rgba(255,210,90,0.68);
  box-shadow: inset 0 1px 0 rgba(255,232,145,0.52), 0 6px 24px rgba(185,120,8,0.38);
}
.btn-navy         { background: var(--navy); color: white; border-color: var(--navy); }
.btn-navy:hover   { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-white        { background: white; color: var(--navy); border-color: white; }
.btn-white:hover  { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline-white       { background: transparent; color: white; border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-outline-navy        { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover  { background: var(--navy); color: white; }
.btn-outline-gold        { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover  { background: var(--gold); color: var(--navy); }

/* ── PAGE HERO GENÉRICO ───────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a5080 60%, #3a7a9a 100%);
  padding: 80px 0 70px; text-align: center;
}
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p {
  color: rgba(255,255,255,0.78); font-size: 17px; font-weight: 300;
  max-width: 600px; margin: 0 auto; line-height: 1.75;
}
.page-hero .section-eyebrow { color: var(--gold); }

/* ── FADE IN ──────────────────────────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── TOP BAR ──────────────────────────────────────────────── */
.top-bar { background: var(--navy); padding: 8px 0; }
.top-bar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.top-bar a {
  color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 300;
  letter-spacing: 0.03em; transition: color 0.2s;
}
.top-bar a:hover { color: var(--gold-light); }
.top-bar .divider { color: rgba(255,255,255,0.22); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em;
  color: rgba(255,255,255,0.45); transition: color 0.2s;
}
.social-links a:hover { color: var(--gold); }
.info-pack-btn {
  background: linear-gradient(135deg, rgba(201,139,20,0.82) 0%, rgba(240,170,32,0.72) 100%) !important;
  backdrop-filter: blur(8px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.5) !important;
  color: #fff !important;
  border: 1px solid rgba(255,196,70,0.50) !important;
  box-shadow: inset 0 1px 0 rgba(255,225,130,0.38), 0 2px 10px rgba(185,120,8,0.22) !important;
  padding: 5px 14px; border-radius: 2px; font-size: 11px !important;
  font-weight: 600 !important; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.2s !important;
}
.info-pack-btn:hover {
  background: linear-gradient(135deg, rgba(225,158,24,0.90) 0%, rgba(255,188,48,0.82) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,232,145,0.50), 0 4px 14px rgba(185,120,8,0.32) !important;
}

/* ── LANG SELECTOR ───────────────────────────────────────────── */
.lang-selector {
  position: relative; display: inline-flex; align-items: center; margin-left: 10px;
}
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 4px; padding: 3px 8px 3px 6px; cursor: pointer;
  color: rgba(255,255,255,0.82); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s; white-space: nowrap; font-family: inherit;
}
.lang-btn:hover { background: rgba(255,255,255,0.20); }
.lang-btn img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.lang-btn .lang-arrow { font-size: 8px; opacity: .65; margin-left: 1px; transition: transform .2s; display: inline-block; }
.lang-selector.open .lang-btn .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 7px); right: 0;
  background: #fff; border: 1px solid #ddd5c2; border-radius: 6px;
  box-shadow: 0 8px 32px rgba(26,58,92,.18); min-width: 195px;
  z-index: 9999; overflow: hidden; max-height: 320px; overflow-y: auto;
}
.lang-selector.open .lang-dropdown { display: block; }
.lang-dropdown-hdr {
  padding: 8px 12px 6px; font-size: 10px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: #c8a96e;
  border-bottom: 1px solid #f0e8d8;
}
.lang-dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 7px 14px;
  font-size: 13px; color: #1a3a5c; text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.lang-dropdown a:hover { background: #f9f6ef; }
.lang-dropdown a.lang-active { background: #f0e8d8; font-weight: 600; }
.lang-dropdown a img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.lang-dropdown a .ld-name { flex: 1; padding-right: 8px; }
.lang-dropdown a .ld-code { font-size: 10px; color: #7a95a8; background: #f0e8d8; border-radius: 3px; padding: 1px 5px; }
.lang-dropdown a.lang-active .ld-code { color: #c8a96e; background: #e8d8b8; }

/* ── MAIN NAV ─────────────────────────────────────────────── */
.main-nav {
  background: white; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow 0.3s;
}
.main-nav.nav-scrolled { box-shadow: 0 2px 18px rgba(0,0,0,0.09); }
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo { display: flex; flex-direction: column; padding: 14px 0; line-height: 1.15; }
.logo-name {
  font-family: 'Cormorant Garamond', 'Garamond', 'Georgia', serif;
  font-size: 21px; font-weight: 600; color: var(--navy); letter-spacing: 0.04em;
}
.logo-sub {
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-light);
}

/* Nav links */
.nav-links { display: flex; align-items: stretch; gap: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; height: 100%;
  padding: 0 12px; font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-dark);
  border-bottom: 2.5px solid transparent; transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li.nav-item:hover > a { color: var(--navy); border-bottom-color: var(--gold); }

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: white; border: 1px solid var(--border);
  border-top: 2.5px solid var(--navy); min-width: 226px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1); z-index: 200;
}
.nav-item:hover > .dropdown { display: block; }
.dropdown li { position: relative; }
.dropdown li > a {
  display: block; padding: 10px 20px; font-size: 13px; font-weight: 400;
  color: var(--text-mid); border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.dropdown li:last-child > a { border-bottom: none; }
.dropdown li > a:hover { background: var(--cream); color: var(--navy); }
.dropdown li > a:hover { color: var(--navy); }

/* Has submenu indicator */
.dropdown li.nav-item > a::after { content: " ›"; opacity: 0.5; }

/* Submenu */
.submenu {
  display: none; position: absolute; left: 100%; top: -2px;
  background: white; border: 1px solid var(--border);
  border-top: 2.5px solid var(--gold); min-width: 280px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1); z-index: 300;
}
.dropdown li.nav-item:hover > .submenu { display: block; }
.submenu li a {
  display: block; padding: 10px 20px; font-size: 13px; font-weight: 400;
  color: var(--text-mid); border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.15s, color 0.15s; white-space: normal;
}
.submenu li:last-child a { border-bottom: none; }
.submenu li a:hover { background: var(--cream); color: var(--navy); }

/* Nav CTA button */
.nav-btn-register {
  background: var(--navy) !important; color: white !important;
  padding: 9px 18px !important; border-radius: 2px; font-size: 11px !important;
  border-bottom: none !important; margin-left: 4px;
  transition: background 0.2s !important;
}
.nav-btn-register:hover { background: var(--navy-mid) !important; }

/* Active link */
.active-link { color: var(--navy) !important; border-bottom-color: var(--gold) !important; }

/* Mobile toggle */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; padding: 4px;
}
.menu-toggle span {
  display: block; width: 100%; height: 2px; background: var(--navy);
  border-radius: 2px; transition: all 0.25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { display: none; background: white; border-top: 1px solid var(--border); padding: 12px 0 24px; }
.mobile-menu.open { display: block; }
.mobile-menu ul { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mobile-menu ul li a {
  display: block; padding: 11px 0; font-size: 14px; font-weight: 400;
  color: var(--text-mid); border-bottom: 1px solid #f0ece4; transition: color 0.2s;
}
.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-menu ul li a:hover { color: var(--navy); }
.mobile-register {
  display: inline-block; margin-top: 14px; background: var(--navy);
  color: white !important; padding: 10px 24px; border-radius: 2px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; border-bottom: none !important;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background: var(--navy-dark); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', 'Garamond', 'Georgia', serif;
  font-size: 19px; font-weight: 500; color: white; margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.42);
  line-height: 1.8; margin-bottom: 18px;
}
.footer-cta-link {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); transition: color 0.2s;
}
.footer-cta-link:hover { color: var(--gold-light); }
.footer-col h5 { color: var(--gold); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.46);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.26); margin-bottom: 0; }
.footer-social { display: flex; gap: 18px; }
.footer-social a {
  font-size: 12px; color: rgba(255,255,255,0.33); transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold); }

/* ── FORM EMBED ───────────────────────────────────────────── */
.form-section { background: var(--cream); }
.form-header { text-align: center; margin-bottom: 44px; }
.form-header h2 { margin-bottom: 12px; }
.form-wrapper {
  max-width: 640px; margin: 0 auto; background: white;
  border: 1px solid var(--border); border-radius: 4px;
  padding: 40px 48px; min-height: 100px;
}
.form-wrapper iframe { width: 100%; border: none; display: block; }

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  background: var(--cream); border-bottom: 1px solid var(--border); padding: 10px 0;
}
.breadcrumb-inner {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--text-light);
}
.breadcrumb-inner a { color: var(--text-light); transition: color 0.2s; }
.breadcrumb-inner a:hover { color: var(--navy); }
.breadcrumb-inner span { color: var(--border); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) { .container { padding: 0 28px; } }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .top-bar-inner { justify-content: center; gap: 6px; }
  .social-links { display: none; }
  .page-hero { padding: 60px 0 50px; }
  .form-wrapper { padding: 28px 20px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .top-bar-left { flex-direction: column; gap: 4px; text-align: center; }
}

/* ── PRINT ────────────────────────────────────────────────── */
@media print {
  .top-bar, .main-nav, .mobile-menu, .footer { display: none; }
  body { background: white; color: black; }
}

/* ── LOGO IMAGEN (SVG) ────────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* El SVG ya lleva sus propios colores */
}
@media (max-width: 768px) {
  .nav-logo-img { height: 40px; }
}
@media (max-width: 400px) {
  .nav-logo-img { height: 34px; }
}

/* ── SHOP IMAGEN (AVIF) ───────────────────────────────────── */
.nav-shop-img-link {
  display: flex;
  align-items: center;
  padding: 0 8px;
  height: 100%;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}
.nav-shop-img-link:hover {
  border-bottom-color: var(--gold);
  opacity: 0.85;
}
.nav-shop-img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 960px) {
  /* En mobile menu el shop va como texto — ocultar imagen */
  .mobile-menu .nav-shop-img { display: none; }
}

/* ── FOOTER LOGO IMAGEN ───────────────────────────────────── */
.footer-logo {
  margin-bottom: 14px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* Invertir a blanco para fondo oscuro del footer */
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
.footer-logo-img:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   ICONOS DE REDES SOCIALES (SVG)
   ═══════════════════════════════════════════════════════════ */

/* [ INICIO ESTILOS-ICONOS-REDES ] */
.social-icon {
  width: 16px;
  height: 16px;
  display: block;
  transition: opacity 0.2s, transform 0.2s;
}

/* Top bar: iconos azul claro */
.top-bar .social-links a {
  display: flex;
  align-items: center;
  padding: 2px;
  color: #5bbce4;          /* azul claro igual al sitio original */
  opacity: 0.85;
}
.top-bar .social-links a:hover {
  color: #2a9fd6;
  opacity: 1;
  transform: translateY(-1px);
}
.top-bar .social-links a .social-icon {
  width: 15px;
  height: 15px;
}

/* Footer: iconos azul medio */
.footer-social a {
  display: inline-flex;
  align-items: center;
  color: #5bbce4;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  color: #2a9fd6;
  opacity: 1;
  transform: translateY(-1px);
}
.footer-social a .social-icon {
  width: 17px;
  height: 17px;
}
/* [ FIN ESTILOS-ICONOS-REDES ] */

/* ═══════════════════════════════════════════════════════════
   SHOP IMAGEN EN NAV
   ═══════════════════════════════════════════════════════════ */

/* [ INICIO ESTILOS-SHOP-NAV ] */
.nav-shop-img-link {
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: 100%;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}
.nav-shop-img-link:hover {
  border-bottom-color: #1a7bbf;
  opacity: 0.82;
}
.nav-shop-img {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* [ FIN ESTILOS-SHOP-NAV ] */

/* ═══════════════════════════════════════════════════════════
   DROPDOWN — HOVER CELESTE (igual al sitio original)
   Item activo/hover: fondo celeste #1a7bbf, texto blanco
   ═══════════════════════════════════════════════════════════ */

/* [ INICIO ESTILOS-DROPDOWN ] */

/* Borde superior del dropdown: azul principal */
.dropdown {
  border-top: 3px solid #1a7bbf !important;
  border-radius: 0 0 3px 3px;
  padding: 4px 0;
}

/* Item normal */
.dropdown li > a {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  padding: 10px 22px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s, color 0.15s;
}
.dropdown li:last-child > a { border-bottom: none; }

/* Hover celeste — igual a la imagen */
.dropdown li > a:hover,
.dropdown li > a:focus {
  background: #1a7bbf !important;
  color: white !important;
}

/* Primer item destacado (activo) */
.dropdown li:first-child > a {
  /* Se puede activar manualmente con clase .dropdown-active */
}
.dropdown li > a.dropdown-active {
  background: #1a7bbf;
  color: white;
}

/* Submenu — mismo estilo hover */
.submenu {
  border-top: 3px solid #5bbce4 !important;
  padding: 4px 0;
}
.submenu li a {
  font-size: 13px;
  color: #333;
  padding: 10px 22px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s, color 0.15s;
}
.submenu li:last-child a { border-bottom: none; }
.submenu li a:hover,
.submenu li a:focus {
  background: #1a7bbf !important;
  color: white !important;
}

/* Indicador de submenu */
.dropdown li.nav-item > a::after {
  content: " ›";
  float: right;
  opacity: 0.5;
}

/* [ FIN ESTILOS-DROPDOWN ] */

/* ═══════════════════════════════════════════════════════════
   SHOP — texto estilizado en nav (igual al sitio original)
   ═══════════════════════════════════════════════════════════ */

/* [ INICIO ESTILOS-SHOP-NAV ] */
.nav-shop-link {
  display: flex !important;
  align-items: center;
  height: 100%;
  padding: 0 12px !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  color: var(--text-dark) !important;
  border-bottom: 2.5px solid transparent !important;
  transition: color 0.2s, border-color 0.2s !important;
  white-space: nowrap;
}
.nav-shop-link:hover {
  color: var(--navy) !important;
  border-bottom-color: #1a7bbf !important;
  transform: none !important;
}
/* [ FIN ESTILOS-SHOP-NAV ] */

/* ═══════════════════════════════════════════════════════════
   ICONOS REDES — BLANCOS en top bar (fondo azul)
   ═══════════════════════════════════════════════════════════ */

/* [ INICIO ESTILOS-ICONOS-BLANCOS ] */
.top-bar .social-links a {
  color: rgba(255, 255, 255, 0.75) !important;   /* blanco semi */
  opacity: 1 !important;
}
.top-bar .social-links a:hover {
  color: white !important;
  opacity: 1 !important;
}
.top-bar .social-links .social-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
/* [ FIN ESTILOS-ICONOS-BLANCOS ] */

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE COMPLETO — tablet (≤960px) y móvil (≤560px)
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet (≤960px) ─────────────────────────────────────── */
@media (max-width: 960px) {

  /* Hero */
  .hero-content h1 { font-size: 38px; }
  .hero-content { padding: 60px 0; max-width: 100%; }
  .hero-content p { font-size: 15px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero p  { font-size: 15px; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  /* Intro / 2 columnas → 1 */
  .intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .intro-img-wrap .img-box { min-height: 320px; }

  /* Programas */
  .programs-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonios */
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Proceso */
  .process-inner { grid-template-columns: 1fr; gap: 40px; }
  .process-img-box { min-height: 280px; }

  /* CTA band */
  .cta-band-inner { flex-direction: column; text-align: center; gap: 20px; }

  /* Centros de retiro */
  .centers-grid { grid-template-columns: 1fr 1fr; }

  /* Formulario */
  .form-grid { grid-template-columns: 1fr; }

  /* Square section (foto cuadrada + texto) */
  .square-section-inner { grid-template-columns: 1fr; }
  .square-img-wrap { min-height: 300px; }

  /* Calendar */
  .cal-grid { grid-template-columns: 1fr; }
}

/* ── Móvil grande (≤768px) ───────────────────────────────── */
@media (max-width: 768px) {

  /* Hero */
  .hero { min-height: 480px; }
  .hero-content h1 { font-size: 32px; line-height: 1.2; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn, .hero-btns a { width: 100%; text-align: center; }

  /* Stats 1 col */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 36px; }

  /* Programas 1 col */
  .programs-grid { grid-template-columns: 1fr; }

  /* Top bar compacto */
  .top-bar-right { gap: 8px; }
  .info-pack-btn { font-size: 10px; padding: 5px 12px; }

  /* Secciones con imagen + texto apilados */
  .two-col { grid-template-columns: 1fr !important; }

  /* Títulos de sección */
  h2 { font-size: 26px; }
  .section-tag { font-size: 10px; }

  /* Tarjetas */
  .card-img { height: 180px; }

  /* Centros */
  .centers-grid { grid-template-columns: 1fr; }

  /* Retreat center cards */
  .center-card { flex-direction: column; }
  .center-card-img { width: 100%; height: 200px; }
}

/* ── Móvil pequeño (≤480px) ──────────────────────────────── */
@media (max-width: 480px) {

  /* Hero */
  .hero-content h1 { font-size: 26px; }
  .hero-content p  { font-size: 14px; }
  .page-hero h1    { font-size: 26px; }

  /* Stats 1 col */
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid #ddd5c2; }
  .stat-item:last-child { border-bottom: none; }

  /* Top bar: solo email */
  .top-bar-left a:not(:last-child) { display: none; }
  .top-bar-left .divider { display: none; }

  /* Testimonios */
  .testimonial-card { padding: 20px; }
  .testimonial-card p { font-size: 16px; }

  /* Proceso steps */
  .step { flex-direction: column; gap: 10px; }
  .step-number { width: 36px; height: 36px; font-size: 16px; }

  /* Acento decorativo (ocultar en mobile) */
  .img-accent { display: none; }

  /* Botones */
  .btn { padding: 13px 24px; font-size: 12px; }
  .btn-outline { padding: 12px 22px; }
}
