/* ============================================
   Nuestro Mexico Lounge — Styles
   Clean minimalist · Teal & Slate Grey
   ============================================ */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--slate-800);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: var(--space-md);
}

.section-title--center {
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.0625rem;
    color: var(--slate-500);
    max-width: 520px;
    margin: 0 auto var(--space-lg);
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 0.875rem 2rem;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}

.btn-primary:hover {
    background-color: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--teal-700);
    border-color: var(--teal-700);
}

.btn-outline:hover {
    background-color: var(--teal-700);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--slate-900);
    letter-spacing: 0.01em;
}

.nav-logo-sub {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-600);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--teal-600);
    transition: width var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--slate-700);
    transition: all var(--transition);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--slate-700);
    padding: 4px;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.mobile-menu-links a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--slate-800);
    transition: color var(--transition);
}

.mobile-menu-links a:hover {
    color: var(--teal-600);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 72px;
    background-color: #ffffff;
}

.hero-inner {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-sm);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--slate-200);
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-meta-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.hero-meta-value {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-700);
}

.hero-meta-divider {
    width: 1px;
    height: 32px;
    background-color: var(--slate-200);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/750;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--teal-200);
    border-radius: 2px;
    z-index: -1;
}

.hero-divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
    height: 1px;
    background-color: var(--slate-200);
}

/* --- About --- */
.about {
    padding: var(--space-2xl) var(--space-md);
    background-color: var(--slate-50);
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.85;
    margin-bottom: var(--space-sm);
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-image {
    border-radius: 2px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 500/600;
}

/* --- Products --- */
.products {
    padding: var(--space-2xl) var(--space-md);
    background-color: #ffffff;
}

.products-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.products-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.product-card {
    background-color: var(--slate-50);
    border-radius: 2px;
    overflow: hidden;
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.product-card-image {
    overflow: hidden;
    aspect-ratio: 400/300;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.03);
}

.product-card-content {
    padding: var(--space-md);
}

.product-card-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: var(--space-xs);
}

.product-card-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.75;
}

/* --- Visit --- */
.visit {
    padding: var(--space-2xl) var(--space-md);
    background-color: var(--slate-900);
    color: #ffffff;
}

.visit-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.visit-content {
    max-width: 520px;
}

.visit-content .section-eyebrow {
    color: var(--teal-400);
}

.visit-content .section-title {
    color: #ffffff;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--slate-700);
    border-radius: 2px;
    color: var(--teal-400);
}

.visit-detail-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.visit-detail-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.visit-detail-value {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--slate-200);
    line-height: 1.6;
}

.visit-detail-value a {
    color: var(--teal-400);
    transition: color var(--transition);
}

.visit-detail-value a:hover {
    color: var(--teal-300);
}

.visit-map {
    border-radius: 2px;
    overflow: hidden;
}

.visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/500;
    opacity: 0.85;
}

/* --- Contact --- */
.contact {
    padding: var(--space-2xl) var(--space-md);
    background-color: #ffffff;
}

.contact-inner {
    max-width: 680px;
    margin: 0 auto;
}

.contact-content {
    text-align: center;
}

.contact-content .section-eyebrow {
    text-align: center;
}

.contact-content .section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-800);
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: 2px;
    background-color: var(--slate-50);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--teal-500);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-input::placeholder {
    color: var(--slate-400);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    text-align: center;
    background-color: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: 2px;
}

.form-success.active {
    display: flex;
}

.form-success svg {
    color: var(--teal-600);
}

.form-success p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--slate-700);
}

/* --- Footer --- */
.footer {
    background-color: var(--slate-900);
    color: var(--slate-400);
    padding: var(--space-lg) var(--space-md) var(--space-md);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: var(--space-lg);
    align-items: start;
    padding-bottom: var(--space-lg);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 6px;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--slate-500);
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-400);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 300;
}

.footer-contact a {
    color: var(--teal-400);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--teal-300);
}

.footer-divider {
    height: 1px;
    background-color: var(--slate-800);
    margin-bottom: var(--space-md);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--slate-500);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-inner,
    .visit-inner {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .about-content,
    .visit-content {
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
        padding-bottom: var(--space-md);
    }

    .hero-inner {
        padding: var(--space-md);
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-image-accent {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .hero-meta-divider {
        display: none;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }

    .product-card:hover {
        transform: none;
    }

    .product-card:hover .product-card-image img {
        transform: none;
    }
}
