@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@300;400;500&family=Montserrat:wght@400;500;600&display=swap');

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

:root {
    --marfil: #FAF8F4;
    --beige: #E7D5C1;
    --negro: #1C1A18;
    --dorado: #A98545;
    --dorado-oscuro: #80632F;
    --blanco: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--marfil);
    color: var(--negro);
    font-family: 'Inter', sans-serif;
    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: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 2px;
    white-space: nowrap;
}

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

.menu a {
    font-family: 'Montserrat', sans-serif;
    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: 'Montserrat', sans-serif;
    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: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    max-width: 760px;
    font-family: 'Cormorant Garamond', serif;
    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: #514B45;
}

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

.button-primary,
.button-secondary {
    display: inline-block;
    padding: 15px 25px;
    font-family: 'Montserrat', sans-serif;
    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: #777069;
    font-size: 12px;
    letter-spacing: 0.4px;
}


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

@media (max-width: 950px) {

    nav {
        min-height: 75px;
    }

    .menu {
        display: none;
    }

    .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: 24px 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: #555;
    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 #ddd5c8;
}

.project-card:last-child {
    border-bottom: 1px solid #ddd5c8;
}

.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: #555;
    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: #999;
    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: #555;
    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 #ddd5c8;
}

.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: #555;
    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: #555;
    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 #ddd5c8;
    padding: 48px 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: #555;
    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 #ddd5c8;
}
.case-result h2 {
    max-width: 850px;
    margin: 0 auto 25px;
    color: var(--negro);
   font-family: "Cormorant Garamond", serif;
   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: #555;
    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: 8px;
}

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

.color-black {
    background: #1C1A18;
    color: #FFFFFF;
}

.color-ivory {
    background: #FAF8F4;
    color: #1C1A18;
    border: 1px solid #eee8df;
}

.color-beige {
    background: #E7D5C1;
    color: #1C1A18;
}

.color-gold {
    background: #A98545;
    color: #FFFFFF;
}

.brand-wordmark {
    background: #1C1A18;
    color: #FFFFFF;
    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: #A98545;
    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: 8px;
    }
}
/* =========================================
   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: 12px;
    font-weight: 500;
}

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

.type-serif .type-aa,
.type-serif h3 {
    font-family: "Cormorant Garamond", serif;
}

.type-sans .type-aa,
.type-sans h3 {
    font-family: "Inter", sans-serif;
}

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

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

.web-showcase {
    padding: 100px 7%;
    background: #FAF8F4;
}

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

.web-showcase-header h2 {
    font-family: "Cormorant Garamond", serif;
   font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1;
    margin-top: 15px;
    color: #1C1A18;
}

.web-browser {
    max-width: 1150px;
    margin: 0 auto;
    border: 1px solid #ded8cf;
    background: #ffffff;
    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: #A98545;
}

.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: #A98545;
    margin-bottom: 20px;
}

.web-features h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.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 #ddd5c8;
}

.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: "Cormorant Garamond", serif;
   font-size: clamp(3rem, 5vw, 4.3rem);
    font-weight: 500;
    line-height: 1;
    color: var(--negro);
    margin-bottom: 25px;
}

.contact-intro {
    color: #555;
    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: 16px 18px;
    font-family: "Inter", sans-serif;
    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%;
    }
}
