/* ==========================================================================
   1. RESET Y VARIABLES RAÍZ
   ========================================================================== */
:root {
    --bg-main: #F7F5F0;
    --bg-card: #FAF8F5;
    --soft-bg: #FAF6F0;
    --text-primary: #332E2B;
    --text-dark: #2C2C2C;
    --text-muted: #6E6863;
    --accent-rose: #C86C6A;
    --accent-rose-hover: #B35856;
    --badge-green: #E2ECDE;
    --badge-rose: #F9E8E5;
    --badge-yellow: #FAF0DF;
    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif-font {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

a:focus, a:active {
    outline: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   2. NAVEGACIÓN Y HEADER
   ========================================================================== */
.navbar-custom {
    background-color: #FFFFFF;
    border: none;
    margin-bottom: 0;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar-brand-custom {
    display: inline-block;
    text-decoration: none !important;
    padding: 0;
}

.navbar-brand-custom .logo-img {
    height: 42px;
    width: auto;
}

.navbar-custom .nav > li > a {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    transition: color 0.3s ease;
}

.navbar-custom .nav > li > a:hover,
.navbar-custom .nav > li > a:focus,
.navbar-custom .nav > li.active > a {
    background-color: transparent;
    color: var(--accent-rose);
}

/* ==========================================================================
   3. SECCIONES HERO Y ENCABEZADOS
   ========================================================================== */

/* Hero Principal */
.hero-section {
    padding: 80px 0 100px 0;
    position: relative;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 550px;
    display: flex;
    align-items: center;
}

.hero-subtitle {
    font-size: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-rose);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 55px;
    line-height: 1.15;
    color: #2C2623;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 35px;
    max-width: 480px;
}

.hero-img-wrapper {
    position: relative;
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* Encabezado de Páginas Internas */
.page-header-section {
    background-color: var(--soft-bg);
    padding: 70px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid #EFE8E0;
}

.page-header-section .tagline {
    color: var(--accent-rose);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.page-header-section h1 {
    font-size: 42px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-header-section .lead-text {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   4. TARJETAS DE CARACTERÍSTICAS E INFORMACIÓN
   ========================================================================== */

/* Cards Home */
.cards-section {
    padding: 30px 0 80px 0;
}

.feature-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.card-icon-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 26px;
}

.badge-green {
    background-color: var(--badge-green);
    color: #55774E;
}

.badge-rose {
    background-color: var(--badge-rose);
    color: var(--accent-rose);
}

.badge-yellow {
    background-color: var(--badge-yellow);
    color: #C08A3E;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    color: #2C2623;
    margin-bottom: 15px;
}

.card-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 25px;
    min-height: 170px;
}

.card-link {
    color: var(--accent-rose);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.card-link i {
    margin-left: 6px;
    font-size: 11px;
    transition: transform 0.2s;
}

.card-link:hover {
    color: var(--accent-rose-hover);
}

.card-link:hover i {
    transform: translateX(3px);
}

/* Cards Informativas Internas */
.info-cards-section {
    background-color: var(--soft-bg);
    padding: 60px 0 70px 0;
}

.info-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px 25px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.info-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--soft-bg);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-rose);
    font-size: 24px;
}

.info-card h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ==========================================================================
   5. SECCIONES DE CONTENIDO Y CALLOUT
   ========================================================================== */

/* Banner Callout General */
.callout-section {
    padding: 40px 0 80px 0;
}

.callout-banner {
    background: linear-gradient(90deg, rgba(247,245,240,0.92) 0%, rgba(247,245,240,0.7) 50%, rgba(247,245,240,0.2) 100%), 
                url('../images/hero-2.jpg');
    background-size: cover;
    background-position: center right;
    border-radius: 24px;
    padding: 70px 60px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.callout-title {
    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1.2;
    color: #2C2623;
    margin-top: 0;
    margin-bottom: 15px;
    max-width: 500px;
}

.callout-subtitle {
    font-size: 22px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 480px;
    line-height: 1.6;
}

/* Bloque de Contenido Lectura */
.content-section {
    padding: 70px 0;
}

.content-body p {
    font-size: 20px;
    line-height: 1.85;
    color: #000;
    margin-bottom: 24px;
}

.content-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

.featured-callout {
    background-color: var(--soft-bg);
    border-left: 4px solid var(--accent-rose);
    border-radius: 0 12px 12px 0;
    padding: 35px 40px;
    margin: 45px 0 35px 0;
}

.featured-callout h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.featured-callout p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.featured-callout p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   6. BOTONES
   ========================================================================== */
.btn-pill-primary {
    background-color: var(--accent-rose);
    color: #FFFFFF !important;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 22px;
    font-weight: 500;
    border: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 108, 106, 0.25);
    text-decoration: none !important;
}

.btn-pill-primary:hover {
    background-color: var(--accent-rose-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 108, 106, 0.35);
}

.btn-pill-primary i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.2s;
}

.btn-pill-primary:hover i {
    transform: translateX(4px);
}

.btn-pill-outline {
    background: transparent;
    color: var(--accent-rose) !important;
    border: 1.5px solid var(--accent-rose);
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 22px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-pill-outline:hover {
    background-color: var(--accent-rose);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.btn-pill-outline i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.2s;
}

.btn-pill-outline:hover i {
    transform: translateX(4px);
}

/* Alias/Compatibilidad para botones estándar */
.btn-custom-primary {
    background-color: var(--accent-rose);
    color: #FFFFFF !important;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 20px;
    font-weight: 500;
    border: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none !important;
}

.btn-custom-primary:hover {
    background-color: var(--accent-rose-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   7. WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 19px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.whatsapp-btn:focus {
    color: #ffffff;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
footer{
    padding-bottom: 100px;
}

.footer-section {
    background-color: #F2EFE9;
    padding: 50px 0 100px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-top {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 35px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-nav li a {
    color: var(--text-muted);
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav li a:hover {
    color: var(--accent-rose);
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 20px;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--accent-rose);
    color: #FFFFFF;
}

.footer-bottom {
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 20px;
    color: #8C8680;
}

/* ==========================================================================
   ESTILOS PARA BREADCRUMBS
   ========================================================================== */
.custom-breadcrumb {
    background-color: transparent;
    padding: 0 0 15px 0;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
}

.custom-breadcrumb > li > a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-breadcrumb > li > a:hover {
    color: var(--accent-rose);
}

.custom-breadcrumb > li.active {
    color: var(--accent-rose);
    font-weight: 600;
}

/* Separador personalizado "/" */
.custom-breadcrumb > li + li:before {
    color: #D0C9C0;
    padding: 0 8px;
}

/* Alineación en móviles */
@media (max-width: 767px) {
    .custom-breadcrumb {
        text-align: center;
        padding-bottom: 10px;
    }
}
/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-title { font-size: 38px; }
    .callout-banner { padding: 40px 30px; background-position: center; }
    .footer-top { flex-direction: column; text-align: center; gap: 20px; }
    .footer-nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 12px;
        right: 12px;
        padding: 5px 10px;
        font-size: 15px;
        gap: 8px;
    }
}

@media (max-width: 767px) {
    .hero-title { font-size: 32px; }
    .page-header-section h1 { font-size: 32px; }
    .callout-title { font-size: 28px; }
    .featured-callout { padding: 25px 20px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .navbar-brand-custom { margin-top: 5px; }
}

/* ==========================================================================
   10. ESTILOS DE FORMULARIO Y SECCIÓN DE CONTACTO
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-main);
}

.contact-info-card {
    background-color: var(--soft-bg);
    border-radius: 20px;
    padding: 40px 35px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-info-card h2 {
    font-size: 32px;
    margin-top: 5px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-info-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
}

.contact-detail-item:last-child {
    margin-bottom: 0;
}

.contact-detail-item .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: var(--accent-rose);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.contact-detail-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    font-family: var(--font-body);
    color: var(--text-primary);
}

.contact-detail-item p {
    margin: 0;
    font-size: 15px;
}

/* Envoltorio del formulario */
.form-wrapper {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.custom-form-group {
    margin-bottom: 24px;
}

.custom-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

/* Inputs, Selects y Textareas */
.custom-input {
    height: 52px;
    border-radius: 12px;
    border: 1px solid #E5E0D8;
    background-color: #FAF9F6;
    padding: 12px 18px;
    font-size: 15px;
    color: var(--text-primary);
    box-shadow: none !important;
    transition: all 0.3s ease;
}

textarea.custom-input {
    height: auto;
    resize: vertical;
}

.custom-input:focus {
    background-color: #FFFFFF;
    border-color: var(--accent-rose);
    box-shadow: 0 0 0 3px rgba(200, 108, 106, 0.15) !important;
}

.custom-input::placeholder {
    color: #AAA6A0;
}

/* Checkbox personalizado */
.checkbox-custom {
    margin-bottom: 30px;
}

.checkbox-custom label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    cursor: pointer;
}

.checkbox-custom input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--accent-rose);
}

.style-btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 14px 28px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .margin-bottom-mobile {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .form-wrapper {
        padding: 30px 20px;
    }
    .contact-info-card {
        padding: 30px 20px;
    }
    .hero-section {
    padding: 80px 0 100px 0;
    position: relative;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    min-height: 550px;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.6);
}
}

        /* Estilos específicos para la tarjeta de confirmación */
        .confirmation-card {
            background-color: #FFFFFF;
            border-radius: 20px;
            padding: 60px 40px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
            border: 1px solid rgba(0, 0, 0, 0.03);
            margin: 40px 0 80px 0;
        }

        .confirmation-icon {
            width: 80px;
            height: 80px;
            background-color: var(--badge-green);
            color: #55774E;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            margin-bottom: 25px;
        }

        .confirmation-card h2 {
            font-size: 36px;
            margin-top: 0;
            margin-bottom: 15px;
            color: var(--text-primary);
        }

        .confirmation-card p {
            font-size: 18px;
            color: var(--text-muted);
            max-width: 580px;
            margin: 0 auto 35px auto;
            line-height: 1.7;
        }

        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        @media (max-width: 767px) {
            .confirmation-card {
                padding: 40px 20px;
            }
            .confirmation-card h2 {
                font-size: 28px;
            }
        }


        /* ==========================================================================
   11. ESTILOS DE ACORDEÓN / FAQ
   ========================================================================== */
.faq-section {
    padding: 70px 0 90px 0;
    background-color: var(--bg-main);
}

.custom-accordion {
    margin-bottom: 50px;
}

.custom-faq-panel {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.custom-faq-panel:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
}

.custom-faq-panel .panel-heading {
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.custom-faq-panel .panel-title a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.custom-faq-panel .panel-title a:hover,
.custom-faq-panel .panel-title a[aria-expanded="true"] {
    color: var(--accent-rose);
}

/* Icono del acordeón y rotación al desplegar */
.custom-faq-panel .faq-icon {
    font-size: 14px;
    color: var(--accent-rose);
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.custom-faq-panel .panel-title a[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* Cuerpo desplegable */
.custom-faq-panel .panel-body {
    padding: 0 28px 25px 28px !important;
    border-top: none !important;
    font-size: 20px;
    line-height: 1.75;
    color: #000;
}

/* Bloque inferior de ayuda */
.faq-footer-callout {
    background-color: var(--soft-bg);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-footer-callout h3 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
}

.faq-footer-callout p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

@media (max-width: 767px) {
    .custom-faq-panel .panel-title a {
        padding: 18px 20px;
        font-size: 16px;
    }
    .custom-faq-panel .panel-body {
        padding: 0 20px 20px 20px !important;
        font-size: 16px;
    }
}