/* =============================================================================
   XFICHAJE — Hoja de estilos principal
   Estructura:
   01. Reset global de botones WordPress
   02. Hero / Presentación
   03. Empresas de confianza
   04. Precios
   05. Funcionalidades
   06. Métodos de fichaje (panel + imagen)
   07. Sobre el programa (vídeo + tarjetas legales)
   08. Islas Canarias
   09. Reserva de demo
   10. Blog
   11. FAQ
============================================================================= */
/* =============================================================================
   VARIABLES CSS — Paleta de colores semántica
============================================================================= */

/* =============================================================================
   01. RESET GLOBAL DE BOTONES WORDPRESS
============================================================================= */

/* =============================================================================
   02. HERO / PRESENTACIÓN
============================================================================= */

.hero-section {
    background: linear-gradient(135deg, #F9FAFB 0%, #EFF6FF 50%, #FFF 100%);
}

.hero-section__inner {
    display: flex;
    align-items: center;
    width: 70%;
    margin: 0 auto;
    padding: 60px 0;
    gap: 3rem;
}

.hero-section__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.hero-section__text h1 {
    font-size: 3.75rem;
    font-weight: 700;
}

.hero-section__text h1+p {
    font-size: 1.25rem;
}

/* Botón CTA principal del hero */
.hero-cta-button {
    background-color: #5eb3e4;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
    display: flex;
    padding: 19px 40px 21px 40px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 310px;

    &:hover {
        background-color: #409DD1;
        transform: translateY(-2px);
    }
}

.hero-cta-button__link {
    text-decoration: none;
    color: #fff;
}

/* Lista de características bajo el CTA */
.hero-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}


.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;

    p {
        margin: 0;
    }
}


/* Imagen del hero (lado derecho) */
.hero-section__image {
    flex: 1;
    max-width: 50%;
}

.hero-section__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- RESPONSIVE HERO --- */
@media (max-width: 1024px) {
    .hero-section__inner {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .hero-section__inner {
        flex-direction: column;
        width: 90%;
        padding: 40px 0;
        text-align: center;
    }

    .hero-section__text {
        width: 100%;
        align-items: center;
    }

    .hero-section__text h1 {
        font-size: 38px;
    }

    .hero-section__text h1+p {
        font-size: 1rem;
    }

    .hero-cta-button {
        width: 100%;
        max-width: 320px;
    }

    .hero-features-list {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-section__image {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .hero-section__text h1 {
        font-size: 30px;
    }

    .hero-section__inner {
        width: 100%;
        padding: 32px 16px;
    }
}


/* =============================================================================
   03. EMPRESAS DE CONFIANZA
============================================================================= */

.trusted-companies-section {
    margin-block: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.trusted-companies-section__label {
    color: #5eb3f4;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.trusted-companies-section__title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0.5rem 0 0;
}

.trusted-companies-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin-block: 3rem;
}

.trusted-companies-logos img {
    max-height: 48px;
    width: auto;
}

/* Valoración con estrellas */
.trusted-rating-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    background-color: rgba(94, 179, 228, 0.06);
    border-radius: 999px;
    padding: 12px 24px;
}

.trusted-rating-badge img {
    width: 18px;
    height: auto;
    flex-shrink: 0;
}

.trusted-rating-text {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #0b213f;
}

/* --- RESPONSIVE EMPRESAS DE CONFIANZA --- */
@media (max-width: 768px) {
    .trusted-companies-section {
        margin-block: 3rem;
    }

    .trusted-companies-logos {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .trusted-companies-logos {
        gap: 1.5rem;
    }

    .trusted-companies-logos img {
        max-height: 36px;
    }
}


/* =============================================================================
   04. PRECIOS
============================================================================= */

.pricing-section {
    padding: 60px 20px;
    background: #f9fafb;
    text-align: center;
    font-family: "Inter", sans-serif;
}

.pricing-section__inner {
    max-width: 900px;
    margin: auto;
}

.pricing-section__title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.pricing-section__subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Tarjeta principal de precio */
.pricing-card {
    display: flex;
    background: white;
    border-radius: 18px;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    overflow: hidden;
    align-items: stretch;
}

/* Columna izquierda azul (precio) */
.pricing-card__price-panel {
    background: #5eb3e4;
    padding: 60px 40px;
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pricing-card__price-amount {
    font-size: 6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.pricing-card__price-period {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 10px;
    display: block;
}

.pricing-card__price-note {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 300;
}

/* Icono dentro del panel azul → se invierte a blanco */
.pricing-card__price-panel .pricing-card__price-note img {
    filter: brightness(0) invert(1);
}

/* Columna derecha (lista de features) */
.pricing-card__features-panel {
    flex: 1;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-card__features-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-card__features-panel ul li {
    margin-bottom: 25px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Separador legal al final de la lista */
.pricing-card__legal-note {
    margin-top: 20px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
    color: #5eb3e4;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tamaño de iconos dentro de la sección de precios */
.pricing-section img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.pricing-card__features-text {
    display: flex;
    flex-shrink: 0;
    height: 2.5rem;
    width: 2.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.875rem;
    border: 1.111px solid rgba(94, 179, 228, 0.19);
    background: rgba(94, 179, 228, 0.08);
}

/* --- RESPONSIVE PRECIOS --- */
@media (max-width: 768px) {
    .pricing-card {
        flex-direction: column;
    }

    .pricing-card__price-panel,
    .pricing-card__features-panel {
        flex: auto;
        padding: 40px 20px;
    }

    .pricing-card__price-amount {
        font-size: 64px;
    }

    .pricing-section__title {
        font-size: 28px;
    }
}


/* =============================================================================
   COMPONENTE COMPARTIDO — CTA Button & Notas
   (usado en sección de precios, métodos y Canarias)
============================================================================= */

.cta-button,
.blog-section-btn,
.blog-section-btn:visited {
    background: #5eb3e4;
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover,
.blog-section-btn:hover {
    background: #409DD1;
    transform: translateY(-2px);
    color: #fff;
}

.cta-button-full-width {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.cta-notes-row {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-notes-row span {
    color: #6b7280;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* CTA dentro del panel oscuro de métodos → texto blanco semitransparente */
.fichaje-methods-panel .cta-notes-row span {
    color: rgba(255, 255, 255, 0.68);
}

/* --- RESPONSIVE CTA --- */
@media (max-width: 480px) {

    .cta-button,
    .blog-section-btn {
        width: 100%;
        justify-content: center;
    }
}


/* =============================================================================
   05. FUNCIONALIDADES
============================================================================= */

.features-section {
    padding: 90px 20px;
    background: #fff;
    font-family: "Inter", sans-serif;
}

.features-section__inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

/* Pill / badge superior */
.features-section__badge {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    color: #55b6f3;
    background: rgba(94, 179, 228, 0.08);
    padding: 6px 12px;
    border-radius: 999px;
}

.features-section__title {
    margin: 0;
    font-size: 3rem;
    line-height: 3rem;
    font-weight: 800;
    color: #2f3742;
    margin-top: 20px;
}

.features-section__title span {
    color: #55b3e4;
}

.features-section__subtitle {
    margin: 16px auto 55px;
    max-width: 760px;
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Grid de tarjetas de funcionalidades */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    position: relative;
    background: #ffffff;
    border: 1.111px solid #F3F4F6;
    border-radius: 18px;
    padding: 42px 24px 28px;
    text-align: left;
    min-height: 200px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

/* Contenedor del icono (cuadrado azul gradient) */
.feature-card__icon-wrapper {
    display: flex;
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #5EB3E4 0%, #4A9FC8 100%);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

/* Icono SVG dentro del wrapper */
.feature-card__icon {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
}

.feature-card h3 {
    margin: 42px 0 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #283236;
    line-height: 1.25;
}

.feature-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

/* --- RESPONSIVE FUNCIONALIDADES --- */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-section__title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .features-section {
        padding: 70px 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-section__title {
        font-size: 30px;
    }

    .features-section__subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .feature-card {
        min-height: auto;
    }
}


/* =============================================================================
   06. MÉTODOS DE FICHAJE (panel oscuro + imagen)
============================================================================= */

.fichaje-methods-section {
    padding: 110px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef6ff 45%, #ffffff 100%);
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

.fichaje-methods-section__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(560px, 620px) 1fr;
    align-items: center;
    gap: 72px;
}

/* Panel izquierdo oscuro */
.fichaje-methods-panel {
    background: linear-gradient(180deg, #26323b 0%, #1f2933 100%);
    border-radius: 30px;
    padding: 52px;
    box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Halo decorativo en la esquina del panel */
.fichaje-methods-panel::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(88, 184, 242, 0.18) 0%, rgba(88, 184, 242, 0) 70%);
    pointer-events: none;
}

/* Badge / etiqueta de la sección */
.fichaje-methods-panel__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #d9f1ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.fichaje-methods-panel__title {
    margin: 0 0 18px;
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 12ch;
}

.fichaje-methods-panel__title span {
    color: #58b8f2;
}

/* Grid 2×2 de tarjetas de método */
.fichaje-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.fichaje-method-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
    backdrop-filter: blur(6px);
}

.fichaje-method-card:hover {
    background: rgba(255, 255, 255, 0.085);
    border-color: rgba(88, 184, 242, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

/* Icono emoji del método */
.fichaje-method-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(88, 184, 242, 0.18) 0%, rgba(88, 184, 242, 0.1) 100%);
    border: 1px solid rgba(88, 184, 242, 0.16);
    color: #69c4f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.fichaje-method-card__content h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #ffffff;
}

.fichaje-method-card__content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

/* Columna derecha con la imagen */
.fichaje-methods-image-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Halo decorativo detrás de la imagen */
.fichaje-methods-image-column::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 184, 242, 0.12) 0%, rgba(88, 184, 242, 0) 72%);
    z-index: 0;
    filter: blur(8px);
}

.fichaje-methods-image-box {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.fichaje-methods-image-box img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
}

/* --- RESPONSIVE MÉTODOS — TABLET --- */
@media (max-width: 1100px) {
    .fichaje-methods-section__inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .fichaje-methods-panel {
        padding: 44px;
    }

    .fichaje-methods-panel__title {
        max-width: 100%;
    }

    .fichaje-methods-image-box {
        max-width: 380px;
    }
}

/* --- RESPONSIVE MÉTODOS — MÓVIL --- */
@media (max-width: 768px) {
    .fichaje-methods-section {
        padding: 88px 18px;
    }

    .fichaje-methods-panel {
        padding: 30px 22px;
        border-radius: 24px;
    }

    .fichaje-methods-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fichaje-methods-panel__title {
        font-size: 30px;
    }

    .fichaje-methods-image-column::before {
        width: 300px;
        height: 300px;
    }

    .fichaje-methods-image-box {
        max-width: 320px;
    }
}


/* =============================================================================
   07. SOBRE EL PROGRAMA (VÍDEO + TARJETAS LEGALES)
============================================================================= */

.about-program-section {
    padding: 110px 24px;
    background: #fff;
    font-family: "Inter", sans-serif;
}

.about-program-section__inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.about-program-section__title {
    margin: 0 0 20px;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.12;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: -0.03em;
}

.about-program-section__title span {
    color: #5eb3e4;
}

.about-program-section__subtitle {
    max-width: 780px;
    margin: 0 auto 54px;
    font-size: 1.125rem;
    line-height: 1.85;
    color: #4b5563;
}

/* Contenedor del vídeo / iframe */
.about-program-video-wrapper {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 56px;
    border-radius: 1rem;
    overflow: hidden;
    background: #eee;
}

.about-program-video-wrapper iframe {
    display: block;
    width: 100%;
    height: 460px;
    border: 0;
    background: #eef3f8;
}

/* Grid de tarjetas inferiores (oscura + clara) */
.about-program-info-cards {
    max-width: 940px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.about-program-card {
    border-radius: 20px;
    padding: 32px 30px;
    text-align: left;
    box-shadow: 0 12px 32px rgba(20, 30, 40, 0.06);
}

.about-program-card h3 {
    margin: 0 0 18px;
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 800;
}

/* Tarjeta oscura (BOE) */
.about-program-card--dark {
    background-color: #283236;
    color: #ffffff;
}

/* Span de resalte "BOE" dentro del h3 */
.about-program-card--dark .boe-highlight {
    color: #5eb3e4;
}

/* Lista de checks dentro de la tarjeta oscura */
.about-program-checklist {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-program-checklist__icon_wrapper {
    display: flex;
    width: 1.49956rem;
    height: 1.49956rem;
    padding-right: 0.00106rem;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(94, 179, 228, 0.19);
    flex-shrink: 0;
}

.about-program-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-program-checklist li img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
    margin: 0;
}

.about-program-checklist li p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #d1d5db;
}

/* Tarjeta clara */
.about-program-card--light {
    background: #eee;
}

.about-program-card--light h3 {
    font-size: 1.5rem;
    color: #1f2937;
}

.about-program-card--light p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.85;
    margin: 0;
}

/* Imagen decorativa dentro de la tarjeta clara */
.about-program-card__image-wrapper img {
    display: block;
    margin-inline: auto;
    margin-top: 1rem;
    max-width: 100%;
}

/* Botón dentro de las tarjetas */
.about-program-card__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    background: #5eb6ef;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(94, 182, 239, 0.28);
    transition: all 0.25s ease;
}

.about-program-card__cta-btn:hover {
    background: #4aaae8;
    transform: translateY(-2px);
}

/* Badge "BOE" amarillo */
.about-program-boe-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, #ffd24a 0%, #f4bf23 100%);
    color: #1f2a38;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

/* --- RESPONSIVE SOBRE EL PROGRAMA — TABLET --- */
@media (max-width: 900px) {
    .about-program-section {
        padding: 90px 20px;
    }

    .about-program-section__title {
        font-size: 34px;
    }

    .about-program-section__subtitle {
        margin-bottom: 42px;
    }

    .about-program-video-wrapper {
        margin-bottom: 42px;
    }

    .about-program-video-wrapper iframe {
        height: 380px;
    }

    .about-program-info-cards {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-program-card {
        padding: 28px 24px;
    }
}

/* --- RESPONSIVE SOBRE EL PROGRAMA — MÓVIL --- */
@media (max-width: 640px) {
    .about-program-section {
        padding: 72px 16px;
    }

    .about-program-section__title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .about-program-section__subtitle {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 34px;
    }

    .about-program-video-wrapper {
        border-radius: 18px;
        margin-bottom: 34px;
    }

    .about-program-video-wrapper iframe {
        height: 230px;
    }

    .about-program-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .about-program-card h3 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .about-program-card__cta-btn {
        width: 100%;
    }

    .about-program-boe-badge {
        align-self: flex-start;
    }
}


/* =============================================================================
   08. ISLAS CANARIAS
============================================================================= */

.canary-islands-section {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(135deg, #1A2332 0%, #2D3A47 50%, #1F2937 100%);
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

.canary-islands-section__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Badge superior */
.canary-islands-section__badge {
    /* Cambiamos a flex para alinear contenido */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Espacio exacto entre el icono y el texto */

    padding: 7px 16px;
    /* Ajustamos un poco el padding lateral para que respire */
    margin-bottom: 22px;
    border-radius: 999px;
    border: 1.111px solid rgba(94, 179, 228, 0.25);
    background: rgba(94, 179, 228, 0.15);
    color: #5eb3e4;
    font-size: 0.875rem;
    font-weight: 600;

    /* Evita que el badge se rompa en dos líneas si el contenedor es estrecho */
    white-space: nowrap;

    img {
        color: #5eb3e4;
        width: 20px;
        height: 20px;
        display: block;
    }
}

.canary-islands-section__title {
    margin: 0;
    font-size: 3.75rem;
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
}

.canary-islands-section__title span {
    color: #5dbaf0;
}

.canary-islands-section__subtitle {
    margin: 16px auto 46px;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #d1d5db;
    max-width: 650px;
}

/* Grid de tarjetas de islas */
.canary-islands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    justify-content: center;
    justify-items: center;
    margin-bottom: 38px;
}

.canary-island-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 296px;
    padding: 40px;
    gap: 24px;
    border-radius: 24px;
    border: 1.111px solid rgba(94, 179, 228, 0.13);
    background: #2F3A41;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.30);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.canary-island-card:hover {
    transform: translateY(-5px);
    border-color: rgba(93, 186, 240, 0.22);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(93, 186, 240, 0.05);
}

/* Círculo con icono de pin de mapa */
.canary-island-card__pin-wrapper {
    display: flex;
    width: 90px;
    height: 90px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1.111px solid rgba(94, 179, 228, 0.31);
    background: linear-gradient(135deg, rgba(94, 179, 228, 0.21) 0%, rgba(94, 179, 228, 0.08) 100%);
}

.canary-island-card h3 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.canary-island-card-link {
    display: block;
    /* Importante: para que se comporte como un bloque */
    text-decoration: none;
    /* Quita subrayados azules del texto */
    width: 100%;
    /* Ocupa el ancho de la columna del grid */
    max-width: 296px;
    /* Movemos el max-width aquí para controlar el tamaño */
    transition: all 0.25s ease;
}

/* 2. Ajuste para que el hover funcione a través del enlace */
.canary-island-card-link:hover .canary-island-card {
    transform: translateY(-5px);
    border-color: rgba(93, 186, 240, 0.22);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(93, 186, 240, 0.05);
}



/* --- RESPONSIVE ISLAS CANARIAS --- */
@media (max-width: 1100px) {
    .canary-islands-section__title {
        font-size: 44px;
    }

    .canary-islands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .canary-islands-section {
        padding: 70px 16px;
    }

    .canary-islands-section__title {
        font-size: 32px;
    }

    .canary-islands-section__subtitle {
        font-size: 15px;
        margin-bottom: 34px;
    }

    .canary-islands-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .canary-island-card {
        max-width: 100%;
        padding: 28px 20px;
        min-height: 145px;
    }

    .canary-island-card h3 {
        font-size: 18px;
    }
}


/* =============================================================================
   09. RESERVA DE DEMO
============================================================================= */

.demo-booking-section {
    padding: 90px 20px;
    background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
    font-family: "Inter", sans-serif;
}

.demo-booking-section__inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

/* Badges superiores (Demo Gratuita / Sin permanencia) */
.demo-booking-badges-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.demo-booking-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

.demo-booking-badge--blue {
    background: rgba(94, 182, 239, 0.14);
    color: #5eb6ef;
    border: 1px solid rgba(94, 182, 239, 0.18);
}

.demo-booking-badge--green {
    background: rgba(61, 199, 118, 0.12);
    color: #2eb96e;
    border: 1px solid rgba(61, 199, 118, 0.18);
}

.demo-booking-section__title {
    margin: 0 0 12px;
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    color: #283226;
}

.demo-booking-section__subtitle {
    max-width: 650px;
    margin: 0 auto 18px;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Fila de características de la demo */
.demo-booking-features-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 34px;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;

    span {
        display: flex;
        align-items: center;
        gap: 4px;

        img {
            width: 16px;
            height: 16px;
            display: block;
            flex-shrink: 0;
        }
    }
}

/* Tarjeta que contiene el futuro embed de Google Calendar */
.demo-booking-card {
    max-width: 820px;
    margin: 0 auto;
    background: #eee;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(42, 56, 74, 0.12);
    border: 1px solid rgba(210, 220, 230, 0.45);
}

/* Placeholder vacío para el futuro Google Calendar embed */
.demo-calendar-placeholder {
    width: 100%;
    min-height: 430px;
    background: #f4f7fb;
}

.demo-calendar-placeholder iframe {
    width: 100%;
    height: 430px;
    border: 0;
    display: block;
}

/* Pie de la tarjeta de reserva */
.demo-booking-card__footer {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

/* --- RESPONSIVE RESERVA DE DEMO --- */
@media (max-width: 900px) {
    .demo-booking-section__title {
        font-size: 38px;
    }

    .demo-calendar-placeholder {
        min-height: 360px;
    }

    .demo-calendar-placeholder iframe {
        height: 360px;
    }
}

@media (max-width: 640px) {
    .demo-booking-section {
        padding: 70px 16px;
    }

    .demo-booking-section__title {
        font-size: 30px;
    }

    .demo-booking-section__subtitle {
        font-size: 14px;
        line-height: 1.65;
    }

    .demo-booking-features-row {
        gap: 10px 14px;
        font-size: 12px;
        margin-bottom: 24px;
    }

    .demo-calendar-placeholder {
        min-height: 280px;
    }

    .demo-calendar-placeholder iframe {
        height: 280px;
    }

    .demo-booking-card__footer {
        font-size: 11px;
        line-height: 1.4;
        padding: 12px 14px;
    }
}


/* =============================================================================
   10. BLOG
============================================================================= */

.blog-section {
    padding: 90px 20px;
    background: #fff;
    font-family: "Inter", sans-serif;
}

.blog-section__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Badge superior */
.blog-section__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(94, 179, 228, 0.08);
    color: #5eb6ef;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

.blog-section__title {
    margin: 0 0 14px;
    font-size: 2.5rem;
    line-height: 1.12;
    font-weight: 700;
    color: #283226;
}

.blog-section__subtitle {
    max-width: 700px;
    margin: 0 auto 42px;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #4a5565;
}

/* Grid de artículos de blog */
.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

/* Enlace que envuelve la tarjeta entera */
.blog-article-card__link-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-article-card__link-wrapper:hover,
.blog-article-card__link-wrapper:focus,
.blog-article-card__link-wrapper:active,
.blog-article-card__link-wrapper:visited {
    color: inherit;
    text-decoration: none;
}

/* Tarjeta de artículo */
.blog-article-card {
    background: #ffffff;
    border: 1px solid #e9eef5;
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 10px 26px rgba(25, 35, 45, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 470px;
}

/* Imagen de la tarjeta */
.blog-article-card__image-wrapper {
    position: relative;
    width: 100%;
    height: 175px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-article-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Etiqueta de categoría flotante sobre la imagen */
.blog-article-card__category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(94, 179, 228, 0.87);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

/* Contenido textual de la tarjeta */
.blog-article-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

/* Meta: fecha + tiempo de lectura */
.blog-article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    /* Espacio entre Fecha y Tiempo de lectura */
    margin-bottom: 12px;
    font-size: 14px;
    /* Un pelín más grande mejora la legibilidad */
    color: #8b97a4;
    line-height: 1;
    /* Ayuda al centrado vertical */
}

.blog-meta-item {
    display: flex;
    align-items: center;
    /* Centra icono y texto verticalmente */
    gap: 6px;
    /* Espacio entre el icono y el texto */
}

.blog-meta-item img {
    width: 16px;
    /* Prueba con 16px primero, si prefieres 20px cámbialo aquí */
    height: 16px;
    display: block;
    flex-shrink: 0;
    /* Si el icono se ve muy arriba por el diseño del SVG, usa esto: */
    /* transform: translateY(0.5px); */
}

.blog-article-card h3 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #283236;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    min-height: 100px;
}

.blog-article-card p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #4a5565;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    overflow: hidden;
    min-height: 95px;
}

/* "Leer artículo →" al pie de la tarjeta */
.blog-article-card__read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5eb6ef;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.blog-article-card__read-more:hover {
    color: #43a8e7;
}

/* Contenedor del botón "Ver todos" */
.blog-section__actions {
    margin-top: 30px;
}

/* =============================================================================
   BLOG — Lógica de mostrar/ocultar artículos extra (usada por xfichaje.js)
   IMPORTANTE: .blog-section-btn y #blogGridControlHorario son usados en el JS.
   NO cambiar esos identificadores.
============================================================================= */

/* Ocultar las tarjetas extra al cargar (las que superan el índice 3) */
.blog-article-card--hidden {
    display: none;
}

/* Cuando el grid está expandido, mostrar todas */
.blog-articles-grid.is-expanded .blog-article-card--hidden {
    display: flex;
}

/* --- RESPONSIVE BLOG — TABLET --- */
@media (max-width: 992px) {
    .blog-section__title {
        font-size: 36px;
    }

    .blog-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- RESPONSIVE BLOG — MÓVIL --- */
@media (max-width: 640px) {
    .blog-section {
        padding: 70px 16px;
    }

    .blog-section__title {
        font-size: 28px;
        line-height: 1.2;
    }

    .blog-section__subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .blog-articles-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .blog-article-card {
        min-height: auto;
    }

    .blog-article-card__image-wrapper {
        height: 190px;
    }

    .blog-article-card h3 {
        font-size: 22px;
        min-height: auto;
    }

    .blog-article-card p {
        min-height: auto;
    }

    .blog-section-btn {
        width: 100%;
    }
}


/* =============================================================================
   11. FAQ (PREGUNTAS FRECUENTES)
============================================================================= */

.faq-section {
    padding: 90px 20px;
    background: #f8fbff;
    font-family: "Inter", sans-serif;
}

.faq-section__inner {
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}

/* Badge superior */
.faq-section__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(94, 179, 228, 0.08);
    color: #5eb6ef;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

.faq-section__title {
    margin: 0 0 12px;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    color: #2d3742;
}

.faq-section__subtitle {
    margin: 0 auto 28px;
    font-size: 16px;
    line-height: 1.7;
    color: #7b8794;
    max-width: 620px;
}

/* Tabs de categorías */
.faq-tabs-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.faq-tab-btn {
    border: 1px solid #e5ebf2;
    background: #ffffff;
    color: #5f6b78;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.faq-tab-btn:hover {
    border-color: #cfe7f7;
    color: #43a8e7;
}

.faq-tab-btn.active {
    background: linear-gradient(180deg, #65bef2 0%, #4eaee8 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(78, 174, 232, 0.22);
}

/* Lista de preguntas */
.faq-items-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Cada pregunta es un <details> nativo */
.faq-item {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(20, 30, 40, 0.04);
    overflow: hidden;
    text-align: left;
}

.faq-item summary {
    list-style: none;
    display: grid;
    grid-template-columns: 28px 1fr 20px;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
}

/* Ocultar el triángulo nativo del <details> */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Círculo con "?" */
.faq-item__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(94, 182, 239, 0.12);
    color: #5eb6ef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-item__question {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    color: #2d3742;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Flecha chevron animada */
.faq-item__arrow {
    position: relative;
    width: 14px;
    height: 14px;
    justify-self: end;
}

.faq-item__arrow::before,
.faq-item__arrow::after {
    content: "";
    position: absolute;
    top: 6px;
    width: 8px;
    height: 2px;
    background: #9aa6b2;
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.faq-item__arrow::before {
    left: 0;
    transform: rotate(45deg);
}

.faq-item__arrow::after {
    right: 0;
    transform: rotate(-45deg);
}

/* Flecha invertida cuando el item está abierto */
.faq-item[open] .faq-item__arrow::before {
    transform: rotate(-45deg);
}

.faq-item[open] .faq-item__arrow::after {
    transform: rotate(45deg);
}

/* Respuesta expandida */
.faq-item__answer {
    padding: 0 20px 20px 62px;
    font-size: 14px;
    line-height: 1.75;
    color: #6f7b88;
    overflow-wrap: anywhere;
}

/* Caja de contacto al pie de la sección */
.faq-contact-box {
    max-width: 360px;
    margin: 34px auto 0;
    padding: 24px 22px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(25, 35, 45, 0.05);
}

.faq-contact-box p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #7b8794;
}

.faq-contact-box__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: linear-gradient(180deg, #65bef2 0%, #4eaee8 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(78, 174, 232, 0.24);
    transition: all 0.25s ease;
}

.faq-contact-box__cta-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #6ec4f5 0%, #4aaae8 100%);
    color: #fff;

}


.faq-tab-btn {
    background: #ffffff !important;
    color: #283236 !important;
    border: 1.111px solid #E5E7EB !important;
    border-radius: 999px !important;
}

.faq-tab-btn:hover,
.faq-tab-btn:focus,
.faq-tab-btn:active {
    background: #ffffff !important;
    color: #43a8e7 !important;
    border-color: #cfe7f7 !important;
    outline: none;
}

.faq-tab-btn.active {
    background: #5EB3E4 !important;
    color: #ffffff !important;
    border-color: #4eaee8 !important;
}

.faq-tab-btn.active:hover,
.faq-tab-btn.active:focus,
.faq-tab-btn.active:active {
    background: #4eaee8 !important;
    color: #ffffff !important;
    border: 1.111px solid #5EB3E4 !important;
}

/* --- RESPONSIVE FAQ — TABLET --- */
@media (max-width: 900px) {
    .faq-section__title {
        font-size: 38px;
    }

    .faq-item summary {
        padding: 16px 18px;
    }

    .faq-item__answer {
        padding: 0 18px 18px 60px;
    }
}

/* --- RESPONSIVE FAQ — MÓVIL --- */
@media (max-width: 640px) {
    .faq-section {
        padding: 70px 16px;
    }

    .faq-section__title {
        font-size: 30px;
    }

    .faq-section__subtitle {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .faq-tabs-row {
        gap: 8px;
        margin-bottom: 24px;
    }

    /* En móvil los tabs ocupan el ancho completo */
    .faq-tab-btn {
        width: 100%;
        text-align: center;
    }

    .faq-item summary {
        grid-template-columns: 24px 1fr 18px;
        gap: 10px;
        padding: 15px 14px;
    }

    .faq-item__icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .faq-item__question {
        font-size: 14px;
        line-height: 1.45;
    }

    .faq-item__answer {
        padding: 0 14px 16px 48px;
        font-size: 13px;
        line-height: 1.7;
    }

    .faq-contact-box {
        padding: 20px 16px;
    }

    .faq-contact-box__cta-btn {
        width: 100%;
    }
}