/* ==========================================================
   PANEL DE CONTROL INDEPENDIENTE DE TAMAÑOS (MODIFICA AQUÍ)
   ========================================================== */
:root {
    --tamano-letra-general: 18px;   /* Tamaño base de TODOS los textos (16px = normal del navegador) */

    --tamano-logo: 105px;         
    --tamano-menu-obras: 35px;
    --tamano-menu-proceso: 35px;
    --tamano-menu-sobremi: 35px;
    --tamano-menu-contacto: 33px;
    --tamano-idioma: 20px;        
    --tamano-titulo-proceso: 65px;
    --tamano-titulo-sobremi: 65px;
    --tamano-titulo-contacto: 65px;
    --tamano-obras-palabra: 65px;    
    --tamano-obras-serie: 50px;        

    --tamano-fuente-base: 1.05rem;      
    --tamano-fuente-obras: 0.77rem;    
    --tamano-fuente-sobremi: 0.86rem;  
    --tamano-fuente-proceso: var(--tamano-fuente-sobremi);  
    --tamano-fuente-contacto: var(--tamano-fuente-sobremi); 
    --tamano-fuente-legal: 0.72rem;
}

html {
    font-size: var(--tamano-letra-general);
}

/* CONFIGURACIÓN GLOBAL CON EB GARAMOND (Google Fonts) */
body {
    font-family: "EB Garamond", Georgia, serif;
    font-weight: 400;
    font-size: var(--tamano-fuente-base);
    color: #222222;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* CABECERA Y MENÚ INDEPENDIENTES */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 28px;
}

.nav-left {
    display: flex;
    align-items: flex-start;
}

.nav-left .nav-logo {
    height: var(--tamano-logo);
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 35px;
    padding-top: 25px;
}

.nav-right > a {
    display: inline-flex;
    align-items: center;
}

.nav-item-obras,
.nav-item-proceso,
.nav-item-sobre-mi,
.nav-item-contacto {
    width: auto;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.nav-item-obras { height: var(--tamano-menu-obras); }
.nav-item-proceso { height: var(--tamano-menu-proceso); }
.nav-item-sobre-mi { height: var(--tamano-menu-sobremi); }
.nav-item-contacto { height: var(--tamano-menu-contacto); }

.nav-item-obras:hover,
.nav-item-proceso:hover,
.nav-item-sobre-mi:hover,
.nav-item-contacto:hover {
    opacity: 1;
}

/* SELECTOR DE IDIOMA */
.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 20px;
    height: var(--tamano-idioma);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
}

.lang-img {
    height: var(--tamano-idioma);
    width: auto;
    opacity: 0.65;
    transition: opacity 0.3s ease;
    display: block;
}

.lang-btn:hover .lang-img {
    opacity: 1;
}

.lang-divider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-img-divider {
    height: 12px;
    width: auto;
    opacity: 0.4;
    display: block;
}

/* CONTENIDO GENERAL Y TEXTOS JUSTIFICADOS */
.page-content {
    max-width: 1100px;
    margin: 0 auto;
}

p {
    text-align: justify;
    text-justify: inter-word;
}

/* PIE DE PÁGINA Y AVISO LEGAL */
footer {
    text-align: center;
    padding: 40px 0;
    color: #666666;
}

footer,
footer p {
    font-size: var(--tamano-fuente-legal) !important;
}

footer p {
    text-align: center;
}

footer a {
    color: inherit;
    text-decoration: underline;
}

/* TÍTULOS DE PÁGINAS INTERIORES INDIVIDUALIZADOS */
.title-proceso-img,
.title-sobremi-img,
.title-contacto-img {
    width: auto;
    display: block;
    margin-bottom: 25px;
}
.title-proceso-img { height: var(--tamano-titulo-proceso); }
.title-sobremi-img { height: var(--tamano-titulo-sobremi); }
.title-contacto-img { height: var(--tamano-titulo-contacto); }

/* TÍTULO COMPUESTO DE LA SECCIÓN DE OBRAS (EN DOS PISOS) */
.section-title-container {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.title-obras-img {
    height: var(--tamano-obras-palabra);
    width: auto;
    display: block;
}

.title-serie-img {
    height: var(--tamano-obras-serie);
    width: auto;
    display: block;
}

/* "SERIE PARÍS 2025" + BOTÓN DE FILTROS EN LA MISMA LÍNEA */
.serie-row {
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.filter-wrap {
    position: relative;
}

/* "13 de 14 disponibles", mismo estilo que "Consultar envío" */
.works-count {
    margin-left: auto;
    font-size: 0.75rem;
    font-style: italic;
    color: #666666;
    white-space: nowrap;
}

/* los <button> usan el mismo estilo que el enlace "Adquirir obra" */
button.btn-inquire {
    margin-top: 0;
    line-height: inherit;
    cursor: pointer;
}

.btn-inquire[aria-pressed="true"],
.filter-toggle[aria-expanded="true"] {
    background-color: #222222;
    color: #ffffff;
}

.filter-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10;
    width: max-content;
    max-width: calc(100vw - 40px);
    padding: 16px 18px 18px;
    background-color: #ffffff;
    border: 1px solid #222222;
}

.filter-label {
    margin: 12px 0 6px;
    font-size: 0.72rem;
    font-style: italic;
    color: #666666;
    text-align: left;
}

.filter-label:first-child {
    margin-top: 0;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-card[hidden] {
    display: none;
}

/* PORTADA Y CUADRÍCULA DE OBRAS */
.hero-section {
    margin-bottom: 30px;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
}

.work-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

/* TODAS las fotos de obra usan exactamente el mismo marco y recorte */
.work-image {
    width: 100%;
    height: auto;
    display: block;
}

/* TÍTULO DE LA OBRA + BOTÓN DE LIKE EN LA MISMA LÍNEA */
.work-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.work-info .work-title {
    margin: 0;
}

.btn-like {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    line-height: 1;
    font-family: "EB Garamond", Georgia, serif;
    font-size: 0.85rem;
    color: #444;
    transition: opacity 0.2s ease;
}

.btn-like:hover {
    opacity: 0.7;
}

.heart-img {
    width: 21px;
    height: auto;
    display: block;
}

/* FICHA TÉCNICA DE LAS OBRAS */
.work-info p {
    text-align: left;
    margin: 2px 0;
    font-size: var(--tamano-fuente-obras);
    font-family: "EB Garamond", Georgia, serif;
    font-weight: 400;
}

.work-info p strong {
    font-family: "EB Garamond", Georgia, serif;
    font-weight: 600;
}

/* BOTÓN DE ADQUIRIR OBRA */
.btn-inquire {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    font-family: "EB Garamond", Georgia, serif;
    font-size: 0.72rem;
    color: #222222;
    background-color: transparent;
    border: 1px solid #222222;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-inquire:hover {
    background-color: #222222;
    color: #ffffff;
}

.work-actions {
    margin-top: 12px;
}

.work-actions .btn-inquire {
    margin-top: 0;
}

/* Aviso con el correo que aparece al pulsar "Adquirir obra" */
.work-info .inquire-note {
    margin: 8px 0 0;
    font-size: 0.74rem;
    font-style: italic;
    color: #666666;
    line-height: 1.5;
    overflow-wrap: anywhere;
    transition: opacity 0.4s ease;
}

.work-info .inquire-note strong {
    font-style: normal;
    font-weight: 400;
    color: #222222;
}

.work-info .inquire-note.is-hiding {
    opacity: 0;
}

/* "×" dentro de una cajita, con el mismo estilo que los botones de la web */
.inquire-note-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3em;
    height: 1.3em;
    margin-left: 6px;
    padding: 0;
    vertical-align: middle;
    font: inherit;
    font-style: normal;
    line-height: 1;
    color: #222222;
    background: transparent;
    border: 1px solid #222222;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inquire-note-close:hover {
    color: #ffffff;
    background-color: #222222;
}

/* ==========================================================
   ENLACES DE ENVÍO Y MARCO ARTESANAL
   ========================================================== */

.work-info .link-envio {
    display: block !important;
    width: fit-content;
    margin-top: 6px;
    font-size: 0.74rem;
    font-style: italic;
    color: #666666;
    text-decoration: none;
    font-family: "EB Garamond", Georgia, serif;
    font-weight: 400;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.work-info .link-envio + .link-envio {
    margin-top: 2px !important;
}

.work-info .link-envio:hover {
    color: #222222;
}

/* "Marco artesanal incluido": texto, no enlace */
.work-info .frame-note {
    margin-bottom: 0;
    cursor: default;
}

/* ESTADO OBRA VENDIDA (PUNTO ROJO) */
.status-sold {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.red-dot {
    width: 8px;
    height: 8px;
    background-color: #c0392b;
    border-radius: 50%;
    display: inline-block;
}

.status-text {
    font-family: "EB Garamond", Georgia, serif;
    font-size: 0.74rem;
    color: #666666;
    letter-spacing: 0.05em;
    font-style: italic;
}

/* ==========================================================
   ESTRUCTURA DE LA PÁGINA "SOBRE MÍ"
   ========================================================== */
.about-layout-3col {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    margin-top: 15px;
}

.about-title-col {
    flex: 0.8;
    min-width: 130px;
}

.about-title-col .title-sobremi-img {
    height: var(--tamano-titulo-sobremi);
    width: auto;
    display: block;
}

.about-image-col {
    flex: 2.2;
    max-width: 600px;
    width: 100%;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
}

.about-text-col {
    flex: 1.5;
}

.about-text-col p {
    margin-top: 0;
    margin-bottom: 22px;
    font-size: var(--tamano-fuente-sobremi);
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
}

/* ==========================================================
   ESTRUCTURA DE LA PÁGINA "PROCESO CREATIVO"
   ========================================================== */
.proceso-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 30px 20px 80px 20px;
}

.proceso-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.proceso-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.proceso-image-container {
    width: 100%;
    height: 520px;
    margin-bottom: 20px;
    overflow: hidden;
}

.proceso-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.proceso-heading {
    font-family: "EB Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    color: #111;
    margin-bottom: 10px;
    padding-bottom: 3px;
    border-bottom: 2px solid #222222;
    display: inline-block;
}

.proceso-text {
    font-family: "EB Garamond", Georgia, serif;
    font-size: var(--tamano-fuente-proceso);
    line-height: 1.6;
    color: #333;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
}

/* ==========================================================
   ESTRUCTURA DE LA PÁGINA "CONTACTO"
   ========================================================== */
.contacto-container {
    max-width: 580px;
    margin: 0;
    padding: 30px 20px 80px 20px;
    text-align: left;
}

.contacto-block {
    margin: 45px 0;
}

.contacto-heading {
    font-family: "EB Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    color: #111;
    margin-bottom: 10px;
    padding-bottom: 3px;
    border-bottom: 2px solid #222222;
    text-align: left;
    display: inline-block;
}

.contacto-text {
    font-family: "EB Garamond", Georgia, serif;
    font-size: var(--tamano-fuente-contacto);
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
    text-align: justify;        
    text-justify: inter-word;    
}

.contacto-value {
    text-align: left;
}

.contacto-value a {
    font-family: "EB Garamond", Georgia, serif;
    font-size: var(--tamano-fuente-contacto);
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.contacto-value a:hover {
    opacity: 0.6;
}

/* Los botones-cuadro de Contacto (correo, Instagram, TikTok, YouTube) van sin subrayado,
   y al pasar el ratón se rellenan de negro como el resto de botones de la web */
.contacto-value a.btn-inquire {
    text-decoration: none;
}

.contacto-value a.btn-inquire:hover {
    opacity: 1;
}

.contacto-divider {
    border: none;
    height: 1px;
    background-color: #eaeaea;
    margin: 45px 0;
}

ul.contacto-list {
    list-style-type: disc;
    margin: 10px 0 10px 20px;
}

/* PREGUNTAS FRECUENTES (DESPLEGABLES) */
.faq-item {
    border-bottom: 1px solid #eaeaea;
}

.faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 14px 28px 14px 0;
    font-family: "EB Garamond", Georgia, serif;
    font-size: var(--tamano-fuente-contacto);
    font-weight: 600;
    color: #111;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 400;
    font-size: 1.1rem;
    color: #555;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item summary:hover {
    opacity: 0.7;
}

.faq-item .contacto-text a {
    color: inherit;
    text-underline-offset: 3px;
}

.contacto-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* ==========================================================
   AVISO LEGAL
   ========================================================== */
.legal-container {
    max-width: 800px;
}

.legal-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.contacto-block.legal-block {
    margin-bottom: 30px;
}

.legal-block .contacto-heading {
    font-size: 1rem;
}

/* ==========================================================
   FOTO DE LA GALERÍA (enlace a la página de la obra)
   ========================================================== */

/* foto de la galería: enlaza a la página de la obra */
.work-image-link {
    display: block;
}

.work-image-link .work-image {
    transition: opacity 0.3s ease;
}

.work-image-link:hover .work-image {
    opacity: 0.88;
}

.work-image-link:focus-visible {
    outline: 1px solid #222222;
    outline-offset: 4px;
}

/* ==========================================================
   PÁGINA PROPIA DE CADA OBRA (obras/*.html, generadas por build.py)
   ========================================================== */

.obra-page {
    padding-top: 10px;
}

.obra-volver {
    display: inline-block;
    margin-bottom: 28px;
    font-size: 0.78rem;
    font-style: italic;
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.obra-volver:hover {
    color: #222222;
}

.obra-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

.obra-imagen img {
    display: block;
    width: 100%;
    height: auto;
}

/* la ficha acompaña a la foto al bajar, en pantallas grandes */
.obra-ficha {
    position: sticky;
    top: 30px;
    padding-top: 10px;
}

.work-info.obra-ficha p.obra-serie {
    margin: 0 0 6px;
    font-size: 0.72rem;
    color: #666666;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.obra-titulo {
    margin: 0 0 26px;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.2;
    color: #222222;
}

.obra-datos {
    margin: 0 0 26px;
    padding: 0;
    border-top: 1px solid #eaeaea;
}

.obra-datos div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
    font-size: 0.9rem;
}

.obra-datos dt {
    color: #666666;
}

.obra-datos dd {
    margin: 0;
    color: #222222;
    font-weight: 600;
    text-align: right;
}

.work-info.obra-ficha p.obra-texto {
    margin: 0 0 16px;
    font-size: var(--tamano-fuente-sobremi);
    line-height: 1.7;
    color: #222222;
}

.obra-ficha .work-actions {
    margin-top: 26px;
}

.obra-ficha .btn-inquire {
    padding: 9px 18px;
    font-size: 0.8rem;
}

.work-info.obra-ficha .link-envio {
    font-size: 0.8rem;
}

.obra-ficha .status-sold {
    margin-top: 26px;
}

/* anterior / siguiente */
.obra-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 70px;
    padding-top: 26px;
    border-top: 1px solid #eaeaea;
}

.obra-nav a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 45%;
    color: #222222;
    text-decoration: none;
}

.obra-nav-next {
    margin-left: auto;
    text-align: right;
}

.obra-nav-label {
    font-size: 0.72rem;
    color: #666666;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.obra-nav-titulo {
    font-size: 1rem;
    font-style: italic;
    transition: opacity 0.2s ease;
}

.obra-nav a:hover .obra-nav-titulo {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .obra-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .obra-ficha {
        position: static;
        padding-top: 0;
    }

    .obra-titulo {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .obra-nav {
        margin-top: 50px;
    }
}

/* ==========================================================
   FORMULARIO DE CONTACTO (contacto.html / contact-en.html)
   ========================================================== */

.contact-form-wrap {
    margin-top: 36px;
    scroll-margin-top: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 520px;
    margin-top: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field span {
    font-size: 0.72rem;
    color: #666666;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0;
    font-family: "EB Garamond", Georgia, serif;
    font-size: var(--tamano-fuente-contacto);
    color: #222222;
    background: transparent;
    border: none;
    border-bottom: 1px solid #bbbbbb;
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.form-field textarea {
    min-height: 140px;
    padding: 10px 12px;
    border: 1px solid #bbbbbb;
    line-height: 1.6;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #222222;
}

/* campo trampa contra el spam: invisible para las personas */
.form-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-privacy {
    margin: -6px 0 0;
    font-size: 0.74rem;
    font-style: italic;
    color: #666666;
    line-height: 1.5;
}

.form-privacy a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-form .btn-inquire {
    align-self: flex-start;
    margin-top: 0;
    font-size: var(--tamano-fuente-contacto);   /* igual que los demás botones de Contacto */
    cursor: pointer;
}

.form-sent {
    max-width: 520px;
    margin-top: 18px;
    padding: 16px 20px;
    font-size: var(--tamano-fuente-contacto);
    font-style: italic;
    color: #222222;
    border: 1px solid #222222;
}

/* enlace al formulario dentro del aviso de "Adquirir obra" */
.work-info .inquire-note a {
    color: #222222;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================
   PÁGINA 404 (dirección que no existe)
   ========================================================== */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 40px 0 60px;
}

.error-image {
    width: 280px;
    max-width: 40%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.error-text {
    max-width: 420px;
}

.error-text p {
    text-align: left;
}

.error-code {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: #666666;
}

.error-title {
    margin: 8px 0 16px;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.2;
    color: #222222;
}

.error-message {
    margin: 0 0 26px;
    font-size: var(--tamano-fuente-sobremi);
    line-height: 1.6;
}

.error-en {
    margin-top: 22px;
    font-size: 0.78rem;
    font-style: italic;
    color: #666666;
}

.error-en a {
    color: inherit;
}

@media (max-width: 768px) {
    .error-page {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .error-image {
        width: 200px;
        max-width: 60%;
    }

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

    .error-text p {
        text-align: center;
    }
}

/* ==========================================================
   RESPONSIVO (MÓVIL)
   ========================================================== */
@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .about-layout-3col {
        flex-direction: column;
        gap: 30px;
    }

    .about-image-col {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    :root {
        --tamano-fuente-base: 1.00rem;
        --tamano-fuente-obras: 0.72rem;
        --tamano-fuente-sobremi: 0.81rem;
    }

    .site-container {
        padding: 10px;
    }

    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .nav-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-left .nav-logo {
        height: 65px;
        width: auto;
    }

    .nav-right {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 4px;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .nav-right > a {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
    }

    .nav-item-obras,
    .nav-item-proceso,
    .nav-item-sobre-mi,
    .nav-item-contacto {
        opacity: 0.95;
        width: auto;
    }

    .nav-item-obras { height: 6.4vw; }
    .nav-item-proceso { height: 6.4vw; }
    .nav-item-sobre-mi { height: 6.4vw; }
    .nav-item-contacto { height: 6.2vw; }

    .lang-selector {
        flex-basis: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 8px;
        margin-left: 0;
    }

    .lang-img {
        height: 16px;
        width: auto;
    }

    .lang-img-divider {
        height: 11px;
        width: auto;
    }

    footer,
    footer p {
        font-size: calc(var(--tamano-fuente-legal) * 0.65) !important;
    }

    .title-obras-img { height: 32px; }
    .title-serie-img { height: 30px; }

    /* móvil: contador debajo de "Serie París 2025" y botón separado del borde */
    .serie-row {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "title filter"
            "count count";
        row-gap: 6px;
    }

    .serie-row .title-serie-img { grid-area: title; }
    .serie-row .filter-wrap {
        grid-area: filter;
        margin-right: 8px;
    }
    .serie-row .works-count {
        grid-area: count;
        margin-left: 0;
    }
    .title-proceso-img,
    .title-sobremi-img,
    .title-contacto-img {
        height: 32px;
        margin-bottom: 15px;
    }

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

    .proceso-grid {
        flex-direction: column;
        gap: 30px;
    }

    .proceso-image-container {
        height: 300px;
    }
}
