/* =========================================================
   IMPINO INTERIOR — COMPLETE WEBSITE CSS
   For index.php + modular-kitchen.php
   ========================================================= */

:root{
    --navy:#06264a;
    --navy-2:#07365f;
    --gold:#c9903f;
    --cream:#fbf8f2;
    --ink:#142d4c;
    --muted:#536273;
    --line:#e8e1d7;
    --white:#ffffff;
    --whatsapp:#25D366;
    --whatsapp-hover:#1ebe5d;
    --shadow:0 10px 28px rgba(7,38,74,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
    margin:0;
    font-family:'Poppins',Arial,sans-serif;
    color:var(--ink);
    background:var(--white);
}

img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

.wrap{
    width:min(1180px,92%);
    margin:auto;
}

.label{
    font-size:10px;
    font-weight:600;
    letter-spacing:.19em;
    text-transform:uppercase;
    color:var(--navy);
    margin-bottom:12px;
}

.section{padding:74px 0}

.title{
    margin:0;
    color:var(--navy);
    font:400 clamp(34px,4vw,54px)/1.02 'DM Serif Display',Georgia,serif;
}

.copy{
    font-size:13px;
    line-height:1.65;
    color:var(--muted);
}

/* BUTTONS */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:13px 21px;
    border-radius:7px;
    font-size:11px;
    font-weight:600;
    border:1px solid transparent;
    white-space:nowrap;
    transition:.25s ease;
}

.btn:hover{transform:translateY(-2px)}

.btn-navy{
    background:var(--navy);
    color:#fff;
}

.btn-navy:hover{
    box-shadow:0 8px 18px rgba(6,38,74,.18);
}

.btn-gold{
    background:linear-gradient(90deg,#d9a34f,#edbd69);
    color:#fff;
}

.btn-whatsapp{
    background:var(--whatsapp);
    border-color:var(--whatsapp);
    color:#fff;
}

.btn-whatsapp:hover{
    background:var(--whatsapp-hover);
    border-color:var(--whatsapp-hover);
    color:#fff;
    box-shadow:0 8px 18px rgba(37,211,102,.25);
}

/* HEADER */
.site-header{
    height:82px;
    background:rgba(255,255,255,.97);
    position:sticky;
    top:0;
    z-index:1000;
    border-bottom:1px solid #f1eee8;
    backdrop-filter:blur(12px);
}

.nav{
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.brand-logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
    height:82px;
}

.site-logo{
    width:205px;
    max-width:205px;
    max-height:66px;
    height:auto;
    object-fit:contain;
}

.nav-links{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:24px;
    font-size:10px;
    flex:1;
}

.nav-links a{white-space:nowrap}
.nav-links > a:not(.btn){transition:color .2s ease}
.nav-links > a:not(.btn):hover{color:var(--gold)}
.nav-links .btn{min-width:125px;padding:12px 17px}

.mobile-toggle{
    display:none;
    background:none;
    border:0;
    padding:6px;
    font-size:25px;
    color:var(--navy);
}

.mobile-menu{
    display:none;
    visibility:hidden;
    height:0;
    overflow:hidden;
    padding:0;
    margin:0;
}

/* HERO */
.hero{background:var(--cream)}

.hero-grid{
    display:grid;
    grid-template-columns:48% 52%;
    min-height:520px;
}

.hero-copy{
    padding:55px max(25px,5vw) 42px max(4vw,calc((100vw - 1180px)/2));
    display:flex;
    justify-content:center;
    flex-direction:column;
}

.hero h1{
    margin:0;
    color:var(--navy);
    font:400 clamp(45px,5.1vw,69px)/.98 'DM Serif Display';
}

.hero h1 em{
    display:block;
    color:var(--gold);
    font-weight:400;
}

.hero p{
    max-width:520px;
    margin:22px 0 20px;
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.hero-points{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:13px;
    margin-top:29px;
    font-size:9px;
    color:var(--navy);
}

.hero-points span{
    display:flex;
    align-items:center;
    gap:8px;
    line-height:1.4;
}

.hero-points i{
    width:25px;
    height:25px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    color:var(--gold);
    background:rgba(201,144,63,.06);
    border:1px solid rgba(201,144,63,.22);
    font-size:12px;
}

.hero-img{
    position:relative;
    background:url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1500&q=88') center/cover no-repeat;
}

.hero-quote{
    position:absolute;
    right:40px;
    bottom:38px;
    color:#fff;
    text-align:right;
    font:31px/1.02 'DM Serif Display';
    text-shadow:0 2px 12px #0006;
}

/* ABOUT */
.about-grid{
    display:grid;
    grid-template-columns:42% 58%;
    gap:55px;
    align-items:center;
}

.about-text .copy{max-width:470px}

.about-collage{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:12px;
}

.about-collage .big{
    height:340px;
    object-fit:cover;
    border-radius:7px;
}

.about-stack{display:grid;gap:12px}

.about-stack img{
    height:148px;
    object-fit:cover;
    border-radius:7px;
}

.script{
    padding:4px;
    color:var(--gold);
    font:italic 25px 'DM Serif Display';
    transform:rotate(-5deg);
}

/* SERVICES */
.services{background:#fff}

.head-row{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:25px;
    margin-bottom:25px;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(8,1fr);
    gap:8px;
}

.service-card{
    border:1px solid #eee9e1;
    border-radius:6px;
    overflow:hidden;
    background:#fff;
    transition:.25s ease;
}

.service-card:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow);
}

.service-card img{
    width:100%;
    height:132px;
    object-fit:cover;
}

.service-card > div{
    text-align:center;
    padding:10px 4px;
    font-size:9px;
    font-weight:500;
}

/* WHY */
.why-grid{
    display:grid;
    grid-template-columns:53% 47%;
    align-items:stretch;
}

.why-photo{
    min-height:470px;
    position:relative;
    background:url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1300&q=88') center/cover no-repeat;
}

.why-photo .quote{
    position:absolute;
    right:28px;
    top:100px;
    color:#fff;
    text-align:right;
    font:32px/1 'DM Serif Display';
}

.why-copy{
    padding:50px 7vw 45px 55px;
    background:#fff;
}

.benefits{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:27px 35px;
    margin-top:30px;
}

.benefit{
    display:grid;
    grid-template-columns:40px 1fr;
    gap:12px;
    align-items:flex-start;
}

.benefit > i{
    width:34px;
    height:34px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--gold);
    background:rgba(201,144,63,.06);
    border:1px solid rgba(201,144,63,.22);
    font-size:15px;
}

.benefit b{
    display:block;
    font-size:10px;
    color:var(--navy);
}

.benefit small{
    display:block;
    margin-top:5px;
    font-size:8px;
    line-height:1.45;
    color:var(--muted);
}

/* STATS */
.stats{
    background:var(--cream);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    padding:26px 0;
}

.stat{
    padding:0 30px;
    border-right:1px solid var(--line);
    display:flex;
    gap:14px;
    align-items:center;
}

.stat:last-child{border-right:0}

.stat-icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(201,144,63,.22);
    border-radius:50%;
    background:rgba(201,144,63,.06);
    color:var(--gold);
    font-size:18px;
    flex-shrink:0;
}

.stat b{display:block;font-size:16px}
.stat small{font-size:8px;color:var(--muted)}

/* PROJECTS */
.projects{background:#fff}

.filters{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
}

.filter{
    border:1px solid #edf0f2;
    background:#fafafa;
    color:var(--navy);
    border-radius:6px;
    padding:8px 14px;
    font-size:9px;
}

.filter.active{
    background:var(--navy);
    color:#fff;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
}

.project{
    height:220px;
    position:relative;
    border-radius:7px;
    overflow:hidden;
    cursor:pointer;
}

.project img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

.project:hover img{transform:scale(1.04)}

.project-name{
    position:absolute;
    left:12px;
    bottom:10px;
    z-index:2;
    color:#fff;
    font-size:11px;
    text-shadow:0 2px 8px #000;
}

.project:after{
    content:'→';
    position:absolute;
    right:9px;
    top:9px;
    width:30px;
    height:30px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fff;
    color:var(--navy);
    font-size:13px;
    z-index:3;
    transition:.25s ease;
}

.project:hover:after{
    background:var(--navy);
    color:#fff;
}

/* PROCESS */
.process{
    padding:32px 0 37px;
    color:#fff;
    background:linear-gradient(120deg,#06264a,#073c69);
}

.process h2{
    margin:0;
    font:38px 'DM Serif Display';
}

.process p{
    font-size:10px;
    color:#d8e0e8;
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:17px;
    margin-top:26px;
    position:relative;
}

.process-grid:before{
    content:'';
    position:absolute;
    left:4%;
    right:4%;
    top:22px;
    border-top:1px solid #b98139;
}

.step{
    position:relative;
    display:grid;
    grid-template-columns:48px 1fr;
    gap:10px;
    align-items:center;
}

.step-num{
    width:46px;
    height:46px;
    border-radius:50%;
    background:#efbb6a;
    color:var(--navy);
    display:grid;
    place-items:center;
    font-size:10px;
    font-weight:700;
    z-index:2;
}

.step b{font-size:9px}
.step small{display:block;font-size:7px;color:#d9e1e8}

/* TESTIMONIALS */
.testimonials{background:#fff}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.testimonial{
    border:1px solid #eee8de;
    border-radius:7px;
    padding:21px;
    box-shadow:var(--shadow);
    background:#fff;
}

.stars{
    color:#d89b3e;
    letter-spacing:2px;
    font-size:12px;
}

.testimonial p{
    font-size:10px;
    color:var(--muted);
    min-height:62px;
}

.person{
    display:flex;
    gap:10px;
    align-items:center;
}

.avatar{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#ddd;
}

.person b{font-size:9px}
.person small{display:block;font-size:7px;color:#718094}

/* FAQ */
.faq-section{background:var(--cream)}

.faq-list{
    max-width:850px;
    margin-top:25px;
    display:grid;
    gap:10px;
}

details.testimonial{cursor:pointer}

details.testimonial summary{
    list-style:none;
    font-weight:600;
    color:var(--navy);
    font-size:12px;
}

details.testimonial summary::-webkit-details-marker{display:none}

/* CONTACT */
.contact{
    background:
        linear-gradient(90deg,rgba(251,248,242,.97),rgba(251,248,242,.88)),
        url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1600&q=80')
        center/cover no-repeat;
}

.contact-grid{
    display:grid;
    grid-template-columns:48% 52%;
    gap:50px;
    align-items:center;
}

.contact-list{
    font-size:10px;
    line-height:2.4;
}

.contact-list span{
    width:25px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--gold);
    font-size:14px;
    margin-right:7px;
}

.form-card{
    background:#fff;
    border:1px solid #e8e1d8;
    border-radius:8px;
    padding:27px;
    box-shadow:var(--shadow);
}

.form-card h3{
    margin:0 0 17px;
    font:26px 'DM Serif Display';
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
}

.form-card input,
.form-card select,
.form-card textarea{
    width:100%;
    border:1px solid #dfe4e8;
    border-radius:5px;
    padding:11px;
    font:9px Poppins;
    background:#fff;
    color:var(--ink);
}

.full-field{grid-column:1/-1}

.form-card textarea{
    grid-column:1/-1;
    min-height:76px;
    resize:vertical;
}

.form-card button{
    width:100%;
    margin-top:10px;
}

.privacy{
    text-align:center;
    font-size:7px;
    color:#8290a0;
    margin-top:8px;
}

/* MODULAR KITCHEN PAGE */
.project-page-hero{
    background:var(--cream);
    padding:72px 0 60px;
}

.project-page-intro{
    max-width:680px;
    margin-top:16px;
}

.back-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:10px;
    color:var(--muted);
    margin-bottom:24px;
    transition:color .2s ease;
}

.back-link:hover{color:var(--gold)}

.project-gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.gallery-project{
    background:#fff;
    border:1px solid var(--line);
    border-radius:10px;
    overflow:hidden;
    transition:.3s ease;
}

.gallery-project:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
}

.gallery-project > a{
    display:block;
    overflow:hidden;
}

.gallery-project img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:transform .4s ease;
}

.gallery-project:hover img{transform:scale(1.03)}

.gallery-project-info{padding:17px}

.gallery-project-info h3{
    margin:0;
    color:var(--navy);
    font-family:'DM Serif Display',serif;
    font-size:21px;
    font-weight:400;
}

.gallery-project-info p{
    margin:5px 0 0;
    color:var(--muted);
    font-size:10px;
}

.kitchen-cta{
    background:var(--cream);
    text-align:center;
}

.kitchen-cta-copy{
    max-width:600px;
    margin:16px auto 24px;
}

.kitchen-cta-actions{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

/* FOOTER */
.site-footer{
    background:linear-gradient(100deg,#052348,#07365f);
    color:#fff;
    padding:35px 0 18px;
}

.footer-top{
    display:grid;
    grid-template-columns:1.2fr 2fr 1fr;
    align-items:center;
    gap:30px;
}

.footer-logo{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    padding:6px 10px;
    border-radius:4px;
    width:fit-content;
    max-width:230px;
}

.footer-logo-img{
    width:205px;
    max-width:100%;
    max-height:68px;
    height:auto;
    object-fit:contain;
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:23px;
    font-size:8px;
}

.footer-links a{transition:color .2s ease}
.footer-links a:hover{color:var(--gold)}

.socials{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:14px;
}

.social-icon{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.35);
    border-radius:50%;
    color:#fff;
    font-size:16px;
    transition:.25s ease;
}

.social-icon:hover{
    background:var(--gold);
    border-color:var(--gold);
    color:#fff;
    transform:translateY(-2px);
}

.footer-bottom{
    border-top:1px solid #ffffff4d;
    margin-top:24px;
    padding-top:15px;
    display:flex;
    justify-content:space-between;
    font-size:7px;
    color:#c8d1db;
}

/* FLOATING WHATSAPP */
.whatsapp{
    position:fixed;
    right:18px;
    bottom:18px;
    width:58px;
    height:58px;
    border-radius:50%;
    background:#1bd741;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:999;
    box-shadow:0 10px 24px rgba(0,0,0,.20);
    font-size:28px;
    transition:.25s ease;
}

.whatsapp:hover{
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 14px 28px rgba(0,0,0,.24);
    background:#18c63c;
    color:#fff;
}

/* REVEAL */
.reveal{
    opacity:0;
    transform:translateY(14px);
    transition:opacity .65s ease,transform .65s ease;
}

.reveal.visible{
    opacity:1;
    transform:none;
}

/* TABLET */
@media(max-width:1000px){

    .site-header,
    .nav,
    .brand-logo{
        height:74px;
    }

    .site-logo{
        width:185px;
        max-width:185px;
        max-height:58px;
    }

    .nav-links{display:none}
    .mobile-toggle{display:block}

    .mobile-menu{
        display:none;
        visibility:visible;
        height:auto;
        overflow:visible;
        background:#fff;
        padding:10px 4%;
        border-top:1px solid #eee;
    }

    .mobile-menu.open{display:grid}

    .mobile-menu a{
        padding:10px 0;
        border-bottom:1px solid #f2f2f2;
        font-size:11px;
    }

    .hero-grid,
    .about-grid,
    .why-grid,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .hero-img{min-height:480px}
    .service-grid{grid-template-columns:repeat(4,1fr)}
    .project-grid{grid-template-columns:repeat(3,1fr)}
    .process-grid{grid-template-columns:repeat(3,1fr)}
    .process-grid:before{display:none}

    .project-gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-top{grid-template-columns:1fr}
    .footer-links,.socials{justify-content:flex-start}
}

/* MOBILE */
@media(max-width:640px){

    .site-header,
    .nav,
    .brand-logo{
        height:70px;
    }

    .site-logo{
        width:175px;
        max-width:175px;
        max-height:54px;
    }

    .section{padding:55px 0}

    .hero-copy{padding:45px 5% 42px}

    .hero .label{
        font-size:8px;
        line-height:1.5;
        letter-spacing:.17em;
        margin-bottom:20px;
    }

    .hero h1{
        font-size:46px;
        line-height:.98;
        letter-spacing:-1px;
    }

    .hero h1 em{font-size:46px}

    .hero p{
        font-size:13px;
        line-height:1.7;
        margin:25px 0;
    }

    .hero-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .hero-actions .btn{
        width:100%;
        padding:14px 8px;
        font-size:10px;
    }

    .hero-points{
        grid-template-columns:1fr 1fr;
        gap:20px 15px;
        margin-top:32px;
        font-size:10px;
    }

    .hero-points i{
        width:28px;
        height:28px;
        font-size:13px;
    }

    .hero-img{min-height:390px}

    .hero-quote{
        right:20px;
        bottom:25px;
        font-size:25px;
    }

    .about-collage{grid-template-columns:1fr}
    .about-stack{grid-template-columns:1fr 1fr}
    .about-stack .script{grid-column:1/-1}

    .service-grid{grid-template-columns:repeat(2,1fr)}
    .project-grid{grid-template-columns:1fr 1fr}
    .benefits{grid-template-columns:1fr}
    .stats-grid{grid-template-columns:1fr 1fr}

    .stat{
        padding:15px;
        border-bottom:1px solid var(--line);
    }

    .process-grid{grid-template-columns:1fr 1fr}
    .testimonial-grid{grid-template-columns:1fr}
    .form-grid{grid-template-columns:1fr}

    .full-field,
    .form-card textarea{
        grid-column:auto;
    }

    .project-page-hero{
        padding:52px 0 44px;
    }

    .project-gallery-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .gallery-project img{
        height:240px;
    }

    .kitchen-cta-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .kitchen-cta-actions .btn{
        width:100%;
    }

    .site-footer{padding:38px 0 22px}

    .footer-top{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:30px;
    }

    .footer-logo{
        width:auto;
        max-width:210px;
        padding:5px 8px;
    }

    .footer-logo-img{
        width:190px;
        max-width:190px;
        max-height:62px;
    }

    .footer-links{
        display:grid;
        grid-template-columns:repeat(2,auto);
        justify-content:flex-start;
        gap:14px 40px;
        font-size:11px;
    }

    .socials{
        justify-content:flex-start;
        gap:12px;
    }

    .social-icon{
        width:36px;
        height:36px;
        font-size:15px;
    }

    .footer-bottom{
        margin-top:28px;
        padding-top:18px;
        display:flex;
        flex-direction:column;
        gap:8px;
        font-size:9px;
    }

    .whatsapp{
        width:54px;
        height:54px;
        right:16px;
        bottom:16px;
        font-size:26px;
    }
}
