:root {
    --brand-red: #DC2626;
    --brand-red-dark: #B91C1C;
    --brand-black: #000000;
    --brand-white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-700: #374151;
    --gray-900: #111827;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--brand-black);
    background: var(--brand-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: var(--brand-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-black);
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--brand-red);
}

.nav-cta {
    background: var(--brand-red);
    color: var(--brand-white);
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--brand-red-dark);
    color: var(--brand-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(17, 24, 39, 0.85) 100%), url('media/IMG_8225.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--brand-white);
    padding: 7.5rem 0;
    text-align: center;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--brand-red);
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-200);
}

.hero .trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--gray-200);
}

.trust-badge svg {
    color: var(--brand-red);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--brand-red);
    color: var(--brand-white);
}

.btn-primary:hover {
    background: var(--brand-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-white);
    border-color: var(--brand-white);
}

.btn-secondary:hover {
    background: var(--brand-white);
    color: var(--brand-black);
}

/* Section */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--gray-700);
}

/* Promociones */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.promo-card {
    background: var(--brand-white);
    border: 3px solid var(--brand-red);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.promo-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-red);
    color: var(--brand-white);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.promo-card h3 {
    font-size: 1.75rem;
    margin: 1.5rem 0 1rem;
}

.promo-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-red);
    margin: 1rem 0;
}

.promo-includes {
    text-align: left;
    margin: 2rem 0;
}

.promo-includes ul {
    list-style: none;
}

.promo-includes li {
    padding: 0.5rem 0;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.promo-includes li:before {
    content: "✓";
    color: var(--brand-red);
    font-weight: 700;
    font-size: 1.25rem;
}

.promo-card.placeholder {
    border-style: dashed;
    opacity: 0.7;
}

.promo-card.placeholder h3,
.promo-card.placeholder .promo-price,
.promo-card.placeholder li {
    color: var(--gray-700);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.2s;
}

.service-card:hover {
    background: var(--brand-white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--brand-white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-700);
}

/* Experto / About */
.expert-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.expert-photo {
    flex-shrink: 0;
}

.expert-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--brand-red);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.expert-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--brand-black);
}

.expert-content .expert-role {
    font-size: 1.125rem;
    color: var(--brand-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.expert-content p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Proceso */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--brand-red);
    color: var(--brand-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--gray-700);
}

/* Testimonios */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--brand-red);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.testimonial-author {
    font-weight: 600;
}

.testimonial.placeholder {
    opacity: 0.6;
    border-left-style: dashed;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--brand-white);
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-700);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contacto */
.contact-grid {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-white);
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--brand-red);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--brand-black);
    color: var(--brand-white);
    padding: 3rem 0 1.5rem;
    text-align: center;
}

footer p {
    margin-bottom: 1rem;
    color: var(--gray-200);
}

.footer-legal {
    font-size: 0.875rem;
    color: var(--gray-300);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
}

/* Floating Buttons */
.float-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 90;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-whatsapp {
    background: #25D366;
    color: var(--brand-white);
}

.float-phone {
    background: var(--brand-red);
    color: var(--brand-white);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 4rem 0;
        min-height: 85vh;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero .subtitle {
        font-size: 0.95rem;
    }
    
    .hero .trust-badges {
        gap: 1.5rem;
        font-size: 0.85rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .promo-grid,
    .services-grid,
    .process-steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .promo-price {
        font-size: 2.5rem;
    }
    
    .expert-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .expert-photo img {
        width: 160px;
        height: 160px;
    }
    
    .float-buttons {
        right: 1rem;
        bottom: 1rem;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
    }
    
    .float-btn svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero .subtitle {
        font-size: 0.875rem;
    }
    
    .hero .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .promo-card,
    .service-card,
    .testimonial {
        padding: 1.5rem;
    }
    
    nav {
        padding: 0.75rem 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

.bg-alt {
    background: var(--gray-50);
}

/* ===== extra.css (build.py) ===== */
/* Ajustes de rediseño 2026-09: menos "cuadrado", más ritmo entre secciones. */

/* Hero: menos velo negro, texto alineado a la izquierda, acento rojo */
.hero {
    background: linear-gradient(100deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 55%, rgba(0,0,0,0.25) 100%), url('/media/IMG_8225.png');
    background-size: cover;
    background-position: center;
    text-align: left;
    min-height: 82vh;
}
.hero .container { max-width: 1200px; }
.hero h1 { max-width: 15ch; }
.hero .subtitle { max-width: 48ch; margin-left: 0; margin-right: 0; }
.hero .cta-buttons { justify-content: flex-start; }
.hero .trust-badges { justify-content: flex-start; }
.hero h1::before {
    content: '';
    display: block;
    width: 64px;
    height: 6px;
    background: var(--brand-red);
    border-radius: 3px;
    margin-bottom: 1.25rem;
}

/* Etiqueta pequeña sobre los títulos */
.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 0.75rem;
}
.eyebrow a { color: inherit; text-decoration: none; }

/* Servicios: tarjetas sin fondo, con línea roja arriba (menos caja) */
.service-card {
    background: transparent;
    border: none;
    border-top: 3px solid var(--gray-200);
    border-radius: 0;
    text-align: left;
    padding: 1.75rem 0.5rem 0;
    transition: border-color .2s;
}
.service-card:hover { border-top-color: var(--brand-red); transform: none; box-shadow: none; }
.service-card .service-icon { margin: 0 0 1.25rem; }

/* Cómo funciona: línea de tiempo en vez de tres cajas */
.process-steps { position: relative; counter-reset: paso; }
.process-steps::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 30px;
    height: 2px;
    background: var(--gray-200);
}
.process-step { text-align: left; padding: 0 1rem; }
.process-step .step-number { margin: 0 0 1.5rem; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--brand-white); }

/* Experto: foto más grande y texto con respiro */
.expert-section { gap: 3rem; }
.expert-content p { max-width: 56ch; }

/* Testimonios */
.testimonial { position: relative; background: var(--brand-white); border: 1px solid var(--gray-200); }
.testimonial::before {
    content: '\201C';
    position: absolute;
    top: -0.6rem;
    left: 1.25rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--brand-red);
    opacity: .25;
    font-family: Georgia, serif;
}
.testimonial-meta { color: var(--gray-700); font-size: .875rem; }

/* Blog: tarjetas de artículo */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.posts-grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 860px; margin-left: auto; margin-right: auto; }
.post-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
    padding: 1.75rem;
    border-radius: 0.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); border-color: var(--brand-red); }
.post-card h3 { font-size: 1.2rem; line-height: 1.3; }
.post-card p { color: var(--gray-700); font-size: .95rem; flex: 1; }
.post-tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-red); }
.post-meta { font-size: .8rem; color: var(--gray-700); }
.center { text-align: center; }
.btn-outline { background: transparent; color: var(--brand-black); border: 2px solid var(--brand-black); }
.btn-outline:hover { background: var(--brand-black); color: var(--brand-white); }

/* Páginas internas (blog) */
body.inner > header { position: sticky; top: 0; z-index: 100; }
.page-hero { background: var(--brand-black); color: var(--brand-white); padding: 4.5rem 0 3.5rem; }
.page-hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.15; max-width: 22ch; margin-bottom: 1rem; }
.page-hero .subtitle { color: var(--gray-300); font-size: 1.1rem; }
.page-hero .eyebrow { color: #F87171; }
.container.narrow { max-width: 760px; }
.post-header { background: var(--gray-50); padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--gray-200); }
.post-header h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.post-body { padding: 3rem 1.5rem 4rem; font-size: 1.08rem; line-height: 1.75; color: var(--gray-900); }
.post-body h2 { font-size: 1.6rem; margin: 2.25rem 0 0.9rem; line-height: 1.25; }
.post-body h3 { font-size: 1.2rem; margin: 1.75rem 0 0.6rem; }
.post-body p { margin-bottom: 1.1rem; }
.post-body ul, .post-body ol { margin: 0 0 1.25rem 1.4rem; }
.post-body li { margin-bottom: .45rem; }
.post-body .tip {
    background: var(--gray-50);
    border-left: 4px solid var(--brand-red);
    padding: 1rem 1.25rem;
    border-radius: 0 .5rem .5rem 0;
    margin: 1.5rem 0;
}
.post-cta {
    margin-top: 3rem;
    background: var(--brand-black);
    color: var(--brand-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}
.post-cta h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.post-cta p { color: var(--gray-300); margin-bottom: 1.25rem; }

/* FAQ en fondo oscuro para romper la secuencia gris/blanco */
.section-dark { background: var(--gray-900); color: var(--brand-white); }
.section-dark .section-title h2 { color: var(--brand-white); }
.section-dark .section-title p { color: var(--gray-300); }
.section-dark .faq-item { background: var(--brand-white); border-color: transparent; }
.section-dark .faq-item .faq-question { color: var(--brand-black); }
.section-dark .faq-answer p { color: var(--gray-700); }

/* Menú móvil */
@media (max-width: 768px) {
    .hero { min-height: 70vh; text-align: center; }
    .hero h1 { max-width: none; }
    .hero h1::before { margin-left: auto; margin-right: auto; }
    .hero .subtitle { margin-left: auto; margin-right: auto; }
    .hero .cta-buttons, .hero .trust-badges { justify-content: center; }
    .process-steps::before { display: none; }
    .process-step { text-align: center; }
    .process-step .step-number { margin-left: auto; margin-right: auto; }
    .service-card { text-align: center; }
    .service-card .service-icon { margin-left: auto; margin-right: auto; }
    nav ul.nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 0; right: 0; top: 100%;
        background: var(--brand-white);
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.75rem;
        box-shadow: 0 12px 24px rgba(0,0,0,.12);
    }
    nav { position: relative; }
    .page-hero h1, .post-header h1 { font-size: 1.9rem; }
}
