/* ============================================================
   PGS shared components: nav, mobile menu, lang pill, footer
   FUENTE UNICA de estilos de nav/footer para todas las paginas.
   Generado desde index.html el 2026-07-08.
   ============================================================ */

:root {
    --verde-oscuro: #213d2e;
    --verde-jade: #4A635D;
    --camel: #C4956A;
    --lino: #F0E6D0;
    --ivory: #F8F2E8;
    --lino-mid: #EDE0CC;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(45,74,62,0.06);
    --shadow-md: 0 4px 20px rgba(45,74,62,0.08);
    --shadow-lg: 0 12px 40px rgba(45,74,62,0.12);
    --shadow-xl: 0 20px 60px rgba(45,74,62,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius: 12px;
    --radius-xs: 6px;
    --border-light: rgba(45,74,62,0.12);
    --text-primary: #213d2e;
    --text-secondary: #4A635D;
    --text-muted: #7A9E98;
    --text-on-dark: #F8F2E8;
    --text-on-dark-muted: rgba(248,242,232,0.65);
    --accent: #C4956A;
    --accent-hover: #D4A87A;
    --accent-soft: rgba(196,149,106,0.1);
    --accent-border: rgba(196,149,106,0.3);
    --primary: #213d2e;
    --navy: #213d2e;
    --navy-soft: #3A5248;
    --warm-white: #F8F2E8;
    --cream: #F0E6D0;
    --sand: #EDE0CC;
    --green: #4A635D;
    --green-soft: rgba(74,99,93,0.1);
    --red-soft: #FEE2E2;
    --amber: #C4956A;
    --amber-soft: rgba(196,149,106,0.1);
  }



  /* ===== NAVIGATION ===== */
  nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 0.5px solid rgba(248,242,232,0.1);
    transition: all 0.3s ease;
    min-height: 130px;
    padding: 0 48px;
  }


  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 130px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }


  .nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }


  .nav-logo-icon {
    display: none;
  }


  .nav-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: -0.5px;
  }


  .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    flex-shrink: 0;
  }


  .nav-links a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: rgba(248,242,232,0.7);
    letter-spacing: 0.04em;
    font-family: 'Josefin Sans', sans-serif;
    transition: color 0.2s;
    text-align: center;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }


  .nav-links a:hover { color: var(--ivory); }


  .nav-cta {
    background: var(--lino);
    color: var(--verde-oscuro) !important;
    padding: 12px 24px;
    border-radius: var(--radius-xs);
    border: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    font-family: 'Josefin Sans', sans-serif !important;
    transition: all 0.25s ease !important;
    letter-spacing: 0.04em !important;
  }


  .nav-cta:hover {
    background: var(--ivory) !important;
    color: var(--verde-oscuro) !important;
    transform: translateY(-1px);
  }


  .lang-toggle {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: 500;
  }


  .lang-toggle span { cursor: pointer; transition: color 0.2s; }

  .lang-toggle span:hover { color: var(--accent); }

  .lang-toggle { color: rgba(255,255,255,0.4); }

  .lang-toggle .active { color: rgba(255,255,255,0.8); font-weight: 600; }


  /* ===== MOBILE HAMBURGER ===== */
  .mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
  }

  .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ivory);
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }

  .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }

  .mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


  .mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .mobile-nav.open { display: flex; }

  .mobile-nav a {
    font-size: 1.4rem;
    color: var(--ivory);
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.2s;
  }

  .mobile-nav a:hover { color: var(--camel); }

  .mobile-nav .mobile-cta {
    margin-top: 16px;
    background: var(--camel);
    color: var(--verde-oscuro) !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600 !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-size: 1rem !important;
  }


  /* ===== FOOTER ===== */
  footer {
    background: var(--lino-mid);
    border-top: 0.5px solid var(--border-light);
    padding: 60px 40px 30px;
  }

  .footer-columns {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 80px;
  }

  .footer-col-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--verde-oscuro);
    margin-bottom: 16px;
  }

  .footer-col-link {
    display: block;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--verde-jade);
    text-decoration: none;
    margin-bottom: 10px;
    font-family: 'Josefin Sans', sans-serif;
    letter-spacing: 0.07em;
    transition: color 0.3s ease;
  }

  .footer-col-link:hover { color: var(--verde-oscuro); }

  .footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 0.5px solid var(--border-light);
    font-size: 0.75rem;
    color: var(--verde-jade);
    font-weight: 300;
    font-family: 'Josefin Sans', sans-serif;
    text-align: center;
  }
@media (max-width: 768px) {
    .nav-inner { padding: 14px 20px; }

    .nav-links { display: none; }

    .mobile-menu-btn { display: flex; }

    .footer-columns { flex-direction: column; gap: 40px; text-align: center; align-items: center; }

    .nav-cta { display: none; }}


/* ===== END PGS SIMULATOR (V9 SCOPED) ===== */

  /* ===== LANG PILL TOGGLE ===== */
  .lang-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 4px 10px;
    border: 1px solid rgba(248,242,232,0.2);
  }

  .lang-toggle-btn {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(248,242,232,0.5);
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 10px;
    transition: color 0.2s;
  }

  .lang-toggle-btn.active { color: #F8F2E8; }

  .lang-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(248,242,232,0.4);
    flex-shrink: 0;
    transition: background 0.2s;
  }

  .lang-pill[data-active="es"] .lang-pill-dot { background: #C4956A; }

  .nav-links li:last-child { margin-left: 8px; }
