/* css/style.css */
:root {
    /* Paleta Premium - Atardecer del Bajío + Cuero + Oro Viejo */
    --color-bg: #1A120B;         /* Fondo principal - Café súper oscuro */
    --color-surface: #3E2723;    /* Cuero añejo - Para secciones secundarias */
    --color-primary: #D4A373;    /* Oro Viejo / Arena - Textos destacados, botones */
    --color-primary-hover: #b5885c;
    --color-text: #FAEDCD;       /* Crema cálido - Texto principal (mejor legibilidad) */
    --color-accent: #8D6E63;     /* Terracota sutil - Detalles, bordes */
    
    /* Tipografía */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía Básica */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-text);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

/* Encabezado */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 100;
}

.main-header .logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-primary);
}

/* 1. Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; 
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transform: scale(1.05);
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26,18,11,0.85) 0%, rgba(26,18,11,0.4) 100%), 
                linear-gradient(to bottom, rgba(26,18,11,0.2) 0%, var(--color-bg) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-content .subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 400;
}

.hero-content .title {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--color-text);
}

.hero-content .hook {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 500px;
    color: #e3d3b6; /* Un tono un pelín más apagado que el texto principal */
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 2. Franja de Credibilidad */
.credibility-banner {
    background-color: var(--color-surface);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 163, 115, 0.1);
    border-bottom: 1px solid rgba(212, 163, 115, 0.1);
}

.credibility-banner .statement {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-style: italic;
    color: var(--color-primary);
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

/* Botón Flotante WhatsApp */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366; /* Verde oficial WA */
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse 2.5s infinite;
}

.wa-float svg {
    width: 35px;
    height: 35px;
}

.wa-float:hover {
    transform: scale(1.15) translateY(-5px);
    animation: none; /* Detiene el pulso al hacer hover para no marear */
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Header Updates */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-nav {
    display: flex;
    gap: 15px;
}

.social-nav a {
    color: var(--color-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-nav svg {
    width: 22px;
    height: 22px;
}

.social-nav a:hover {
    color: var(--color-text);
    transform: translateY(-3px);
}

/* Sections Utilities */
.text-center { text-align: center; }
.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 400;
}
.section-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

.about-image .image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    z-index: -1;
    border-radius: 4px;
}

.premium-bio p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #e3d3b6;
}

.premium-bio strong {
    color: var(--color-primary);
    font-weight: 600;
}

.signature {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-primary);
    font-style: italic;
    margin-top: 40px;
    opacity: 0.8;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--color-surface);
}

.services-header {
    margin-bottom: 60px;
}

.section-desc {
    font-size: 1.2rem;
    color: #e3d3b6;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 400px;
    display: block;
    text-decoration: none;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26,18,11,0.95) 0%, rgba(26,18,11,0.3) 50%, rgba(26,18,11,0) 100%);
    pointer-events: none;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 1;
    pointer-events: none;
}

.card-content h4 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1.1;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--color-text);
    opacity: 0.9;
}

/* Media Section */
.media-section {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.media-header {
    margin-bottom: 50px;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.youtube-wrapper {
    width: 100%;
    height: 352px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    position: relative;
    border: 1px solid rgba(212, 163, 115, 0.2);
}

.youtube-wrapper iframe {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.yt-placeholder-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-primary);
    z-index: 1;
    width: 90%;
}

.yt-placeholder-hint p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.yt-placeholder-hint span {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Gallery Section (Masonry) */
.gallery-section {
    padding: 100px 0;
    background-color: var(--color-surface);
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
    margin-top: 40px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

/* Testimonials (Marquee) */
.testimonials-section {
    padding: 50px 0; /* Menos padding vertical para hacerla más angosta */
    background-color: var(--color-bg);
    overflow: hidden;
    position: relative;
}

.testimonials-section::before,
.testimonials-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-section::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.testimonials-section::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    margin-top: 30px; /* Reducido para ajustarse a menos padding */
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-left 50s linear infinite;
    gap: 30px;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background-color: var(--color-surface);
    padding: 25px; /* Ligeramente más pequeña */
    border-radius: 8px;
    width: 380px;
    border: 1px solid rgba(212, 163, 115, 0.1);
    white-space: normal;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card .quote {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.5;
}

.testimonial-card .author {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.15rem;
}

.testimonial-card .author span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #e3d3b6;
    font-weight: 400;
    font-style: normal;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* Footer */
.main-footer {
    background-color: #0b0704;
    padding: 80px 0 30px;
    text-align: center;
    border-top: 1px solid rgba(212, 163, 115, 0.15);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #e3d3b6;
    margin-bottom: 40px;
}

.btn-footer {
    padding: 16px 40px;
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 237, 205, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: rgba(250, 237, 205, 0.5);
}

/* Responsive / Mobile */
@media (max-width: 992px) {
    .hero-content .title {
        font-size: 4.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .media-grid {
        grid-template-columns: 1fr;
    }
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .hero-bg .overlay {
        background: linear-gradient(to bottom, rgba(26,18,11,0.3) 0%, rgba(26,18,11,0.9) 80%, var(--color-bg) 100%);
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
    }
    
    .hero-content .subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .hero-content .title {
        font-size: 3.2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .credibility-banner {
        padding: 50px 0;
    }

    .credibility-banner .statement {
        font-size: 1.8rem;
    }
    
    .main-header {
        padding: 15px 0;
    }
    
    .main-header .logo {
        display: none;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .masonry-grid {
        column-count: 1;
    }

    .testimonials-section::before,
    .testimonials-section::after {
        width: 50px;
    }
    
    .testimonial-card {
        width: 320px;
    }
}
