/* ============================================
   web.css — Base del sitio público RanchitoCountry
   Se carga en TODAS las páginas web públicas.
   Mobile-first: base = móvil, min-width = más grande.
   NUNCA max-width.
   ============================================ */

/* --- 1. Variables institucionales --- */
:root {
    --color-primary:      #055902;
    --color-primary-dark: #044002;
    --color-accent:       #F2DEA2;
    --color-detail:       #A1BF73;
    --color-bg:           #F2F2F2;
    --color-bg-dark:      #10230f;
    --color-text:         #010D00;
    --color-text-muted:   #5a6b59;
    --color-white:        #ffffff;

    --font-display: 'Plus Jakarta Sans', sans-serif;
    /* --font-body: 'Plus Jakarta Sans', sans-serif; */


    --nav-height:  72px;
    --max-width:   1200px;
    --px:          1.25rem;

    --radius-sm:   0.5rem;
    --radius-md:   1rem;
    --radius-full: 9999px;

    --shadow-soft: 0 20px 40px -15px rgba(5, 89, 2, 0.12);
}

/* --- 2. Reset / Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    /* font-family: var(--font-body); */
    background-color: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 3. Material Symbols --- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    user-select: none;
}

.icon-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- 4. Navegación --- */
.nav-web {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(242, 242, 242, 0.93);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(161, 191, 115, 0.3);
}

.nav-web__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: var(--nav-height);
    padding: 0 var(--px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-web__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.nav-web__logo-icon { font-size: 2rem; }

.nav-web__logo-name {
    font-family: 'Pinyon Script', cursive;
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1;
    text-shadow:
        0.5px 0   0 currentColor,
        0   0.5px 0 currentColor,
        0.5px 0.5px 0 currentColor,
        -0.5px 0  0 currentColor;
}

.nav-web__logo-img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

/* Links desktop — ocultos en móvil */
.nav-web__links {
    display: none;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-web__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    padding-bottom: 3px;
    transition: color 0.2s;
}

.nav-web__links a:hover          { color: var(--color-primary); }
.nav-web__links a.active {
    color: var(--color-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--color-primary);
}

/* CTA desktop — oculto en móvil */
.nav-web__cta {
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    min-height: 44px;
    transition: background-color 0.2s, transform 0.15s;
}

.nav-web__cta:hover {
    background-color: #e6ce8a;
    transform: translateY(-1px);
}

/* Hamburguesa — visible en móvil */
.nav-web__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s;
}

.nav-web__burger:hover {
    background-color: rgba(161, 191, 115, 0.2);
}

/* Menú móvil */
.nav-web__mobile {
    display: none;
    flex-direction: column;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(161, 191, 115, 0.25);
    padding: 0.75rem var(--px) 1.5rem;
}

.nav-web__mobile.is-open { display: flex; }

.nav-web__mobile a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid rgba(161, 191, 115, 0.15);
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.nav-web__mobile a:hover,
.nav-web__mobile a.active { color: var(--color-primary); }

.nav-web__mobile-cta {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    color: var(--color-text);
    font-weight: 700;
    padding: 0.875rem;
    border-radius: var(--radius-full);
    min-height: 44px;
    transition: background-color 0.2s;
}

.nav-web__mobile-cta:hover { background-color: #e6ce8a; }

/* Breakpoints nav */
@media (min-width: 640px)  { :root { --px: 2rem; } }

@media (min-width: 1024px) {
    :root { --px: 2.5rem; }
    .nav-web__links  { display: flex; }
    .nav-web__cta    { display: inline-flex; }
    .nav-web__burger { display: none; }
}

/* --- 5. Footer --- */
.footer-web {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: 4rem var(--px) 2rem;
    margin-top: auto;
}

.footer-web__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-web__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-web__brand-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.footer-web__brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-web__tagline {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.6;
}

.footer-web__col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-web__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-web__col ul li,
.footer-web__col ul a {
    font-size: 0.875rem;
    color: #9ca3af;
    transition: color 0.2s;
}

.footer-web__col ul a:hover { color: var(--color-white); }

.footer-web__schedule li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.footer-web__bottom {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
}

.footer-web__bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-web__bottom-links a:hover { color: var(--color-white); }

.footer-web__powered {
    font-size: 0.7rem;
    color: #4b5563;
    white-space: nowrap;
}

.footer-web__powered a {
    color: #6b7280;
    transition: color 0.2s;
}

.footer-web__powered a:hover { color: var(--color-accent); }

@media (min-width: 640px) {
    .footer-web__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-web__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

    .footer-web__bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* --- 6. Utilidades compartidas --- */
.container-web {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--px);
}

.btn-primary-web {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-display);
    /* font-family: var(--font-body); */
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    min-height: 44px;
    transition: background-color 0.2s, transform 0.15s;
}

.btn-primary-web:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-accent-web {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--color-accent);
    color: var(--color-text);
    font-family: var(--font-display);
    /* font-family: var(--font-body); */
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    min-height: 44px;
    transition: background-color 0.2s, transform 0.15s;
}

.btn-accent-web:hover {
    background-color: #e6ce8a;
    transform: translateY(-1px);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Banner de Privacidad (global, todas las páginas web) ─────────────────── */
.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: var(--color-bg-dark);
    color: #e8ede8;
    padding: 1rem var(--space-4, 1rem);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.privacy-banner.hidden {
    display: none;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.privacy-content p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #d0d8d0;
}

.privacy-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.privacy-content a:hover {
    color: #fff;
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    min-height: 44px;
    min-width: 120px;
    transition: background-color 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-primary-sm:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

@media (min-width: 640px) {
    .privacy-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
