* {
    box-sizing: border-box;
}

:root {
    --primary: #8B5E3C;      
    --primary-dark: #6E4529; 
    --background: #F5EFE6;   
    --card-bg: #FFF9F2;      
    --text: #3A2F28;         
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--background);
    color: var(--text);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--primary);
    color: white;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 0.08em;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.1em;
}

nav ul li a:hover,
nav ul li a.active {
    padding-bottom: 4px;
    border-bottom: 2px solid #ffffff;
}

.home .hero {
    position: relative;
    height: 70vh;
    min-height: 420px;
    overflow: hidden;
}

.home .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.home .intro {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.55);
    padding: 25px 40px;
    max-width: 700px;
    border-radius: 16px;
    text-align: center;
    color: #ffffff;
}

main, .content {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px 40px;
}

.section-block {
    margin-bottom: 60px;
    padding: 35px 30px;
    background-color: var(--card-bg);
    border-radius: 18px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.section-title {
    text-align: center;
    font-size: 26px;
    color: var(--primary);
    margin: 0 0 10px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #5b4c42;
}

.highlight-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 30px;
    align-items: center;
}

.highlight-row.reverse {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.highlight-row img {
    width: 100%;
    border-radius: 16px;
    height: 260px;
    object-fit: cover;
}

.highlight-row h3 {
    color: var(--primary);
}

.btn-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 999px;
    background-color: var(--primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.btn-link:hover {
    background-color: var(--primary-dark);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 25px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.card h3 {
    color: var(--primary);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
}

/* -------- FORM & LABELS (LO IMPORTANTE PARA LA UNI) -------- */

form {
    max-width: 520px;
    margin: 20px auto 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ESTILO PARA LOS LABELS DEL FORMULARIO */
form label {
    font-weight: bold;
    margin-top: 10px;
    color: var(--primary-dark);
}

form input[type="text"],
form input[type="email"],
form select,
form textarea {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

form input[type="submit"] {
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: var(--primary-dark);
}

footer {
    text-align: center;
    padding: 15px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 14px;
}

@media (max-width: 900px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 12px;
    }

    .highlight-row,
    .highlight-row.reverse {
        grid-template-columns: 1fr;
    }
}

.page-hero {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 3rem;
    border-radius: 0 0 22px 22px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.page-hero img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
}

.page-hero-text {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    background: rgba(38, 21, 8, 0.6);
    padding: 1.4rem 2.2rem;
    border-radius: 16px;
    color: #fff9f0;
    text-align: center;
    max-width: 80%;
}

.page-hero-text h2 {
    margin: 0 0 0.4rem;
    font-size: 1.8rem;
}

.section-intro {
    max-width: 720px;
    margin: 0.2rem auto 1.2rem;
    text-align: center;
    color: #5e4b3d;
}

.card--food img {
    height: 210px;
}

.card--food .card-body p {
    font-size: 0.95rem;
}
