/* =======================================
VARIABLES
======================================= */

:root {
    --brown: #3A1205;
    --brown-light: #5C2412;
    --cream: #F8F3EE;
    --beige: #EFE5DC;
    --accent: #D28B4F;
    --accent-light: #E8A26A;
    --text: #222222;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --transition: .3s ease;
}

/* =======================================
RESET
======================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

ul {
    list-style: none;
}

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

/* =======================================
CONTAINER
======================================= */

.container {
    width: min(1320px, 90%);
    margin: auto;
}

.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: auto auto 80px;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    margin: 20px 0;
}

.section-header p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =======================================
TAGS
======================================= */

.section-tag {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #d8d8d8;
    letter-spacing: 2px;
    font-size: .8rem;
    font-weight: 600;
}

/* =======================================
BOTONES
======================================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 999px;
    background: var(--brown);
    color: white;
    transition: var(--transition);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--brown-light);
    transform: translateY(-2px);
}

.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 999px;
    background: white;
    color: var(--brown);
    transition: var(--transition);
    font-weight: 600;
}

.btn-light:hover {
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    transition: .3s;
    font-weight: 600;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

/* =======================================
HEADER
======================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(12, 7, 4, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: background .3s ease, box-shadow .3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: white;
    font-size: 1.15rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    white-space: nowrap;
}

.nav-list a {
    color: rgba(255, 255, 255, .9);
    font-size: .94rem;
    font-weight: 600;
    transition: var(--transition);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.nav-list a:hover {
    color: var(--accent-light);
}

.header .btn-primary {
    flex-shrink: 0;
    padding: 12px 24px;
    background: rgba(58, 18, 5, .78);
    color: white;
    font-weight: 600;
    box-shadow: none;
}

.header .btn-primary:hover {
    background: var(--brown);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

.header.scrolled {
    background: rgba(42, 8, 1, .72);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}

/* =======================================
HERO
======================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-slide:nth-child(1) {
    background-image: url("../images/hero.png");
}

.hero-slide:nth-child(2) {
    background-image: url("../images/hero2.png");
}

.hero-slide:nth-child(3) {
    background-image: url("../images/hero3.png");
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-tag {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .24);
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero h1 {
    margin-top: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.25rem;
    line-height: .96;
    color: white;
}

.hero h1 span {
    display: block;
    color: var(--accent-light);
    font-style: italic;
    font-weight: 500;
}

.hero p {
    margin-top: 26px;
    max-width: 560px;
    color: rgba(255, 255, 255, .9);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 36px;
}

.hero .btn-outline {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .28);
    color: white;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .42);
}

.hero-stats {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 46px;
}

.stat-card {
    position: relative;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 38px;
    min-width: auto;
}

.stat-card:first-child {
    padding-left: 0;
}

.stat-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    width: 1px;
    height: 58px;
    background: rgba(255, 255, 255, .22);
}

.stat-card h3 {
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card p {
    margin: 0;
    max-width: 135px;
    font-size: .88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, .78);
}

/* =======================================
ABOUT
======================================= */

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about-image img {
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    line-height: 1.1;
    margin: 25px 0;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}




/* =======================================
FEATURED PRODUCTS
======================================= */

.featured {
    background: #2A0D06;
    color: white;
    padding: 120px 0 130px;
}

.featured-header {
    display: grid;
    grid-template-columns: .8fr 1.4fr;
    gap: 70px;
    align-items: start;
    margin-bottom: 58px;
}

.featured-tag {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .34);
    color: white;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.featured-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-light);
    margin-right: 8px;
}

.featured-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.1rem;
    line-height: .92;
    font-weight: 700;
    color: white;
    max-width: 760px;
}

.featured-header h2 span {
    color: var(--accent-light);
    font-style: italic;
    font-weight: 500;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.product-card {
    background: transparent !important;
    border-radius: 0;
    overflow: visible;
    box-shadow: none !important;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: none !important;
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1 / .92;
    margin-bottom: 22px;
}

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

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: white;
    color: #2A0D06;
    font-size: .72rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.product-info {
    padding: 0;
    background: transparent !important;
}

.product-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.product-heading h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    line-height: 1.1;
    color: white;
    margin: 0;
}

.product-heading span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-light);
    white-space: nowrap;
}

.product-info p {
    color: rgba(255, 255, 255, .68);
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.product-info a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: .88rem;
    font-weight: 700;
    transition: var(--transition);
}

.product-info a::after {
    content: "→";
    font-size: 1rem;
    transition: transform .3s ease;
}

.product-info a:hover {
    color: var(--accent-light);
}

.product-info a:hover::after {
    transform: translateX(4px);
}

/* =======================================
MENU PREMIUM
======================================= */

.menu {
    background: #F5EDE4;
}

.menu-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-bottom: 50px;
    align-items: start;
}

.menu-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5.5rem;
    line-height: .9;
    margin-top: 20px;
}

.menu-title h2 span {
    font-style: italic;
    color: var(--brown);
    font-weight: 500;
}

.menu-intro {
    padding-top: 60px;
}

.menu-intro p {
    line-height: 2;
    color: var(--text);
    max-width: 350px;
}

.menu-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.tab-btn {
    padding: 14px 25px;
    border: none;
    border-radius: 999px;
    background: white;
    cursor: pointer;
    transition: .3s;
    font-weight: 600;
}

.tab-btn.active {
    background: var(--brown);
    color: white;
}

.menu-description {
    font-style: italic;
    color: var(--brown);
    margin-bottom: 50px;
    font-size: 1.15rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px 50px;
    transition: opacity .3s ease;
}

.menu-item {
    border-bottom: 1px solid #E5D7C8;
    padding-bottom: 20px;
}

.menu-header-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.menu-header-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--brown);
}

.menu-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brown);
}

.menu-item p {
    color: var(--text-light);
    line-height: 1.8;
}



/* =======================================
RESERVAS
======================================= */

.reservation {
    background: #FBF7F1;
}

.reservation-container {
    display: grid;
    grid-template-columns: .9fr 1.35fr;
    gap: 70px;
    align-items: center;
}

.reservation-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 620px;
    box-shadow: 0 24px 60px rgba(58, 18, 5, .12);
}

.reservation-image img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.reservation-note {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.reservation-note span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3D6B6;
    color: var(--brown);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.reservation-note h4 {
    font-size: .95rem;
    color: var(--brown);
    margin-bottom: 4px;
}

.reservation-note p {
    font-size: .82rem;
    color: var(--text-light);
    margin: 0;
}

.reservation-content {
    max-width: 760px;
}

.reservation-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--brown);
    margin-bottom: 18px;
}

.reservation-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.2rem;
    line-height: .92;
    color: #111;
    margin-bottom: 20px;
}

.reservation-content h2 span {
    display: block;
    font-style: italic;
    font-weight: 500;
}

.reservation-text {
    max-width: 690px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 34px;
}

.reservation-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.form-group label {
    margin-bottom: 8px;
    font-size: .88rem;
    font-weight: 700;
    color: #111;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #E7D8C9;
    border-radius: 12px;
    outline: none;
    background: #FFF9F2;
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    color: var(--text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(210, 139, 79, .14);
}

.form-group textarea {
    min-height: 88px;
    resize: none;
}

.form-group small {
    align-self: flex-end;
    margin-top: 6px;
    font-size: .72rem;
    color: var(--text-light);
}

.form-wide {
    grid-column: 1 / -1;
}

.reservation-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 4px;
}

.reservation-actions .btn-primary {
    padding: 15px 28px;
    border: none;
    cursor: pointer;
    background: var(--brown);
    color: white;
    font-weight: 700;
}

.reservation-actions p {
    font-size: .78rem;
    line-height: 1.5;
    color: var(--text-light);
    margin: 0;
}

.full-width {
    width: 100%;
}

/* =======================================
TESTIMONIOS
======================================= */

/* =======================================
TESTIMONIOS
======================================= */

.testimonials {
    background: #F5E8D8;
    padding: 110px 0;
}

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

.testimonials-tag {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--brown);
    margin-bottom: 18px;
}

.testimonials-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.2rem;
    line-height: .9;
    color: #111;
    max-width: 560px;
}

.testimonials-header h2 span {
    display: block;
    font-style: italic;
    font-weight: 500;
    color: var(--brown);
}

.testimonials-rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 999px;
    background: white;
    box-shadow: 0 10px 28px rgba(58, 18, 5, .08);
    white-space: nowrap;
}

.testimonials-rating span {
    color: #E87D2C;
    letter-spacing: 1px;
    font-size: 1rem;
}

.testimonials-rating strong {
    font-size: .92rem;
    color: #111;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: rgba(255, 255, 255, .82);
    padding: 34px;
    border-radius: 10px;
    box-shadow: none;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
}

.quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    line-height: .7;
    color: #E87D2C;
    margin-bottom: 12px;
}

.stars {
    color: #E87D2C;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.testimonial-card p {
    line-height: 1.75;
    color: #111;
    font-size: .96rem;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid rgba(58, 18, 5, .12);
}

.testimonial-author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: #111;
    font-size: .95rem;
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: .78rem;
    color: var(--text-light);
}

/* =======================================
CONTACTO
======================================= */

.contact {
    background: var(--beige);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    margin: 25px 0;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.9;
}

.contact-item {
    margin-top: 25px;
}

.contact-item h4 {
    color: var(--brown);
    margin-bottom: 8px;
}

.contact-map {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 550px;
    border: none;
}

/* =======================================
FOOTER
======================================= */

.footer {
    background: #2A0801;
    color: white;
    padding-top: 100px;
}

.footer-top {
    text-align: center;
    margin-bottom: 70px;
}

.footer-top h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.footer-top p {
    max-width: 600px;
    margin: auto;
    color: #d7d7d7;
    line-height: 1.8;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding-bottom: 60px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--accent-light);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column li {
    color: #d7d7d7;
}

.footer-column p {
    color: #d7d7d7;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 25px 0;
    text-align: center;
    color: #bfbfbf;
}

/* =======================================
ANIMACIONES
======================================= */

.product-card,
.feature-card,
.testimonial-card,
.menu-item {
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.product-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.menu-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.feature-card,
.product-card,
.testimonial-card {
    opacity: 0;
    transform: translateY(40px);
}

.feature-card.show,
.product-card.show,
.testimonial-card.show {
    opacity: 1;
    transform: translateY(0);
}

.menu-item {
    opacity: 1 !important;
    transform: none !important;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--brown);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* =======================================
MENSAJES FORMULARIO
======================================= */

.mensaje-form {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.mensaje-exito {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}