/* =========================================
   1. VARIABLES Y TIPOGRAFÍAS GLOBAL
   ========================================= */
:root {
    --cream: #F6F2EA; 
    --black: #1A1F1B; 
    --black-card: #2B352E; 
    --gold: #A6714B;  
    --grey: #4B4E44;
    --light-grey: #8E9287;
    --line: rgba(35,38,31,0.14);
    
    --font-serif: 'Fraunces', serif; 
    --font-sans: 'Inter', sans-serif;
    
    --spacing-xl: clamp(60px, 8vw, 120px);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--cream);
    color: var(--black);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.font-serif {
    font-family: var(--font-serif) !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   PRELOADER (PANTALLA DE CARGA)
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--cream);
    z-index: 9999999; 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.preloader-name {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--black);
    letter-spacing: 2px;
    margin-bottom: -15px; 
    opacity: 0;
    animation: fadeInName 0.6s ease forwards 0.2s;
}

.preloader-signature {
    font-family: 'Meow Script', cursive;
    font-size: 80px;
    color: var(--gold);
    line-height: 1;
    white-space: nowrap;
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
    animation: writeSignature 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.6s;
}

@keyframes fadeInName {
    to { opacity: 1; }
}

@keyframes writeSignature {
    to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Custom Cursor */
.cursor { display: none; }
.cursor-text { display: none; }

@media (min-width: 1024px) {
    body { cursor: none; }
    .cursor {
        display: block;
        width: 10px;
        height: 10px;
        background: var(--gold);
        border-radius: 50%;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 999999;
        transform: translate(-50%, -50%);
        transition: width 0.3s, height 0.3s, background 0.3s;
    }
    .cursor.hovered {
        width: 40px;
        height: 40px;
        background: transparent;
        border: 1px solid var(--gold);
    }
    .cursor.image-hovered {
        width: 80px;
        height: 80px;
        background: var(--gold);
    }
    .cursor-text {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 10000;
        transform: translate(-50%, -50%);
        color: var(--cream);
        font-size: 11px;
        letter-spacing: 1px;
        opacity: 0;
        transition: opacity 0.3s;
    }
    .cursor-text.visible { opacity: 1; }
}

/* =========================================
   2. HEADER (PEGADO Y MINIMALISTA)
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 56px; 
    z-index: 1000;
    background: rgba(246, 242, 234, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(35, 38, 31, 0.05);
    transition: transform 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    padding: 12px 56px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 20px; 
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--black);
}

.logo-sub {
    display: block;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 2px;
}

.desktop-nav {
    display: flex;
    gap: 45px;
    list-style: none;
    margin-left: auto;
    margin-right: 20px;
}

.desktop-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    position: relative;
    padding-bottom: 4px;
    letter-spacing: normal;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* =========================================
   NUEVO MENÚ MÓVIL PREMIUM
   ========================================= */
.mobile-toggle { display: none; }

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 31, 27, 0.96); /* Fondo Oscuro Premium */
    backdrop-filter: blur(15px); /* Efecto cristal */
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--cream);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* Animación en cascada para los enlaces */
.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu a:hover {
    color: var(--gold);
    transform: scale(1.05);
}

/* =========================================
   3. HERO SECTION (ARREGLO DE ESPACIOS)
   ========================================= */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    /* Ajuste clave: Aumentamos padding-top para que no choque con el header */
    padding: 160px 5% 60px; 
    max-width: 1280px;
    margin: 0 auto;
    min-height: 100vh;
}

.hero-copy {
    padding-right: 40px;
    /* ELIMINADO: margin-top negativo que causaba el choque */
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 20px; 
    text-transform: uppercase;
}

.eyebrow-line {
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.hero-copy h1 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(40px, 4.5vw, 56px); /* Tamaño fluido y seguro */
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--black);
    margin-bottom: 24px; 
}

.hero-copy h1 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 300;
}

.lede {
    font-size: 16px; 
    line-height: 1.6;
    color: var(--grey);
    max-width: 440px;
    margin-bottom: 30px; 
}

.signature-block {
    margin-bottom: 40px;
}

.signature-text {
    font-size: 14px;
    color: var(--light-grey);
    font-style: italic;
    margin-bottom: -5px;
}

.signature-font {
    font-family: 'Meow Script', cursive; 
    font-size: 42px;
    color: var(--gold);
}

.credentials {
    display: flex;
    gap: 36px;
    padding-top: 24px; 
    border-top: 1px solid var(--line);
    max-width: 460px;
    flex-wrap: wrap; 
}

.credentials div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.credentials strong {
    font-family: var(--font-serif);
    font-size: 24px; 
    font-weight: 500;
    color: var(--black);
}

.credentials span {
    font-size: 10.5px; 
    color: var(--light-grey);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.portrait-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--gold);
    opacity: 0.35;
    pointer-events: none;
}

.ring-1 { width: 480px; height: 480px; animation: breathe-ring 6s ease-in-out infinite; }
.ring-2 { width: 550px; height: 550px; animation: breathe-ring 6s ease-in-out infinite; animation-delay: .4s; opacity: 0.2; }
.ring-3 { width: 620px; height: 620px; animation: breathe-ring 6s ease-in-out infinite; animation-delay: .8s; opacity: 0.1; }

.portrait-shape {
    position: relative;
    width: 480px; 
    height: 480px; 
    border-radius: 50%; 
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(43,54,47,0.25);
    z-index: 2;
    background-color: var(--gold); 
}

.portrait-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; 
}

.play-video-btn {
    position: absolute;
    bottom: 25px;
    left: -20px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 10px 20px 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 16px 32px rgba(35,38,31,0.12);
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.play-video-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(35,38,31,0.18);
}

.play-video-btn svg {
    width: 32px;
    height: 32px;
    color: var(--cream);
    background-color: var(--gold);
    border-radius: 50%;
    padding: 8px;
}

.play-text {
    font-size: 10px;
    line-height: 1.2;
    color: var(--black);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.name-plate {
    position: absolute;
    top: 30px;
    right: -25px; 
    writing-mode: vertical-rl;
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--gold);
    opacity: 0.7;
}

@keyframes breathe-ring {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.05); opacity: 0.55; }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

/* =========================================
   3.5 SEPARADOR DE SECCIONES
   ========================================= */
.marquee-separator {
    width: 100%;
    background-color: var(--gold);
    color: var(--black);
    padding: 16px 0;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.marquee-track span {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    padding-right: 15px;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

/* =========================================
   4. ÁREAS DE ATENCIÓN
   ========================================= */
.dark-section {
    background-color: var(--black);
    color: var(--cream);
    padding: var(--spacing-xl) 5%;
    margin-top: 0;
}

.dark-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid rgba(246, 242, 234, 0.1);
    padding-bottom: 40px;
    margin-bottom: 50px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.dark-section-title h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--cream);
    margin-top: 10px;
}

.dark-section-title h2 em {
    font-style: italic;
    color: var(--gold);
}

.view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.view-all-link:hover {
    opacity: 0.7;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.work-card {
    cursor: pointer;
    background-color: var(--black-card);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, background-color 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.work-card:hover {
    transform: translateY(-8px);
    background-color: #323E36; 
}

.work-card-inner {
    padding: 30px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    height: 100%; 
    min-height: 320px; 
}

.service-icon-large {
    color: var(--gold);
    width: 48px;
    height: 48px;
    margin-bottom: 30px; 
    flex-shrink: 0;
}

.service-icon-large svg {
    width: 100%;
    height: 100%;
}

.work-overlay-text {
    text-align: left;
    margin-bottom: 0;
}

.work-overlay-text h4 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--cream);
}

.work-line {
    width: 36px;
    height: 1px;
    background: var(--gold);
}

.work-details {
    text-align: left;
    margin-top: auto;
    padding-top: 8px;
}

.work-details h5 {
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    color: var(--cream);
    text-transform: uppercase;
}

.work-details p {
    font-size: 13px;
    color: var(--light-grey);
}

/* =========================================
   MODAL DE SERVICIOS
   ========================================= */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.service-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.service-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 38, 31, 0.85);
    backdrop-filter: blur(8px);
}

.service-modal-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 500px;
    background: var(--cream);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.service-modal.active .service-modal-content {
    transform: translateY(0) scale(1);
}

.close-service {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: var(--black);
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-service:hover {
    transform: scale(1.1);
    color: var(--gold);
}

.service-modal-icon {
    width: 60px;
    height: 60px;
    color: var(--gold);
    margin: 0 auto 20px;
}

.service-modal-icon svg {
    width: 100%;
    height: 100%;
}

.service-modal-body h3 {
    font-size: 32px;
    color: var(--black);
    margin-bottom: 20px;
    font-weight: 400;
}

.modal-line {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 20px;
}

.service-modal-body p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--black);
    color: var(--cream);
    padding: 16px 30px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
}

/* =========================================
   5. SERVICIOS Y PROCESO
   ========================================= */
.info-section {
    padding: var(--spacing-xl) 5%;
    background-color: var(--cream);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr; 
    gap: 80px; 
    max-width: 1280px;
    margin: 0 auto;
}

.col-title {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 50px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}

.info-col:first-child .col-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
}

.has-left-border {
    position: relative;
    padding-left: 60px; 
}

.has-left-border::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: var(--line);
}

.service-item, .process-item {
    display: flex;
    gap: 24px; 
    margin-bottom: 48px;
    align-items: flex-start; 
}

.service-icon {
    color: var(--gold);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.process-number {
    font-size: 3.2rem;
    color: var(--gold);
    line-height: 0.8;
    min-width: 60px; 
    font-weight: 400;
    font-family: var(--font-serif);
}

.service-text h4, .process-text h4 {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--black);
    font-weight: 600;
    text-transform: uppercase;
}

.service-text p, .process-text p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.7;
}

/* Columna de Imagen */
.img-col {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}

.quote-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-col::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(26,31,27,0.9) 0%, transparent 100%);
    pointer-events: none;
}

.quote-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    color: var(--cream);
    z-index: 2;
}

.quote-marks {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold);
    line-height: 0;
    display: block;
    margin-bottom: 20px;
}

.quote-overlay p {
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 1.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
}

.quote-author {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
}

.mobile-only-title {
    display: none;
}

/* =========================================
   8. TESTIMONIOS (SLIDER HORIZONTAL Y TARJETAS MÁS PEQUEÑAS)
   ========================================= */
.testimonials-section {
    background-color: var(--black); 
    padding: var(--spacing-xl) 0; 
    overflow: hidden;
}

.testimonials-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    color: var(--cream); 
    line-height: 1.1;
    margin-top: 15px;
}

.testimonials-header em {
    font-style: italic;
    color: var(--gold);
}

.btn-testimonial {
    display: inline-block;
    background-color: var(--gold);
    color: var(--black);
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 25px;
    box-shadow: 0 8px 20px rgba(166, 113, 75, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(166, 113, 75, 0.3);
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 5%; 
    scroll-snap-type: x mandatory;
    scrollbar-width: none; 
    -webkit-overflow-scrolling: none; 
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 320px; 
    max-width: 350px;
    flex: 0 0 auto; 
    scroll-snap-align: start; 
    background: var(--black-card); 
    padding: 30px 25px; 
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 50px; 
    color: var(--gold);
    line-height: 0;
    margin-bottom: 25px;
    opacity: 0.8;
    animation: floatQuote 4s ease-in-out infinite;
}

@keyframes floatQuote {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 15px; 
    color: var(--gold);
}

.stars svg {
    width: 14px; 
    height: 14px;
}

.testimonial-text {
    font-size: 14px; 
    color: var(--cream); 
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(246, 242, 234, 0.1); 
    padding-top: 15px;
}

.author-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 16px; 
    font-weight: 500;
    color: var(--gold); 
}

.author-detail {
    font-size: 10px; 
    color: var(--light-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* =========================================
   9. FORMULARIO DE CONTACTO (FONDO CREMA)
   ========================================= */
.contact-section {
    background-color: var(--cream); 
    color: var(--black); 
    padding: var(--spacing-xl) 5%;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    margin-top: 15px;
    margin-bottom: 20px;
}

.contact-content em {
    font-style: italic;
    color: var(--gold);
}

.contact-lede {
    font-size: 16px;
    color: var(--grey); 
    line-height: 1.6;
}

.custom-form {
    background: #fff; 
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
    border: 1px solid rgba(166, 113, 75, 0.1); 
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--black);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--black);
    background: var(--cream); 
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

/* Botones del formulario */
.btn-whatsapp, .btn-email {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.btn-whatsapp {
    background-color: var(--gold); 
    color: var(--cream);
    box-shadow: 0 8px 20px rgba(166, 113, 75, 0.25);
}

.btn-email {
    background-color: transparent;
    color: var(--black);
    border: 1px solid var(--black);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-email:hover {
    background-color: var(--black);
    color: var(--cream);
    transform: translateY(-2px);
}

.btn-whatsapp svg, .btn-email svg {
    width: 20px;
    height: 20px;
}

/* =========================================
   FOOTER FINAL
   ========================================= */
.footer {
    background-color: var(--black);
    color: var(--cream);
    padding: 100px 5% 40px; 
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr; 
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--cream);
    margin-bottom: 16px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-link:hover svg {
    transform: scale(1.1);
}

.logo-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.footer-logo-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-box .logo-main {
    font-family: var(--font-serif);
    font-size: 26px; 
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--cream);
    line-height: 1;
}

.footer-logo-box .logo-sub {
    display: block;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(246, 242, 234, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--light-grey);
}

/* =========================================
   MODAL DE VIDEO
   ========================================= */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999; 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 38, 31, 0.85); 
    backdrop-filter: blur(8px); 
}

.video-modal-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 400px; 
    border-radius: 24px;
    background: #000;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: translateY(40px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-content {
    transform: translateY(0);
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    max-height: 85vh; 
}

.close-video {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--cream);
    color: var(--black);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.close-video:hover {
    transform: scale(1.1);
}

/* =========================================
   7. RESPONSIVE (TABLETS Y MÓVILES)
   ========================================= */

@media (max-width: 1024px) {
    /* Ajustes generales a 1 columna y centrados */
    .hero { 
        grid-template-columns: 1fr; 
        padding-top: 140px; /* Mas espacio arriba */
        text-align: center;
    }
    .hero-copy { padding-right: 0; }
    .eyebrow { justify-content: center; }
    .lede { margin: 0 auto 30px auto; }
    .actions { justify-content: center; }
    
    /* El bloque de credenciales ahora se centra perfectamente */
    .credentials { 
        margin: 0 auto; 
        justify-content: center; 
        border-top: none; /* Quitamos linea porque se ve rara centrado */
        padding-top: 10px;
    }
    
    .portrait-side { margin-top: 60px; }
    .name-plate { display: none; }
    .portrait-shape { width: 400px; height: 400px; }
    
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .img-col { display: none; }
    
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .contact-content { text-align: center; }
    .contact-content .eyebrow { justify-content: center; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .logo-col { grid-column: span 2; align-items: flex-start; }
    .footer-logo-box { align-items: flex-start; }
}

@media (max-width: 768px) {
    header { padding: 15px 5%; }
    .desktop-nav, .btn-header { display: none; }
    
    /* ICONO HAMBURGUESA PREMIUM */
    .mobile-toggle { 
        display: block; 
        position: relative; 
        width: 32px; 
        height: 12px; 
        background: transparent; 
        border: none; 
        cursor: pointer; 
        z-index: 1001; /* Muy importante para que quede sobre el menú oscuro */
    }
    .mobile-toggle span { 
        display: block; 
        width: 100%; 
        height: 1.5px; 
        background: var(--black); 
        position: absolute; 
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease; 
    }
    .mobile-toggle span:first-child { top: 0; }
    .mobile-toggle span:last-child { bottom: 0; }
    
    /* Cuando está activo (formando la X y sobre el cristal oscuro) */
    .mobile-toggle.active span { background: var(--cream); }
    .mobile-toggle.active span:first-child { transform: translateY(5px) rotate(45deg); }
    .mobile-toggle.active span:last-child { transform: translateY(-6px) rotate(-45deg); }

    .hero { padding-top: 130px; }
    .signature-block { text-align: center; }
    .actions { flex-direction: column; gap: 15px; }
    
    /* Credenciales en columna o wrap según el tamaño */
    .credentials { 
        flex-direction: column; 
        gap: 20px; 
        align-items: center;
        border-top: 1px solid var(--line); 
        padding-top: 24px;
    }
    
    .portrait-shape { width: 90%; max-width: 320px; height: auto; aspect-ratio: 1/1; border-radius: 50%; }
    .ring { display: none; } 
    
    .play-video-btn { left: 50%; bottom: -20px; transform: translateX(-50%); }
    .play-video-btn:hover { transform: translate(-50%, -5px); }
    
    .dark-section-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .dark-section-title h2 { font-size: 32px; }
    .works-grid { grid-template-columns: 1fr; }
    .work-card-inner { min-height: auto; padding: 25px; }
    
    .info-grid { grid-template-columns: 1fr; gap: 40px; }
    .has-left-border { padding-left: 0; }
    .has-left-border::before { display: none; }
    
    .mobile-only-title { display: block; margin-bottom: 30px; }
    .info-col:nth-child(2) h3:first-child { display: none; }

    .testimonial-card { min-width: 280px; }
    
    .custom-form { padding: 30px 20px; }
    
    .btn-testimonial {
        padding: 12px 24px;
        font-size: 13px;
        margin-top: 20px;
    }
    
    .footer { padding: 80px 5% 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .logo-col { grid-column: auto; align-items: flex-start; }
    .footer-logo-box { align-items: flex-start; }
    
    .service-modal-content { width: 95%; padding: 30px 20px; }
    .service-modal-body h3 { font-size: 24px; }
    .service-modal-body p { font-size: 14px; }
}

@media (max-width: 480px) {
    .hero { padding-top: 110px; }
    .hero-copy h1 { font-size: clamp(32px, 8vw, 40px); }
    .btn-testimonial { padding: 10px 20px; font-size: 12px; }
    .testimonial-card { min-width: 260px; }
    .custom-form { padding: 25px 15px; }
}

/* =========================================
   FIRMA DE AGENCIA (WEBSFERA STUDIO)
   ========================================= */
.websfera-link {
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 15px; /* Un poco más grande que el texto normal */
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    margin: 0 4px;
}

.websfera-link svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.websfera-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efecto al pasar el ratón */
.websfera-link:hover {
    color: var(--cream);
    text-shadow: 0 0 12px rgba(166, 113, 75, 0.5); /* Brillo sutil */
}

.websfera-link:hover svg {
    transform: translate(3px, -3px); /* La flechita salta hacia la derecha arriba */
}

.websfera-link:hover::after {
    width: 100%; /* La línea se dibuja de izquierda a derecha */
    background-color: var(--cream);
}