/* MOMENTE UI V2
   Visual enhancement layer.
   The original production stylesheet remains untouched.
*/

:root{
    --m2-radius:28px;
    --m2-soft:#f8f2ea;
    --m2-deep:#4a2f1f;
    --m2-line:rgba(75,47,30,.11);
    --m2-shadow:0 24px 65px rgba(59,37,23,.13);
}

/* ---------- Header / Brand ---------- */

.topbar{
    height:94px;
    padding-inline:clamp(22px,5vw,82px);
}

.brand{
    width:210px;
    height:78px;
    overflow:hidden;
    flex:0 0 auto;
}

.brand img{
    width:205px !important;
    height:74px !important;
    max-width:none;
    object-fit:cover !important;
    object-position:center 51.5% !important;
    transform:none !important;
}

.topbar.scrolled .brand img{
    width:185px !important;
    height:66px !important;
}

.topbar nav{
    gap:30px;
}

.topbar nav a{
    position:relative;
}

.topbar nav a::after{
    content:"";
    position:absolute;
    right:0;
    left:100%;
    bottom:-7px;
    height:1px;
    background:currentColor;
    transition:left .25s ease;
}

.topbar nav a:hover::after{
    left:0;
}

/* ---------- Hero ---------- */

.hero{
    min-height:100svh;
    background:#4b3529;
}

.hero-video{
    opacity:0;
    object-fit:cover;
    transform:scale(1.015);
    filter:saturate(.88) contrast(1.03);
    transition:opacity .65s ease;
    z-index:0;
}

.hero-video.ready{
    opacity:1 !important;
}

.hero-fallback{
    z-index:0;
    background-size:cover !important;
    background-position:center !important;
    transition:opacity .6s ease;
}

.hero-fallback.real-poster::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(62,40,27,.24);
}

.hero-video.ready + .hero-fallback{
    opacity:0;
}

.hero-overlay{
    z-index:1;
    background:
        linear-gradient(
            90deg,
            rgba(34,21,14,.72) 0%,
            rgba(42,27,18,.44) 45%,
            rgba(42,27,18,.15) 100%
        );
}

.hero-inner{
    z-index:3;
    max-width:710px;
}

.hero h1{
    text-wrap:balance;
}

.hero-copy{
    max-width:550px;
}

.hero-brand-logo{
    display:block;
    width:270px;
    height:92px;
    object-fit:cover;
    object-position:center 51.5%;
    margin-bottom:15px;
    filter:brightness(0) invert(1);
    opacity:.94;
}

.hero-video-state{
    position:absolute;
    z-index:4;
    left:22px;
    bottom:22px;
    border:1px solid rgba(255,255,255,.35);
    color:white;
    background:rgba(43,28,19,.24);
    backdrop-filter:blur(10px);
    padding:7px 12px;
    border-radius:999px;
    font-size:9px;
    letter-spacing:.08em;
    opacity:0;
    pointer-events:none;
}

/* ---------- About ---------- */

.story{
    grid-template-columns:1.08fr .92fr;
    gap:clamp(44px,7vw,100px);
}

.story-art{
    min-height:0 !important;
}

.story-art .frame-a,
.story-art .photo-strip,
.story-art > p{
    display:none !important;
}

.about-real-photo{
    width:100%;
    height:clamp(430px,54vw,650px);
    display:block;
    object-fit:cover;
    border-radius:38px 38px 38px 8px;
    box-shadow:var(--m2-shadow);
}

.story-copy{
    padding-inline:clamp(0px,2vw,30px);
}

.story-copy h2{
    line-height:1.25;
}

.story-copy > p:not(.kicker){
    font-size:15px;
    line-height:2;
}

.story-signature{
    padding-top:20px;
    border-top:1px solid var(--m2-line);
}

/* ---------- Gallery ---------- */

.gallery-section{
    overflow:hidden;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(12,minmax(0,1fr));
    grid-auto-rows:220px;
    gap:18px;
}

.gallery-card{
    border-radius:var(--m2-radius);
    overflow:hidden;
    cursor:zoom-in;
    box-shadow:0 12px 34px rgba(59,37,23,.08);
    background:#e7dacd;
    transform:translateZ(0);
}

.gallery-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.001);
    transition:
        transform .65s cubic-bezier(.2,.7,.2,1),
        filter .45s ease;
}

.gallery-card:hover img{
    transform:scale(1.045);
    filter:saturate(1.04);
}

.gallery-card:nth-child(1){
    grid-column:span 7;
    grid-row:span 2;
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(3){
    grid-column:span 5;
}

.gallery-card:nth-child(4),
.gallery-card:nth-child(5),
.gallery-card:nth-child(6){
    grid-column:span 4;
}

.gallery-lightbox{
    position:fixed;
    z-index:500;
    inset:0;
    display:none;
    place-items:center;
    padding:28px;
    background:rgba(27,18,13,.86);
    backdrop-filter:blur(14px);
}

.gallery-lightbox.open{
    display:grid;
}

.gallery-lightbox img{
    display:block;
    max-width:min(1200px,94vw);
    max-height:88svh;
    object-fit:contain;
    border-radius:24px;
    box-shadow:0 35px 100px rgba(0,0,0,.3);
}

.gallery-lightbox button{
    position:absolute;
    top:22px;
    left:22px;
    width:46px;
    height:46px;
    border:1px solid rgba(255,255,255,.45);
    border-radius:50%;
    color:white;
    background:rgba(255,255,255,.08);
    font-size:25px;
    cursor:pointer;
}

/* ---------- Contact / Social ---------- */

.momente-social-band{
    padding:76px clamp(24px,7vw,112px);
    background:var(--m2-deep);
    color:#fffaf4;
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:50px;
    align-items:center;
}

.momente-social-copy .eyebrow{
    font-size:10px;
    letter-spacing:.2em;
    opacity:.62;
}

.momente-social-copy h2{
    margin:9px 0 5px;
    font:400 clamp(32px,4vw,54px)/1.35 Georgia,"Times New Roman",serif;
}

.momente-social-copy p{
    margin:0;
    color:rgba(255,250,244,.68);
}

.momente-social-links{
    display:grid;
    gap:10px;
}

.momente-social-link{
    min-height:62px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 21px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:18px;
    transition:.25s ease;
}

.momente-social-link:hover{
    background:#fffaf4;
    color:var(--m2-deep);
    transform:translateX(-4px);
}

.momente-social-link small{
    opacity:.65;
}

.momente-social-link strong{
    font-weight:500;
}

/* ---------- Footer ---------- */

footer{
    padding-top:54px;
    border-top:0;
}

.footer-logo img{
    width:215px;
    height:150px;
}

.footer-contact{
    gap:12px;
}

.footer-contact #tiktokFooter,
.footer-contact #whatsappFooter{
    display:none !important;
}

/* ---------- Booking ---------- */

.modal-card{
    border-radius:30px;
    box-shadow:0 35px 100px rgba(35,23,16,.26);
}

.form-grid{
    gap:17px 15px;
}

.form-grid label{
    font-size:13px;
}

.form-grid input,
.form-grid select,
.form-grid textarea{
    min-height:52px;
    border-radius:14px;
    padding:11px 14px;
    border-color:rgba(75,47,30,.18);
}

.form-grid textarea{
    min-height:104px;
    resize:vertical;
}

/* ---------- Responsive ---------- */

@media(max-width:950px){
    .brand{
        width:175px;
    }

    .brand img{
        width:170px !important;
    }

    .story{
        grid-template-columns:1fr;
    }

    .about-real-photo{
        height:min(620px,80vw);
    }

    .gallery-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-auto-rows:230px;
        gap:14px;
    }

    .gallery-card:nth-child(n){
        grid-column:span 1;
        grid-row:span 1;
    }

    .gallery-card:nth-child(1),
    .gallery-card:nth-child(4){
        grid-column:span 2;
    }

    .momente-social-band{
        grid-template-columns:1fr;
    }
}

@media(max-width:620px){
    .topbar{
        height:68px;
        padding-inline:14px;
    }

    .brand{
        width:142px;
        height:60px;
    }

    .brand img,
    .topbar.scrolled .brand img{
        width:138px !important;
        height:57px !important;
        object-position:center 51.5% !important;
    }

    .hero{
        min-height:92svh;
    }

    .hero-inner{
        margin-inline:20px;
        padding-top:74px;
    }

    .hero-brand-logo{
        width:210px;
        height:75px;
    }

    .hero h1{
        font-size:clamp(39px,12vw,57px);
        line-height:1.28;
    }

    .hero-copy{
        font-size:15px;
        line-height:1.9;
    }

    .hero-bottom{
        display:none;
    }

    .section{
        padding:70px 17px;
    }

    .story{
        gap:34px;
    }

    .about-real-photo{
        height:115vw;
        max-height:570px;
        border-radius:25px 25px 25px 7px;
    }

    .gallery-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-auto-rows:168px;
        gap:9px;
    }

    .gallery-card{
        border-radius:19px;
    }

    .gallery-card:nth-child(n){
        grid-column:span 1;
        grid-row:span 1;
    }

    .gallery-card:nth-child(1),
    .gallery-card:nth-child(4){
        grid-column:span 2;
        grid-row:span 2;
    }

    .gallery-lightbox{
        padding:14px;
    }

    .gallery-lightbox img{
        max-width:96vw;
        max-height:82svh;
        border-radius:18px;
    }

    .momente-social-band{
        padding:62px 18px;
        gap:30px;
    }

    .momente-social-link{
        min-height:58px;
        border-radius:16px;
    }

    footer{
        padding:48px 20px 22px;
        text-align:center;
    }

    .footer-logo img{
        width:190px;
        height:135px;
    }

    .footer-links,
    .footer-contact{
        justify-items:center;
    }

    .modal{
        width:calc(100% - 14px);
        max-height:94svh;
        padding:0;
    }

    .modal-card{
        max-height:92svh;
        overflow:auto;
        padding:31px 18px 24px;
        border-radius:25px;
    }

    .modal-card h3{
        font-size:28px;
        margin-bottom:19px;
    }

    .form-grid{
        gap:12px;
    }

    .form-grid label{
        font-size:13px;
    }

    .form-grid input,
    .form-grid select{
        min-height:48px;
        margin-top:4px;
        font-size:16px;
    }

    .form-grid textarea{
        min-height:88px;
        font-size:16px;
    }

    .modal-actions{
        margin-top:17px;
    }
}

/* MOMENTE SOCIAL V3 */

#tiktokTop{
    display:none !important;
}

.top-actions{
    margin-inline-start:auto;
}

.momente-social-band{
    grid-template-columns:1fr;
    text-align:center;
    justify-items:center;
}

.momente-social-copy{
    max-width:620px;
}

.momente-social-links{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap:16px;
    margin-top:12px;
}

.momente-social-link{
    width:68px;
    height:68px;
    min-height:68px;
    padding:0;
    border-radius:50%;
    display:grid;
    place-items:center;
    color:#fffaf4;
    border:1px solid rgba(255,255,255,.32);
    background:rgba(255,255,255,.04);
    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.momente-social-link:hover{
    transform:translateY(-4px);
    background:#fffaf4;
    color:#4a2f1f;
    border-color:#fffaf4;
}

.momente-social-link svg{
    width:27px;
    height:27px;
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.momente-social-link.tiktok-icon svg{
    fill:currentColor;
    stroke:none;
    width:25px;
    height:25px;
}

.momente-social-link.whatsapp-icon svg{
    width:29px;
    height:29px;
}

.momente-social-link span,
.momente-social-link strong,
.momente-social-link small{
    display:none !important;
}

@media(max-width:620px){
    .momente-social-band{
        padding-block:54px;
    }

    .momente-social-copy h2{
        font-size:32px;
    }

    .momente-social-links{
        gap:13px;
    }

    .momente-social-link{
        width:61px;
        height:61px;
        min-height:61px;
    }

    .momente-social-link svg{
        width:25px;
        height:25px;
    }
}
