/* Las fuentes se cargan desde el HTML para evitar @import en CSS. */

/* =========================
   DIGITAL UKHTI
   ESTILOS GENERALES
========================= */

:root {
    --marfil: #FAF8F4;
    --beige: #EFEBE5;
    --negro: #1C1A18;
    --dorado: #80632F;
    --dorado-oscuro: #634B23;
    --blanco: #FFFFFF;
    --text-muted: #514B45;
    --border: #D8D1C7;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.5rem;
    --text-h3: 1.75rem;
    --text-h2: clamp(2rem, 3.4vw, 3.25rem);
    --text-h1: clamp(2.5rem, 4.5vw, 4rem);
    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --section-space: clamp(3rem, 6vw, 5rem);
    --gutter: clamp(1.25rem, 5vw, 4rem);
    --content-width: 1200px;
    --radius-sm: 4px;
    --radius-card: 8px;
    --duration: 180ms;
    --shadow: 0 12px 32px rgb(28 26 24 / 8%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--marfil);
    color: var(--negro);
    font-family: var(--font-body);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   CABECERA
========================= */

header {
    width: 100%;
    background: rgba(250, 248, 244, 0.96);
    border-bottom: 1px solid rgba(169, 133, 69, 0.18);
}

nav {
    max-width: 1400px;
    min-height: 88px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 2px;
    white-space: nowrap;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.menu-toggle {
    display: none;
}

.menu a {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.menu a:hover {
    color: var(--dorado);
}

.button-header {
    background: var(--negro);
    color: var(--blanco);
    padding: 13px 23px;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.button-header:hover {
    background: var(--dorado);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(250,248,244,1) 0%,
            rgba(250,248,244,0.97) 55%,
            rgba(231,213,193,0.55) 100%
        );
}

.hero-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 0;
}

.eyebrow {
    color: var(--dorado-oscuro);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: var(--space-5);
}

.hero h1 {
    max-width: 760px;
    font-family: var(--font-heading);
    font-size: clamp(52px, 6vw, 82px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -1px;
}

.hero h1 span {
    display: block;
    color: var(--dorado);
    font-style: italic;
    font-weight: 400;
}

.hero-text {
    max-width: 620px;
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 38px;
}

.button-primary,
.button-secondary {
    display: inline-block;
    padding: 15px 25px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.button-primary {
    background: var(--negro);
    color: var(--blanco);
}

.button-primary:hover {
    background: var(--dorado);
}

.button-secondary {
    border: 1px solid var(--dorado);
    color: var(--negro);
}

.button-secondary:hover {
    background: var(--dorado);
    color: var(--blanco);
}

.hero-note {
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.4px;
}


/* =========================
   TABLET Y MÓVIL
========================= */

@media (max-width: 950px) {

    nav {
        min-height: 75px;
    }

   .menu {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--marfil);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    z-index: 1000;
}
.menu.active {
    display: flex;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--negro);
}


    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 85px 0;
    }

    .hero h1 {
        font-size: clamp(45px, 10vw, 65px);
    }
}

@media (max-width: 600px) {

    nav {
        padding: 0 6%;
    }

    .logo {
        font-size: 20px;
    }

    .button-header {
        padding: 11px 15px;
        font-size: 9px;
    }

    .hero-content {
        width: 88%;
        padding: 70px 0;
    }

    .eyebrow {
        font-size: 9px;
        line-height: 1.6;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button-primary,
    .button-secondary {
        text-align: center;
    }
}
/* =========================================
   PORTFOLIO - DIGITAL UKHTI
   ========================================= */

.portfolio-header {
    background: var(--negro);
    padding: var(--space-5) 8%;
}

.portfolio-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-brand {
    color: var(--blanco);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.portfolio-nav nav {
    display: flex;
    gap: 35px;
}

.portfolio-nav nav a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.portfolio-nav nav a:hover {
    color: var(--dorado);
}


/* HERO */

.portfolio-hero {
    background: var(--marfil);
    padding: 120px 8% 100px;
    text-align: center;
}

.portfolio-hero > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-eyebrow {
    color: var(--dorado-oscuro);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.portfolio-hero h1 {
    color: var(--negro);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.05;
    font-weight: 500;
    margin-bottom: 30px;
}

.portfolio-intro {
    max-width: 650px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* PROYECTOS */

.portfolio-projects {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 8%;
}

.project-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    padding: 65px 0;
    border-top: 1px solid var(--border);
}

.project-card:last-child {
    border-bottom: 1px solid var(--border);
}

.project-number {
    color: var(--dorado);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.project-category {
    color: var(--dorado-oscuro);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.project-content h2 {
    color: var(--negro);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 20px;
}

.project-content > p:not(.project-category) {
    max-width: 650px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.project-link {
    display: inline-block;
    color: var(--negro);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--dorado);
    padding-bottom: 5px;
    transition: 0.3s ease;
}

.project-link:hover {
    color: var(--dorado-oscuro);
}


/* CTA */

.portfolio-cta {
    background: var(--negro);
    color: var(--blanco);
    text-align: center;
    padding: 110px 8%;
}

.portfolio-cta h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 500;
    margin-bottom: 20px;
}

.portfolio-cta > p:not(.portfolio-eyebrow) {
    color: #d6d6d6;
    margin-bottom: 35px;
}

.portfolio-button {
    display: inline-block;
    background: var(--dorado);
    color: var(--negro);
    padding: 15px 28px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.portfolio-button:hover {
    background: var(--blanco);
}


/* FOOTER */

.portfolio-footer {
    background: var(--negro);
    color: var(--text-muted);
    text-align: center;
    padding: 25px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
}


/* MÓVIL */

@media (max-width: 700px) {

    .portfolio-header {
        padding: 20px 6%;
    }

    .portfolio-nav {
        flex-direction: column;
        gap: 18px;
    }

    .portfolio-nav nav {
        gap: 22px;
    }

    .portfolio-hero {
        padding: 80px 7% 70px;
    }

    .portfolio-projects {
        padding: 60px 7%;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 50px 0;
    }

    .portfolio-cta {
        padding: 80px 7%;
    }
}
/* =========================================
   CASO DE ESTUDIO - DIGITAL UKHTI
   ========================================= */

.case-hero {
    background: var(--marfil);
    padding: 120px 8% 90px;
    text-align: center;
}

.case-hero h1 {
    color: var(--negro);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 25px;
}

.case-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.case-meta {
    max-width: 1000px;
    margin: 70px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 35px;
    border-top: 1px solid var(--border);
}

.case-meta span {
    display: block;
    color: var(--dorado-oscuro);
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.case-meta p {
    color: var(--negro);
    line-height: 1.6;
}


/* SECCIONES */

.case-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 8%;
}

.case-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.case-two-columns h2 {
    color: var(--negro);
   font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 500;
    line-height: 1.15;
}

.case-two-columns p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1rem;
}


/* BLOQUE DESTACADO */

.case-highlight {
    background: var(--beige);
    text-align: center;
    padding: 110px 8%;
}

.case-highlight h2 {
    max-width: 850px;
    margin: 0 auto 25px;
    color: var(--negro);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.15;
}

.case-highlight > p:not(.portfolio-eyebrow) {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
}


/* TARJETAS */

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 45px;
}

.case-info-card {
    border: 1px solid var(--border);
    padding: var(--space-7) 34px;
    background: var(--marfil);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.case-info-card:hover {
    transform: translateY(-6px);
    border-color: var(--dorado);
}

.case-info-card span {
    display: block;
    color: var(--dorado-oscuro);
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

.case-info-card h3 {
    color: var(--negro);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.case-info-card p {
    color: var(--text-muted);
    line-height: 1.8;
}


/* SECCIÓN OSCURA */

.case-dark {
    background: var(--negro);
    color: var(--blanco);
    padding: 110px 8%;
}

.case-dark .case-two-columns {
    max-width: 1200px;
    margin: 0 auto;
}

.case-dark h2 {
    color: var(--blanco);
}

.case-dark p {
    color: #ccc;
}


/* RESULTADO */

.case-result {
  background: var(--beige);
padding: 140px 8%;
text-align: center;
border-top: 1px solid var(--border);
}
.case-result h2 {
    max-width: 850px;
    margin: 0 auto 25px;
    color: var(--negro);
   font-family: var(--font-heading);
   font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 1.15;
}

.case-result > p:not(.portfolio-eyebrow) {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    line-height: 1.8;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .case-hero {
        padding: 85px 7% 65px;
    }

    .case-meta {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 25px;
    }

    .case-section {
        padding: 75px 7%;
    }

    .case-two-columns {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

    .case-highlight,
    .case-dark,
    .case-result {
        padding: 80px 7%;
    }
}
/* =========================================
   DIGITAL UKHTI - SISTEMA VISUAL
   ========================================= */

.brand-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 8% 110px;
}

.brand-showcase-title {
    max-width: 750px;
    margin-bottom: 55px;
}

.brand-showcase-title h2 {
    color: var(--negro);
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 500;
    line-height: 1.15;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 360px;
    margin-top: 40px;
    border: 1px solid #e7e1d8;
}

.color-block {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
   transition: transform 0.3s ease;
}
.color-block:hover {
    transform: translateY(-6px);
}
.color-block span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: var(--space-2);
}

.color-block p {
    font-size: 0.85rem;
}

.color-black {
    background: #25231F;
    color: var(--blanco);
}

.color-ivory {
    background:  #F4EFE6;
    color: var(--negro);
    border: 1px solid #eee8df;
}

.color-beige {
    background:  #C9A27E;
    color: var(--negro);
}

.color-gold {
    background: #7C8060;
    color: var(--blanco);
}

.brand-wordmark {
    background: #25231F;
    color: var(--blanco);
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
}

.brand-wordmark p {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 8px;
    margin-bottom: 18px;
}

.brand-wordmark span {
    color: var(--dorado);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
}

@media (max-width: 800px) {

    .brand-showcase {
        padding: 30px 7% 80px;
    }

    .color-palette {
        grid-template-columns: 1fr 1fr;
    }

    .color-block {
        min-height: 200px;
    }

    .brand-wordmark {
        min-height: 260px;
    }

    .brand-wordmark p {
        letter-spacing: 4px;
    }
   .web-features {
    grid-template-columns: 1fr;
}
}
/* CAPTURA WEB - CASO DE ESTUDIO */

.case-website-preview {
    margin-top: 70px;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e5e0d8;
    background: #f7f4ef;
    padding: 18px;
}

.case-website-preview img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .case-website-preview {
        margin-top: 45px;
        padding: var(--space-2);
    }
}
/* =========================================
   TIPOGRAFÍA - DIGITAL UKHTI
   ========================================= */

.typography-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 8%;
}

.typography-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.typography-heading h2 {
    color: var(--negro);
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1.15;
}

.typography-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.type-example {
    border: 1px solid #e3ddd4;
    padding: 42px 34px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.type-example > span {
    color: var(--dorado-oscuro);
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: auto;
}

.type-aa {
    font-size: clamp(5rem, 9vw, 8rem);
    line-height: 1;
    margin-bottom: 28px;
}

.type-example h3 {
    color: var(--negro);
    font-size: 1.5rem;
    margin-bottom: var(--space-3);
    font-weight: 500;
}

.type-example p {
    color: #666;
    line-height: 1.7;
}

.type-serif .type-aa,
.type-serif h3 {
    font-family: var(--font-heading);
}

.type-sans .type-aa,
.type-sans h3 {
    font-family: var(--font-body);
}

.type-serif {
    background: var(--marfil);
}

.type-sans {
    background: var(--beige);
}
/* ========================================
   EXPERIENCIA DIGITAL
======================================== */

.web-showcase {
    padding: 100px 7%;
    background: var(--marfil);
}

.web-showcase-header {
    max-width: 850px;
    margin-bottom: 55px;
}

.web-showcase-header h2 {
    font-family: var(--font-heading);
   font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1;
    margin-top: 15px;
    color: var(--negro);
}

.web-browser {
    max-width: 1150px;
    margin: 0 auto;
    border: 1px solid #ded8cf;
    background: var(--blanco);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.browser-bar {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    border-bottom: 1px solid #e7e1d8;
    background: #f5f1eb;
}

.browser-dots {
    display: flex;
    gap: 7px;
}

.browser-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--dorado);
}

.browser-address {
    margin: 0 auto;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #77716a;
}

.browser-screen img {
    display: block;
    width: 100%;
    height: auto;
}

.web-features {
    max-width: 1150px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ded8cf;
}

.web-features > div {
    padding: 35px 30px;
    border-right: 1px solid #ded8cf;
}

.web-features > div:last-child {
    border-right: none;
}

.web-features span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--dorado);
    margin-bottom: 20px;
}

.web-features h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: var(--space-3);
}

.web-features p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #68625c;
}
@media (max-width: 800px) {
    .typography-showcase {
        padding: 80px 7%;
    }

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

    .type-example {
        min-height: 330px;
    }
}
/* AJUSTE MÓVIL - EXPERIENCIA DIGITAL */

@media (max-width: 800px) {

    .web-showcase {
        padding: 70px 7%;
        overflow: hidden;
    }

    .web-browser {
        width: 100%;
        max-width: 100%;
    }

    .web-features {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .web-features > div {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ded8cf;
        padding: 30px 20px;
    }

    .web-features > div:last-child {
        border-bottom: none;
    }
}
/* =========================================
   CORRECCIÓN FINAL MÓVIL - EXPERIENCIA DIGITAL
   ========================================= */

@media (max-width: 800px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .web-showcase {
        width: 100%;
        max-width: 100%;
        padding: 60px 20px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .web-showcase-header {
        width: 100%;
        max-width: 100%;
    }

    .web-browser {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .browser-screen {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .browser-screen img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .web-features {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 35px 0 0 !important;
        box-sizing: border-box;
    }

    .web-features > div {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 30px 10px;
        border-right: none !important;
        border-bottom: 1px solid #ded8cf;
    }

    .web-features > div:last-child {
        border-bottom: none;
    }
}
/* =========================
   CONTACTO - DIGITAL UKHTI
========================= */

.contact-section {
    background: var(--marfil);
    padding: 120px 8%;
    border-top: 1px solid var(--border);
}

.contact-section > * {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.contact-eyebrow {
    color: var(--dorado-oscuro);
    font-size: 0.72rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-section h2 {
    font-family: var(--font-heading);
   font-size: clamp(3rem, 5vw, 4.3rem);
    font-weight: 500;
    line-height: 1;
    color: var(--negro);
    margin-bottom: 25px;
}

.contact-intro {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 850px;
    padding-right: 200px;
    margin-bottom: 55px;
}

.contact-form {
    display: grid;
    gap: 30px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--negro);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d8d1c7;
    background: transparent;
    padding: var(--space-4) 18px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--negro);
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--dorado);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    justify-self: start;
    background: var(--negro);
    color: var(--blanco);
    border: none;
    padding: 18px 30px;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    cursor: pointer;
}

.contact-form button:hover {
    background: var(--dorado);
    color: var(--negro);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 7%;
    }

    .contact-section h2 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
    }

    .contact-intro {
        padding-right: 0;
    }

    .contact-form button {
        width: 100%;
    }
}
/* ========================================
   SECCIÓN EMPIEZA AQUÍ
======================================== */

.start-section {
    padding: 100px 8%;
    background: var(--marfil);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.start-section .contact-eyebrow {
    margin-bottom: 22px;
}

.start-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.05;
    margin: 0 0 25px;
    max-width: 750px;
}

.start-section .contact-intro {
    max-width: 720px;
    margin-bottom: 38px;
    line-height: 1.8;
}

.start-section .button-primary {
    display: inline-block;
}


/* MÓVIL */

@media (max-width: 768px) {

    .start-section {
        padding: 70px 7%;
    }

    .start-section h2 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .start-section .contact-intro {
        margin-bottom: 30px;
    }

  .start-section .button-primary {
    width: auto;
    max-width: 100%;
    text-align: center;
    padding-left: 28px;
    padding-right: 28px;
}
    }
/* =========================
   RECURSOS
========================= */

.resources-section {
    padding: 110px 7%;
    background: var(--beige);
}

.resources-header {
    max-width: 760px;
    margin-bottom: 55px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.resource-card {
    background: var(--blanco);
    border: 1px solid var(--border);
    padding: 38px var(--space-6);
}

.resource-card h3 {
    margin-bottom: var(--space-4);
}

.resource-card p {
    line-height: 1.8;
    margin-bottom: var(--space-5);
}
/* RECURSOS - MÓVIL */

@media (max-width: 768px) {

    .resources-section {
        padding: 70px 7%;
    }

    .resources-header {
        margin-bottom: 35px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .resource-card {
        padding: 26px var(--space-5);
       min-height: auto;
    }
   .resource-card span {
    margin-bottom: var(--space-2);
}

.resource-card h3 {
    margin-bottom: 14px;
}

.resource-card p {
    margin-bottom: 0;
}
}
.resources-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(42px, 4.8vw, 62px);
    font-weight: 500;
    line-height: 1.08;
    max-width: 760px;
    margin-bottom: 20px;
}

.resources-intro {
    max-width: 720px;
    line-height: 1.8;
    margin-bottom: 55px;
}

.resource-card {
    min-height: 260px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.resource-card span {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--dorado);
    margin-bottom: 22px;
}

.resource-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
}

.resource-card:hover {
    transform: translateY(-4px);
    border-color: var(--dorado);
}

/* Vista previa de los proyectos seleccionados */
.resource-card.project-preview {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 0;
    min-height: 0;
    overflow: hidden;
}

.project-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.project-preview-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 13px 15px 14px;
}

.project-preview-content span {
    letter-spacing: .06em;
    margin-bottom: var(--space-1);
}

.project-preview-content h3 {
    font-size: 21px;
    margin-bottom: 5px;
}

.project-preview-content p {
    line-height: 1.4;
    margin-bottom: 9px;
}

.project-preview-content a {
    margin-top: auto;
}

@media (max-width: 768px) {
    .resource-card.project-preview {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .project-preview-content {
        padding: 13px 15px 14px;
    }
}

/* =========================
   PÁGINA GUÍAS
========================= */

.guides-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 40px 70px;
}

.guides-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 500;
    line-height: 1.05;
    max-width: 850px;
    margin: 25px 0 25px;
}

.guides-intro {
    max-width: 720px;
    font-size: 20px;
    line-height: 1.7;
    color: #444;
}

.guides-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px 120px;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
}

.guide-card {
    border: 1px solid #ddd8ce;
    background: var(--blanco);
    padding: 22px var(--space-5);
    min-height: 0;
}

.guide-card span {
    display: block;
    color: #a68b52;
    font-size: 14px;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
}

.guide-card h2 {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 500;
    margin-bottom: 10px;
}

.guide-card p {
    font-size: 16px;
    line-height: 1.55;
    color: #444;
}


/* MÓVIL */

@media (max-width: 768px) {

    .guides-hero {
        padding: 65px var(--space-5) 45px;
    }

    .guides-hero h1 {
        font-size: 46px;
    }

    .guides-intro {
        font-size: 18px;
    }

    .guides-section {
        padding: 10px var(--space-5) 70px;
    }

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

    .guide-card {
        padding: 22px var(--space-5);
        min-height: 0;
    }

    .guide-card span {
        margin-bottom: var(--space-2);
    }

    .guide-card h2 {
        font-size: 29px;
    }
}
@media (min-width: 769px) {
    .guide-card {
        width: 100%;
    }
}
/* Footer página de guías */
body > footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    border-top: 1px solid #e5e0d7;
}

body > footer {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    body > footer {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 28px var(--space-5) 36px !important;
        box-sizing: border-box;
    }

    body > footer p {
        margin: 0 !important;
    }
}
/* Alineación página Guías - escritorio */
@media (min-width: 769px) {

    .guides-hero {
        max-width: 1200px;
        margin: 0 auto;
        padding-left: 40px;
        padding-right: 40px;
        box-sizing: border-box;
    }

}
@media (min-width: 769px) {
    .guides-grid {
        margin-top: 45px;
    }
}
/* =========================================
   LA PRUN — IDENTIDAD VISUAL
   ========================================= */

.la-prun-page {
    --prun-crema: #F4EFE6;
    --prun-beige: #D8C7B3;
    --prun-terracota: #A66A4A;
    --prun-verde: #6F7654;
    --prun-marron: #4A3A30;
    --prun-oscuro: #1F1E1A;
}
/* LA PRUN — DIRECCIÓN VISUAL */

.la-prun-page .case-highlight {
    background: var(--prun-crema);
    color: var(--prun-oscuro);
}

.la-prun-page .case-highlight .portfolio-eyebrow {
    color: var(--prun-terracota);
}

.la-prun-page .case-highlight h2 {
    color: var(--prun-marron);
}
/* LA PRUN — AJUSTE FOTO CAFETERÍA EN MÓVIL */

@media (max-width: 768px) {

    .la-prun-visual {
        width: 100%;
        height: 340px;
        overflow: hidden;
    }

    .la-prun-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

}
/* Imagen principal - La Prun */
.la-prun-hero-image {
    width: 84%;
    max-width: 1200px;
    margin: 55px auto 0;
    overflow: hidden;
}

.la-prun-hero-image img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .la-prun-hero-image {
        width: 82%;
        max-width: 420px;
        margin: 25px auto 0;
    }

    .la-prun-hero-image img {
        width: 100%;
        height: 190px;
        object-fit: cover;
    }
}
/* AJUSTE FINAL FOTO LA PRUN EN MÓVIL */
@media (max-width: 768px) {

    .la-prun-page .la-prun-hero-image {
        width: 76% !important;
        max-width: 330px !important;
        margin: 22px auto 22px !important;
    }

      .la-prun-page .la-prun-hero-image img {
        width: 100% !important;
        height: 150px !important;
        object-fit: cover !important;
    }

    .la-prun-page .case-hero {
        padding-top: 20px !important;
    }

}
/* =========================
   PÁGINA SERVICIOS
========================= */

.services-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 40px 80px;
}

.services-page .section-label,
.services-cta .section-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.services-page h1 {
    font-family: var(--font-heading);
    font-size: clamp(46px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 400;
    max-width: 760px;
    margin-bottom: 28px;
}

.services-intro {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 55px;
}


/* TARJETAS */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
}

.service-card {
    border: 1px solid var(--border);
    padding: 38px;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    background: var(--marfil);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.service-card span {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 45px;
}

.service-card h2 {
    font-family: var(--font-heading);
    font-size: 31px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.service-card a {
    margin-top: auto;
    text-decoration: none;
    color: #111111;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.service-card a:hover {
    color: var(--text-muted);
}


/* CTA FINAL */

.services-cta {
    max-width: 1200px;
    margin: 70px auto 100px;
    padding: 75px 40px;
    text-align: center;
    background: #f3efe7;
}

.services-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    margin-bottom: 20px;
}

.services-cta p {
    max-width: 600px;
    margin: 0 auto 35px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
}


/* MÓVIL */

@media (max-width: 768px) {

    .services-page {
        padding: 70px 22px 60px;
    }

    .services-page h1 {
        font-size: 46px;
    }

    .services-intro {
        font-size: 16px;
        margin-bottom: 45px;
    }

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

    .service-card {
        padding: 30px 25px;
        min-height: auto;
    }

    .service-card span {
        margin-bottom: 30px;
    }

    .service-card h2 {
        font-size: 28px;
    }

    .services-cta {
        margin: 0 20px 70px;
        padding: 60px 25px;
    }
}
/* ========================================
   ESTUDIO DE MERCADO
======================================== */

.market-hero,
.market-section,
.market-deliverable,
.market-example,
.market-process,
.market-packages,
.market-cta {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.market-hero {
    padding: 110px 40px 100px;
}

.market-hero .section-label,
.market-section .section-label,
.market-deliverable .section-label,
.market-example .section-label,
.market-process .section-label,
.market-packages .section-label,
.market-cta .section-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.market-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.05;
    font-weight: 400;
    max-width: 950px;
    margin-bottom: 30px;
}

.market-intro {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 38px;
}


/* QUÉ ANALIZAMOS */

.market-section {
    padding: 90px 40px;
    border-top: 1px solid var(--border);
}

.market-heading {
    max-width: 750px;
    margin-bottom: 55px;
}

.market-heading h2,
.market-deliverable h2,
.market-example h2,
.market-process h2,
.market-packages h2,
.market-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 400;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.market-card {
    padding: 38px var(--space-6);
    min-height: 260px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.market-card span,
.process-grid span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

.market-card h3,
.process-grid h3 {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 400;
    margin-bottom: var(--space-4);
}

.market-card p,
.process-grid p {
    color: var(--text-muted);
    line-height: 1.7;
}


/* QUÉ RECIBES */

.market-deliverable {
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    background: #f3efe7;
}

.market-deliverable-text p:last-child {
    margin-top: 25px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 520px;
}

.market-list {
    border-top: 1px solid #cfc7b8;
}

.market-list div {
    padding: 17px 0;
    border-bottom: 1px solid #cfc7b8;
    font-size: 15px;
}


/* EJEMPLO */

.market-example {
    padding: 100px 40px;
}

.market-example-intro {
    margin-top: 25px;
    font-size: 19px;
    color: var(--text-muted);
}

.example-box {
    margin-top: 45px;
    max-width: 850px;
    border-left: 2px solid var(--text-muted);
    padding: 10px 0 10px 35px;
}

.example-box p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 18px;
}


/* PROCESO */

.market-process {
    padding: 100px 40px;
    border-top: 1px solid var(--border);
}

.market-process > h2 {
    margin-bottom: 55px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.process-grid > div {
    padding: 35px 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


/* PAQUETES */

.market-packages {
    padding: 100px 40px;
}

.market-packages > h2 {
    max-width: 800px;
    margin-bottom: 60px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.package-card {
    border: 1px solid var(--border);
    padding: 38px var(--space-6);
    display: flex;
    flex-direction: column;
}

.package-card.featured {
    background: #f3efe7;
    border-color: #c5b184;
}

.package-name {
    font-size: 12px;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.package-card h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 15px;
}

.package-price {
    font-family: var(--font-heading);
    font-size: 25px;
    margin-bottom: 30px;
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.package-card li {
    padding: 11px 0;
    border-bottom: 1px solid #e1ddd5;
    color: var(--text-muted);
    line-height: 1.5;
}

.package-card a {
    margin-top: auto;
    color: var(--negro);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}

.package-card a:hover {
    color: var(--text-muted);
}


/* CTA */

.market-cta {
    margin-bottom: 100px;
    padding: 90px 40px;
    background: #f3efe7;
    text-align: center;
}

.market-cta h2 {
    margin-bottom: 25px;
}

.market-cta > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 35px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}


/* TABLET Y MÓVIL */

@media (max-width: 900px) {

    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .market-deliverable {
        grid-template-columns: 1fr;
        gap: 55px;
    }
}


@media (max-width: 600px) {

    .market-hero,
    .market-section,
    .market-deliverable,
    .market-example,
    .market-process,
    .market-packages {
        padding: 70px 22px;
    }

    .market-hero h1 {
        font-size: 44px;
    }

    .market-intro {
        font-size: 16px;
    }

    .market-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .market-card {
        min-height: auto;
    }

    .market-cta {
        margin: 20px 20px 70px;
        padding: 65px 25px;
    }

    .example-box {
        padding-left: 22px;
    }
}
/* ========================================
   ANÁLISIS DE PRESENCIA DIGITAL
======================================== */

.digital-hero,
.digital-section,
.digital-deliverable,
.digital-example,
.digital-process,
.digital-packages,
.digital-cta {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.digital-hero {
    padding: 110px 40px 100px;
}

.digital-hero .section-label,
.digital-section .section-label,
.digital-deliverable .section-label,
.digital-example .section-label,
.digital-process .section-label,
.digital-packages .section-label,
.digital-cta .section-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.digital-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.05;
    font-weight: 400;
    max-width: 950px;
    margin-bottom: 30px;
}

.digital-intro {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 38px;
}


/* QUÉ ANALIZAMOS */

.digital-section {
    padding: 90px 40px;
    border-top: 1px solid var(--border);
}

.digital-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.digital-heading h2,
.digital-deliverable h2,
.digital-example h2,
.digital-process h2,
.digital-packages h2,
.digital-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 400;
}

.digital-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.digital-card {
    padding: 38px var(--space-6);
    min-height: 260px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.digital-card span,
.digital-process-grid span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

.digital-card h3,
.digital-process-grid h3 {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 400;
    margin-bottom: var(--space-4);
}

.digital-card p,
.digital-process-grid p {
    color: var(--text-muted);
    line-height: 1.7;
}


/* QUÉ RECIBES */

.digital-deliverable {
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    background: #f3efe7;
}

.digital-deliverable-text p:last-child {
    margin-top: 25px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 520px;
}

.digital-list {
    border-top: 1px solid #cfc7b8;
}

.digital-list div {
    padding: 17px 0;
    border-bottom: 1px solid #cfc7b8;
    font-size: 15px;
}


/* EJEMPLO */

.digital-example {
    padding: 100px 40px;
}

.digital-example-box {
    margin-top: 45px;
    max-width: 850px;
    border-left: 2px solid var(--text-muted);
    padding: 10px 0 10px 35px;
}

.digital-example-box p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 18px;
}


/* PROCESO */

.digital-process {
    padding: 100px 40px;
    border-top: 1px solid var(--border);
}

.digital-process > h2 {
    margin-bottom: 55px;
}

.digital-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.digital-process-grid > div {
    padding: 35px 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


/* PAQUETES */

.digital-packages {
    padding: 100px 40px;
}

.digital-packages > h2 {
    max-width: 800px;
    margin-bottom: 60px;
}

.digital-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.digital-package {
    border: 1px solid var(--border);
    padding: 38px var(--space-6);
    display: flex;
    flex-direction: column;
}

.digital-package.featured {
    background: #f3efe7;
    border-color: #c5b184;
}

.digital-package h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 15px;
}

.digital-package ul {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.digital-package li {
    padding: 11px 0;
    border-bottom: 1px solid #e1ddd5;
    color: var(--text-muted);
    line-height: 1.5;
}

.digital-package a {
    margin-top: auto;
    color: var(--negro);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}

.digital-package a:hover {
    color: var(--text-muted);
}


/* CTA */

.digital-cta {
    margin-bottom: 100px;
    padding: 90px 40px;
    background: #f3efe7;
    text-align: center;
}

.digital-cta h2 {
    margin-bottom: 25px;
}

.digital-cta > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 35px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}


/* TABLET */

@media (max-width: 900px) {

    .digital-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .digital-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .digital-packages-grid {
        grid-template-columns: 1fr;
    }

    .digital-deliverable {
        grid-template-columns: 1fr;
        gap: 55px;
    }
}


/* MÓVIL */

@media (max-width: 600px) {

    .digital-hero,
    .digital-section,
    .digital-deliverable,
    .digital-example,
    .digital-process,
    .digital-packages {
        padding: 70px 22px;
    }

    .digital-hero h1 {
        font-size: 44px;
    }

    .digital-intro {
        font-size: 16px;
    }

    .digital-grid,
    .digital-process-grid {
        grid-template-columns: 1fr;
    }

    .digital-card {
        min-height: auto;
    }

    .digital-cta {
        margin: 20px 20px 70px;
        padding: 65px 25px;
    }

    .digital-example-box {
        padding-left: 22px;
    }
}
/* ========================================
   SEO Y OPTIMIZACIÓN WEB
======================================== */

.seo-hero,
.seo-section,
.seo-deliverable,
.seo-example,
.seo-process,
.seo-packages,
.seo-note,
.seo-cta {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.seo-hero {
    padding: 110px 40px 100px;
}

.seo-hero .section-label,
.seo-section .section-label,
.seo-deliverable .section-label,
.seo-example .section-label,
.seo-process .section-label,
.seo-packages .section-label,
.seo-cta .section-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.seo-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.05;
    font-weight: 400;
    max-width: 950px;
    margin-bottom: 30px;
}

.seo-intro {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 38px;
}


/* QUÉ OPTIMIZAMOS */

.seo-section {
    padding: 90px 40px;
    border-top: 1px solid var(--border);
}

.seo-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.seo-heading h2,
.seo-deliverable h2,
.seo-example h2,
.seo-process h2,
.seo-packages h2,
.seo-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 400;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.seo-card {
    padding: 38px var(--space-6);
    min-height: 260px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.seo-card span,
.seo-process-grid span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

.seo-card h3,
.seo-process-grid h3 {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 400;
    margin-bottom: var(--space-4);
}

.seo-card p,
.seo-process-grid p {
    color: var(--text-muted);
    line-height: 1.7;
}


/* QUÉ RECIBES */

.seo-deliverable {
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    background: #f3efe7;
}

.seo-deliverable-text p:last-child {
    margin-top: 25px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 520px;
}

.seo-list {
    border-top: 1px solid #cfc7b8;
}

.seo-list div {
    padding: 17px 0;
    border-bottom: 1px solid #cfc7b8;
    font-size: 15px;
}


/* EJEMPLO */

.seo-example {
    padding: 100px 40px;
}

.seo-example-box {
    margin-top: 45px;
    max-width: 850px;
    border-left: 2px solid var(--text-muted);
    padding: 10px 0 10px 35px;
}

.seo-example-box p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 18px;
}


/* PROCESO */

.seo-process {
    padding: 100px 40px;
    border-top: 1px solid var(--border);
}

.seo-process > h2 {
    margin-bottom: 55px;
}

.seo-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.seo-process-grid > div {
    padding: 35px 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


/* PAQUETES */

.seo-packages {
    padding: 100px 40px;
}

.seo-packages > h2 {
    max-width: 800px;
    margin-bottom: 60px;
}

.seo-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.seo-package {
    border: 1px solid var(--border);
    padding: 38px var(--space-6);
    display: flex;
    flex-direction: column;
}

.seo-package.featured {
    background: #f3efe7;
    border-color: #c5b184;
}

.seo-package h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 15px;
}

.seo-package ul {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.seo-package li {
    padding: 11px 0;
    border-bottom: 1px solid #e1ddd5;
    color: var(--text-muted);
    line-height: 1.5;
}

.seo-package a {
    margin-top: auto;
    color: var(--negro);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}

.seo-package a:hover {
    color: var(--text-muted);
}


/* NOTA SEO */

.seo-note {
    padding: 35px 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.seo-note p {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}


/* CTA */

.seo-cta {
    margin-bottom: 100px;
    padding: 90px 40px;
    background: #f3efe7;
    text-align: center;
}

.seo-cta h2 {
    margin-bottom: 25px;
}

.seo-cta > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 35px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}


/* TABLET */

@media (max-width: 900px) {

    .seo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .seo-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .seo-packages-grid {
        grid-template-columns: 1fr;
    }

    .seo-deliverable {
        grid-template-columns: 1fr;
        gap: 55px;
    }
}


/* MÓVIL */

@media (max-width: 600px) {

    .seo-hero,
    .seo-section,
    .seo-deliverable,
    .seo-example,
    .seo-process,
    .seo-packages {
        padding: 70px 22px;
    }

    .seo-hero h1 {
        font-size: 44px;
    }

    .seo-intro {
        font-size: 16px;
    }

    .seo-grid,
    .seo-process-grid {
        grid-template-columns: 1fr;
    }

    .seo-card {
        min-height: auto;
    }

    .seo-note {
        padding: 30px 22px;
    }

    .seo-cta {
        margin: 20px 20px 70px;
        padding: 65px 25px;
    }

    .seo-example-box {
        padding-left: 22px;
    }
}
/* ========================================
   DISEÑO Y DESARROLLO WEB
======================================== */

.web-hero,
.web-section,
.web-deliverable,
.web-example,
.web-process,
.web-packages,
.web-note,
.web-cta {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.web-hero {
    padding: 110px 40px 100px;
}

.web-hero .section-label,
.web-section .section-label,
.web-deliverable .section-label,
.web-example .section-label,
.web-process .section-label,
.web-packages .section-label,
.web-cta .section-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.web-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.05;
    font-weight: 400;
    max-width: 950px;
    margin-bottom: 30px;
}

.web-intro {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 38px;
}


/* QUÉ INCLUYE */

.web-section {
    padding: 90px 40px;
    border-top: 1px solid var(--border);
}

.web-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.web-heading h2,
.web-deliverable h2,
.web-example h2,
.web-process h2,
.web-packages h2,
.web-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 400;
}

.web-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.web-card {
    padding: 38px var(--space-6);
    min-height: 260px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.web-card span,
.web-process-grid span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

.web-card h3,
.web-process-grid h3 {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 400;
    margin-bottom: var(--space-4);
}

.web-card p,
.web-process-grid p {
    color: var(--text-muted);
    line-height: 1.7;
}


/* QUÉ RECIBES */

.web-deliverable {
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    background: #f3efe7;
}

.web-deliverable-text p:last-child {
    margin-top: 25px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 520px;
}

.web-list {
    border-top: 1px solid #cfc7b8;
}

.web-list div {
    padding: 17px 0;
    border-bottom: 1px solid #cfc7b8;
    font-size: 15px;
}


/* EJEMPLO */

.web-example {
    padding: 100px 40px;
}

.web-example-box {
    margin-top: 45px;
    max-width: 850px;
    border-left: 2px solid var(--text-muted);
    padding: 10px 0 10px 35px;
}

.web-example-box p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 18px;
}


/* PROCESO */

.web-process {
    padding: 100px 40px;
    border-top: 1px solid var(--border);
}

.web-process > h2 {
    margin-bottom: 55px;
}

.web-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.web-process-grid > div {
    padding: 35px 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


/* PAQUETES */

.web-packages {
    padding: 100px 40px;
}

.web-packages > h2 {
    max-width: 800px;
    margin-bottom: 60px;
}

.web-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.web-package {
    border: 1px solid var(--border);
    padding: 38px var(--space-6);
    display: flex;
    flex-direction: column;
}

.web-package.featured {
    background: #f3efe7;
    border-color: #c5b184;
}

.web-package h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 15px;
}

.web-package ul {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.web-package li {
    padding: 11px 0;
    border-bottom: 1px solid #e1ddd5;
    color: var(--text-muted);
    line-height: 1.5;
}

.web-package a {
    margin-top: auto;
    color: var(--negro);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}

.web-package a:hover {
    color: var(--text-muted);
}


/* NOTA */

.web-note {
    padding: 35px 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.web-note p {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}


/* CTA */

.web-cta {
    margin-bottom: 100px;
    padding: 90px 40px;
    background: #f3efe7;
    text-align: center;
}

.web-cta h2 {
    margin-bottom: 25px;
}

.web-cta > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 35px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}


/* TABLET */

@media (max-width: 900px) {

    .web-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .web-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .web-packages-grid {
        grid-template-columns: 1fr;
    }

    .web-deliverable {
        grid-template-columns: 1fr;
        gap: 55px;
    }
}


/* MÓVIL */

@media (max-width: 600px) {

    .web-hero,
    .web-section,
    .web-deliverable,
    .web-example,
    .web-process,
    .web-packages {
        padding: 70px 22px;
    }

    .web-hero h1 {
        font-size: 44px;
    }

    .web-intro {
        font-size: 16px;
    }

    .web-grid,
    .web-process-grid {
        grid-template-columns: 1fr;
    }

    .web-card {
        min-height: auto;
    }

    .web-note {
        padding: 30px 22px;
    }

    .web-cta {
        margin: 20px 20px 70px;
        padding: 65px 25px;
    }

    .web-example-box {
        padding-left: 22px;
    }
}
/* ========================================
   SERVICIOS EN HOME
======================================== */

.home-services {
    max-width: 1200px;
    margin: 90px auto 0;
    padding-top: 70px;
    border-top: 1px solid var(--border);
}

.home-services-heading {
    max-width: 720px;
    margin-bottom: 50px;
}

.home-services-heading .section-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.home-services-heading h2 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 20px;
}

.home-services-heading > p:not(.section-label) {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.home-service-item {
    min-height: 250px;
    padding: 30px 26px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--negro);
    display: flex;
    flex-direction: column;
    transition: background 0.25s ease;
}

.home-service-item:hover {
    background: #f3efe7;
}

.home-service-item span {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 42px;
}

.home-service-item h3 {
    font-family: var(--font-heading);
    font-size: 25px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 25px;
}

.home-service-item > p {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-muted);
    margin-bottom: 22px;
}

/* Solo el último texto de las tarjetas de servicios funciona como CTA */
a.home-service-item > p:last-child {
    margin-top: auto;
    margin-bottom: 0;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--negro);
}

/* Los pasos de "Cómo trabajo" mantienen texto normal */
div.home-service-item > p {
    margin-top: 0;
    margin-bottom: 0;
}


/* TABLET */

@media (max-width: 900px) {

    .home-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* MÓVIL */

@media (max-width: 600px) {

    .home-services {
        margin-top: 65px;
        padding-top: 55px;
    }

    .home-services-heading {
        margin-bottom: 35px;
    }

    .home-services-heading h2 {
        font-size: 38px;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .home-service-item {
        min-height: auto;
        padding: 28px 22px;
    }

    .home-service-item span {
        margin-bottom: 28px;
    }

    .home-service-item h3 {
        font-size: 26px;
    }
}
/* ========================================
   SOBRE DIGITAL UKHTI
======================================== */

.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 40px;
    border-top: 1px solid var(--border);
}

.about-container {
    max-width: 980px;
}

.about-section .eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.about-section h2 {
    max-width: 850px;
    font-family: var(--font-heading);
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
    font-weight: 400;
    margin-bottom: 45px;
}

.about-content {
    max-width: 760px;
    margin-bottom: 42px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-section .button-primary {
    display: inline-block;
    margin-top: var(--space-2);
}


/* MÓVIL */

@media (max-width: 700px) {

    .about-section {
        padding: 75px 22px;
    }

    .about-section h2 {
        font-size: 42px;
        margin-bottom: 35px;
    }

    .about-content p {
        font-size: 16px;
        line-height: 1.75;
    }
}
/* ========================================
   PÁGINA DE PLANTILLAS
======================================== */

.templates-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 60px 80px;
}

.templates-hero h1 {
    max-width: 900px;
    margin: 20px 0 30px;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.templates-intro {
    max-width: 720px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
}


/* TARJETAS */

.templates-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 60px 100px;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.template-card {
    min-height: 390px;
    padding: 45px 35px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.template-card > span {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: #888;
    margin-bottom: 55px;
}

.template-category {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.template-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 20px;
}

.template-card p {
    line-height: 1.7;
}

.template-status {
    margin-top: auto;
    padding-top: 35px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* BLOQUE FINAL */

.templates-cta {
    padding: 100px 60px;
    text-align: center;
    border-top: 1px solid #ddd;
}

.templates-cta h2 {
    max-width: 750px;
    margin: 20px auto;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
}

.templates-cta > p:not(.contact-eyebrow) {
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.8;
    color: var(--text-muted);
}

.templates-cta .button {
    display: inline-block;
    padding: var(--space-4) 28px;
    background: var(--negro);
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}


/* TABLET */

@media (max-width: 900px) {

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

    .template-card {
        min-height: 320px;
    }
}


/* MÓVIL */

@media (max-width: 600px) {

    .templates-hero {
        padding: 80px var(--space-5) 55px;
    }

    .templates-hero h1 {
        font-size: 3rem;
    }

    .templates-section {
        padding: 10px var(--space-5) 70px;
    }

    .template-card {
        padding: 35px 28px;
        min-height: 300px;
    }

    .template-card > span {
        margin-bottom: 35px;
    }

    .template-card h2 {
        font-size: 1.7rem;
    }

    .templates-cta {
        padding: 70px var(--space-5);
    }

    .templates-cta h2 {
        font-size: 2.5rem;
    }
}
/* ========================================
   PÁGINA DE CURSOS
======================================== */

.courses-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 60px 80px;
}

.courses-hero h1 {
    max-width: 900px;
    margin: 20px 0 30px;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.courses-intro {
    max-width: 720px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
}


/* TARJETAS DE CURSOS */

.courses-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 60px 100px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.course-card {
    min-height: 400px;
    padding: 45px 35px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.course-card > span {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: #888;
    margin-bottom: 55px;
}

.course-category {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.course-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 20px;
}

.course-card p {
    line-height: 1.7;
    color: var(--text-muted);
}

.course-status {
    margin-top: auto;
    padding-top: 35px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--negro);
}


/* APRENDE A TU RITMO */

.courses-path {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    background: #f3efe7;
}

.courses-path-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 20px 0 30px;
}

.courses-path-content > p:not(.contact-eyebrow) {
    max-width: 560px;
    line-height: 1.8;
    color: var(--text-muted);
}

.courses-benefits {
    border-top: 1px solid #cfc7b8;
}

.courses-benefits > div {
    padding: 22px 0;
    border-bottom: 1px solid #cfc7b8;
}

.courses-benefits span {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.courses-benefits p {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}


/* CTA FINAL */

.courses-cta {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 100px 60px;
    text-align: center;
}

.courses-cta h2 {
    max-width: 750px;
    margin: 20px auto;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
}

.courses-cta > p:not(.contact-eyebrow) {
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.8;
    color: var(--text-muted);
}

.courses-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.courses-buttons .button {
    display: inline-block;
    padding: var(--space-4) 28px;
    background: var(--negro);
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.courses-buttons .button-secondary {
    display: inline-block;
    padding: var(--space-4) 28px;
    border: 1px solid #c5b184;
    color: var(--negro);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}


/* TABLET */

@media (max-width: 900px) {

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

    .courses-path {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .course-card {
        min-height: 320px;
    }
}


/* MÓVIL */

@media (max-width: 600px) {

    .courses-hero {
        padding: 80px var(--space-5) 55px;
    }

    .courses-hero h1 {
        font-size: 3rem;
    }

    .courses-section {
        padding: 10px var(--space-5) 70px;
    }

    .course-card {
        padding: 35px 28px;
        min-height: 300px;
    }

    .course-card > span {
        margin-bottom: 35px;
    }

    .course-card h2 {
        font-size: 1.7rem;
    }

    .courses-path {
        padding: 70px var(--space-5);
    }

    .courses-path-content h2 {
        font-size: 2.5rem;
    }

    .courses-cta {
        padding: 70px var(--space-5);
        margin-bottom: 70px;
    }

    .courses-cta h2 {
        font-size: 2.5rem;
    }

    .courses-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .courses-buttons a {
        text-align: center;
    }
}
/* ========================================
   PÁGINA APRENDE
======================================== */

.learn-hero,
.learn-section,
.learn-method,
.learn-resources {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO */

.learn-hero {
    padding: 120px 40px 110px;
}

.learn-hero .section-label,
.learn-section .section-label,
.learn-method .section-label,
.learn-resources .section-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.learn-hero h1 {
    max-width: 950px;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.05;
    font-weight: 400;
}

.learn-intro {
    max-width: 720px;
    margin-bottom: 38px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
}


/* RUTAS */

.learn-section {
    padding: 100px 40px;
    border-top: 1px solid var(--border);
}

.learn-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.learn-heading h2,
.learn-method-intro h2,
.learn-resources h2 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 25px;
}

.learn-heading > p:not(.section-label),
.learn-method-intro > p:not(.section-label),
.learn-resources > p:not(.section-label) {
    max-width: 650px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.learn-card {
    min-height: 360px;
    padding: 40px 35px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.learn-card > span {
    display: block;
    margin-bottom: 45px;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
}

.learn-category {
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.learn-card h3 {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 31px;
    line-height: 1.2;
    font-weight: 400;
}

.learn-card > p:not(.learn-category) {
    max-width: 480px;
    color: var(--text-muted);
    line-height: 1.7;
}

.learn-card a {
    margin-top: auto;
    padding-top: 30px;
    color: var(--negro);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}

.learn-card a:hover {
    color: var(--text-muted);
}


/* CÓMO APRENDERÁS */

.learn-method {
    padding: 100px 40px;
    background: #f3efe7;
}

.learn-method-intro {
    max-width: 760px;
    margin-bottom: 60px;
}

.learn-method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #cfc7b8;
    border-left: 1px solid #cfc7b8;
}

.learn-method-grid > div {
    min-height: 240px;
    padding: 35px 30px;
    border-right: 1px solid #cfc7b8;
    border-bottom: 1px solid #cfc7b8;
}

.learn-method-grid span {
    display: block;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
}

.learn-method-grid h3 {
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
}

.learn-method-grid p {
    color: var(--text-muted);
    line-height: 1.7;
}


/* RECURSOS */

.learn-resources {
    padding: 110px 40px;
    text-align: center;
}

.learn-resources h2 {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.learn-resources > p:not(.section-label) {
    margin-left: auto;
    margin-right: auto;
}

.learn-resource-links {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.learn-resource-links a {
    min-width: 220px;
    padding: 25px 35px;
    border-right: 1px solid var(--border);
    color: var(--negro);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}

.learn-resource-links a:first-child {
    border-left: 1px solid var(--border);
}

.learn-resource-links a:hover {
    background: #f3efe7;
}


/* TABLET */

@media (max-width: 900px) {

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

    .learn-method-grid {
        grid-template-columns: 1fr;
    }

    .learn-card {
        min-height: 310px;
    }
}


/* MÓVIL */

@media (max-width: 600px) {

    .learn-hero,
    .learn-section,
    .learn-method,
    .learn-resources {
        padding: 70px 22px;
    }

    .learn-hero h1 {
        font-size: 44px;
    }

    .learn-intro {
        font-size: 16px;
    }

    .learn-heading h2,
    .learn-method-intro h2,
    .learn-resources h2 {
        font-size: 38px;
    }

    .learn-card {
        min-height: auto;
        padding: var(--space-6) 25px;
    }

    .learn-card > span {
        margin-bottom: 30px;
    }

    .learn-card h3 {
        font-size: 28px;
    }

    .learn-method-grid > div {
        min-height: auto;
        padding: 30px 25px;
    }

    .learn-resource-links {
        display: block;
    }

    .learn-resource-links a,
    .learn-resource-links a:first-child {
        display: block;
        width: 100%;
        min-width: 0;
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .learn-resource-links a:last-child {
        border-bottom: 0;
    }
}
/* ========================================
   RUTA · DISEÑO WEB DESDE CERO
======================================== */

.webcourse-hero,
.webcourse-about,
.webcourse-lessons,
.webcourse-method,
.webcourse-cta {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO */

.webcourse-hero {
    padding: 120px 40px 100px;
}

.webcourse-hero .section-label,
.webcourse-about .section-label,
.webcourse-lessons .section-label,
.webcourse-method .section-label,
.webcourse-cta .section-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.webcourse-hero h1 {
    max-width: 950px;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-size: clamp(50px, 7vw, 82px);
    line-height: 1.04;
    font-weight: 400;
}

.webcourse-intro {
    max-width: 720px;
    margin-bottom: 50px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
}


/* INFORMACIÓN DE LA RUTA */

.webcourse-meta {
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 45px;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.webcourse-meta > div {
    padding: 25px 22px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.webcourse-meta span {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.webcourse-meta strong {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 400;
}


/* QUÉ APRENDERÁS */

.webcourse-about {
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    background: #f3efe7;
}

.webcourse-about h2,
.webcourse-lessons h2,
.webcourse-method h2,
.webcourse-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 400;
}

.webcourse-about-text {
    padding-top: 40px;
}

.webcourse-about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}


/* LECCIONES */

.webcourse-lessons {
    padding: 110px 40px;
}

.webcourse-lessons-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.webcourse-lessons-list {
    border-top: 1px solid var(--border);
}

.webcourse-lesson {
    min-height: 100px;
    display: grid;
    grid-template-columns: 80px 1fr 150px;
    align-items: center;
    gap: 25px;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
    color: var(--negro);
    text-decoration: none;
}

a.webcourse-lesson {
    transition: background 0.2s ease;
}

a.webcourse-lesson:hover {
    background: #f3efe7;
}

.webcourse-lesson > span {
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
}

.webcourse-lesson h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 23px;
    line-height: 1.3;
    font-weight: 400;
}

.webcourse-lesson > p {
    margin: 0;
    text-align: right;
    color: #777;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

a.webcourse-lesson > p {
    color: var(--negro);
}


/* MÉTODO */

.webcourse-method {
    padding: 100px 40px;
    border-top: 1px solid var(--border);
}

.webcourse-method > h2 {
    margin-bottom: 55px;
}

.webcourse-method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.webcourse-method-grid > div {
    min-height: 250px;
    padding: 35px 30px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.webcourse-method-grid span {
    display: block;
    margin-bottom: 45px;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
}

.webcourse-method-grid h3 {
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
}

.webcourse-method-grid p {
    color: var(--text-muted);
    line-height: 1.7;
}


/* CTA FINAL */

.webcourse-cta {
    margin-bottom: 100px;
    padding: 90px 40px;
    background: #f3efe7;
    text-align: center;
}

.webcourse-cta h2 {
    max-width: 760px;
    margin: 0 auto 25px;
}

.webcourse-cta > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 35px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}


/* TABLET */

@media (max-width: 900px) {

    .webcourse-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .webcourse-about {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .webcourse-about-text {
        padding-top: 0;
    }

    .webcourse-method-grid {
        grid-template-columns: 1fr;
    }
}


/* MÓVIL */

@media (max-width: 600px) {

    .webcourse-hero,
    .webcourse-about,
    .webcourse-lessons,
    .webcourse-method {
        padding: 70px 22px;
    }

    .webcourse-hero h1 {
        font-size: 46px;
    }

    .webcourse-intro {
        font-size: 16px;
    }

    .webcourse-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .webcourse-meta > div {
        padding: 20px 15px;
    }

    .webcourse-about h2,
    .webcourse-lessons h2,
    .webcourse-method h2,
    .webcourse-cta h2 {
        font-size: 38px;
    }

    .webcourse-lesson {
        grid-template-columns: 45px 1fr;
        gap: 15px;
        padding: 22px 10px;
    }

    .webcourse-lesson h3 {
        font-size: 19px;
    }

    .webcourse-lesson > p {
        grid-column: 2;
        text-align: left;
    }

    .webcourse-method-grid > div {
        min-height: auto;
        padding: 30px 25px;
    }

    .webcourse-method-grid span {
        margin-bottom: 28px;
    }

    .webcourse-cta {
        margin: 20px 20px 70px;
        padding: 65px 25px;
    }
}
/* ========================================
   LECCIONES · DIGITAL UKHTI
======================================== */

.lesson-hero,
.lesson-content,
.lesson-navigation {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO */

.lesson-hero {
    padding: 100px 40px 80px;
}

.lesson-back {
    display: inline-block;
    margin-bottom: 65px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
}

.lesson-back:hover {
    color: var(--text-muted);
}

.lesson-hero .section-label,
.lesson-block .section-label,
.lesson-exercise .section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.lesson-hero h1 {
    max-width: 850px;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.05;
    font-weight: 400;
}

.lesson-intro {
    max-width: 720px;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.8;
}

.lesson-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.lesson-meta span {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #666;
}


/* CONTENIDO */

.lesson-content {
    padding: 20px 40px 100px;
}

.lesson-block {
    max-width: 820px;
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.lesson-number {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 3px;
}

.lesson-block h2,
.lesson-exercise h2 {
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 400;
}

.lesson-block > p:not(.lesson-number):not(.section-label):not(.lesson-small) {
    margin-bottom: 20px;
    color: #444;
    font-size: 17px;
    line-height: 1.9;
}


/* HTML · CSS · JAVASCRIPT */

.lesson-concepts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 45px;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.lesson-concepts > div {
    padding: 30px 25px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lesson-concepts span {
    display: block;
    margin-bottom: 35px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 2px;
}

.lesson-concepts h3 {
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 400;
}

.lesson-concepts p {
    color: var(--text-muted);
    line-height: 1.7;
}


/* EJEMPLO DE DOMINIO */

.lesson-code {
    margin: 35px 0;
    padding: 25px 30px;
    background: var(--negro);
    color: var(--blanco);
    font-family: monospace;
    font-size: 17px;
    letter-spacing: 1px;
}


/* PASOS */

.lesson-steps {
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

.lesson-steps > div {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.lesson-steps span {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
}

.lesson-steps p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}


/* DOMINIO VS ALOJAMIENTO */

.lesson-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.lesson-comparison > div {
    padding: 35px 30px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lesson-small {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 2px;
}

.lesson-comparison h3 {
    margin-bottom: 18px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
}

.lesson-comparison div > p:last-child {
    color: var(--text-muted);
    line-height: 1.7;
}

.lesson-note {
    margin-top: 30px;
    padding: 28px 30px;
    background: #f3efe7;
    color: #444;
    line-height: 1.8;
}


/* RESUMEN */

.lesson-summary {
    max-width: 900px;
    padding: 70px 55px;
    background: #f3efe7;
    border-top: none;
}

.lesson-summary ul {
    margin: 35px 0 0;
    padding: 0;
    list-style: none;
}

.lesson-summary li {
    padding: 15px 0;
    border-bottom: 1px solid #d7d0c4;
    color: #444;
    line-height: 1.6;
}

.lesson-summary li::before {
    content: "✓";
    margin-right: 15px;
    color: var(--text-muted);
}


/* EJERCICIO */

.lesson-exercise {
    max-width: 820px;
    padding: 90px 0;
}

.lesson-exercise > p:not(.section-label) {
    margin-bottom: 20px;
    color: #444;
    font-size: 17px;
    line-height: 1.9;
}

.lesson-exercise ol {
    margin: 35px 0;
    padding-left: 25px;
}

.lesson-exercise li {
    padding: 10px 0 10px var(--space-2);
    color: #444;
    line-height: 1.6;
}


/* NAVEGACIÓN ENTRE LECCIONES */

.lesson-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 100px;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.lesson-navigation > div {
    min-height: 180px;
    padding: 35px 30px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lesson-navigation p {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 2px;
}

.lesson-navigation a,
.lesson-navigation span {
    display: block;
    color: var(--negro);
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.3;
    text-decoration: none;
}

.lesson-navigation a:hover {
    color: var(--text-muted);
}

.lesson-next small {
    display: block;
    margin-top: 15px;
    color: #888;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* TABLET */

@media (max-width: 800px) {

    .lesson-concepts {
        grid-template-columns: 1fr;
    }

    .lesson-comparison {
        grid-template-columns: 1fr;
    }
}


/* MÓVIL */

@media (max-width: 600px) {

    .lesson-hero {
        padding: 70px 22px 55px;
    }

    .lesson-back {
        margin-bottom: 45px;
    }

    .lesson-hero h1 {
        font-size: 44px;
    }

    .lesson-intro {
        font-size: 16px;
    }

    .lesson-content {
        padding: 10px 22px 70px;
    }

    .lesson-block {
        padding: 60px 0;
    }

    .lesson-block h2,
    .lesson-exercise h2 {
        font-size: 35px;
    }

    .lesson-concepts > div {
        padding: 28px 22px;
    }

    .lesson-code {
        padding: 22px 18px;
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .lesson-comparison > div {
        padding: 28px 22px;
    }

    .lesson-summary {
        padding: 50px 25px;
    }

    .lesson-exercise {
        padding: 65px 0;
    }

    .lesson-navigation {
        grid-template-columns: 1fr;
        margin: 0 20px 70px;
    }

    .lesson-navigation > div {
        min-height: auto;
    }
}
/* ========================================
   RUTA · NEGOCIO DIGITAL
======================================== */

.businesscourse-hero,
.businesscourse-content,
.businesscourse-goal {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO */

.businesscourse-hero {
    padding: 120px 40px 100px;
}

.businesscourse-hero .section-label,
.businesscourse-content .section-label,
.businesscourse-goal .section-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.businesscourse-hero h1 {
    max-width: 900px;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-size: clamp(50px, 7vw, 82px);
    line-height: 1.04;
    font-weight: 400;
}

.businesscourse-intro {
    max-width: 740px;
    margin-bottom: 50px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* META */

.businesscourse-meta {
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 45px;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.businesscourse-meta > div {
    padding: 25px 22px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.businesscourse-meta span {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.businesscourse-meta strong {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 400;
}

/* PROGRAMA */

.businesscourse-content {
    padding: 100px 40px;
    border-top: 1px solid var(--border);
}

.businesscourse-content > h2 {
    max-width: 760px;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 400;
}

.businesscourse-content > p:not(.section-label) {
    max-width: 680px;
    margin-bottom: 55px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}

/* LECCIONES */

.businesscourse-lessons {
    border-top: 1px solid var(--border);
}

.businesscourse-lesson {
    min-height: 100px;
    display: grid;
    grid-template-columns: 80px 1fr 150px;
    align-items: center;
    gap: 25px;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
    color: var(--negro);
    text-decoration: none;
}

a.businesscourse-lesson {
    transition: background 0.2s ease;
}

a.businesscourse-lesson:hover {
    background: #f3efe7;
}

.businesscourse-lesson > span {
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
}

.businesscourse-lesson h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 23px;
    line-height: 1.3;
    font-weight: 400;
}

.businesscourse-lesson > p {
    margin: 0;
    text-align: right;
    color: #777;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

a.businesscourse-lesson > p {
    color: var(--negro);
}

/* OBJETIVO FINAL */

.businesscourse-goal {
    margin-bottom: 100px;
    padding: 90px 40px;
    background: #f3efe7;
    text-align: center;
}

.businesscourse-goal h2 {
    max-width: 780px;
    margin: 0 auto 25px;
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 400;
}

.businesscourse-goal > p:not(.section-label) {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}

/* TABLET */

@media (max-width: 900px) {

    .businesscourse-meta {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MÓVIL */

@media (max-width: 600px) {

    .businesscourse-hero,
    .businesscourse-content {
        padding: 70px 22px;
    }

    .businesscourse-hero h1 {
        font-size: 46px;
    }

    .businesscourse-intro {
        font-size: 16px;
    }

    .businesscourse-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .businesscourse-meta > div {
        padding: 20px 15px;
    }

    .businesscourse-content > h2,
    .businesscourse-goal h2 {
        font-size: 38px;
    }

    .businesscourse-lesson {
        grid-template-columns: 45px 1fr;
        gap: 15px;
        padding: 22px 10px;
    }

    .businesscourse-lesson h3 {
        font-size: 19px;
    }

    .businesscourse-lesson > p {
        grid-column: 2;
        text-align: left;
    }

    .businesscourse-goal {
        margin: 20px 20px 70px;
        padding: 65px 25px;
    }
}
/* =========================================
   LA PRUN — WEB
   ========================================= */

.la-prun-site {
    --prun-crema: #F4EFE6;
    --prun-beige: #D8C7B3;
    --prun-arcilla: #C9A27E;
    --prun-oliva: #7C8060;
    --prun-marron: #4A3A30;
    --prun-carbon: #25231F;

    background: var(--prun-crema);
    color: var(--prun-carbon);
}


/* HEADER */

.prun-header {
    background: var(--prun-crema);
    border-bottom: 1px solid rgba(74, 58, 48, 0.15);
}

.prun-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-5) 5%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.prun-logo {
    color: var(--prun-carbon);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
}

.prun-menu {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.prun-menu a {
    color: var(--prun-carbon);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.prun-reserva {
    background: var(--prun-carbon);
    color: white;
    text-decoration: none;
    padding: 14px 22px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* HERO */

.prun-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 45px 5% 100px;
}

.prun-hero-image {
    width: 100%;
    height:420px;
    overflow: hidden;
}

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

.prun-hero-content {
    max-width: 900px;
    padding-top: 35px;
}

.prun-eyebrow {
    color: var(--prun-oliva);
    font-size: 12px;
    letter-spacing: 2.5px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.prun-hero h1,
.prun-story h2,
.prun-cafe h2,
.prun-products h2,
.prun-gallery h2,
.prun-reservations h2,
.prun-contact h2 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--prun-marron);
}

.prun-hero h1 {
    font-size: clamp(58px, 7vw, 96px);
    line-height: 0.98;
    margin-bottom: 28px;
}

.prun-intro {
    max-width: 680px;
    font-size: 19px;
    line-height: 1.8;
    color: #5d554f;
}

.prun-hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.prun-button-dark,
.prun-button-light {
    display: inline-block;
    text-decoration: none;
    padding: var(--space-4) var(--space-5);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.prun-button-dark {
    background: var(--prun-carbon);
    color: white;
}

.prun-button-light {
    border: 1px solid var(--prun-marron);
    color: var(--prun-marron);
}


/* HISTORIA */

.prun-story {
    background: #fffaf3;
    padding: 110px 7%;
}

.prun-two-columns {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.prun-two-columns h2 {
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.05;
}

.prun-two-columns p {
    line-height: 1.9;
    color: #5d554f;
    margin-bottom: 20px;
}


/* CAFETERÍA */

.prun-cafe {
    padding: 110px 7%;
    max-width: 1400px;
    margin: 0 auto;
}

.prun-cafe h2 {
    font-size: clamp(42px, 5vw, 64px);
    margin-bottom: 50px;
}

.prun-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.prun-cards article {
    background: var(--blanco);
    border: 1px solid #ded5c8;
    padding: 40px var(--space-6);
    min-height: 280px;
}

.prun-cards span {
    color: var(--prun-oliva);
    font-size: 12px;
    letter-spacing: 2px;
}

.prun-cards h3 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 500;
    margin: 35px 0 15px;
}

.prun-cards p {
    line-height: 1.8;
    color: #5d554f;
}


/* PRODUCTOS */

.prun-products {
    background: var(--prun-carbon);
    color: white;
    padding: 110px 7%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.prun-products h2 {
    color: white;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1;
}

.prun-product-list > div {
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
}

.prun-product-list span {
    color: var(--prun-arcilla);
    font-size: 12px;
}

.prun-product-list h3 {
    font-size: 22px;
    font-weight: 500;
}


/* GALERÍA */

.prun-gallery {
    padding: 110px 7%;
    text-align: center;
}

.prun-gallery h2 {
    font-size: clamp(48px, 6vw, 72px);
    margin-bottom: 50px;
}

.prun-gallery img {
    width: 100%;
    max-width: 1200px;
    height: 560px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}


/* RESERVAS */

.prun-reservations {
    background: var(--prun-arcilla);
    text-align: center;
    padding: 110px 7%;
}

.prun-reservations h2 {
    font-size: clamp(48px, 6vw, 76px);
    margin-bottom: 20px;
}

.prun-reservations p {
    margin-bottom: 35px;
}


/* CONTACTO */

.prun-contact {
    padding: 100px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.prun-contact h2 {
    font-size: 60px;
}

.prun-contact-info p {
    padding: 14px 0;
    border-bottom: 1px solid #ded5c8;
}


/* FOOTER */

.prun-footer {
    background: var(--prun-carbon);
    color: white;
    padding: 40px 7%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.prun-footer p {
    font-family: var(--font-heading);
    font-size: 24px;
}

.prun-footer span {
    color: #d6cfc6;
    font-size: 12px;
    letter-spacing: 1px;
}


/* MÓVIL */

@media (max-width: 900px) {

    .prun-nav {
        grid-template-columns: 1fr auto;
    }

    .prun-menu {
        display: none;
    }

    .prun-hero {
        padding: 25px 6% 70px;
    }

    .prun-hero-image {
        height: 330px;
    }

    .prun-hero-content {
        padding-top: 40px;
    }

    .prun-hero h1 {
        font-size: 52px;
    }

    .prun-hero-buttons {
        flex-direction: column;
    }

    .prun-button-dark,
    .prun-button-light {
        width: 100%;
        text-align: center;
    }

    .prun-two-columns,
    .prun-products,
    .prun-contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .prun-story,
    .prun-cafe,
    .prun-products,
    .prun-gallery,
    .prun-reservations,
    .prun-contact {
        padding: 70px 6%;
    }

    .prun-cards {
        grid-template-columns: 1fr;
    }

    .prun-cards article {
        min-height: auto;
    }

    .prun-gallery img {
        height: 330px;
    }

    .prun-footer {
        flex-direction: column;
    }
}
/* MENÚ MÓVIL LA PRUN */

.prun-menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: var(--space-2);
    cursor: pointer;
}

.prun-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px 0;
    background: var(--prun-carbon);
}

@media (max-width: 900px) {

    .prun-nav {
        grid-template-columns: 1fr auto auto;
        gap: 18px;
    }

    .prun-menu-toggle {
        display: block;
    }

    .prun-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--prun-crema);
        padding: 30px 6%;
        border-top: 1px solid #ded5c8;
        border-bottom: 1px solid #ded5c8;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        z-index: 1000;
    }

    .prun-menu.active {
        display: flex;
    }

    .prun-header {
        position: relative;
        z-index: 1000;
    }
}
/* FOOTER LA PRUN — CORRECCIÓN */

.la-prun-site .prun-footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;
    padding: 40px 7%;
}
/* =========================================
   LA PRUN — NUEVAS IMÁGENES
   ========================================= */

/* Imagen grande dentro de Productos locales */
.prun-products-image {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 35px;
    overflow: hidden;
}

.prun-products-image img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}


/* Imágenes generales de las secciones */
.prun-section-image {
    width: 100%;
    overflow: hidden;
    margin-top: 45px;
}

.prun-section-image img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}


/* Galería de La Prun */
.prun-gallery-grid {
    max-width: 1050px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.prun-gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* En móvil */
@media (max-width: 900px) {

    .prun-products-image {
        margin-top: 20px;
    }

    .prun-products-image img {
        height: 280px;
    }

    .prun-section-image img {
        height: 300px;
    }

    .prun-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 35px;
    }

    .prun-gallery-grid img {
        height: 280px;
    }
}
@media (max-width: 900px) {
    .la-prun-site .prun-section-image {
        margin-top: 30px;
    }
}
/* LA PRUN — Mostrar imágenes completas solo en ordenador */
@media (min-width: 901px) {

    .la-prun-site .prun-section-image,
    .la-prun-site .prun-products-image {
        display: flex;
        justify-content: center;
    }

    .la-prun-site .prun-section-image img,
    .la-prun-site .prun-products-image img {
        width: 82%;
        max-width: 950px;
        height: auto !important;
        object-fit: contain !important;
    }
}
/* LA PRUN — 2 imágenes iguales a todo el ancho */
@media (min-width: 901px) {

    .la-prun-site .prun-gallery-grid {
        width: 96vw !important;
        max-width: 1500px !important;
        margin: 50px 0 0 !important;

        position: relative;
        left: 50%;
        transform: translateX(-50%);

        display: flex !important;
        gap: var(--space-5);
    }

    .la-prun-site .prun-gallery-grid img {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: none !important;

        height: 300px !important;
        object-fit: cover !important;
        object-position: center !important;

        display: block;
    }
}
/* MÓVIL */
@media (max-width: 768px) {
    .la-prun-site .prun-gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .la-prun-site .prun-gallery-grid img {
        height: 220px;
    }
}
/* LA PRUN — Imágenes Café · Dulces · Productos locales */
.la-prun-site .prun-cafe-gallery {
    width: 100%;
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.la-prun-site .prun-cafe-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* MÓVIL */
@media (max-width: 900px) {

    .la-prun-site .prun-cafe-gallery {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-top: 30px;
    }

    .la-prun-site .prun-cafe-gallery img {
        width: 100%;
        height: auto;
    }
}
/* LA PRUN — Acentos verde oliva */

.la-prun-site .prun-cards article span,
.la-prun-site .prun-product-list span {
    color: var(--prun-oliva);
}

.la-prun-site .prun-menu a:hover {
    color: var(--prun-oliva);
}

.la-prun-site .prun-reserva:hover {
    background: var(--prun-oliva);
}
.project-experience-shot {
  width: 100%;
  max-width: 1100px;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin: 0 auto;
}
/* LA PRUN — Experiencia digital */
.la-prun-experience-crop {
    width: 100%;
    max-width: none;
    height: 430px;
    margin: 0 auto;
    overflow: hidden;
}

.la-prun-experience-crop img {
    width: 112% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
/* LA PRUN — Footer a todo el ancho */
.la-prun-page footer {
    width: 100vw !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}
/* LA PRUN — Enlace a la web */
.la-prun-live-link {
    text-align: center;
    margin-top: 35px;
}

.la-prun-live-link a {
    display: inline-block;
    padding: var(--space-4) 30px;
    background: #25231F;
    color: var(--blanco);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.la-prun-live-link a:hover {
    background: #7C8060;
}
/* LA PRUN — Footer a todo el ancho */
.la-prun-page footer {
    width: 100vw !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}
.la-prun-page .top-link {
    margin-top: 30px;
    text-align: center;
}

.la-prun-page .top-link a {
    display: inline-block;
    padding: 15px 28px;
    background: #25231F;
    color: var(--blanco);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.la-prun-page .top-link a:hover {
    background: #7C8060;
}
/* CASO DE ESTUDIO 01 — Footer a todo el ancho */
.digital-ukhti-case-page footer {
    width: 100vw !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}
.prun-back-portfolio {
  padding: 80px 6%;
  background: #1f1d1a;
  text-align: center;
}

.prun-back-portfolio a {
  display: inline-block;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid #f4efe7;
  color: #f4efe7;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.prun-back-portfolio a:hover {
  opacity: 0.65;
}
/* CORRECCIÓN FINAL PORTFOLIO CTA Y FOOTER */

body.portfolio-page {
  overflow-x: hidden;
}

.portfolio-cta,
.portfolio-footer {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  left: auto;
  right: auto;
}

.portfolio-cta::before,
.portfolio-cta::after,
.portfolio-footer::before,
.portfolio-footer::after {
  content: none !important;
  display: none !important;
}
/* ========================================
   HOME COMERCIAL - AJUSTES 2026
======================================== */

/* Servicios principales de la nueva Home */
.start-section > .home-services:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Botones dentro de secciones */
.resources-section > .hero-buttons {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Evita que el botón de cabecera sea demasiado grande */
.button-header {
    white-space: nowrap;
}

/* Cinco pasos de Cómo trabajo */
#proceso .home-services-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Tablet */
@media (max-width: 1100px) {
    #proceso .home-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móvil */
@media (max-width: 600px) {

    #proceso .home-services-grid {
        grid-template-columns: 1fr;
    }

    .button-header {
        display: none;
    }

    nav {
        gap: 15px;
    }
}

/* Recursos disponibles y rutas en preparación */
.guide-card > a {
    display: inline-block;
    margin-top: 14px;
    color: var(--dorado-oscuro);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.learn-card > .learn-coming-soon {
    margin-top: auto;
    padding-top: var(--space-5);
    color: var(--dorado-oscuro);
    font-size: 13px;
}

.learn-card .learn-coming-soon a {
    display: inline;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Digital Ukhti — legibilidad móvil: portada y paquetes ES/FR */
@media (max-width: 600px) {
    #inicio .hero-copy h1 {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.18;
        overflow-wrap: break-word;
    }
    #inicio .hero-text {
        font-size: 16px;
        line-height: 1.65;
        margin-top: 20px;
    }
    #inicio .hero-buttons {
        gap: 12px;
        margin-top: 26px;
    }
    #inicio .hero-buttons a {
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.45;
        padding: 15px 18px;
    }
    .package-audience {
        font-size: 15px;
        line-height: 1.6;
        overflow-wrap: break-word;
    }
    .web-packages-grid .web-package,
    #paquetes .resource-card {
        min-width: 0;
    }
}

/* Contacto ES/FR — controles cómodos y mensajes accesibles */
#contacto .contact-form input,
#contacto .contact-form select,
#contacto .contact-form textarea {
    box-sizing: border-box;
    max-width: 100%;
}
#du-form-status:not([hidden]) {
    max-width: 680px;
    margin: 18px auto 0;
    padding: 16px 18px;
    border: 1px solid var(--border);
    line-height: 1.6;
    overflow-wrap: anywhere;
}
@media (max-width: 600px) {
    #contacto .contact-form input,
    #contacto .contact-form select,
    #contacto .contact-form textarea {
        width: 100%;
        min-width: 0;
        font-size: 16px;
        line-height: 1.5;
    }
    #contacto .contact-form button[type="submit"] {
        max-width: 100%;
        min-height: 44px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Accesibilidad: foco visible al navegar con teclado */
:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #8a6127;
    outline-offset: 3px;
}
#contacto .contact-form :where(input, select, textarea):focus-visible {
    outline: 3px solid #8a6127;
    outline-offset: 2px;
    border-color: #8a6127;
}

/* Pie de página accesible y CTA móvil */
.du-footer{background:#f7f4ee;color:#24211c;border-top:1px solid #d8d0c2;padding:36px max(20px,5%) 28px;text-align:left;font-size:14px}
.du-footer-inner{max-width:1180px;margin:0 auto}
.du-footer-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin:14px 0}
.du-footer a{color:#24211c;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
.du-footer a:hover{color:#77551d}
.du-footer p{margin:8px 0}
.du-footer-language{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}
.du-footer-language a[aria-current="page"]{font-weight:700;text-decoration:none}
.du-mobile-quote{display:none}
@media(max-width:767px){
 body:has(.du-mobile-quote){padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 .du-footer{padding:30px 20px 26px}
 .du-footer-links{gap:4px 18px}
 .du-mobile-quote{display:flex;position:fixed;z-index:900;bottom:0;left:0;right:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));background:#f7f4ee;border-top:1px solid #d8d0c2;box-shadow:0 -3px 16px rgba(0,0,0,.09)}
 .du-mobile-quote a{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;border-radius:4px;background:#24211c;color:#fff!important;font-size:15px;font-weight:600;text-decoration:none;text-align:center;padding:10px 16px;box-sizing:border-box}
 .du-mobile-quote.is-hidden{display:none}
}
@media(min-width:768px){.du-mobile-quote{display:none!important}}

/* Pie compacto: enlaces agrupados y ancho controlado */
.du-footer{box-sizing:border-box;width:100%;padding:30px 24px 22px}
.du-footer-inner{width:100%;max-width:940px;margin-inline:auto}
.du-footer-inner>p:first-child{margin:0 0 8px;font-size:16px}
.du-footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:18px;row-gap:0;margin:6px 0 12px}
.du-footer-links a{min-width:0;min-height:44px;line-height:1.35}
.du-footer-language{margin-top:4px;gap:8px 14px}
.du-footer-inner>p:last-child{margin-top:8px}
@media(max-width:767px){
 .du-footer{padding:26px 20px 22px}
 .du-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
}
@media(max-width:380px){
 .du-footer{padding-inline:16px}
 .du-footer-links{column-gap:8px}
}

/* Compactación final del pie: móvil y escritorio */
.du-footer{padding:20px 18px 16px}
.du-footer-inner{max-width:640px}
.du-footer-inner>p:first-child{margin:0 0 2px}
.du-footer-links{column-gap:12px;margin:0 0 4px}
.du-footer-language{margin:0;gap:0 12px}
.du-footer-inner>p{margin:0}
.du-footer-inner>p:last-child{margin-top:2px;font-size:12px}
@media(max-width:767px){
 .du-footer{padding:18px 16px 16px}
 .du-footer-inner{max-width:440px}
 .du-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;margin:0 0 4px}
 .du-footer-links a{min-height:44px;line-height:1.3}
 .du-footer-links[aria-label="Información legal"],.du-footer-links[aria-label="Informations légales"]{grid-template-columns:1fr;gap:0;margin-top:4px}
 .du-footer-inner>p:first-child{margin-bottom:0}
 .du-footer-language{margin-top:0}
 .du-consent-settings{bottom:calc(90px + env(safe-area-inset-bottom,0px))!important;right:12px!important}
 body:has(.du-mobile-quote.is-hidden) .du-consent-settings{bottom:12px!important}
}

/* Botones flotantes: no se superponen en móvil */
@media(max-width:767px){
 .du-mobile-quote.is-hidden{display:none!important}
 .du-consent-settings{bottom:12px!important;right:12px!important;min-height:44px;z-index:9999}
 body.du-quote-visible .du-consent-settings{bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
}

/* Los controles flotantes nunca deben taparse */
.du-mobile-quote[hidden],.du-mobile-quote.is-hidden{display:none!important}
@media(max-width:767px){
 .du-consent-settings{bottom:12px!important;right:12px!important;min-height:44px}
 body.du-quote-visible .du-consent-settings{bottom:calc(94px + env(safe-area-inset-bottom,0px))!important}
}

/* Corrección robusta: CTA en flujo normal, sin superposición */
.du-mobile-quote{display:none!important}
.du-inline-quote{display:none}
@media(max-width:767px){
 body:has(.du-inline-quote){padding-bottom:0!important}
 .du-inline-quote{display:block;padding:12px 16px;background:#f7f4ee}
 .du-inline-quote a{display:flex;min-height:48px;align-items:center;justify-content:center;padding:10px 16px;box-sizing:border-box;background:#80622f;color:#fff;text-align:center;text-decoration:none;border-radius:4px;font-size:16px}
 .du-consent-settings{bottom:12px!important;right:12px!important}
}

/* Mobile quote and cookie settings: two independent, non-overlapping controls.
   Keep the bottom content reachable and hide the CTA when the cookie dialog is shown. */
@media (max-width:767px) {
  body.du-home:has(.du-inline-quote) {
    padding-bottom:calc(94px + env(safe-area-inset-bottom, 0px))!important;
  }
  body.du-home .du-inline-quote {
    display:block!important;
    position:fixed!important;
    left:12px!important;
    right:auto!important;
    bottom:calc(12px + env(safe-area-inset-bottom, 0px))!important;
    width:calc(100% - 164px)!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    z-index:9500!important;
  }
  body.du-home .du-inline-quote a {
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    min-height:48px;
    padding:10px 8px;
    text-align:center;
    line-height:1.25;
    font-size:clamp(12px, 3.7vw, 16px);
    overflow-wrap:anywhere;
  }
  body.du-home .du-consent-settings {
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom, 0px))!important;
    max-width:128px;
    min-height:48px!important;
    z-index:9999;
  }
  body.du-home:has(.du-consent) .du-inline-quote {
    display:none!important;
  }
}
