*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    min-height:100%;
}

body{
    font-family:'Inter', sans-serif;
    background:#fff;
    color:#111;
    overflow-x:hidden;
}

/* HEADER */

header{
    width:100%;
    height:110px;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 60px;
    z-index:1000;
    border-bottom:1px solid rgba(0,0,0,0.06);
}

/* LOGO */

.logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.logo a{
    display:flex;
    align-items:center;
    text-decoration:none;
}

/* Logo de texto reemplazando logo.png */

.logo-text{
    font-family:'QuickSandLocal', sans-serif;
    font-size:29px;
    line-height:1.1;
    font-weight:300;
    letter-spacing:1px;
    color:#9a7b3f;
    text-decoration:none;
    display:block;
    white-space:nowrap;
}

/* Se deja por compatibilidad si alguna página todavía usa imagen */

.logo img{
    height:83px;
    max-height:83px;
    width:auto;
    max-width:330px;
    display:block;
    object-fit:contain;
}

/* MENU DESKTOP */

nav{
    margin-left:auto;
}

nav ul{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    list-style:none;
    gap:clamp(18px, 2.4vw, 38px);
    flex-wrap:nowrap;
}

nav ul li{
    flex-shrink:0;
}

nav ul li a{
    text-decoration:none;
    color:#111;
    font-size:18px;
    letter-spacing:1.4px;
    text-transform:uppercase;
    font-weight:300;
    white-space:nowrap;
    transition:opacity 0.3s ease;
}

nav ul li a:hover{
    opacity:0.45;
}

/* HERO VIDEO */

.hero{
    position:relative;
    width:100%;
    height:calc(100vh - 170px);
    min-height:420px;
    overflow:hidden;
    background:#000;
}

.hero video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.12);
    z-index:1;
    pointer-events:none;
}

.hero-text{
    position:absolute;
    left:70px;
    bottom:70px;
    z-index:2;
}

.hero-text h1{
    font-family:'Cormorant Garamond', serif;
    font-size:62px;
    line-height:1;
    font-weight:300;
    color:#fff;
    letter-spacing:1px;
}

/* FOOTER */

footer{
    width:100%;
    min-height:60px;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:18px 24px;
    border-top:1px solid rgba(0,0,0,0.06);
}

footer p{
    font-size:11px;
    letter-spacing:1.2px;
    text-transform:uppercase;
    color:#777;
    font-weight:300;
    text-align:center;
}

/* HAMBURGER */

.menu-toggle{
    display:none;
    width:30px;
    height:22px;
    flex-direction:column;
    justify-content:space-between;
    cursor:pointer;
    border:0;
    background:transparent;
    padding:0;
    flex-shrink:0;
}

.menu-toggle span{
    display:block;
    width:100%;
    height:1px;
    background:#111;
}

/* MOBILE MENU */

.mobile-menu{
    position:fixed;
    top:110px;
    right:-100%;
    width:100%;
    height:calc(100vh - 110px);
    background:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:34px;
    transition:right 0.45s ease;
    z-index:999;
}

.mobile-menu.active{
    right:0;
}

.mobile-menu a{
    text-decoration:none;
    color:#111;
    font-family:'Cormorant Garamond', serif;
    font-size:30px;
    font-weight:300;
    letter-spacing:1px;
}

/* PÁGINAS INTERNAS — BASE COMÚN */

.page-content{
    min-height:calc(100vh - 170px);
    padding:70px 60px 90px;
    background:#fff;
}

.bio-container,
.obras-container,
.expos-container{
    max-width:1280px;
    margin:0 auto;
}

/* HEADERS INTERNOS UNIFICADOS */

.bio-header,
.obras-header,
.expos-header{
    display:block;
    max-width:780px;
    margin:0 0 70px 0;
}

.bio-container h1,
.obras-title,
.expos-title{
    display:block;
    font-size:58px;
    line-height:1.1;
    font-weight:300;
    letter-spacing:1px;
    color:#9a7b3f;
    margin:0 0 28px 0;
}

.obras-intro,
.expos-intro{
    display:block;
    width:100%;
    max-width:720px;
    font-size:18px;
    line-height:1.85;
    font-weight:300;
    color:#222;
    margin:0;
}

/* BIOGRAFÍA */

.bio-layout{
    display:grid;
    grid-template-columns:minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap:80px;
    align-items:start;
}

.bio-text{
    max-width:760px;
}

.bio-text p{
    font-size:18px;
    line-height:1.9;
    font-weight:300;
    color:#222;
    margin-bottom:25px;
}

.bio-text blockquote{
    margin:42px 0;
    padding-left:34px;
    border-left:1px solid rgba(0,0,0,0.18);
    font-size:22px;
    line-height:1.7;
    font-weight:300;
    color:#111;
}

.bio-image{
    width:100%;
}

.bio-image img{
    width:100%;
    height:auto;
    display:block;
    object-fit:cover;
    filter:grayscale(100%);
}

/* OBRAS */

.obras-gallery{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:42px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    background:#f6f4ef;
}

.gallery-item img{
    width:100%;
    height:420px;
    display:block;
    object-fit:cover;
    filter:grayscale(100%);
    transition:transform 0.8s ease, filter 0.8s ease, opacity 0.8s ease;
}

.gallery-item:hover img{
    transform:scale(1.035);
    filter:grayscale(20%);
    opacity:0.92;
}

.gallery-caption{
    padding:18px 0 0;
    font-size:14px;
    line-height:1.5;
    font-weight:300;
    letter-spacing:0.8px;
    color:#777;
}

/* EXPOSICIONES */

.expos-section{
    padding:54px 0;
    border-top:1px solid rgba(0,0,0,0.10);
}

.expos-section h2{
    font-size:24px;
    line-height:1.35;
    font-weight:400;
    letter-spacing:1.4px;
    text-transform:uppercase;
    color:#9a7b3f;
    margin-bottom:34px;
}

.expos-list{
    list-style:none;
    max-width:980px;
}

.expos-list li{
    display:grid;
    grid-template-columns:90px 1fr;
    gap:22px;
    font-size:17px;
    line-height:1.75;
    font-weight:300;
    color:#222;
    padding:8px 0;
    border-bottom:1px solid rgba(0,0,0,0.045);
}

.expos-list li span{
    color:#777;
    font-weight:400;
    letter-spacing:0.5px;
}

/* RESPONSIVE — NOTEBOOK / TABLET */

@media(max-width:1100px){

    header{
        padding:0 38px;
    }

    nav ul{
        gap:18px;
    }

    nav ul li a{
        font-size:14px;
        letter-spacing:1px;
    }

    .logo img{
        height:72px;
        max-height:72px;
        max-width:280px;
    }

    .logo-text{
        font-size:27px;
    }

    .bio-layout{
        gap:55px;
        grid-template-columns:minmax(0, 1.2fr) minmax(250px, 0.8fr);
    }

    .obras-gallery{
        grid-template-columns:repeat(2, 1fr);
        gap:36px;
    }

    .gallery-item img{
        height:380px;
    }
}

/* AJUSTE ESPECIAL — PANTALLAS INTERMEDIAS */

@media(max-width:1020px){

    header{
        padding:0 28px;
    }

    nav ul{
        gap:14px;
    }

    nav ul li a{
        font-size:13px;
        letter-spacing:0.8px;
    }

    .logo-text{
        font-size:25px;
    }
}

/* RESPONSIVE — TABLET / MOBILE */

@media(max-width:900px){

    header{
        height:82px;
        padding:0 28px;
    }

    .logo img{
        height:56px;
        max-height:56px;
        max-width:240px;
    }

    .logo-text{
        font-size:23px;
    }

    nav{
        display:none;
    }

    .menu-toggle{
        display:flex;
    }

    .mobile-menu{
        top:82px;
        height:calc(100vh - 82px);
    }

    .hero{
        height:calc(100vh - 142px);
        min-height:420px;
    }

    .hero-text{
        left:32px;
        bottom:46px;
    }

    .hero-text h1{
        font-size:40px;
        line-height:1.08;
    }

    footer{
        min-height:60px;
        padding:16px 22px;
    }

    footer p{
        font-size:10px;
        line-height:1.5;
    }

    .page-content{
        min-height:calc(100vh - 142px);
        padding:58px 32px 76px;
    }

    .bio-header,
    .obras-header,
    .expos-header{
        max-width:100%;
        margin:0 0 50px 0;
    }

    .bio-container h1,
    .obras-title,
    .expos-title{
        font-size:46px;
        margin-bottom:24px;
    }

    .obras-intro,
    .expos-intro{
        max-width:100%;
        font-size:17px;
        line-height:1.8;
    }

    .bio-layout{
        grid-template-columns:1fr;
        gap:50px;
    }

    .bio-text{
        max-width:100%;
    }

    .bio-text p{
        font-size:17px;
        line-height:1.8;
    }

    .bio-text blockquote{
        font-size:20px;
        line-height:1.65;
        margin:38px 0;
    }

    .bio-image{
        max-width:420px;
    }

    .gallery-item img{
        height:340px;
    }

    .expos-section{
        padding:44px 0;
    }

    .expos-section h2{
        font-size:20px;
        margin-bottom:26px;
    }

    .expos-list li{
        grid-template-columns:76px 1fr;
        gap:18px;
        font-size:16px;
        line-height:1.7;
    }
}

/* RESPONSIVE — MOBILE */

@media(max-width:600px){

    header{
        height:76px;
        padding:0 22px;
    }

    .logo img{
        height:48px;
        max-height:48px;
        max-width:200px;
    }

    .logo-text{
        font-size:21px;
    }

    .menu-toggle{
        width:28px;
        height:20px;
    }

    .mobile-menu{
        top:76px;
        height:calc(100vh - 76px);
        gap:28px;
    }

    .mobile-menu a{
        font-size:27px;
    }

    .hero{
        height:calc(100vh - 136px);
        min-height:380px;
    }

    .hero-text{
        left:24px;
        right:24px;
        bottom:38px;
    }

    .hero-text h1{
        font-size:34px;
    }

    .page-content{
        min-height:calc(100vh - 136px);
        padding:48px 24px 66px;
    }

    .bio-header,
    .obras-header,
    .expos-header{
        margin:0 0 38px 0;
    }

    .bio-container h1,
    .obras-title,
    .expos-title{
        font-size:38px;
        margin-bottom:20px;
    }

    .obras-intro,
    .expos-intro{
        font-size:16px;
        line-height:1.75;
    }

    .bio-layout{
        gap:40px;
    }

    .bio-text p{
        font-size:16px;
        line-height:1.75;
        margin-bottom:22px;
    }

    .bio-text blockquote{
        margin:32px 0;
        padding-left:22px;
        font-size:18px;
        line-height:1.6;
    }

    .bio-image{
        max-width:100%;
    }

    .obras-gallery{
        grid-template-columns:1fr;
        gap:34px;
    }

    .gallery-item img{
        height:auto;
        max-height:none;
    }

    .gallery-caption{
        font-size:13px;
    }

    .expos-section{
        padding:38px 0;
    }

    .expos-section h2{
        font-size:18px;
        letter-spacing:1px;
    }

    .expos-list li{
        display:block;
        font-size:15.5px;
        line-height:1.7;
        padding:12px 0;
    }

    .expos-list li span{
        display:block;
        margin-bottom:2px;
        font-size:14px;
    }
}

/* RESPONSIVE — MOBILE CHICO */

@media(max-width:380px){

    header{
        height:72px;
        padding:0 18px;
    }

    .logo img{
        height:42px;
        max-height:42px;
        max-width:170px;
    }

    .logo-text{
        font-size:19px;
    }

    .mobile-menu{
        top:72px;
        height:calc(100vh - 72px);
    }

    .mobile-menu a{
        font-size:24px;
    }

    .hero{
        height:calc(100vh - 132px);
        min-height:360px;
    }

    .hero-text h1{
        font-size:30px;
    }

    .page-content{
        padding:42px 20px 60px;
    }

    .bio-container h1,
    .obras-title,
    .expos-title{
        font-size:34px;
    }
}

/* CONTACTO */

.contact-container{
    max-width:1280px;
    margin:0 auto;
}

.contact-header{
    display:block;
    max-width:780px;
    margin:0 0 70px 0;
}

.contact-title{
    display:block;
    font-size:58px;
    line-height:1.1;
    font-weight:300;
    letter-spacing:1px;
    color:#9a7b3f;
    margin:0 0 28px 0;
}

.contact-intro{
    display:block;
    width:100%;
    max-width:720px;
    font-size:18px;
    line-height:1.85;
    font-weight:300;
    color:#222;
    margin:0;
}

.contact-layout{
    display:grid;
    grid-template-columns:0.8fr 1.4fr;
    gap:90px;
    align-items:start;
    max-width:1080px;
}

.contact-info{
    padding-top:8px;
}

.contact-label{
    font-size:13px;
    letter-spacing:1.4px;
    text-transform:uppercase;
    color:#9a7b3f;
    margin-bottom:14px;
}

.contact-info a{
    display:inline-block;
    font-size:20px;
    line-height:1.6;
    font-weight:300;
    color:#222;
    text-decoration:none;
    border-bottom:1px solid rgba(0,0,0,0.20);
    transition:opacity 0.3s ease;
}

.contact-info a:hover{
    opacity:0.55;
}

.contact-form{
    width:100%;
}

.form-group{
    margin-bottom:22px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    border:0;
    border-bottom:1px solid rgba(0,0,0,0.22);
    background:transparent;
    padding:16px 0;
    font-size:17px;
    line-height:1.5;
    font-weight:300;
    color:#111;
    outline:none;
    transition:border-color 0.3s ease;
}

.contact-form textarea{
    min-height:160px;
    resize:vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color:#888;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-bottom-color:#9a7b3f;
}

.form-actions{
    display:flex;
    justify-content:flex-end;
    gap:18px;
    margin-top:34px;
}

.contact-form button{
    border:1px solid rgba(0,0,0,0.22);
    background:#fff;
    padding:13px 34px;
    font-size:13px;
    letter-spacing:1.4px;
    text-transform:uppercase;
    font-weight:300;
    cursor:pointer;
    transition:all 0.3s ease;
}

.contact-form .btn-primary{
    background:#111;
    color:#fff;
    border-color:#111;
}

.contact-form .btn-secondary{
    color:#111;
}

.contact-form button:hover{
    opacity:0.65;
}

/* RESPONSIVE CONTACTO */

@media(max-width:900px){

    .contact-header{
        max-width:100%;
        margin:0 0 50px 0;
    }

    .contact-title{
        font-size:46px;
        margin-bottom:24px;
    }

    .contact-intro{
        max-width:100%;
        font-size:17px;
        line-height:1.8;
    }

    .contact-layout{
        grid-template-columns:1fr;
        gap:48px;
    }

    .contact-info a{
        font-size:18px;
    }

    .contact-form input,
    .contact-form textarea{
        font-size:16px;
    }
}

@media(max-width:600px){

    .contact-header{
        margin:0 0 38px 0;
    }

    .contact-title{
        font-size:38px;
        margin-bottom:20px;
    }

    .contact-intro{
        font-size:16px;
        line-height:1.75;
    }

    .contact-layout{
        gap:38px;
    }

    .form-actions{
        justify-content:flex-start;
        flex-direction:column;
        gap:12px;
    }

    .contact-form button{
        width:100%;
        padding:14px 28px;
    }
}

@media(max-width:380px){

    .contact-title{
        font-size:34px;
    }

    .contact-info a{
        font-size:16px;
    }
}

/* MENSAJES FORMULARIO */

.form-message{
    margin-bottom:28px;
    font-size:16px;
    line-height:1.6;
    font-weight:300;
}

.form-message.ok{
    color:#58724a;
}

.form-message.error{
    color:#9a3f3f;
}