:root {
    --bg-crema: #F9F7F2; /* Crema lino muy suave */
    --text-black: #050505;
    --text-grey: #666;
    --gold-1: #BF953F;
    --gold-2: #FCF6BA;
    --gold-3: #B38728;
    --gold-4: #AA771C;
    --white: #ffffff;
    --radius: 8px;
    --nav-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg-crema);
    color: var(--text-black);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    padding-bottom: 80px; /* Espacio para la bottom bar */
}

/* Textura Lujo */
.noise-texture {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; z-index: -1;
}

/* Tipografía de Marca */
h1, h2, h3, em { font-family: 'Cormorant Garamond', serif; }
.font-serif { font-family: 'Cormorant Garamond', serif; }
.italic { font-style: italic; font-weight: 300; }
.container { padding: 0 20px; max-width: 1000px; margin: 0 auto; }

/* Oro Metálico Realista */
.gold-metallic, .gold-text {
    background: linear-gradient(to right, var(--gold-1), #D4B274, var(--gold-3), #D4B274, var(--gold-1));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    font-weight: 600;
}
@keyframes shine { to { background-position: 200% center; } }

/* --- NAV SUPERIOR --- */
.top-nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 15px 0;
    background: rgba(249, 247, 242, 0.9);
    backdrop-filter: blur(10px);
    display: flex; justify-content: center;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s;
}
.logo-container { height: 80px; /* Logo grande en móvil */ }
.brand-logo { height: 100%; width: auto; object-fit: contain; }

/* --- HERO MOBILE --- */
.hero-mobile {
    padding-top: 100px;
    display: flex; flex-direction: column;
    min-height: 90dvh; /* Dynamic viewport height */
    position: relative;
    overflow: hidden;
}

.hero-text-layer {
    padding: 20px 20px 40px;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 13vw; /* Gigante en móvil */
    line-height: 0.9;
    margin-top: 10px;
}

.since-badge {
    font-size: 0.7rem; letter-spacing: 3px; font-weight: 600; color: var(--gold-3);
    display: block; margin-bottom: 10px;
}

.hero-image-layer {
    position: relative;
    width: 100%;
    flex-grow: 1;
    margin-bottom: 20px;
}

.img-mask {
    width: 92%; margin: 0 auto;
    height: 45vh;
    border-radius: 100px 100px 0 0; /* Arco elegante */
    overflow: hidden;
    position: relative;
}

.img-mask img { width: 100%; height: 100%; object-fit: cover; }

/* Sello Rotatorio */
.stamp-badge { position: absolute; bottom: -30px; right: 10px; width: 100px; height: 100px; background: var(--bg-crema); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); z-index: 10; }
.stamp-badge svg { width: 100%; height: 100%; animation: rotate 15s linear infinite; }
.stamp-text { font-size: 9px; font-family: 'Manrope', sans-serif; letter-spacing: 0.4px; text-transform: uppercase; fill: var(--text-black); font-weight: 700; }
.stamp-center { position: absolute; font-family: 'Cormorant Garamond'; font-size: 1.5rem; font-weight: 700; color: var(--gold-3); }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.about-block { padding: 120px 20px; text-align: center; }
.about-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; margin-top: 60px; }
.about-text { text-align: left; }
.about-title { font-size: 1.8rem; line-height: 1.2; margin-bottom: 25px; font-weight: 600; }
.about-body { font-size: 1.05rem; line-height: 1.6; color: var(--text-grey); margin-bottom: 0; }

/* Imagen móvil en sección Quiénes Somos */
.about-mobile-image { display: none; }
.about-img-mobile { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* Imagen móvil en sección Nuestra Filosofía (izquierda) */
.about-mobile-image-left { display: none; }
.about-img-mobile-left { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* Imagen móvil en sección Hacia dónde vamos (centrada) */
.about-mobile-image-center { display: none; }
.about-img-mobile-center { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

@media (max-width: 768px) {
    .about-mobile-image { 
        display: block; 
        margin-top: 30px; 
        margin-right: -20px;
        width: calc(100% + 20px);
    }
    .about-img-mobile {
        width: 100%;
        border-radius: 5px 0 0 5px;
    }

    .about-mobile-image-left {
        display: block;
        margin-top: 30px;
        margin-left: -20px;
        width: calc(100% + 20px);
    }
    .about-img-mobile-left {
        width: 100%;
        border-radius: 0 5px 5px 0;
    }

    .about-mobile-image-center {
        display: block;
        margin-top: 30px;
        text-align: center;
        width: 100%;
        padding: 0 8px;
    }
    .about-img-mobile-center {
        width: 100%;
        max-width: 100%;
        border-radius: 5px;
    }
}

/* --- HORIZONTAL SNAP SERVICES --- */
.services-slider { padding: 60px 0; background: #fff; overflow: hidden; }
.section-header { display: flex; justify-content: space-between; margin-bottom: 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; color: var(--gold-3); }

.scroll-snap-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px;
    gap: 15px;
    padding-bottom: 30px; /* Espacio para scrollbar invisible */
    -ms-overflow-style: none;  /* IE */
    scrollbar-width: none;  /* Firefox */
}
.scroll-snap-container::-webkit-scrollbar { display: none; }

.service-card {
    min-width: 85vw; /* Casi pantalla completa */
    height: 350px;
    background: var(--bg-crema);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: var(--radius);
    padding: 30px;
    scroll-snap-align: center;
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative;
    transition: transform 0.3s;
}
.card-number { font-family: 'Cormorant Garamond'; font-size: 4rem; color: rgba(0,0,0,0.03); position: absolute; top: 10px; right: 20px; font-weight: 700; }
.card-content h3 { font-size: 2.5rem; line-height: 1; margin-bottom: 15px; color: var(--text-black); }
.card-content p { color: var(--text-grey); }
.card-icon { width: 50px; height: 50px; color: var(--gold-1); align-self: flex-end; }
.spacer-card { min-width: 10px; }

/* --- SPA FULL BLEED --- */
.spa-full { padding: 80px 20px; }
.spa-wrapper { position: relative; border-radius: var(--radius); overflow: hidden; height: 400px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.spa-img { width: 100%; height: 100%; object-fit: cover; }
.spa-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}
.tag-white { font-size: 0.7rem; border: 1px solid rgba(255,255,255,0.5); padding: 5px 10px; border-radius: 20px; margin-bottom: 15px; display: inline-block; }
.spa-overlay h2 { font-size: 3rem; line-height: 1; color: white; margin: 0; }
.spa-desc { margin-top: 20px; font-size: 0.95rem; color: var(--text-grey); max-width: 90%; }

/* --- FOOTER PRO --- */
.footer-pro { background: #080808; color: white; padding: 60px 0 100px; text-align: center; overflow: hidden; }
.footer-info { font-size: 0.8rem; letter-spacing: 2px; color: #666; margin-bottom: 40px; line-height: 1.8; }
.signature-container { width: 100%; overflow: hidden; padding: 10px 10px; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: center; }
.giant-name {
    font-size: 18vw; /* Ocupa el 18% del ancho de pantalla */
    line-height: 1;
    font-weight: 300;
    white-space: nowrap;
    letter-spacing: -2px;
    min-width: fit-content;
}
.copyright { margin-top: 30px; font-size: 0.6rem; color: #444; letter-spacing: 1px; }

/* --- STICKY BOTTOM BAR --- */
.bottom-bar {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 400px;
    z-index: 999;
}
.call-btn {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    background: #080808; color: var(--gold-2);
    padding: 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600; font-size: 0.9rem; letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.2s;
}
.call-btn:active { transform: scale(0.95); }

/* --- INTERIOR LANDINGS --- */
.inner-page {
    padding-bottom: 100px;
}

.hero-inner {
    padding-top: 130px;
    padding-bottom: 40px;
}

.inner-kicker {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--gold-3);
    margin-bottom: 14px;
}

.inner-title {
    font-size: clamp(2.4rem, 8vw, 5rem);
    line-height: 0.95;
    margin-bottom: 16px;
}

.inner-subtitle {
    max-width: 680px;
    color: var(--text-grey);
    line-height: 1.7;
    font-size: 1rem;
}

.inner-media {
    margin-top: 28px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.inner-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.breadcrumbs {
    margin-top: 12px;
    margin-bottom: 16px;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.service-overview {
    padding: 30px 0 10px;
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.panel {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 24px;
}

.panel h2,
.panel h3 {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 14px;
}

.panel p {
    color: var(--text-grey);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: var(--text-grey);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.feature-list li:last-child {
    border-bottom: 0;
}

.facts {
    padding: 40px 0 20px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.fact {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 18px;
}

.fact-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--gold-3);
    margin-bottom: 8px;
}

.fact-value {
    color: var(--text-grey);
    line-height: 1.5;
    font-size: 0.93rem;
}

.faq-section {
    padding: 30px 0 40px;
}

.faq-title {
    font-size: clamp(2rem, 6vw, 3.2rem);
    margin-bottom: 18px;
    line-height: 0.95;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 10px;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-grey);
    line-height: 1.65;
}

.inner-cta {
    padding: 20px 0 70px;
}

.cta-card {
    background: #080808;
    color: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.cta-card h2 {
    color: white;
    font-size: clamp(2rem, 7vw, 3.4rem);
    line-height: 0.95;
    margin-bottom: 12px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0 auto 18px;
    max-width: 580px;
}

.cta-link {
    display: inline-block;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 12px 24px;
    color: var(--gold-2);
    letter-spacing: 1px;
    font-weight: 600;
}

.page-links {
    padding: 0 0 50px;
}

.page-links .panel h2 {
    margin-bottom: 8px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.link-grid a {
    display: block;
    text-decoration: none;
    color: var(--text-black);
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .hero-inner {
        padding-top: 120px;
    }

    .inner-page .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .inner-media img {
        height: 280px;
    }

    .grid-two,
    .facts-grid,
    .link-grid {
        grid-template-columns: 1fr;
    }
}

/* Animaciones */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }

/* Desktop adjustments (solo para que no se rompa en PC) */
@media (min-width: 769px) {
    .service-card { min-width: 300px; }
    .hero-mobile { flex-direction: row; align-items: center; height: 100vh; padding-top: 0; }
    .hero-text-layer { width: 50%; text-align: left; padding-left: 10%; }
    .hero-title { font-size: 5rem; }
    .hero-image-layer { width: 50%; height: 100%; margin-bottom: 0; }
    .img-mask { height: 80vh; margin-top: 10vh; border-radius: 200px 0 0 200px; width: 100%; }
    .stamp-badge { right: auto; left: -50px; bottom: 10%; }
}
