/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy-blue: #1b365d;
    --navy-dark: #12243f;
    --olive-green: #425c4e;
    --olive-hover: #33483d;
    --text-dark: #222222;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --border-color: #e5e5e5;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--navy-blue);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-align: center;
    padding: 8px 15px;
    text-transform: uppercase;
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--navy-blue);
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    display: block;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.55rem;
    letter-spacing: 2px;
    display: block;
    color: var(--text-muted);
    margin-top: 3px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--navy-blue);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.whatsapp-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 500;
}

.cart-icon {
    position: relative;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #d97706;
    color: white;
    font-size: 0.6rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #f2f2f2;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    padding: 40px 60px;
    backdrop-filter: blur(4px);
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    line-height: 1.1;
    color: var(--navy-blue);
    margin: 15px 0 25px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ==========================================================================
   BUTTONS & TAGLINES
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-green {
    background-color: var(--olive-green);
    color: #ffffff;
}

.btn-green:hover {
    background-color: var(--olive-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: #ffffff;
}

.btn-outline-dark {
    background-color: transparent;
    border-color: #ccc;
    color: var(--text-dark);
}

.btn-outline-dark:hover {
    border-color: var(--text-dark);
    background-color: var(--text-dark);
    color: #ffffff;
}

.btn-disabled {
    background-color: #f0f0f0;
    color: #aaa;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.65rem;
}

.section-tagline {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888888;
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--navy-blue);
    margin-top: 5px;
    font-weight: 500;
}

/* ==========================================================================
   STORY / NUESTRA HUELLA
   ========================================================================== */
.story-section {
    background-color: var(--navy-blue);
    color: #ffffff;
    padding: 80px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: center;
}

.placeholder-img {
    background-color: #e8e8e8;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 1px;
    height: 100%;
    width: 100%;
}

.dark-placeholder {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    aspect-ratio: 4/5;
}

.caption-text {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
}

.light-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.story-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.15;
    margin: 10px 0 20px;
    color: #ffffff;
}

.story-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 15px;
    margin-bottom: 25px;
}

.story-text-content p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 15px;
    font-weight: 300;
}

/* ==========================================================================
   TASTING / CÓMO DEGUSTARLO
   ========================================================================== */
.tasting-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.tasting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 50px;
    border: 1px solid var(--border-color);
}

.tasting-card {
    padding: 40px 30px;
    border-right: 1px solid var(--border-color);
}

.tasting-card:last-child {
    border-right: none;
}

.tasting-icon {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--navy-blue);
}

.tasting-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.tasting-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CATALOG
   ========================================================================== */
.catalog-section {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.catalog-notice {
    font-size: 0.7rem;
    color: #888888;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-item {
    background-color: #ffffff;
    display: grid;
    grid-template-columns: 100px 1.5fr 1fr 140px;
    align-items: center;
    padding: 20px;
    border: 1px solid #eeeeee;
    gap: 20px;
}

.product-img-box {
    width: 100px;
    height: 100px;
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--navy-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-tag {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    border: 1px solid #ddd;
    padding: 2px 8px;
    border-radius: 12px;
    color: #888;
    letter-spacing: 0.5px;
}

.product-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.product-tasting {
    font-size: 0.65rem;
    color: #888;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-specs {
    font-size: 0.68rem;
    color: #888888;
    letter-spacing: 1px;
}

.product-purchase {
    text-align: right;
}

.price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 5px;
}

.price small {
    font-size: 0.7rem;
    font-weight: normal;
}

.strike {
    text-decoration: line-through;
    color: #aaa;
}

.dash-separator {
    display: block;
    color: #ccc;
    margin-bottom: 5px;
}

/* ==========================================================================
   LOCATIONS
   ========================================================================== */
.locations-section {
    padding: 80px 0;
    background-color: var(--bg-gray);
    border-top: 1px solid var(--border-color);
}

.locations-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.pills-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.margin-top {
    margin-top: 15px;
}

.pill-btn {
    border: 1px solid #ddd;
    background-color: #ffffff;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.pill-action {
    text-decoration: none;
    border-style: dashed;
    color: var(--text-dark);
}

/* ==========================================================================
   TASTING BOOKING
   ========================================================================== */
.tasting-booking-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.booking-card {
    border: 1px solid var(--border-color);
    padding: 60px 40px;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.booking-title {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    color: var(--navy-blue);
    margin: 10px 0 15px;
}

.booking-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 30px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 40px;
}

.footer-brand-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 2px;
    display: block;
}

.footer-brand-sub {
    font-size: 0.55rem;
    letter-spacing: 3px;
    color: #777;
    display: block;
    margin-bottom: 15px;
}

.footer-brand-desc {
    font-size: 0.75rem;
    color: #888888;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #888888;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    font-size: 0.65rem;
    color: #666666;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    .product-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .product-purchase {
        text-align: center;
    }
    .tasting-grid {
        grid-template-columns: 1fr;
    }
    .tasting-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* ==========================================================================
   BOTÓN HAMBURGUESA & MENÚ MÓVIL
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
}

.header-container {
    position: relative; /* Importante para el posicionamiento desplegable */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Botón Hamburguesa oculto por defecto en escritorio */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    z-index: 1002;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--navy-blue);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Animación a 'X' cuando el menú está abierto */
.mobile-menu-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   RESPONSIVE HEADER (Pantallas <= 992px)
   ========================================================================== */
@media (max-width: 992px) {
    .top-bar {
        font-size: 0.6rem;
        padding: 6px 10px;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .header-right {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }

    .whatsapp-link {
        display: none; /* Ocultamos el texto de WhatsApp en móvil para dar espacio */
    }

    /* Menú desplegable absoluto */
    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s ease-in-out, opacity 0.3s ease, visibility 0.3s;
    }

    /* Clase activa para desplegar menú */
    .main-nav.is-open {
        max-height: 380px;
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 14px 25px;
        font-size: 0.78rem;
        letter-spacing: 1.5px;
        color: var(--navy-blue);
        text-align: left;
    }

    .main-nav a:hover {
        background-color: #f9f9f9;
    }
}

