:root {
    --bg: #fbfaf6;
    --surface: rgba(251, 250, 246, 0.96);
    --surface-strong: #fbfaf6;
    --surface-alt: rgba(138, 109, 114, 0.08);
    --text: #562f36;
    --muted: #8a6d72;
    --border: rgba(86, 47, 54, 0.14);
    --primary: #562f36;
    --primary-dark: #43242a;
    --secondary: #8a6d72;
    --shadow: 0 18px 48px rgba(86, 47, 54, 0.12);
    --radius: 24px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(138, 109, 114, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; color: var(--muted); line-height: 1.75; }
h1, h2, h3 { margin: 0 0 16px; color: var(--text); line-height: 1.12; }
h1, h2 { font-family: 'Fraunces', serif; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); }
h3 { font-size: 1.15rem; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 246, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(86, 47, 54, 0.08);
}
.nav-wrap {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: inline-flex;
    align-items: center;
    max-width: 460px;
    flex-shrink: 0;
}
.brand-stack {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}
.brand-logo {
    height: 94px;
    width: auto;
    display: block;
}
.brand-subtitle {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--secondary);
    max-width: 220px;
}
.main-menu {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 104px;
}
.main-menu a:not(.btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    font-size: 0.92rem;
    color: var(--muted);
    padding: 0 18px;
    white-space: nowrap;
    border-radius: 0;
    border: 1px solid transparent;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.main-menu a.is-active,
.main-menu a:hover {
    color: var(--primary);
    background: linear-gradient(180deg, rgba(251, 250, 246, 0.96) 0%, rgba(138, 109, 114, 0.18) 100%);
    box-shadow: inset 0 -3px 0 rgba(86, 47, 54, 0.16);
}
.nav-cta {
    min-height: auto;
    margin-left: 18px;
    padding: 14px 26px;
    white-space: nowrap;
    align-self: center;
}
.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--surface-strong);
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 800;
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 16px 35px rgba(86, 47, 54, 0.22);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.78);
    border-color: var(--border);
}

.page-hero { padding: 80px 0 42px; }
.page-hero-home {
    position: relative;
    overflow: hidden;
}
.page-hero-home::after {
    content: '';
    position: absolute;
    inset: 14% 8% auto auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 109, 114, 0.18), transparent 68%);
    pointer-events: none;
}
.page-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 32px;
    align-items: center;
}
.page-hero-internal { padding: 34px 0 28px; }
.internal-hero-shell {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 56px;
    border-radius: 28px;
    display: flex;
    align-items: flex-end;
    background:
        linear-gradient(90deg, rgba(86, 47, 54, 0.9) 0%, rgba(86, 47, 54, 0.74) 35%, rgba(138, 109, 114, 0.4) 70%, rgba(251, 250, 246, 0.06) 100%),
        linear-gradient(180deg, rgba(86, 47, 54, 0.12) 0%, rgba(86, 47, 54, 0.28) 100%),
        url('assets/banner-interna.jpg') center center / cover no-repeat;
    box-shadow: var(--shadow);
}
.internal-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(251, 250, 246, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(251, 250, 246, 0.08) 0%, transparent 24%);
    pointer-events: none;
}
.internal-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.internal-hero-content h1,
.internal-hero-content .lead { color: #fff; }
.internal-hero-content h1 {
    margin-bottom: 12px;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.internal-hero-content .lead {
    margin-bottom: 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.9);
}
.eyebrow,
.section-tag {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(86, 47, 54, 0.1);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.82rem;
    margin-bottom: 18px;
}
.lead {
    font-size: 1.05rem;
    max-width: 760px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.hero-panel,
.soft-card,
.card,
.hero-badge-card,
.profile-card,
.contact-form {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}
.hero-badge-card,
.soft-card,
.card { padding: 28px; }
.hero-panel {
    background: linear-gradient(180deg, rgba(251, 250, 246, 0.94), rgba(138, 109, 114, 0.14));
}
.check-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.check-list li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

.section { padding: 38px 0; }
.section.alt {
    background: linear-gradient(180deg, rgba(138, 109, 114, 0.06), rgba(251, 250, 246, 0.8));
}
.section-head {
    margin-bottom: 28px;
    max-width: 760px;
}
.section-head.center {
    text-align: center;
    margin-inline: auto;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 28px;
    align-items: start;
}
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.text-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--primary);
    font-weight: 800;
}
.icon-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin-bottom: 14px;
}
.profile-card {
    padding: 28px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    align-items: start;
}
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 20px 40px rgba(86, 47, 54, 0.2);
}
.profile-photo {
    width: 120px;
    height: 160px;
    object-fit: cover;
    object-position: center top;
    border-radius: 28px;
    display: block;
    box-shadow: 0 20px 40px rgba(86, 47, 54, 0.18);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}
.map-embed {
    width: 100%;
    min-height: 100%;
    border-radius: 20px;
    overflow: hidden;
}
.map-embed iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}
.contact-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}
.contact-form {
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
}
.field-group {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}
.recaptcha-wrap {
    margin-top: 6px;
}
.field-hidden {
    position: absolute;
    left: -9999px;
}
label {
    font-weight: 800;
    color: var(--text);
}
input,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font: inherit;
    background: #fff;
    color: var(--text);
}
textarea {
    resize: vertical;
    min-height: 140px;
}
.form-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
}
.form-alert-success {
    background: rgba(74, 140, 95, 0.12);
    color: #356847;
}
.form-alert-error {
    background: rgba(86, 47, 54, 0.12);
    color: var(--primary-dark);
}
.faq-list {
    display: grid;
    gap: 14px;
}
.faq-item {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow);
    border-radius: 20px;
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 26px;
    font-weight: 800;
    color: var(--text);
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--primary);
}
.faq-item[open] summary::after { content: '−'; }
.faq-content { padding: 0 26px 22px; }

.social-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.social-cta-copy p:last-child {
    margin-bottom: 0;
}

.site-footer {
    margin-top: 40px;
    background: var(--primary);
    color: #fbfaf6;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 28px;
    padding: 42px 0;
}
.footer-logo {
    height: 88px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}
.site-footer h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 14px;
}
.footer-text,
.footer-links a,
.footer-links li {
    color: rgba(251, 250, 246, 0.82);
    line-height: 1.8;
}
.footer-links li,
.footer-links a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-icon {
    width: 18px;
    min-width: 18px;
    height: 18px;
    color: rgba(251, 250, 246, 0.96);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}
.footer-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}
.footer-bottom {
    border-top: 1px solid rgba(251, 250, 246, 0.12);
}
.footer-bottom p {
    margin: 0;
    padding: 14px 0;
    color: rgba(251, 250, 246, 0.64);
}
.wide-card { max-width: 900px; }

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.3);
}
.floating-whatsapp-icon {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
}
.floating-whatsapp-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}
.floating-whatsapp-text {
    font-weight: 800;
}

@media (max-width: 980px) {
    .page-hero-grid,
    .grid-2,
    .contact-grid,
    .footer-grid,
    .profile-card,
    .cards.three,
    .social-cta {
        grid-template-columns: 1fr;
    }

    .internal-hero-shell {
        min-height: 300px;
        padding: 36px 24px;
        background-position: 62% center;
    }

    .main-menu {
        position: absolute;
        top: 104px;
        left: 16px;
        right: 16px;
        background: rgba(251, 250, 246, 0.98);
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 18px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        min-height: auto;
        gap: 8px;
        box-shadow: var(--shadow);
    }

    .main-menu.open { display: flex; }
    .main-menu a:not(.btn) {
        min-height: auto;
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
        border-radius: 14px;
    }
    .menu-toggle { display: inline-flex; }
    .brand-stack {
        align-items: center;
        gap: 12px;
    }
    .brand-logo { height: 74px; }
    .brand-subtitle { max-width: 180px; font-size: 0.74rem; }
    .nav-cta {
        width: 100%;
        margin-left: 0;
    }
    .social-cta { display: grid; }
    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        padding: 12px 16px;
    }
}
