:root {
    --bg-light: #F2EADF;
    --accent-dark: #BF7F5A;
    --accent-light: #BF7960;
    --footer-bg: #D9C1B8;
    --text-dark: #2C2C2C;
    --font-ui: 'Montserrat', sans-serif;
    --font-elegant: 'Cormorant Garamond', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    font-family: var(--font-ui);
}

/* ¡SOLUCIÓN AQUÍ! La regla ahora está FUERA del body principal */
body.custom-cursor-active,
body.custom-cursor-active * {
    cursor: none !important;
}

/* --- JS UI Elements (Cursor Simple y Delicado) --- */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-dark);
    width: 0%;
    z-index: 999999;
}

/* El punto central (Fino y del color corporativo) */
.cursor {
    position: fixed;
    width: 6px;
    /* Punto mucho más fino y delicado */
    height: 6px;
    background-color: var(--accent-dark);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999999;
}

/* El anillo exterior (Pequeño y con línea delgada) */
.cursor-follower {
    position: fixed;
    width: 26px;
    /* Círculo mucho más pequeño */
    height: 26px;
    border: 1px solid var(--accent-dark);
    /* Línea súper delgada de 1px */
    background-color: transparent;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
    z-index: 9999998;
}

/* Efecto al pasar por encima de un botón o link */
.cursor-follower.active {
    width: 36px;
    /* Crece de forma muy sutil */
    height: 36px;
    background-color: rgba(191, 127, 90, 0.1);
    /* Relleno cálido y casi transparente */
    border-color: var(--accent-light);
}

/* --- NAVEGACIÓN --- */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* CAMBIO AQUÍ: Usamos tu nuevo color verde oliva */
    background: #5a593a;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Sombra un poco más oscura para que contraste */
}

/* Animación elegante para el logo */
.logo img {
    height: 95px;
    width: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Rebote muy sutil y premium */
}

.logo img:hover {
    transform: translateY(-4px) scale(1.02);
    /* Se levanta y crece ligeramente */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

/* Letra más grande, negrita y con animación de flotación */
.nav-links a,
.dropbtn {
    text-decoration: none;
    /* CAMBIO AQUÍ: Color blanco para contraste de lujo */
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-links a:hover,
.dropbtn:hover {
    color: var(--accent-light);
    transform: translateY(-3px);
    /* Se levanta el texto */
}

/* Desplegable */
.dropdown {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    min-width: 260px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.05);
    list-style: none;
    padding: 15px 0;
    border-top: 2px solid var(--accent-dark);
}

.dropdown-content li {
    padding: 12px 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.dropdown-content li:hover {
    background-color: var(--bg-light);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- PORTADAS APILADAS --- */
.hero-stack {
    width: 100%;
    margin-top: 110px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-image-container {
    width: 100%;
    height: 85vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.full-width-img {
    width: 100%;
    height: 110%;
    object-fit: cover;
    display: block;
    transform: translateY(-5%);
}

/* --- TEXTO PRINCIPAL --- */
.philosophy-section {
    padding: 120px 20px;
}

.text-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.text-container p {
    font-family: var(--font-elegant);
    font-size: 2.2rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-style: italic;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--footer-bg);
    padding: 60px 50px 20px;
    color: var(--text-dark);
}

.footer-container {
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-column h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--accent-dark);
}

.footer-column p,
.footer-column a,
.footer-bottom p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
}

.footer-links,
.social-links {
    list-style: none;
}

.footer-links li,
.social-links li {
    margin-bottom: 8px;
}

/* Efecto hover también en el footer */
.footer-links a,
.social-links a {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.social-links a:hover {
    color: var(--accent-light);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 12px;
}

/* --- ANIMACIONES --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
.menu-toggle {
    display: none;
    flex-direction: column;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    margin: 4px 0;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #FFF;
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}


/* =========================================
   PÁGINA DE PROYECTOS & GALERÍAS
   ========================================= */

/* Subimos todo el contenido más cerca del menú */
/* 1. Damos el espacio exacto del tamaño del menú + respiración */
.projects-container,
.project-detail-container {
    width: 100%;
    margin-top: 180px;
    /* ¡Aumentado para que no choque con el menú! */
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-item {
    width: 80%;
    /* El 80% exacto que solicitaste */
    max-width: 1400px;
    margin: 0 auto 120px auto;
    text-align: center;
}

.project-title {
    font-family: var(--font-ui);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.project-desc {
    font-family: var(--font-elegant);
    font-size: 1.6rem;
    /* Más pequeño que el texto de inicio, pero legible */
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Efecto de marco elegante para las imágenes */
.project-main-img-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.project-main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.5s ease;
    /* Zoom ultra lento al pasar el ratón */
}

.project-main-img-wrapper:hover .project-main-img {
    transform: scale(1.03);
}

/* Botón "View More" Femenino y Delicado */
.view-more-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    /* Aunque lo ocultemos, le dice al JS que interactúe */
    margin-top: 20px;
}

/* Letra más grande para View More y Back to Projects */
.btn-text {
    font-family: var(--font-ui);
    font-size: 14px;
    /* Aumentado de 11px a 14px */
    font-weight: 500;
    /* Un poco más de peso para que destaque */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: color 0.3s;
}

.btn-line {
    width: 0%;
    /* Inicia oculta */
    height: 1px;
    background-color: var(--accent-dark);
    transition: width 0.4s ease;
}

.view-more-btn:hover .btn-text {
    color: var(--accent-dark);
}

.view-more-btn:hover .btn-line {
    width: 100%;
    /* La línea se dibuja del centro hacia los lados */
}

/* =========================================
   CUADRÍCULA SIMÉTRICA (Grid Layout)
   ========================================= */

.gallery-grid {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Divide en 2 columnas */
    gap: 30px;
    /* Espacio elegante entre fotos */
}

.gallery-item {
    overflow: hidden;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
    filter: brightness(1.05);
    /* Da un ligero brillo al mirarla */
}

/* Control de simetría */
.gallery-item.landscape {
    grid-column: span 2;
    /* Las horizontales ocupan todo el ancho (las 2 columnas) */
}

.gallery-item.portrait {
    grid-column: span 1;
    /* Las verticales se acomodan una al lado de la otra */
}

.back-link-container {
    margin-top: 80px;
    text-align: center;
}

.gallery-item.landscape-half {
    grid-column: span 1;
    /* Obliga a la foto horizontal a compartir la fila con otra */
}

.gallery-item.centered-landscape {
    grid-column: span 2;
    /* Ocupa toda la fila */
    width: 65%;
    /* Pero la encogemos para que quede elegantemente centrada */
    justify-self: center;
}

.gallery-item.centered-portrait {
    grid-column: span 2;
    width: 45%;
    /* Las verticales centradas deben ser más delgadas */
    justify-self: center;
}

/* En móviles, las fotos centradas vuelven a ocupar todo el ancho */
/* --- RESPONSIVE PARA GALERÍA COMPLETA (MÓVILES) --- */
@media (max-width: 800px) {

    /* Hacemos que la cuadrícula y los textos ocupen un poco más de espacio en la pantalla chica */
    .project-item,
    .gallery-grid {
        width: 90%;
    }

    /* Transformamos la cuadrícula de 2 columnas a 1 sola columna */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Obligamos a TODAS las fotos a ocupar esa única columna al 100% de ancho */
    .gallery-item.landscape,
    .gallery-item.portrait,
    .gallery-item.landscape-half,
    .gallery-item.centered-landscape,
    .gallery-item.centered-portrait {
        grid-column: span 1;
        width: 100%;
    }
}


/* =========================================
   PÁGINA E-DESIGN (DISEÑO DE ALTA GAMA)
   ========================================= */

.edesign-container {
    width: 100%;
    margin-top: 160px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Encabezados Femeninos y Elegantes */
.edesign-header,
.packages-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title,
.section-title {
    font-family: var(--font-elegant);
    font-size: 3rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-dark);
}

.title-line {
    width: 60px;
    height: 1px;
    background-color: var(--accent-dark);
    margin: 20px auto 0 auto;
}

/* Sección "How it Works" */
/* Sección "How it Works" (Interactiva) */
.how-it-works {
    max-width: 800px;
    width: 90%;
    margin: 0 auto 100px auto;
    /* Centrado perfecto */
    position: relative;
}

/* Línea vertical sutil que conecta los pasos */
.how-it-works::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 70px;
    /* Alineado para pasar por detrás de los números */
    width: 1px;
    height: 90%;
    background-color: rgba(191, 127, 90, 0.2);
    z-index: -1;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    padding: 30px;
    border-radius: 15px;
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Curva de animación súper suave */
}

/* Efecto al pasar el ratón: La tarjeta se ilumina y se levanta */
.step-item:hover {
    background-color: #FFFFFF;
    box-shadow: 0 15px 35px rgba(191, 127, 90, 0.05);
    border: 1px solid rgba(191, 127, 90, 0.1);
    transform: translateY(-5px);
}

.step-number {
    font-family: var(--font-elegant);
    font-size: 5rem;
    line-height: 0.8;
    color: rgba(191, 127, 90, 0.15);
    font-style: italic;
    margin-right: 35px;
    min-width: 80px;
    transition: all 0.5s ease;
}

/* Efecto en el número: Cobra intensidad y se desliza a la derecha */
.step-item:hover .step-number {
    color: rgba(191, 127, 90, 0.4);
    transform: translateX(10px) scale(1.05);
}

.step-content {
    transition: transform 0.5s ease;
}

/* Efecto en el texto: Avanza sutilmente invitando a la lectura */
.step-item:hover .step-content {
    transform: translateX(5px);
}

.step-content h3 {
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: var(--accent-dark);
}

.step-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
}

.edesign-note {
    font-family: var(--font-elegant);
    font-style: italic;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 50px;
    color: var(--accent-light);
}

/* Responsive para la línea de tiempo */
@media (max-width: 900px) {
    .how-it-works::before {
        display: none;
    }

    /* Ocultamos la línea en móviles */
    .step-item {
        flex-direction: column;
        padding: 20px 10px;
    }

    .step-number {
        margin-bottom: 15px;
    }

    .step-item:hover .step-number {
        transform: translateY(-5px);
    }

    /* En móvil se mueve hacia arriba */
}

/* Cuadrícula de Paquetes Simétrica (2x2) */
.packages-grid {
    width: 85%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.package-card {
    background-color: #FFFFFF;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(191, 127, 90, 0.1);
    /* Brillo sutil terracota al pasar el ratón */
}

/* Magia para igualar las fotos dispares */
.pkg-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Obliga a todas las fotos a tener la misma proporción simétrica */
    overflow: hidden;
}

.pkg-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.package-card:hover .pkg-image-wrapper img {
    transform: scale(1.05);
}

.pkg-content {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Empuja el botón y precio siempre abajo para simetría perfecta */
}

.pkg-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.pkg-subtitle {
    font-family: var(--font-elegant);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--accent-dark);
    margin-bottom: 20px;
}

.pkg-desc,
.pkg-best {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Lista de características con viñetas corporativas */
.pkg-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pkg-features li {
    position: relative;
    padding-left: 25px;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.pkg-features li::before {
    content: '✔';
    /* Símbolo de verificación elegante */
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-size: 12px;
}

/* Precio y Botones */
.pkg-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 25px;
}

.pkg-price {
    font-family: var(--font-elegant);
    font-size: 2.5rem;
    color: var(--text-dark);
}

.buy-btn {
    background-color: var(--accent-dark);
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.buy-btn:hover {
    background-color: var(--text-dark);
    color: #FFFFFF;
}

.outline-btn {
    background-color: transparent;
    color: var(--accent-dark);
    border: 1px solid var(--accent-dark);
}

.outline-btn:hover {
    background-color: var(--accent-dark);
    color: #FFFFFF;
}

/* --- RESPONSIVE E-DESIGN --- */
@media (max-width: 900px) {
    .packages-grid {
        grid-template-columns: 1fr;
        width: 90%;
    }

    .step-item {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 10px;
    }
}


/* =========================================
   PÁGINA ABOUT US (ESTILO EDITORIAL)
   ========================================= */

/* Añadimos el tono verde elegante de forma local */
:root {
    --queen-green: #7D8C7A;
    /* Verde salvia muy sofisticado */
    --queen-bg: #E8EBE6;
    /* Fondo verde agua extremadamente sutil */
}

/* Portada Principal */
.about-hero {
    width: 100%;
    height: 70vh;
    margin-top: 110px;
    overflow: hidden;
    position: relative;
}

.about-hero img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    display: block;
    transform: translateY(-10%);
}

/* Texto de Introducción */
.about-intro {
    padding: 100px 20px 120px 20px;
    background-color: var(--bg-light);
}

.about-intro .text-container p {
    font-size: 2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
}

/* Sección de la Fundadora (El Trono) */
.founder-section {
    width: 100%;
    background-color: var(--queen-bg);
    /* Fondo sutilmente verde */
    padding: 120px 20px;
    position: relative;
}

/* Contenedor Flexbox para alinear foto y texto */
.founder-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* Composición de las dos imágenes (Revista Vogue) */
.founder-images {
    flex: 1;
    position: relative;
    height: 750px;
    /* Altura para permitir el desfase */
    width: 100%;
}

.img-box {
    position: absolute;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.5s ease;
}

.img-box:hover img {
    transform: scale(1.03);
    /* Zoom de realeza al mirarla */
}

/* La foto de atrás (vivi1.jpg) */
.img-back {
    width: 65%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* La foto de adelante (vivi.jpg) - Desfasada hacia abajo y a la derecha */
.img-front {
    width: 60%;
    height: 75%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 15px solid var(--queen-bg);
    /* Marco verde sutil para separar ambas fotos */
}

/* El Texto de la Reina */
.founder-text {
    flex: 1;
    padding-left: 20px;
}

.founder-title {
    font-family: var(--font-elegant);
    font-size: 4rem;
    font-weight: 300;
    color: var(--queen-green);
    /* Su color favorito en el título principal */
    font-style: italic;
    line-height: 1;
    margin-bottom: 10px;
}

.founder-subtitle {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-dark);
    margin-bottom: 30px;
}

.founder-line {
    width: 80px;
    height: 1px;
    background-color: var(--queen-green);
    margin-bottom: 40px;
}

.founder-text p {
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
}

/* Responsive para "About Us" (Blindaje Total) */
@media (max-width: 1000px) {
    .founder-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .founder-images {
        position: relative;
        /* CRÍTICO: Mantiene las fotos en su lugar */
        flex: none;
        /* CRÍTICO: Evita que el flexbox lo aplaste a 0px */
        width: 100%;
        height: 550px;
        max-width: 450px;
        margin: 0 auto;
        display: block;
    }

    .founder-text {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .founder-line {
        margin: 0 auto 40px auto;
    }
}

@media (max-width: 600px) {
    .founder-images {
        height: 420px;
        /* Altura firme para celulares */
        max-width: 90vw;
        /* Se adapta al ancho de la pantalla */
    }

    .img-back {
        width: 75%;
        height: 75%;
        top: 0;
        left: 0;
    }

    .img-front {
        width: 75%;
        height: 75%;
        bottom: 0;
        right: 0;
        border-width: 5px;
    }
}

/* =========================================
   PÁGINA CONTACT US (FORMULARIO INTERACTIVO)
   ========================================= */

.contact-page-container {
    width: 100%;
    margin-top: 150px;
    padding-bottom: 120px;
    display: flex;
    justify-content: center;
}

.contact-layout {
    width: 90%;
    max-width: 1200px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* Columna Izquierda (Info) */
.contact-info-block {
    flex: 1;
    padding-right: 40px;
}

.contact-title {
    font-family: var(--font-elegant);
    font-size: 3.5rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 25px;
}

.contact-intro {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 50px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-dark);
    margin-bottom: 10px;
}

.info-item p,
.info-item a {
    font-family: var(--font-elegant);
    font-size: 1.4rem;
    color: var(--text-dark);
    text-decoration: none;
    font-style: italic;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--accent-light);
}

/* Columna Derecha (Formulario) */
.contact-form-wrapper {
    flex: 1.2;
    background-color: #FFFFFF;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    border-top: 3px solid var(--accent-dark);
}

.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-row .input-group {
    flex: 1;
}

/* Inputs con "Floating Labels" (Etiquetas flotantes) */
.input-group {
    position: relative;
    width: 100%;
}

.input-group input,
.input-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    padding: 15px 0 5px 0;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* La magia interactiva: Al hacer clic o escribir, la etiqueta sube */
.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: var(--accent-dark);
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 10px;
    color: var(--accent-dark);
}

/* Selección Interactiva (Chips) */
.form-question p {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.chip input {
    display: none;
    /* Ocultamos el circulito feo del radio button */
}

.chip span {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    cursor: none;
    /* El ratón JS hace el trabajo */
    transition: all 0.3s;
}

/* Cuando seleccionas un chip, se pinta corporativo */
.chip input:checked+span {
    background-color: var(--accent-dark);
    color: #FFFFFF;
    border-color: var(--accent-dark);
}

.chip:hover span {
    border-color: var(--accent-dark);
    color: var(--accent-dark);
}

/* Botón de Enviar */
.submit-btn {
    align-self: flex-start;
    background-color: var(--text-dark);
    color: #FFFFFF;
    border: none;
    padding: 15px 40px;
    font-family: var(--font-ui);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--accent-dark);
}

/* Responsive de Contacto */
@media (max-width: 900px) {
    .contact-layout {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info-block {
        padding-right: 0;
        text-align: center;
    }

    .contact-form-wrapper {
        width: 100%;
        padding: 30px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 30px;
    }
}

/* =========================================
   PARCHES DE OPTIMIZACIÓN MÓVIL Y CALIDAD
   ========================================= */

/* 1. Forzar alta calidad de renderizado en imágenes para celulares */
img {
    image-rendering: -webkit-optimize-contrast;
    /* Mejora drásticamente la nitidez al encoger fotos en iOS/Safari */
    image-rendering: high-quality;
    transform: translateZ(0);
    /* Obliga al celular a usar aceleración de hardware (nitidez máxima) */
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 2. Corrección del Menú Móvil (Fondo Verde Oliva y Letras Blancas) */
@media (max-width: 900px) {

    /* Pintamos el fondo del menú desplegable del mismo color que la barra */
    .nav-links {
        background-color: #5a593a !important;
    }

    /* Aseguramos que todas las letras sean blancas */
    .nav-links a,
    .dropbtn {
        color: #FFFFFF !important;
    }

    /* Pintamos el submenú de "Services" con un verde ligeramente más oscuro para contraste */
    .dropdown-content {
        background-color: #4a492a !important;
    }

    .dropdown-content a {
        color: #FFFFFF !important;
    }

    /* Hacemos que las 3 rayitas del menú hamburguesa sean blancas para que se vean */
    .menu-toggle .bar {
        background-color: #FFFFFF !important;
    }
}

/* =========================================
   BLINDAJE FINAL: TABLETS Y MÓVILES
   ========================================= */

/* 1. Forzar los colores del menú en TODOS los dispositivos */
.navbar,
.nav-links {
    background-color: #5a593a !important;
}

.nav-links a,
.dropbtn {
    color: #FFFFFF !important;
}

.menu-toggle .bar {
    background-color: #FFFFFF !important;
}

/* 2. Dejar que las imágenes tomen su proporción natural en pantallas chicas */
@media (max-width: 1024px) {

    /* Quitamos alturas fijas y candados de proporción */
    .project-main-img-wrapper,
    .gallery-item,
    .pkg-image-wrapper {
        height: auto !important;
        aspect-ratio: auto !important;
    }

    /* La imagen define la altura, evitando deformaciones y recortes */
    .project-main-img,
    .gallery-item img,
    .pkg-image-wrapper img {
        height: auto !important;
        object-fit: cover !important;
    }

    /* Arreglo para la foto de la dueña (About Us) en celulares */
    .founder-images {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }

    .img-back,
    .img-front {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        border: none !important;
        /* Quitamos el marco para que no estorbe */
    }
}


/* =========================================
   CENTRAR LA 5TA TARJETA DE E-DESIGN
   ========================================= */
.package-card.centered-card {
    grid-column: span 2;
    /* Le decimos que ocupe toda la fila inferior */
    max-width: 580px;
    /* Pero le limitamos el ancho para que sea idéntica a las demás */
    margin: 0 auto;
    /* La empujamos perfectamente al centro */
    width: 100%;
}

@media (max-width: 900px) {
    .package-card.centered-card {
        grid-column: span 1;
        /* En celulares vuelve a comportarse normal */
        max-width: 100%;
    }
}