/* =========================================
   VARIABLES
========================================= */

:root {
    --primary: #176b87;
    --primary-dark: #0f5067;
    --secondary: #e7b65c;
    --dark: #17252d;
    --text: #44545c;
    --light: #f5f8f9;
    --white: #ffffff;
    --border: #e1e8eb;

    --radius: 18px;
    --shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

    --container: 1180px;
}


/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================
   GENERAL
========================================= */

.container {
    width: min(92%, var(--container));
    margin: auto;
}

section {
    scroll-margin-top: 80px;
}

.eyebrow {
    display: inline-block;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 2px;

    color: var(--primary);

    margin-bottom: 12px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;

    text-align: center;
}

.section-heading h2 {
    color: var(--dark);

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.15;

    margin-bottom: 18px;
}

.section-heading p {
    font-size: 1.05rem;
}


/* =========================================
   BUTTONS
========================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 13px 25px;

    border-radius: 50px;

    border: 2px solid transparent;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--primary);

    box-shadow:
        0 8px 20px rgba(23, 107, 135, 0.2);
}

.button-primary:hover {
    background: var(--primary-dark);
}

.button-light {
    color: var(--primary);
    background: var(--white);
}

.button-outline {
    color: var(--primary);
    background: transparent;

    border-color: var(--primary);
}

.button-outline:hover {
    color: var(--white);
    background: var(--primary);
}


/* =========================================
   HEADER
========================================= */

.header {
    position: sticky;

    top: 0;

    z-index: 100;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(10px);
}

.nav-container {
    min-height: 72px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--dark);

    font-size: 1.35rem;

    font-weight: 800;
}

.logo span {
    color: var(--primary);
}

.nav {
    display: flex;

    gap: 30px;

    align-items: center;
}

.nav a {
    font-size: 0.95rem;

    font-weight: 600;

    color: var(--dark);

    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--primary);
}

.menu-button {
    display: none;

    border: none;

    background: none;

    font-size: 1.7rem;

    cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 600px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            135deg,
            #eef7f9 0%,
            #ffffff 60%,
            #f8f1df 100%
        );
}



.hero-content {
    padding: 60px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.hero-text {
    flex: 1;
    min-width: 0;
    max-width: 720px;
    text-align: center;
    width: 100%;
}

.hero-logo {
    flex:  0 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

.hero h1 {
    color: var(--dark);

    font-size: clamp(2.7rem, 6vw, 5rem);

    line-height: 1.03;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.hero h1 .hero-title-first {
    display: block;
    color: var(--dark);
}

.hero h1 .hero-title-second {
    display: block;
    color: var(--primary);
}

.hero p {
    max-width: 600px;

    font-size: 1.2rem;

    margin-bottom: 35px;
   margin-left: auto;
   margin-right: auto;
}


/* =========================================
   COURSES
========================================= */

.courses-section {
    padding: 100px 0;
}

.courses-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.course-card {
    position: relative;

    display: flex;

    flex-direction: column;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.course-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.12);
}

.course-level {
    width: fit-content;

    padding: 7px 13px;

    margin-bottom: 18px;

    border-radius: 8px;

    color: var(--white);

    background: var(--primary);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 1px;
}

.course-level.conversation {
    background: var(--secondary);
    color: var(--dark);
}

.course-level.special {
    background: #7856a8;
}

.course-level.business {
    background: #334e68;
}

.course-card h3 {
    color: var(--dark);

    font-size: 1.45rem;

    line-height: 1.2;

    margin-bottom: 14px;
}

.course-card p {
    margin-bottom: 18px;
}

.course-card h4 {
    color: var(--dark);

    margin: 10px 0 8px;

    font-size: 0.95rem;
}

.course-card ul {
    padding-left: 20px;

    margin-bottom: 20px;
}

.course-card li {
    margin-bottom: 7px;
}

.objective {
    margin-top: auto;

    padding: 15px;

    border-radius: 12px;

    background: var(--light);

    font-size: 0.9rem;
}

.objective strong {
    color: var(--dark);
}

.quote {
    color: var(--primary);

    font-weight: 700;
}

.course-button {
    width: 100%;

    margin-top: 20px;

    padding: 12px 20px;

    border: 2px solid var(--primary);

    border-radius: 50px;

    color: var(--primary);

    background: transparent;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}

.course-button:hover {
    color: var(--white);

    background: var(--primary);
}


/* =========================================
   FEATURED COURSE
========================================= */

.course-card.featured {
    border: 2px solid var(--secondary);
}

.popular {
    position: absolute;

    top: -13px;

    right: 20px;

    padding: 5px 12px;

    border-radius: 20px;

    background: var(--secondary);

    color: var(--dark);

    font-size: 0.7rem;

    font-weight: 800;
}


/* =========================================
   TRIAL
========================================= */

.trial-section {
    padding: 80px 0;
}

.trial-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 55px;

    border-radius: 25px;

    color: var(--white);

    background:
        linear-gradient(
            120deg,
            var(--primary),
            var(--primary-dark)
        );
}

.trial-box .eyebrow {
    color: var(--secondary);
}

.trial-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);

    line-height: 1.15;

    margin-bottom: 12px;
}

.trial-box p {
    max-width: 650px;
}


/* =========================================
   PRICING
========================================= */

.pricing-section {
    padding: 100px 0;

    background: var(--light);
}

.pricing-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    max-width: 900px;

    margin: auto;
}

.price-card {
    padding: 35px 30px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.price-card span {
    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 2px;

    color: var(--primary);
}

.price-card h3 {
    color: var(--dark);

    font-size: 2.5rem;

    margin: 12px 0 5px;
}

.price-card p {
    margin-bottom: 15px;
}

.price-card strong {
    display: block;

    margin-bottom: 25px;
}

.price-highlight {
    border: 2px solid var(--primary);
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    padding: 100px 0;
}

.contact-container {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

    align-items: start;
}

.contact-text h2 {
    color: var(--dark);

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.15;

    margin-bottom: 20px;
}

.contact-text p {
    font-size: 1.1rem;
}

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.contact-form label {
    color: var(--dark);

    font-weight: 700;

    margin-top: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid var(--border);

    border-radius: 10px;

    outline: none;

    font-size: 1rem;

    background: var(--white);

    transition:
        border 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(23, 107, 135, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.form-note {
    font-size: 0.8rem;

    color: #7b878d;

    margin-top: 5px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 40px 0;

    color: #d9e4e8;

    background: var(--dark);
}

.footer-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer strong {
    color: var(--white);

    font-size: 1.2rem;
}

.footer p {
    margin-top: 5px;

    font-size: 0.9rem;
}


/* =========================================
   MODAL
========================================= */

.modal {
    position: fixed;

    inset: 0;

    z-index: 200;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.55);
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;

    width: min(500px, 100%);

    padding: 45px;

    text-align: center;

    border-radius: 22px;

    background: var(--white);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.25);
}

.modal-content h2 {
    color: var(--dark);

    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 25px;
}

.modal-close {
    position: absolute;

    top: 15px;

    right: 20px;

    border: none;

    background: none;

    color: var(--dark);

    font-size: 2rem;

    cursor: pointer;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {

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

    .pricing-grid {
        grid-template-columns:
            1fr;
            max-width: 450px;
    }

    .contact-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .trial-box {
        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 700px) {

    .menu-button {
        display: block;
    }

    .nav {
        position: absolute;

        top: 72px;

        left: 0;

        right: 0;

        display: none;

        flex-direction: column;

        gap: 0;

        padding: 10px 20px 20px;

        background: var(--white);

        border-bottom: 1px solid var(--border);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        width: 100%;

        padding: 14px 5px;
    }

    .hero {
        min-height: 520px;
    }

    .hero-content {
        padding: 75px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .courses-section,
    .pricing-section,
    .contact-section {
        padding: 75px 0;
    }

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

    .trial-box {
        padding: 35px 25px;
    }

    .footer-content {
        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 420px) {

    .hero h1 {
        font-size: 2.5rem;
    }

    .course-card {
        padding: 25px 22px;
    }

    .modal-content {
        padding: 40px 25px;
    }
}
/* =========================================
   CHATBOT
========================================= */

.chatbot {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999;
}

/* Botón flotante */

.chatbot-button {
    width: 62px;
    height: 62px;

    border: none;
    border-radius: 50%;

    background: var(--primary);
    color: var(--white);

    font-size: 27px;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.chatbot-button:hover {
    transform: scale(1.08);
    background: var(--primary-dark);
}


/* Ventana */

.chatbot-window {
    position: absolute;

    right: 0;
    bottom: 78px;

    width: 360px;
    max-width: calc(100vw - 30px);

    height: 520px;

    display: none;

    flex-direction: column;

    overflow: hidden;

    background: var(--white);

    border-radius: 20px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.20);

    border: 1px solid var(--border);
}

.chatbot-window.active {
    display: flex;
}


/* Cabecera */

.chatbot-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    color: var(--white);

    background: var(--primary);
}

.chatbot-header strong {
    display: block;

    font-size: 0.95rem;
}

.chatbot-header span {
    display: block;

    margin-top: 3px;

    font-size: 0.75rem;

    opacity: 0.85;
}

.chatbot-header button {
    border: none;

    background: transparent;

    color: var(--white);

    font-size: 26px;

    cursor: pointer;
}


/* Mensajes */

.chatbot-messages {
    flex: 1;

    overflow-y: auto;

    padding: 20px;

    background: #f5f8f9;
}

.bot-message {
    width: fit-content;

    max-width: 90%;

    padding: 13px 15px;

    margin-bottom: 15px;

    border-radius: 15px 15px 15px 4px;

    color: var(--dark);

    background: var(--white);

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.06);

    font-size: 0.9rem;

    white-space: pre-line;
}


/* Opciones */

.chatbot-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 10px;
}

.chatbot-options p {
    margin: 0 0 5px;
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 500;
}


.chatbot-options button {
    padding: 3px 0;
    text-align: left;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.chatbot-options button:hover {
    background: transparent;
    border-color: transparent;
    color: var(--primary-dark);
    transform: translateX(3px);
    text-decoration: underline;
}

/* Zona de escribir */

.chatbot-input {
    display: flex;

    gap: 8px;

    padding: 12px;

    background: var(--white);

    border-top: 1px solid var(--border);
}

.chatbot-input input {
    flex: 1;

    min-width: 0;

    padding: 11px 13px;

    border: 1px solid var(--border);

    border-radius: 20px;

    outline: none;

    font-size: 0.9rem;
}

.chatbot-input input:focus {
    border-color: var(--primary);
}

.chatbot-input button {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border: none;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    cursor: pointer;

    font-size: 16px;
}
/* =========================================
   CHATBOT EN MÓVIL
========================================= */

@media (max-width: 500px) {

    .chatbot {
        right: 15px;
        bottom: 15px;
    }

    .chatbot-window {
        position: fixed;

        left: 15px;
        right: 15px;

        bottom: 85px;

        width: auto;

        max-width: none;

        height: min(520px, 70vh);
    }

    .chatbot-button {
        width: 58px;
        height: 58px;
    }
}
/* =========================================
   CABECERA MÓVIL
========================================= */

@media (max-width: 768px) {

    /* Ocultamos el logo grande del Hero */
    .hero-logo {
        display: none;
    }

    /* Ocultamos "Spaans Leren" de la cabecera */
    .logo {
        display: none;
    }

    /* Cabecera móvil */
    .nav-container {
        min-height: 72px;
        padding: 0 15px;
    }

    /* Logo de la izquierda */
    .header::after {
        content: "";
        position: absolute;
        left: 15px;
        top: 7px;
        width: 65px;
        height: 58px;
        background-image: url("images/logo4.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* Menú a la derecha */
    .menu-button {
        margin-left: auto;
    }

}
/* =========================================
   BUSINESS FEATURE
========================================= */

.business-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.business-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.business-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: block;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .business-feature {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .business-image img {
        max-width: 360px;
    }

}
/* =========================================
   CALENDARIO - SPAANS LEREN
========================================= */

.calendar-page {
    padding: 60px 20px;
}

.calendar-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.calendar-section h1 {
    margin-bottom: 10px;
}

.calendar-intro {
    margin-bottom: 30px;
}

.calendar-info {
    margin: 0 auto 30px;
    padding: 18px;
    border-radius: 10px;
    background: #f5f5f5;
}

.calendar-info p {
    margin-bottom: 0;
}


/* CABECERA */

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-header h2 {
    margin: 0;
}

.calendar-header button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}


/* DÍAS DE LA SEMANA */

.calendar-weekdays {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin-bottom: 6px;
    font-weight: bold;
}

.calendar-weekdays div {
    flex: 1 1 0;
    width: 14.285%;
    padding: 10px 0;
    text-align: center;
}


/* DÍAS */

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    min-height: 55px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 16px;
}

.calendar-day:hover {
    transform: translateY(-1px);
}

.calendar-day.empty {
    border: none;
    background: transparent;
    cursor: default;
}

.calendar-day.weekend {
    background: #eeeeee;
    color: #999;
    cursor: default;
}


/* HORARIOS */

.available-times {
    margin-top: 35px;
    padding: 25px;
    border-radius: 12px;
    background: #f8f8f8;
}

.time-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.time-list button {
    padding: 12px;
    border: 1px solid #9acb9a;
    border-radius: 8px;
    background: #dff5df;
    color: #245b24;
    cursor: pointer;
    font_weigth: 600;
}

.time-list button:hover {
    transform: translateY(-1px);
    background: #c9ecc9;
}
.time-list button.pre-reserved {
    background: #fff1a8;
    border-color: #e7b65c;
    color: #665000;
    cursor: default;
}

.time-list button.booked {
    background: #f5d6d6;
    border-color: #d99a9a;
    color: #7a2222;
    cursor: default;
}


/* ESTADOS DEL CALENDARIO
   Verde = disponible
   Amarillo = pre-reserva
   Rojo = reservado
   Gris = no disponible
*/

.calendar-day.available {
    background: #dff5df;
}

.calendar-day.pre-reserved {
    background: #fff1a8;
   /* border: 2px solid #e7b65c;*/
}

.calendar-day.booked {
    background: #f5d6d6;
   /* border: 2px solid #d99a9a;*/
    
}

.calendar-day.unavailable {
    background: #eeeeee;
}
/*si esta completo */

.calendar-day.fully-pre-reserved {
    background: #fff1a8;
    border: 2px solid #e7b65c;
}

.calendar-day.fully-booked {
  /*  background: #f8d7da;*/
      background: #f2caca;
    border: 2px solid #d66a6a;
}

/* LEYENDA COLOR */
.calendar-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.calendar-legend div {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
}

.legend-color {
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.legend-color.available {
    background: #dff5df;
    border-color: #9acb9a;
}

.legend-color.pre-reserved {
    background: #fff1a8;
    border-color: #e7b65c;
   /*para los bordes*/
   border: 2px solid #e7b65c;
}

.legend-color.booked {
    background: #f5d6d6;
    border-color: #d66a6a;
   /*para los bordes*/
   border: 2px solid #d66a6a;
}
.calendar-day.both {
    border: 2px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, #e7b65c 50%, #d66a6a 50%) border-box;
}


/* MÓVIL */

@media (max-width: 600px) {

    .calendar-page {
        padding: 40px 12px;
    }

    .calendar-weekdays {
        gap: 3px;
    }

    .calendar-days {
        gap: 3px;
    }

    .calendar-day {
        min-height: 45px;
        font-size: 14px;
    }

    .time-list {
        grid-template-columns: repeat(3, 1fr);
    }

}
/* =========================================
   AVISO ASISTENTE - CALENDARIO
========================================= */

.calendar-assistant-info {
    margin-top: 30px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--light);
    text-align: center;
}

.calendar-assistant-info strong {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
}

.calendar-assistant-info p {
    margin: 0 0 14px;
    color: #555;
}

.assistant-link {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.assistant-link:hover {
    background: var(--primary-dark);
}
/* =========================================
   PREVIEW CALENDARIO - INDEX
========================================= */

.calendar-preview {
    width: 100%;
    max-width: 520px;
    min-height: 390px;
    padding: 30px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
}


/* CABECERA */

.calendar-preview-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

.calendar-preview-header > span {
    font-size: 42px;
}

.calendar-preview-header div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.calendar-preview-header strong {
    color: var(--primary);
    font-size: 18px;
    letter-spacing: 0.5px;
}

.calendar-preview-header small {
    color: #666;
    margin-top: 3px;
}


/* MINI CALENDARIO */

.mini-calendar {
    width: 100%;
    max-width: 390px;
    padding: 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-sizing: border-box;
}


/* MES */

.mini-calendar-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}


/* DÍAS DE LA SEMANA */

.mini-calendar-weekdays,
.mini-calendar-days {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    text-align: center;
}

.mini-calendar-weekdays {
    margin-bottom: 8px;
}

.mini-calendar-weekdays span {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}


/* DÍAS */

.mini-calendar-days span {
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    font-size: 14px;
    color: var(--dark);
}


/* DÍAS DISPONIBLES */

.mini-calendar-days span.available {
    background: var(--primary);
    color: white;
    font-weight: 700;
}


/* DÍAS VACÍOS */

.mini-calendar-days span.empty {
    background: transparent;
}


/* TEXTO */

.calendar-preview-text {
    margin: 20px 0;

    max-width: 390px;

    text-align: center;

    color: #555;

    line-height: 1.5;
}


/* BOTÓN */

.calendar-preview .button {
    display: inline-block;
}


/* =========================================
   MÓVIL
========================================= */

@media (max-width: 768px) {

    .calendar-preview {
        max-width: 100%;
        min-height: auto;
        padding: 25px 20px;
        margin-top: 20px;
    }

    .mini-calendar {
        max-width: 100%;
    }

}
/* =========================================
   TARJETA CALENDARIO - INDEX
========================================= */

.calendar-card {
    width: 100%;
    min-height: 390px;
    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

    color: var(--text);
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.calendar-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.10);

    border-color: var(--primary);
}

.calendar-card-icon {
    font-size: 42px;
    margin-bottom: 8px;
}

.calendar-card-label {
    display: block;

    margin-bottom: 18px;

    color: var(--primary);

    font-size: 1.2rem;
    font-weight: 700;

    letter-spacing: 2px;
}


/* MINI CALENDARIO */

.calendar-card .mini-calendar {
    width: 100%;
    max-width: 390px;

    padding: 18px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 14px;

    box-sizing: border-box;
}


/* DÍAS DE LA SEMANA */

.calendar-card .mini-calendar-weekdays,
.calendar-card .mini-calendar-days {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    gap: 6px;

    text-align: center;
}

.calendar-card .mini-calendar-weekdays {
    margin-bottom: 8px;
}

.calendar-card .mini-calendar-weekdays span {
    font-size: 13px;

    font-weight: 700;

    color: var(--primary);
}


/* NÚMEROS */

.calendar-card .mini-calendar-days span {
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 7px;

    font-size: 14px;

    color: var(--dark);
}


/* DÍAS */

.calendar-card h3 {
    margin-top: 20px;
    margin-bottom: 10px;

    color: var(--dark);

    font-size: 1.45rem;
}

.calendar-card p {
    max-width: 390px;

    margin-bottom: 0;

    color: var(--text);
}


/* MÓVIL */

@media (max-width: 768px) {

    .calendar-card {
        min-height: auto;

        padding: 25px 20px;
    }

    .calendar-card .mini-calendar {
        max-width: 100%;
    }

}
/* =========================================
   REDES SOCIALES DEL FOOTER
========================================= */

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-info {
    text-align: left;
}

.footer-info strong {
    display: block;
}

.footer-info p {
    margin: 5px 0 0;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
   gap: 18px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    text-decoration: none;
}

.social-link svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.social-link:hover {
    opacity: 0.75;
}

.footer-copy {
    margin: 0;
}

/* =========================================
   REDES SOCIALES - CONTACTO
========================================= */

.contact-social {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}

.contact-social-link {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 14px;
    border: 2px solid;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.contact-social-link svg {
    width: 32px;
    height: 32px;
}


/* LINKEDIN */

.contact-social-link.linkedin {
    color: #0A66C2;
    border-color: #0A66C2;
}

.contact-social-link.linkedin:hover {
    background-color: #0A66C2;
    color: #ffffff;
}


/* INSTAGRAM */

.contact-social-link.instagram {
    color: #E4405F;
    border-color: #E4405F;
}

.contact-social-link.instagram:hover {
    background-color: #E4405F;
    color: #ffffff;
}


/* FACEBOOK */

.contact-social-link.facebook {
    color: #1877F2;
    border-color: #1877F2;
}

.contact-social-link.facebook:hover {
    background-color: #1877F2;
    color: #ffffff;
}


/* WHATSAPP */

.contact-social-link.whatsapp {
    color: #25D366;
    border-color: #25D366;
}

.contact-social-link.whatsapp:hover {
    background-color: #25D366;
    color: #ffffff;
}


/* EFECTO COMÚN */

.contact-social-link:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.15);
}


/* MÓVIL */

@media (max-width: 768px) {

    .contact-social {
        gap: 14px;
        margin-top: 24px;
    }

    .contact-social-link {
        width: 54px;
        height: 54px;
        border-radius: 13px;
    }

    .contact-social-link svg {
        width: 29px;
        height: 29px;
    }

}


