:root {
    --primary: #b08a3e;
    --secondary: #1a1715;
    --text-dark: #241f1a;
    --text-light: #f7f2e8;
    --soft-bg: #f2eee7;
    --shadow: 0 20px 45px rgba(26, 23, 21, 0.12);
    --nav-offset: 64px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    color: var(--text-dark);
    background: linear-gradient(145deg, #f8f5ef 0%, #fff9ef 45%, #f4eee2 100%);
    line-height: 1.65;
    padding-top: var(--nav-offset);
}

h1, h2, h3, h4 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--secondary);
}

.section-pad {
    padding: 4.8rem 0;
}

.section-soft {
    background: radial-gradient(circle at top right, #efe6d2, #fbf8f2 60%);
}

.testimonials-section {
    background: linear-gradient(180deg, #f4ecdc 0%, #fbf7ef 100%);
    border-top: 1px solid rgba(176, 138, 62, 0.15);
    border-bottom: 1px solid rgba(176, 138, 62, 0.15);
}

.section-kicker {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
}

.section-kicker .bi {
    margin-right: 0.35rem;
}

.section-title {
    font-size: clamp(1.8rem, 2.5vw, 2.7rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 760px;
}

main section:not(#about):not(.hero) .section-kicker {
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

main section:not(#about):not(.hero) .section-title {
    text-align: center;
}

main section:not(.hero) .section-kicker .bi {
    font-size: 1.12rem;
}

.nav-glass {
    background: var(--secondary);
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.16);
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

.brand-title {
    color: var(--text-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 0.42rem;
    white-space: nowrap;
}

.brand-subtitle {
    color: #e4c88f;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
    margin: 0;
}

.nav-link {
    color: #eee3cb;
    font-weight: 500;
    margin: 0 0.35rem;
    display: inline-block;
    transition: color 0.28s ease, transform 0.28s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff6e2;
    transform: translateY(-2px);
}

.custom-toggler {
    border: 0;
    box-shadow: none !important;
    padding: 0.2rem 0.35rem;
}

.custom-toggler .navbar-toggler-icon {
    filter: invert(1);
}

.lang-dropdown-toggle {
    color: #f4e8ce;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 999px;
    min-width: 78px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.lang-dropdown-toggle:hover,
.lang-dropdown-toggle:focus,
.lang-dropdown-toggle:active,
.lang-dropdown-toggle.show {
    color: #fff4dd !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.lang-flag {
    border-radius: 2px;
}

.lang-dropdown .dropdown-menu {
    background: #211c18;
    border: 1px solid rgba(228, 200, 143, 0.35);
    min-width: 190px;
}

.lang-dropdown .dropdown-item {
    color: #f3e4c7;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.lang-dropdown .dropdown-item:hover,
.lang-dropdown .dropdown-item:focus {
    color: #fff9ee;
    background: rgba(176, 138, 62, 0.28);
}

.lang-dropdown .dropdown-item.active {
    color: #1a1715;
    background: var(--primary);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-light);
}

.hero {
    display: block;
    padding: 0;
    margin-top: -1px;
}

.hero-container {
    padding-left: 0;
    padding-right: 0;
}

.hero-content-shell {
    position: relative;
    z-index: 1;
}

.hero-stage {
    min-height: calc(100svh - var(--nav-offset));
    min-height: calc(100dvh - var(--nav-offset));
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    background-image: url("../img/mamapya_hero_image.webp");
    background-size: cover;
    background-position: 82% 34%;
    display: flex;
    align-items: center;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 17, 14, 0.64) 0%, rgba(20, 17, 14, 0.42) 34%, rgba(20, 17, 14, 0.12) 64%, rgba(20, 17, 14, 0) 100%),
        linear-gradient(180deg, rgba(20, 17, 14, 0.08) 0%, rgba(20, 17, 14, 0.05) 75%, rgba(20, 17, 14, 0.14) 100%);
}

.hero-content {
    width: min(760px, 100%);
    padding: clamp(1.2rem, 3vw, 2.4rem) 0;
}

.hero-mobile-media {
    display: none;
    overflow: hidden;
    border-radius: 22px;
}

.hero-mobile-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 82% center;
    box-shadow: var(--shadow);
}

.hero-lead {
    font-size: 1.08rem;
    max-width: 650px;
    color: #efe5d6;
}

.hero .section-kicker {
    color: #d9bb7b;
}

.hero-answer {
    max-width: 700px;
    border-left: 4px solid #d9bb7b;
    border-radius: 12px;
    padding: 0.9rem 1rem 0.95rem 1.05rem;
    background: linear-gradient(90deg, rgba(247, 242, 232, 0.16), rgba(247, 242, 232, 0.08));
}

.hero-answer-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d9bb7b;
}

.hero-answer-text {
    color: #f8f2e8;
    font-size: 1.02rem;
    line-height: 1.55;
}

.section-image {
    border-radius: 26px;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.section-image:hover {
    transform: translateY(-7px) scale(1.012);
    box-shadow: 0 26px 60px rgba(26, 23, 21, 0.22);
}

.hero .direct-answer-card {
    background: rgba(247, 242, 232, 0.12);
    border-color: rgba(217, 187, 123, 0.45);
    color: #f8f2e8;
    backdrop-filter: blur(2px);
}

.hero-note {
    margin-top: 0.85rem;
}

.hero .hero-note {
    color: var(--text-light);
}

.hero .stat-card {
    background: rgba(17, 14, 12, 0.62);
    border-color: rgba(217, 187, 123, 0.4);
    color: #f6efe2;
    backdrop-filter: blur(3px);
}

.hero .stat-card h3,
.hero .stat-card p {
    color: #f6efe2;
}

.hero .stat-icon {
    color: #d9bb7b;
}

.hero .btn-outline-brand {
    border-color: #f2ddbc;
    color: #f2ddbc;
}

.hero .btn-brand {
    color: var(--text-light);
}

.hero .btn-outline-brand:hover,
.hero .btn-outline-brand:focus {
    background: rgba(242, 221, 188, 0.14);
    color: #fff7ea;
}

.hero .hero-note,
.hero .direct-answer-card,
.hero .btn,
.hero .stat-card {
    text-shadow: none;
}

.hero .stat-card .card-body {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.hero-note {
    margin-bottom: 0;
}

.soria-mark {
    font-family: "Soria", "Playfair Display", Georgia, serif;
    color: var(--primary);
    letter-spacing: 0.03em;
}

.card {
    border: 1px solid rgba(36, 31, 26, 0.07);
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(26, 23, 21, 0.05);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.card:hover {
    transform: translateY(-9px);
    box-shadow: 0 20px 40px rgba(26, 23, 21, 0.15);
    border-color: rgba(176, 138, 62, 0.45);
}

.stat-card h3,
.feature-card h3,
.service-card h3,
.benefit-card h3,
.testimonial-name {
    font-size: 1.28rem;
    margin-bottom: 0.6rem;
}

.feature-letter {
    display: inline-grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: #f3e4c4;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.service-icon {
    color: var(--primary);
    font-size: 2.15rem;
    margin: 0 auto 0.9rem;
    display: inline-block;
}

.stat-icon,
.benefit-icon,
.testimonial-icon {
    color: var(--primary);
}

.stat-icon,
.benefit-icon {
    font-size: 1.95rem;
    margin: 0 auto 0.65rem;
    display: inline-block;
}

.testimonial-icon {
    font-size: 1.45rem;
    margin: 0 auto 0.55rem;
    display: block;
}

.stat-card .card-body,
.benefit-card .card-body,
.service-card .card-body,
.testimonial-card .card-body {
    text-align: center;
}

.testimonial-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.service-meta {
    font-weight: 600;
    color: #7b6340;
    font-size: 0.9rem;
}

.about-social-title {
    font-weight: 700;
    color: #6f5733;
    letter-spacing: 0.02em;
}

.btn-social {
    border: 1px solid rgba(176, 138, 62, 0.45);
    color: #2e261d;
    background: #fff8ea;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-social .bi {
    font-size: 1.2rem;
}

.btn-social:hover,
.btn-social:focus {
    border-color: var(--primary);
    background: #f3e1be;
    color: #1f1913;
}

.testimonial-card {
    background: linear-gradient(170deg, #fffaf1, #fffef9);
}

.testimonial-stars {
    display: inline-flex;
    gap: 0.2rem;
    margin-bottom: 0.7rem;
}

.testimonial-stars .bi {
    color: #d1a94f;
    font-size: 1.15rem;
}

.testimonial-quote {
    color: #3a3229;
    margin-bottom: 0.85rem;
}

.testimonial-quote .bi {
    color: #c19b48;
    margin-right: 0.3rem;
    font-size: 1.2rem;
}

#faq .accordion-button .bi {
    font-size: 1.08rem;
}

#contact .btn .bi {
    font-size: 1.18rem;
}

.testimonial-author {
    font-size: 1.05rem;
    color: #2a231c;
    margin-bottom: 0;
}

.faq-accordion .accordion-item {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.65rem;
    border: 1px solid rgba(26, 23, 21, 0.13);
}

.faq-accordion .accordion-button {
    background: #fff;
    color: var(--secondary);
    font-weight: 600;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: #f9f1e1;
    color: #201b16;
}

.cta-section {
    background: linear-gradient(130deg, #1a1715 0%, #2c2418 55%, #473722 100%);
}

.contact-cta {
    background: rgba(20, 16, 13, 0.58);
    border: 1px solid rgba(247, 242, 232, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

.contact-cta-media {
    height: 100%;
}

.contact-cta-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center 20%;
}

.contact-cta .section-title,
.contact-cta .cta-copy,
.contact-cta .section-kicker,
.contact-cta [data-i18n="updated_label"] {
    color: var(--text-light);
}

.contact-cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-footer {
    background: #130f0d;
    color: #f2e3c4;
    padding: 0.65rem 0;
}

.footer-inner {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 1.6rem;
}

.site-footer p {
    font-size: 0.92rem;
    line-height: 1.2;
}

.floating-wa-btn {
    position: fixed;
    right: 0.9rem;
    bottom: 1rem;
    z-index: 1080;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    border: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.floating-wa-btn .bi {
    font-size: 1.5rem;
    line-height: 1;
}

.floating-wa-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-wa-btn:hover,
.floating-wa-btn:focus {
    color: var(--secondary);
    background: #c49d4f;
}

.direct-answer-card {
    border: 1px solid rgba(176, 138, 62, 0.35);
    border-radius: 14px;
    background: #fff8ea;
    padding: 0.95rem 1rem;
}

.btn-brand {
    background: var(--primary);
    border-color: var(--primary);
    color: #17120d;
    font-weight: 700;
}

.nav-glass .btn-brand {
    color: var(--text-light);
}

.btn-brand:hover,
.btn-brand:focus {
    background: #c49d4f;
    border-color: #c49d4f;
    color: #120e09;
    transform: translateY(-2px);
}

.btn-outline-brand {
    border: 1px solid var(--secondary);
    color: var(--secondary);
    font-weight: 600;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    color: var(--text-light);
    background: var(--secondary);
    transform: translateY(-2px);
}

.btn,
.lift-on-hover {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.btn .bi {
    margin-right: 0.35rem;
}

.btn:hover,
.lift-on-hover:hover {
    transform: translateY(-2px);
}

.reveal-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--delay, 0ms);
}

.reveal-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.58s ease, transform 0.58s ease;
    transition-delay: var(--delay, 0ms);
}

.reveal-text.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    body {
        padding-top: var(--nav-offset);
    }

    :root {
        --nav-offset: 64px;
    }

    .brand-title,
    .brand-subtitle {
        font-size: 1.22rem;
    }

    .hero-stage {
        min-height: calc(100svh - var(--nav-offset));
        min-height: calc(100dvh - var(--nav-offset));
        background-position: 74% 30%;
    }

    .navbar-collapse .navbar-nav {
        width: 100%;
        align-items: center !important;
        text-align: center;
    }

    .navbar-collapse .nav-link {
        justify-content: center;
    }

    .navbar-collapse > .d-flex {
        width: 100%;
        align-items: stretch;
        justify-content: center;
    }

    .navbar-collapse .lang-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }

    .navbar-collapse .lang-dropdown-toggle,
    .navbar-collapse [data-wa-source="Navbar CTA"] {
        width: 100%;
    }

    .navbar-collapse .lang-dropdown-toggle {
        justify-content: space-between;
    }

    .navbar-collapse .lang-dropdown .dropdown-menu {
        position: static !important;
        inset: auto !important;
        left: auto;
        right: auto;
        transform: none !important;
        margin-top: 0.45rem;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .section-pad {
        padding: 4rem 0;
    }

    .floating-wa-btn {
        display: inline-flex;
    }

    .hero-title {
        font-size: clamp(1.95rem, 9vw, 2.65rem);
    }

    .hero {
        padding: 0;
    }

    .hero-stage {
        min-height: unset;
        background-image: none;
        background-color: transparent;
        box-shadow: none;
        display: block;
        overflow: visible;
    }

    .hero-stage::before {
        display: none;
    }

    .hero-mobile-media {
        display: block;
        margin-bottom: 1rem;
    }

    .hero-mobile-media img {
        object-position: 97% 28%;
        transform: scale(1.28);
        transform-origin: top right;
    }

    .hero-content {
        padding: 0;
        width: 100%;
    }

    .hero-title {
        color: var(--secondary);
    }

    .hero-lead {
        color: var(--text-dark);
    }

    .hero .section-kicker {
        color: var(--primary);
    }

    .hero .direct-answer-card {
        background: #fff8ea;
        border-color: rgba(176, 138, 62, 0.35);
        color: var(--text-dark);
        backdrop-filter: none;
    }

    .hero-answer {
        border-left-color: var(--primary);
        background: #fff8ea;
    }

    .hero-answer-label {
        color: #8a6b30;
    }

    .hero-answer-text {
        color: var(--text-dark);
    }

    .hero .hero-note {
        color: var(--text-dark);
    }

    .hero .stat-card {
        background: #fff;
        border-color: rgba(36, 31, 26, 0.1);
        color: var(--text-dark);
        backdrop-filter: none;
    }

    .hero .stat-card h3,
    .hero .stat-card p {
        color: var(--text-dark);
    }

    .hero .btn-outline-brand {
        border-color: var(--secondary);
        color: var(--secondary);
    }

    .hero .btn-outline-brand:hover,
    .hero .btn-outline-brand:focus {
        background: var(--secondary);
        color: var(--text-light);
    }

    .hero .btn,
    .cta-section .btn {
        width: 100%;
        justify-content: center;
    }

    .about-social .d-flex {
        flex-direction: column;
        width: 100%;
    }

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

    .contact-cta-image {
        min-height: 300px;
    }

    .hero .direct-answer-card {
        padding: 0.8rem 0.85rem;
    }

    .hero .stat-card .card-body {
        padding: 0.9rem 0.85rem;
    }

    .nav-link {
        margin: 0.2rem 0;
    }

}

@media (min-width: 768px) {
    .floating-wa-btn {
        display: none !important;
    }
}
