:root {
    --color-bg: #f9f2ee;
    --color-bg-alt: #ffffff;
    --color-primary: #2b3a37;
    --color-accent: #d1a58a;
    --color-accent-soft: #e9c9b5;
    --color-text: #3b3b3b;
    --color-muted: #888;
    --shadow-soft: 0 12px 35px rgba(0,0,0,0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #fdf8f5 0%, #f7f0eb 40%, #ffffff 100%);
    color: var(--color-text);
}

/* HERO */

.hero {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(233,201,181,0.6), transparent 55%),
                radial-gradient(circle at bottom right, rgba(196,219,204,0.6), transparent 55%);
    z-index: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.88) 20%, rgba(255,255,255,0.35) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2.5rem 3rem;
    background: rgba(255,255,255,0.9);
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
    text-align: left;
}

.hero-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin: 0;
    color: var(--color-primary);
}

.hero-subtitle {
    margin-top: 0.4rem;
    color: var(--color-accent);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-text {
    margin-top: 1rem;
    max-width: 38rem;
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* NAV */

.top-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.86);
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.4rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: 500;
}

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

.nav-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 1.5rem;
}

/* GENERAL SECTIONS */

main {
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.section {
    padding: 3.5rem 0 2.5rem;
}

.section-alt {
    background: rgba(255,255,255,0.6);
    border-radius: var(--radius-lg);
    padding-inline: 1.5rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.9rem;
    margin: 0 0 0.6rem;
    color: var(--color-primary);
}

.section-header p {
    margin: 0;
    color: var(--color-muted);
}

/* CARDS */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow-soft);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    color: var(--color-primary);
}

/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
}

.gallery-item {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

/* VIDEO */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* SOCIAL */

.social-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.5rem;
}

.social-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.6rem 1.4rem 1.4rem;
    box-shadow: var(--shadow-soft);
}

.fb-embed {
    margin-top: 0.7rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ig-placeholder {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #fbe9e6, #f6f0ff);
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* CONTACTO */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.8rem;
    align-items: flex-start;
}

.contact-form {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font: inherit;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--color-accent-soft);
    border-color: var(--color-accent-soft);
}

.contact-info {
    padding: 1.6rem 1.4rem;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.contact-info ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1rem;
}

.contact-info li {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.contact-info a {
    color: var(--color-primary);
    text-decoration: none;
}

.map-placeholder {
    margin-top: 0.7rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    background: #f3f5f3;
    font-size: 0.88rem;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.btn.primary {
    background: linear-gradient(135deg, var(--color-primary), #1f2624);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.btn.outline {
    background: #fff;
    color: var(--color-primary);
    border-color: rgba(43,58,55,0.15);
}

.btn.outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn.small {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.btn.full {
    width: 100%;
}

/* FOOTER */

.main-footer {
    text-align: center;
    padding: 1.4rem 1rem 2.2rem;
    font-size: 0.85rem;
    color: var(--color-muted);
    background: #faf5f2;
}

.main-footer a {
    color: var(--color-primary);
    text-decoration: none;
}

/* WHATSAPP FLOAT */

.whatsapp-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    background: #25d366;
    color: #fff;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 10;
}

.whatsapp-float::before {
    content: "💬";
}

/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* RESPONSIVE */

@media (max-width: 800px) {
    .hero {
        padding: 1rem;
        min-height: 80vh;
    }

    .hero-content {
        padding: 1.8rem 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-alt {
        padding-inline: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        right: 1.5rem;
        top: 2.7rem;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: var(--shadow-soft);
        padding: 0.7rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        display: none;
    }

    .nav-links.show {
        display: flex;
    }
}

@media (max-width: 500px) {
    .hero-content {
        border-radius: 24px;
    }
}