@font-face {
    font-family: 'Morganite';
    src: url('assets/Morganite-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Morganite';
    src: url('assets/Morganite-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Hollowstone';
    src: url('assets/Hollowstone.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-dark: #1a1a1a; /* Un poco más oscuro para más contraste */
    --surface: #2e2e2e;
    --text-light: #f0f0f0;
    --text-dim: rgba(240, 240, 240, 0.6);
    --accent-yellow: #efcd00;
    --font-display: 'Morganite', sans-serif;
    --font-signature: 'Hollowstone', cursive;
    --font-sans: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Grain Effect */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 999;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: flex-end; /* Firma a la derecha */
    z-index: 1000;
}

.signature {
    font-family: var(--font-signature);
    font-size: 1.8rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 4rem;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-image: url('https://cdn1.sharemyimage.com/smi/2026/05/08/IMG_0530.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente mucho más sutil solo para legibilidad del texto abajo */
    background: linear-gradient(to bottom, transparent 60%, rgba(26, 26, 26, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Todo al fondo */
    padding: 4rem 0;
}

/* Main Area Layout */
.hero-main-area {
    display: flex;
    flex-direction: column;
    gap: 0; /* Sin espacio */
    margin-bottom: 2rem;
}

/* Bio Styling */
.bio-wrapper {
    max-width: 450px;
    margin-left: 2vw;
    margin-top: -2.5rem; /* Un poco más de aire (antes -3.5rem) */
}

.bio-text {
    font-size: 1.1rem; /* Un poco más pequeña para Poppins que es más ancha */
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.highlight {
    color: var(--accent-yellow);
}

/* Weight Utilities */
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.fw-medium { font-weight: 500; }
.fw-light { font-weight: 300; }

/* Name Typography */
.name-display {
    position: relative;
    margin-top: auto;
    margin-bottom: 2rem;
}

/* --- UNIFICACIÓN TIPOGRÁFICA --- */

/* Morganite Sólido (General) */
.name-layer.solid, .title-solid, .title-solid-white {
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -1px;
}

/* Morganite Outline (General) */
.name-layer.outline, .title-outline {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(240, 240, 240, 0.4);
    line-height: 0.85;
    letter-spacing: 10px;
}

/* Ajustes de Escala Desktop */
.name-layer.outline { font-size: 10vw; margin-bottom: -4vw; margin-left: 2vw; }
.name-layer.solid { font-size: 22vw; transform: translateX(-1vw); color: var(--accent-yellow); }

.title-solid-white { font-size: 3.5vw; color: var(--text-light); letter-spacing: 2px; }
.title-solid { font-size: 8vw; color: var(--accent-yellow); }

/* ==========================================================================
   SECCIÓN 2: INSTAGRAM (RECONSTRUIDA DESDE CERO)
   ========================================================================== */

.instagram-section {
    background-color: var(--bg-dark);
    padding: 10rem 4rem;
    position: relative;
    overflow: hidden;
}

.insta-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 1rem 6rem;
    align-items: center;
}

/* --- ÁREA DE FOTO (Izquierda) --- */
.insta-photo-area {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: relative;
    z-index: 5;
}

/* --- GRID DE POSTS (NUEVO) --- */
.insta-post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: var(--bg-dark);
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.insta-post {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.insta-post:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.insta-photo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(10%) contrast(105%);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transition: transform 0.5s ease;
    display: block;
}

.insta-photo-area:hover .insta-photo {
    transform: scale(1.02);
}

.insta-photo-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--accent-yellow);
    border-left: 2px solid var(--accent-yellow);
    z-index: -1;
}

/* --- ÁREA DE CABECERA (Derecha Arriba) --- */
.insta-header-area {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

.insta-heading {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.heading-light {
    font-family: var(--font-display);
    font-size: 3.5vw;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 2px;
}

.heading-bold {
    font-family: var(--font-display);
    font-size: 8vw;
    text-transform: uppercase;
    color: var(--accent-yellow);
    letter-spacing: 1px; /* Antes era -2px, ahora tienen aire */
    line-height: 0.9;
}

/* --- ÁREA DE INFORMACIÓN Y BOTÓN (Derecha Abajo) --- */
.insta-info-area {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.insta-paragraph {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dim);
}

/* --- ÁREA DE WIDGET --- */
.insta-widget-box {
    border-radius: 16px; /* Esquinas mucho más redondeadas */
    overflow: hidden;
    width: fit-content;
    background-color: transparent;
    /* Truco para forzar el redondeo de iframes en navegadores rebeldes como Safari */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.insta-widget-box iframe {
    border-radius: 16px; /* Forzar el redondeo directamente en el elemento interno */
    display: block; /* Quitar márgenes invisibles de elementos en línea */
}

.insta-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--accent-yellow);
    color: var(--bg-dark);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 100px;
    width: fit-content;
    transition: all 0.3s ease;
}

.insta-action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(239, 205, 0, 0.3);
}

/* --- RESPONSIVO MÓVIL (SECCIÓN 2 - INSTAGRAM - IZQUIERDA) --- */
@media (max-width: 768px) {
    .instagram-section { padding: 6rem 1.5rem; }
    .insta-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: left;
        align-items: flex-start;
    }
    .insta-header-area, .insta-photo-area, .insta-info-area { 
        grid-column: auto !important; 
        grid-row: auto !important; 
        width: 100%;
    }
    .insta-header-area { order: 1; }
    .insta-photo-area { order: 2; }
    .insta-info-area { 
        order: 3; 
        align-items: flex-start;
    }
    .heading-light { font-size: 12vw; }
    .heading-bold { font-size: 18vw; }
    .insta-action-btn { width: 100%; justify-content: center; }
}

/* --- RESPONSIVO MÓVIL (SECCIÓN 3 - WHATSAPP - DERECHA) --- */
@media (max-width: 768px) {
    .contact-section { padding: 6rem 1.5rem; }
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        align-items: flex-end; /* Mantiene el título y bloque a la derecha */
    }
    .contact-header-area { 
        order: 1; 
        text-align: right; 
        width: 100%;
    }
    .contact-photo-area { 
        grid-column: auto !important; 
        grid-row: auto !important; 
        order: 2; 
        width: 100%; 
    }
    .contact-info-area { 
        order: 3; 
        align-items: flex-start; /* Texto y botón a la IZQUIERDA */
        text-align: left;
        width: 100%;
    }
    .whatsapp-btn { width: 100%; justify-content: center; }
}

/* --- RESPONSIVO MÓVIL (SECCIÓN 4 - AGENCIA - IZQUIERDA) --- */
@media (max-width: 768px) {
    .agency-section { padding: 6rem 1.5rem; }
    .agency-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        text-align: left;
        align-items: flex-start;
    }
    .agency-header-area, .agency-photo-area, .agency-info-area { 
        grid-column: auto !important; 
        grid-row: auto !important; 
        width: 100%;
    }
    .agency-header-area { order: 1; }
    .agency-photo-area { order: 2; }
    .agency-info-area { 
        order: 3; 
        align-items: flex-start;
    }
    .agency-btn { width: 100%; justify-content: center; }
}


/* Ajustes Hero Mobile Fix */
@media (max-width: 768px) {
    .name-layer.solid { 
        font-size: 28vw; 
        letter-spacing: 1px; /* Evita letras muy pegadas en móvil */
        line-height: 0.9; 
    }
    .name-layer.outline { 
        font-size: 16vw; 
        letter-spacing: 5px; 
        margin-bottom: -4vw; 
    }
    .bio-text { 
        font-size: 0.9rem; 
        line-height: 1.6; 
    }
}


/* Ajuste iPhone SE / Pantallas pequeñas */
@media (max-width: 380px) {
    .name-layer.solid { font-size: 35vw; }
    .title-solid { font-size: 22vw; }
    .bio-text { font-size: 0.85rem; }
}

/* ==========================================================================
   SECCIÓN 3: CONTACTO / PUBLICIDAD
   ========================================================================== */
.contact-section {
    background-color: var(--surface); /* Fondo ligeramente más claro para contraste */
    padding: 10rem 4rem;
    position: relative;
    overflow: hidden;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    column-gap: 6rem; /* Espacio lateral */
    row-gap: 1rem;    /* Espacio entre título y texto (antes era 6rem) */
    align-items: center;
}

/* --- CABECERA CONTACTO (Izquierda Arriba) --- */
.contact-header-area {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

/* --- FOTO ÚNICA (Derecha en Contacto) --- */
.contact-photo-area {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: relative;
    z-index: 5;
}

.contact-photo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(10%) contrast(105%);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transition: transform 0.5s ease;
    display: block;
}

.contact-photo-area:hover .contact-photo {
    transform: scale(1.02);
}

.contact-photo-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--accent-yellow);
    border-right: 2px solid var(--accent-yellow);
    z-index: -1;
}

/* --- INFORMACIÓN Y BOTÓN (Izquierda Abajo) --- */
.contact-info-area {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-paragraph {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dim);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: #25D366; /* Verde oficial de WhatsApp */
    color: #FFF;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 100px;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* --- RESPONSIVO MÓVIL CONTACTO --- */
@media (max-width: 768px) {
    .contact-section { 
        padding: 6rem 1.5rem; 
    }
    
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem; /* Un poco menos de espacio para que se sienta más compacto */
    }
    
    .contact-header-area { order: 1; }
    .contact-photo-area { order: 2; width: 100%; }
    .contact-info-area { order: 3; }
    
    .whatsapp-btn { 
        width: 100%; 
        justify-content: center; 
    }
}

/* ==========================================================================
   SECCIÓN 4: AGENCIA MNG
   ========================================================================== */
.agency-section {
    background-color: var(--bg-dark); /* Volvemos al oscuro para cerrar */
    padding: 10rem 4rem;
}

.agency-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    column-gap: 6rem;
    row-gap: 1rem;
    align-items: center;
}

/* --- CABECERA (Derecha Arriba) --- */
.agency-header-area {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

/* --- FOTO AGENCIA (Izquierda) --- */
.agency-photo-area {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: relative;
    z-index: 5;
}

.agency-photo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transition: transform 0.5s ease;
    display: block;
}

.agency-photo-area:hover .agency-photo {
    transform: scale(1.02);
}

.agency-photo-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--accent-yellow);
    border-left: 2px solid var(--accent-yellow);
    z-index: -1;
}

/* --- INFORMACIÓN Y BOTÓN (Derecha Abajo) --- */
.agency-info-area {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.agency-paragraph {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dim);
}

.agency-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-dim);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 100px;
    width: fit-content;
    transition: all 0.3s ease;
}

.agency-btn:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-5px);
}

/* --- RESPONSIVO MÓVIL AGENCIA --- */
@media (max-width: 768px) {
    .agency-section { 
        padding: 6rem 1.5rem; 
    }
    
    .agency-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    
    .agency-header-area { order: 1; }
    .agency-photo-area { order: 2; width: 100%; }
    .agency-info-area { order: 3; }
    
    .agency-btn { 
        width: 100%; 
        justify-content: center; 
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--bg-dark);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-copy {
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-link i {
    font-size: 1rem;
}

.footer-link:hover {
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

/* Responsivo Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
}
