/* Homepage navbar (.nav4) for standalone pages such as /pricing. Extracted from v4.css; keep in sync with it. */
.nav4, .skip-link { --bg:#f5f1e6; --ink:#1c2a24; --muted:#4f6156; --dim:#93a094; --accent:#17624a; --gold:#ab8434; --border:#ded4b8; --border-soft:#e8e0ca; --border-hover:#b9ae8c; --sans:'Inter',-apple-system,sans-serif; font-family:var(--sans); }
.nav4, .nav4 * { box-sizing: border-box; }
.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--accent); color: #fff;
    padding: 8px 16px; border-radius: 0 0 6px 6px;
    font-size: 0.85rem; font-weight: 600; z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.btn4 {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 36px;
    border-radius: 3px;
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}
.btn4.gold {
    background: linear-gradient(135deg, #ab8434, #c7a04e);
    color: #fff;
    box-shadow: 0 8px 24px rgba(171, 132, 52, 0.28);
}
.btn4.gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(171, 132, 52, 0.4); }
.btn4.gold.sm { padding: 11px 22px; font-size: 0.72rem; box-shadow: none; }
.btn4.line { border: 1px solid var(--ink); color: var(--ink); }

.nav4 {
    position: fixed; top: 0; left: 0; right: 0; z-index: 300;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease;
}
.nav4.scrolled {
    background: rgba(245, 241, 230, 0.88);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
}
/* Legibility over the hero photo (owner 2026-10-23: "some words are hard to see"): until the bar turns solid on scroll, a soft
   cream scrim fades down from the top edge behind the links, and the links use the darker ink tone */
.nav4::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: -26px; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(245, 241, 230, 0.94) 0%, rgba(245, 241, 230, 0.82) 55%, rgba(245, 241, 230, 0) 100%);
    transition: opacity 0.35s ease;
}
.nav4.scrolled::before { opacity: 0; }
.nav4:not(.scrolled) .nav4-links a { color: #2f4036; }
.nav4:not(.scrolled) .lang4 { color: #2f4036; border-color: rgba(18, 51, 42, 0.28); }
.nav4-in {
    max-width: 1280px; margin: 0 auto;
    height: 74px; padding: 0 32px;
    display: flex; align-items: center; gap: 40px;
}
.nav4-logo img { width: 140px; height: auto; display: block; }
.foot4 img { width: 128px; height: auto; }
.lang4 {
    appearance: none; -webkit-appearance: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.78rem; font-weight: 600;
    padding: 8px 26px 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 0l4 6 4-6z' fill='%2393a094'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.lang4:hover { border-color: var(--border-hover); color: var(--ink); }
@media (max-width: 1023px) { .nav4-in { gap: 14px; } .lang4 { margin-left: auto; } }
.nav4-links { display: flex; gap: 30px; margin-left: auto; }
.nav4-links a {
    font-size: 0.85rem; font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}
.nav4-links a:hover { color: var(--ink); }

.nav4-links a { position: relative; }
.nav4-burger { display: none; width: 42px; height: 42px; margin-left: 2px; border: 1px solid var(--border); border-radius: 3px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.nav4-burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav4.open .nav4-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav4.open .nav4-burger span:nth-child(2) { opacity: 0; }
.nav4.open .nav4-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1320px) { .nav4-links { gap: 22px; } .nav4-in { gap: 26px; padding: 0 24px; } }
@media (max-width: 1199px) {
    .lang4 { margin-left: auto; }
    .nav4-burger { display: inline-flex; }
    .nav4-links { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 22px 18px; background: rgba(245, 241, 230, 0.98); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); box-shadow: 0 18px 40px rgba(18, 51, 42, 0.12); max-height: calc(100vh - 74px); overflow-y: auto; }
    .nav4.open .nav4-links { display: flex; }
    .nav4.open { background: rgba(245, 241, 230, 0.98); border-bottom-color: var(--border); }
    .nav4-links a { font-size: 1.02rem; padding: 15px 4px; border-bottom: 1px solid var(--border-soft, rgba(18, 51, 42, 0.08)); }
    .nav4-links a:last-child { border-bottom: 0; }
    .nav4-links a::after { display: none; }
    .nav4-links a.on { color: var(--ink); font-weight: 700; }
}
@media (max-width: 520px) { .nav4-in { padding: 0 14px; gap: 8px; } .nav4-logo img { width: 112px; } .nav4 .btn4.sm { padding-left: 14px; padding-right: 14px; } }
/* Log in / Register (2026-10-23, was one "Start free" button): desktop shows a quiet "Log in" link and the gold
   "Register" button; once the burger takes over (<= 1199px) one gold pill carries both, on a single line down to
   520px and as two stacked words on phones, so logo + language + pill + menu still fit a 375px bar */
.nav4-auth { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
/* Spanish labels run long ("Iniciar sesión", "Registrarse"): tighten the desktop bar so it still fits at 1366 */
@media (max-width: 1399px) { html[lang="es"] .nav4-links { gap: 16px; } html[lang="es"] .nav4-in { gap: 18px; } html[lang="es"] .nav4-auth { gap: 12px; } html[lang="es"] .nav4-login { font-size: 0.8rem; } }
.nav4-login { font-size: 0.85rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color 0.2s; }
.nav4-login:hover { color: var(--ink); }
.nav4-auth-one { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }   /* one "Sign In" button at every width (owner 2026-10-23) */
/* the menu button never gets squeezed by the other bar items */
.nav4-burger { flex: 0 0 42px; min-width: 42px; }
.nav4-logo { flex: 0 1 auto; min-width: 0; }
@media (max-width: 520px) {
    .nav4-logo img { width: 100px; }
    .lang4 { font-size: 0.72rem; padding: 8px 20px 8px 9px; background-position: right 7px center; min-width: 0; }
    .nav4 .btn4.sm { font-size: 0.68rem; letter-spacing: 0.08em; padding: 11px 12px; white-space: nowrap; }
}
@media (max-width: 360px) { .nav4-in { padding: 0 10px; gap: 6px; } .nav4-logo img { width: 86px; } .nav4 .btn4.sm { padding: 11px 9px; } }
.nav4-logo { flex: 0 0 auto; }
@media (max-width: 360px) { .lang4 { max-width: 58px; padding-right: 17px; } .nav4 .btn4.sm { font-size: 0.62rem; padding: 11px 8px; letter-spacing: 0.04em; } }

.lang4 option { font-size: 0.95rem; }
