/* css/style.css */

/* ==========================================================================
   1. VARIABLES Y RESET GENERAL
   ========================================================================== */
:root {
    --primary-color: #031d54;
    --primary-hover: #005bda;
    --heading-color: #040a28;
    --text-color: #79756f;
    --background-light: #f7f2eb;
    --background-white: #ffffff;
    --border-color: #e8ded2;
    --accent-soft: #f4ece2;

    --font-main: 'Plus Jakarta Sans', sans-serif;
    --container-width: 1200px;
    --section-padding: 90px 0;
    --border-radius-lg: 28px;
    --border-radius-pill: 50px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--background-white);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

.container-custom {
    max-width: var(--container-width);
}

/* Tipografía e Títulos */
.section-tag {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-icon {
    font-size: 10px;
}

.section-title {
    color: var(--heading-color);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.7;
}

/* Iconos de Check Naranja */
.check-icon {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 14px;
}

.benefits-list li {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
}

/* Botones */
.btn-primary-custom {
    background-color: red;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: var(--border-radius-pill);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
}

/* ==========================================================================
   2. SECCIÓN ABOUT US
   ========================================================================== */
.section-about {
    padding: var(--section-padding);
    background-color: var(--background-white);
}

.decor-waves {
    left: 20px;
    top: 40%;
}

.about-image-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-image-wrapper .main-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

/* Cápsula de Experiencia */
.experience-badge {
    left: 25px;
    top: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.badge-pill-orange {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 40px 18px 25px 18px;
    border-radius: 40px 40px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotated-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.badge-pill-white {
    background-color: #ffffff;
    color: var(--heading-color);
    padding: 12px 18px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: -15px;
    z-index: 3;
}

.badge-number {
    font-size: 20px;
    font-weight: 800;
}

/* Thumb de Video */
.video-thumb-wrapper {
    border-radius: 16px;
    height: 110px;
}

.video-thumb-wrapper img {
    height: 100%;
    object-fit: cover;
}

.btn-play-video {
    width: 38px;
    height: 38px;
    background-color: #ffffff;
    color: var(--primary-color);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.btn-play-video:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.section-divider {
    border-color: var(--border-color);
    opacity: 0.6;
}

/* Avatares */
.avatar-group {
    display: flex;
}

.avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -10px;
    object-fit: cover;
}

.avatar-img:first-child {
    margin-left: 0;
}

.ratings-meta .stars {
    font-size: 11px;
}

.ratings-text {
    font-size: 11px;
    color: var(--text-color);
    font-weight: 600;
}

/* ==========================================================================
   3. SECCIÓN WHY CHOOSE US
   ========================================================================== */
.section-why-choose {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.decor-circle-top-right {
    top: -100px;
    right: -100px;
}

.card-info-box {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.benefit-check {
    font-weight: 700;
    color: var(--heading-color);
    font-size: 13px;
}

.card-divider {
    border-color: var(--border-color);
    margin: 15px 0;
}

.progress-label {
    font-weight: 700;
    color: var(--heading-color);
    font-size: 13px;
}

.progress-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 4px;
}

.custom-progress-bar {
    height: 6px;
    background-color: #eadecd;
    border-radius: 10px;
    overflow: hidden;
}

.custom-progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
}

.why-choose-image-wrapper .rounded-image {
    border-radius: var(--border-radius-lg);
    max-height: 480px;
    object-fit: cover;
}

/* ==========================================================================
   4. SECCIÓN TESTIMONIALS
   ========================================================================== */
.section-testimonials {
    padding: var(--section-padding);
    background-color: var(--background-white);
}

.max-w-600 {
    max-width: 600px;
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.client-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.btn-audio-play {
    width: 42px;
    height: 42px;
    background-color: #f6efe7;
    color: var(--primary-color);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.btn-audio-play:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.testimonial-text {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.7;
}

.client-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--heading-color);
}

.client-role {
    font-size: 12px;
    color: var(--text-color);
}

.quote-mark {
    font-size: 70px;
    line-height: 0.5;
    color: var(--primary-color);
    font-family: Georgia, serif;
    opacity: 0.8;
    margin-bottom: -10px;
}

/* ==========================================================================
   5. SECCIÓN FAQ
   ========================================================================== */
.section-faq {
    padding: var(--section-padding);
    background-color: var(--background-white);
}

.custom-accordion .accordion-item {
    border: none;
    background: transparent;
}

.custom-accordion .accordion-button {
    background-color: var(--background-light);
    border-radius: var(--border-radius-pill) !important;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-accordion .accordion-button::after {
    display: none;
    /* Ocultar icono por defecto de Bootstrap */
}

.custom-accordion .icon-circle {
    width: 32px;
    height: 32px;
    background-color: var(--heading-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 24px 24px 0 0 !important;
}

.custom-accordion .accordion-button:not(.collapsed) .icon-circle {
    background-color: var(--heading-color);
    color: #ffffff;
}

.custom-accordion .accordion-collapse {
    background-color: var(--primary-color);
    border-radius: 0 0 24px 24px;
}

.custom-accordion .accordion-body {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.7;
    padding: 0 22px 22px 22px;
}

.faq-capsule-image img {
    height: 80px;
    width: 170px;
    object-fit: cover;
    border-radius: var(--border-radius-pill);
}

/* ==========================================================================
   6. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 60px 0;
    }

    .about-image-wrapper .main-img {
        height: 400px;
    }

    .experience-badge {
        left: 15px;
        top: 20%;
    }

    .quote-mark {
        font-size: 50px;
    }
}

@media (max-width: 575.98px) {
    .badge-pill-orange {
        padding: 25px 12px 15px 12px;
    }

    .rotated-text {
        font-size: 10px;
    }

    .badge-number {
        font-size: 16px;
    }

    .faq-capsule-image img {
        width: 100%;
        height: 100px;
    }
}

/* ==========================================================================
   SECCIÓN: NUESTROS SERVICIOS
   ========================================================================== */
.section-services {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.service-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(228, 59, 59, 0.12);
    border-color: rgba(228, 59, 59, 0.4);
}

.service-img-wrapper {
    height: 220px;
}

.service-img-wrapper img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.06);
}

/* Badge flotante con icono */
.service-badge-icon {
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.service-card:hover .service-badge-icon {
    background-color: var(--heading-color);
    transform: rotate(10deg);
}

.service-card-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-text {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--heading-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--primary-color);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}


/* ==========================================================================
   ANEXO DE ESTILOS PARA HOME PAGE (Agregar al final de css/style.css)
   ========================================================================== */

/* ========================================
   HOME PAGE
======================================== */

.home-page {
    --home-accent: #c70000;
    --home-accent-dark: #05004e;
    --home-heading: #030013;
    --home-body: #817d76;
    --home-cream: #f6f0e9;
    --home-dark: #00041b;
    --home-white: #ffffff;
    --home-border: #e6d8c7;
}

/* 01. Hero Section */
.home-hero {
    /*background-color: var(--home-cream);*/
    background-image: url(/assets/images/heros/hero-slider.png) !important;
    background-repeat: no-repeat !important;
    background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 0);
    width: 100% !important;
    padding: 60px 0 90px 0;
    min-height: 680px;
}

.min-vh-hero {
    min-height: 580px;
}

.home-hero__side-controls {
    position: absolute;
    left: 20px;
    top: 35%;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.btn-side-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--home-border);
    background: #ffffff;
    color: var(--home-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-side-arrow:hover {
    background: var(--home-accent);
    color: #ffffff;
    border-color: var(--home-accent);
}

.home-hero__social-bar {
    position: absolute;
    right: 20px;
    top: 30%;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
    padding: 16px 10px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.home-hero__social-bar a {
    color: var(--home-heading);
    font-size: 14px;
    transition: color 0.3s ease;
    text-align: center;
}

.home-hero__social-bar a:hover {
    color: var(--home-accent);
}

.home-hero__pill-tag {
    display: inline-block;
    border: 1px solid var(--home-accent);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    color: var(--home-accent);
    letter-spacing: 0.5px;
}

.home-hero__title {
    font-size: clamp(32px, 4.5vw, 54px);
    color: var(--home-heading);
    line-height: 1.15;
    letter-spacing: -1px;
}

.fw-extrabold {
    font-weight: 800;
}

.home-hero__stroke-text {
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--home-heading);
}

.home-hero__brush-stroke {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--home-accent);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.85;
}

.btn-outline-custom {
    border: 1px solid var(--home-heading);
    color: var(--home-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--home-heading);
    color: #ffffff;
}

.home-hero__composition {
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero__orange-shape {
    width: 100%;
    max-width: 480px;
    bottom: -20px;
    z-index: 1;
}

.home-hero__arch {
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.home-hero__arch--back {
    width: 200px;
    height: 320px;
    border-radius: 100px 100px 100px 100px;
}

.home-hero__arch--front {
    width: 240px;
    height: 380px;
    border-radius: 120px 120px 120px 120px;
}

.home-hero__arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 02. Featured Services */
.home-featured-services {
    background-color: var(--home-dark);
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
    padding: 80px 0;
}

.home-feature-pill {
    background-color: #ffffff;
    border-radius: 40px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pill-icon {
    width: 28px;
    height: 28px;
    background-color: #fcefdc;
    color: var(--home-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.pill-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--home-heading);
}

.section-tag--light {
    color: var(--home-accent);
}

.btn-slider-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-slider-arrow:hover {
    background: var(--home-accent);
    border-color: var(--home-accent);
}

.home-carousel-track {
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}

.home-carousel-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 200px;
}

.home-carousel-card__inner {
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background-color: #2a2833;
}

.home-carousel-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-carousel-card__content {
    position: relative;
    z-index: 2;
}

.home-carousel-card__badge {
    background-color: var(--home-accent);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.home-carousel-card__title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

/* 03. Services Grid */
.home-services-grid {
    background-color: var(--home-dark);
    padding: 90px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-outline-orange {
    border: 1px solid var(--home-accent);
    color: var(--home-accent);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #c70000;
}

.btn-outline-orange:hover {
    background-color: #031d54;
    color: #ffffff;
}

.home-service-card {
    border-radius: 24px;
    height: 260px;
}

.home-service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-service-card:hover .home-service-card__img {
    transform: scale(1.05);
}

.home-service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
    padding: 24px;
    display: flex;
    align-items: flex-end;
}

.home-service-card__badge {
    background-color: var(--home-accent);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    display: inline-block;
}

.home-service-card__title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.btn-details-pill {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.btn-details-pill:hover {
    background-color: var(--home-accent);
    border-color: var(--home-accent);
    color: #ffffff;
}

/* 04. Contact & Testimonials Shared Section */
.home-bottom-wrapper {
    background-color: var(--home-cream);
    padding: 90px 0;
}

.home-contact-card {
    background-color: var(--home-accent);
    border-radius: 28px;
    padding: 40px 32px;
    box-shadow: 0 15px 35px rgba(84, 59, 228, 0.2);
}

.home-input {
    border-radius: 12px;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
}

.home-input:focus {
    box-shadow: 0 0 0 3px rgba(33, 31, 40, 0.2);
}

.btn-dark-submit {
    background-color: var(--home-heading);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 12px;
    border-radius: 12px;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-dark-submit:hover {
    background-color: #000000;
    color: #ffffff;
}

.home-testimonial-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.quote-mark-top {
    top: 20px;
    right: 25px;
    font-size: 50px;
    color: var(--home-accent);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-body-text {
    font-size: 13.5px;
    line-height: 1.7;
}

.btn-testimonial-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--home-accent);
    background: transparent;
    color: var(--home-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-testimonial-nav:hover {
    background-color: var(--home-accent);
    color: #ffffff;
}

/* 05. Home Responsive Styles */
@media (max-width: 991.98px) {
    .home-carousel-card {
        flex: 0 0 calc(33.333% - 14px);
    }

    .home-hero__side-controls,
    .home-hero__social-bar {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .home-carousel-card {
        flex: 0 0 100%;
    }

    .home-hero__arch--back {
        width: 140px;
        height: 240px;
    }

    .home-hero__arch--front {
        width: 170px;
        height: 280px;
    }
}

.text-titles{
    color: #040a28;
}

.text-red-tit{
    color: #c70000;
}