/*   
Theme Name: Cortijo Coronado y Manta
Theme URI: the-theme's-homepage
Description: Sitio web para el Cortijo Coronado y Manta
Author: Poncho Estudio Creativo
Author URI: your-URI
Version: 1.0
.
General comments/License Statement if any.
.
*/

/* ====================================================
1. VARIABLES Y CONFIGURACIÓN
==================================================== */

:root {
    /* --primary: #F5565C; */
    --primary: #344E41;
    --primary-light: #588157;
    --black: #222329;
    --white: #FFFFFF;
    --bg-light-100: #FAF7F5;
    --bg-light-200: #F5EFE8;
    --bg-light-300: #E9DFD3;
    --font-paragraph: 'inter', sans-serif;
    --font-heading: 'lora', serif;
    --text-strong: #404241;
    --text-light: #515553;
    --border-8: 8px;
    --border-12: 12px;
    --border-100: 100px;

    --bg-green-100: #e9eeab;
    --bg-green-200: #233c30;

    /* 1.3. Espaciado */
    --p-m-1: clamp(48px, 6vw, 64px);
    --p-m-2: clamp(48px, 6vw, 96px);
    --p-m-3: clamp(64px, 6vw, 120px);
}

/* ====================================================
2. RESET Y ESTILOS BASE
==================================================== */

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

ul,
li {
    list-style: none;
}

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

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

body {
    font-family: var(--font-paragraph);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.02rem;
    color: var(--text-strong);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.04rem;
    margin: 0;
}

p,
figure {
    margin: 0;
    padding: 0;
}

.separador {
    width: 100%;
    height: clamp(64px, 6vw, 80px);
    margin-bottom: 48px;
}

.section__padding {
    padding: var(--p-m-2) 0;
}

html {
    scroll-behavior: smooth;
}

/* ====================================================
3. COMPONENTES GLOBALES
   ==================================================== */

/* 3.1. Botones */
.btn__primary a {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 1rem 2rem;
    height: 48px;
    font-family: var(--paragraphs);
    font-weight: 500;
    color: var(--white);
    background-color: var(--primary);
    border: 1px solid transparent;
    border-radius: var(--border-100);
    transition: background-color 0.2s, color 0.2s;
}

/* Desktop */
@media (min-width: 992px) {
    .btn__primary a {
        height: 54px;
    }
}

.btn__primary:hover a {
    background: var(--primary-light);
}

.btn__primary {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 2rem;
    height: 48px;
    font-family: var(--paragraphs);
    font-weight: 500;
    color: var(--white);
    background-color: var(--primary);
    border: 1px solid transparent;
    border-radius: var(--border-100);
    transition: background-color 0.2s, color 0.2s;
}

/* Desktop */
@media (min-width: 992px) {
    .btn__primary {
        height: 54px;
    }
}

.btn__primary:hover {
    background: var(--primary-light);
}

.btn__secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 64px;
    padding: 1rem 2rem;
    height: 48px;
    font-family: var(--paragraphs);
    font-weight: 500;
    color: var(--primary);
    background-color: #eeebe1;
    /* border: 1px solid var(--primary); */
    border-radius: var(--border-100);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 992px) {
    .btn__secondary {
        height: 54px;
    }
}

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


/* 3.2. Enlaces */
.section__link {
    color: var(--primary);
    display: inline-block;
    margin-top: 24px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.section__link:hover {
    color: var(--primary-light);
}

.section__link-inline {
    color: var(--primary);
    display: inline-block;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.section__link-inline:hover {
    color: var(--primary-light);
}

.section__link-inline-light {
    color: var(--bg-green-100);
    display: inline-block;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.section__link-inline-light:hover {
    color: var(--primary-light);
}

/* ====================================================
4. HEADER Y NAVEGACIÓN
==================================================== */

/* 4.1. Header principal */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: clamp(64px, 6vw, 80px);
    background: var(--white);
    position: fixed;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header__content {
    position: relative;
    height: 100%;
}

/* 4.2. Logo */
.header__logo {
    width: fit-content;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.2s;
}

.header__logo__mobile {
    height: 24px;
}

.header__logo__desktop {
    height: 36px;
}

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

.header__logo-text {
    font-size: 18px;
    line-height: 18px;
    font-weight: 500;
    margin-left: 8px;
}

.header .menu-item-13 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background-color: var(--primary);
    font-weight: 500;
    height: 48px;
    padding: 16px 24px;
    border-radius: var(--border-12);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.header .menu-item-13:hover {
    background-color: var(--primary-light);
    color: var(--white) !important;
}

/* 4.3. Menú desktop */
.header__content .principal {
    height: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    font-size: 16px;
    letter-spacing: -0.00188rem;
    text-transform: capitalize;
}

.header__content .principal li:hover {
    color: var(--primary);
}

/* Línea indicadora del menú activo */
.header__content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: var(--active-x, 50%);
    width: 64px;
    height: 3px;
    border-radius: 1px;
    background-color: var(--primary);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease, left 0.35s ease;
}

.header__content.has-active::after {
    transform: translateX(-50%) scaleX(1);
}

/* 4.4. Menú móvil - Burger */
.header__burger {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px 6px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header__burger-line {
    width: 32px;
    height: 3px;
    background-color: var(--primary);
    z-index: 100;
    border-radius: 1px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Estados de la 'X' (Menú Abierto) */
.header__burger.is-open .header__burger-line-top {
    transform: translateY(10.5px) rotate(45deg);
}

.header__burger.is-open .header__burger-line-bottom {
    transform: translateY(-10.5px) rotate(-45deg);
}

.header__burger.is-open .header__burger-line-center {
    opacity: 0;
    transform: translateX(10px);
}

.header__right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem;
    border-radius: 50%;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-flag img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
}

.lang-flag:hover,
.lang-flag.active {
    opacity: 1;
}

.lang-flag.active {
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-flag:hover {
    transform: translateY(-1px);
}

@media (max-width: 991.98px) {
    .header__right {
        gap: 0.35rem;
    }

    .lang-switcher {
        gap: 0.15rem;
    }

    .lang-flag {
        padding: 0.5rem;
    }

    .lang-flag img {
        width: 18px;
        height: 18px;
    }
}

#contact_section {
    scroll-margin-top: 32px; /* ajusta según altura header */
}

.header__contact-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.header__contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: color 0.2s ease;
}

.header__contact-link:hover {
    color: var(--primary);
}

.header__contact-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 64px;
    height: 3px;
    border-radius: 1px;
    background-color: var(--primary);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.header__contact-item.is-active::after {
    transform: translateX(-50%) scaleX(1);
}

/* 4.5. Offcanvas - Menú móvil */
.offcanvas,
.offcanvas button,
.offcanvas a {
    outline: none !important;
    box-shadow: none !important;
}

.offcanvas {
    width: 100vw !important;
}

.offcanvas__body {
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    line-height: 36px;
}

.offcanvas__body .menu-item:hover {
    color: var(--primary);
}

.offcanvas__body-content {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-block: 64px;
}

.offcanvas__body nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}

.offcanvas__body nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
}

.offcanvas__divider {
    width: 100%;
    height: 1px;
    background-color: var(--primary);
    margin-block: 24px;
}

.offcanvas__social {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 48px;
}

.offcanvas__social:last-child span {
    font-size: 14px;
    line-height: 14px;
    font-weight: 200;
}

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

/* 4.6. Animaciones del menú móvil */
.offcanvas .principal > li,
.offcanvas .offcanvas__extra-link,
.offcanvas__social {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.offcanvas.show .principal > li,
.offcanvas.show .offcanvas__extra-link,
.offcanvas.show .offcanvas__social {
    opacity: 1;
    transform: translateX(0);
}

.offcanvas__extra-link {
    width: 100%;
}

.offcanvas__extra-link a {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

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

/* ====================================================
5. HERO
==================================================== */

.hero {
    width: 100%;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.hero__preheading {
    width: fit-content;
    font-weight: 600;
    background-color: rgba(74, 74, 74, 0.5);
    border-radius: 100px;
    padding: 8px 16px 8px 8px;
    color: var(--white);
    font-size: 0.875rem;
}

.hero__title {
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
    font-weight: 600;
    color: var(--white);
    max-width: 1000px;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.5rem);
    line-height: 140%;
    color: var(--white);
    max-width: 600px;
}

.hero {
    background:
        linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .3)),
        url(img/hero_img.avif) center/cover no-repeat;
    background-size: cover;
    background-position: center;
}

/* ====================================================
6. SECCIÓN PRESENTACIÓN
==================================================== */

.section__presentation {
    background: var(--bg-light-100);
}

.section__presentation h2 {
    font-size: clamp(1.5rem, 5vw + 1rem, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}

/* ====================================================
7. SECCIÓN ACCOMMODATION
==================================================== */

.accommodation {
    background-color: var(--white);
}

.section__name__pill {
    display: inline-block;
    width: fit-content;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04rem;
    color: var(--white);
    padding: 6px 12px;
    /* border: 1px solid var(--primary); */
    background-color: #B6C4B6;
    border-radius: var(--border-100);
    margin-bottom: 8px;
}

.section__title {
    font-size: clamp(1.5rem, 5vw + 1rem, 3rem);
    font-weight: 700;
    text-wrap: balance;
    max-width: 20ch;
}

.section__header__divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-light);
    border-radius: var(--border-100);
}

.section__subtitle {
    font-family: var(--font-heading);
    font-size: calc(1rem + 0.2vw);
    line-height: 160%;
    color: var(--text-light);
    /* margin: 0 auto !important; */
    max-width: 700px;
    text-align: center;
}

/* Large (lg) */
@media (min-width: 992px) {
    .section__subtitle {
        margin-bottom: 24px;
    }
}


.card {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-12);
    box-shadow: 0 54px 15px 0 rgba(0, 0, 0, 0.00), 0 35px 14px 0 rgba(0, 0, 0, 0.01), 0 19px 12px 0 rgba(0, 0, 0, 0.05), 0 9px 9px 0 rgba(0, 0, 0, 0.09), 0 2px 5px 0 rgba(0, 0, 0, 0.10);
    background-color: var(--white);
}

.card__content {
    padding: 24px;
}

.card__pill {
    display: block;
    width: fit-content;
    font-size: 0.875rem;
    font-weight: 400;
    top: 24px;
    left: 24px;
    z-index: 2;
    background-color: var(--bg-light-100);
    padding: 8px 12px;
    border-radius: var(--border-100);
    color: var(--text-light);
}

.card__content h5 {
    /* font-family: var(--paragraphs); */
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    color: var(--text-strong);
}

.card__content p {
    font-size: 1rem;
    line-height: 160%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-light);
}

.card__image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 8px;
    grid-row-gap: 4px;
}

.card__feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card__feature-text {
    font-size: 14px;
    color: var(--text-light);
}

.card__feature-item .material-symbols-rounded {
    color: var(--primary);
    font-size: 24px;
    font-variation-settings: 'wght' 400, 'opsz' 20;
}


@media (min-width: 768px) {
    .card.d-flex {
        display: flex !important;
        align-items: stretch !important;
        min-height: 0 !important;
    }

    .card__image.col-md-6 {
        flex: 0 0 50% !important;
        padding: 0 !important;
        height: auto !important;
        position: relative !important;
    }

    .card__image .carousel {
        height: 100% !important;
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .card__image .carousel-inner,
    .card__image .carousel-item {
        height: 100% !important;
    }

    .card__image .carousel-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .card__content.col-md-6 {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
}

/* Desktop */
@media (min-width: 992px) {

    .card__content {
        padding: 32px !important;
    }

    .card__features {
        grid-row-gap: 16px;
    }

    .card__container__01 {
        margin-bottom: 72px;
    }
}

.accommodation__qualifications-content {
    padding: 32px 24px;
}

.accommodation__qualifications-content>div>p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    text-align: center;
    max-width: 700px;
}

.accommodation__qualifications-icons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-template-rows: auto;
    grid-row-gap: 16px;
}

.accommodation__qualifications-icon {
    border-right: 1px solid rgb(210, 210, 210);
}

.accommodation__qualifications-icon:last-child,
.accommodation__qualifications-icon:nth-child(2),
.accommodation__qualifications-icon:nth-child(4) {
    border-right: none;
}

.accommodation__qualifications-note {
    font-size: calc(1rem + 0.2vw);
    font-weight: 600;
}

.accommodation__links-content {
    padding: 32px 24px;
    border-radius: var(--border-12);
    overflow: hidden;
    background-color: var(--bg-light-100);
    border: 1px solid rgb(210, 210, 210);
}

.accommodation__links-section h4 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
}

.accommodation__links-separator {
    height: 1px;
    background-color: rgb(210, 210, 210);
    margin: 24px 0;
}

.accommodation__links {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(13, 1fr);
    grid-column-gap: 12px;
    grid-row-gap: 8px;
}

/* Small (sm) */
@media (min-width: 534px) {

    .accommodation__qualifications-icon:nth-child(2),
    .accommodation__qualifications-icon:nth-child(4) {
        border-right: 1px solid rgb(210, 210, 210);
    }

    .accommodation__qualifications-icon:nth-child(3) {
        border-right: none;
    }
}

@media (min-width: 768px) {
    .accommodation__links {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(7, 1fr);
        grid-column-gap: 16px;
        grid-row-gap: 8px;
    }

    .accommodation__links-content {
        padding: 36px 32px;
    }

    .accommodation__qualifications-icon {
        border-right: 1px solid rgb(210, 210, 210) !important;
    }

    .accommodation__qualifications-icon:nth-child(4) {
        border-right: none !important;
    }
}

/* Desktop */
@media (min-width: 992px) {

    .accommodation__links {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(5, 1fr);
        grid-row-gap: 16px;
    }

    .accommodation__qualifications-icon:nth-child(4) {
        border-right: 1px solid rgb(210, 210, 210) !important;
    }

    .accommodation__qualifications-icon:last-child,
    .accommodation__qualifications-icon:nth-child(5) {
        border-right: none !important;
    }
}

/* Extra large (xl) */
@media (min-width: 1200px) {
    .accommodation__qualifications-icon:nth-child(5) {
        border-right: 1px solid rgb(210, 210, 210) !important;
    }
}


/* ====================================================
8. SECCIÓN WHY CHOOSE US
==================================================== */

.why-choose-us {
    background-color: var(--bg-light-100);
}

.why-choose-us__title {
    font-size: calc(2rem + 0.5vw);
    font-weight: 700;
    line-height: 110%;
    color: var(--text-strong);
    margin-bottom: 32px;
    max-width: 1000px;
}

.why-choose-us__text {
    font-size: calc(1rem + 0.2vw);
    font-weight: 400;
    line-height: 140%;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 600px;
}

.why-choose-us__benefits {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 16px;
}

@media (min-width: 768px) {
    .why-choose-us__benefits {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

.why-choose-us__card {
    background-color: var(--white);
    border-radius: var(--border-12);
    border: 1px solid rgb(210, 210, 210);
    padding: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 54px 15px 0 rgba(0, 0, 0, 0.00), 0 35px 14px 0 rgba(0, 0, 0, 0.01), 0 19px 12px 0 rgba(0, 0, 0, 0.05), 0 9px 9px 0 rgba(0, 0, 0, 0.09), 0 2px 5px 0 rgba(0, 0, 0, 0.10);
}

.why-choose-us__card:hover {
    transform: translateY(-6px);
    transition: transform 0.3s ease;
}

/* Extra large (xl) */
@media (min-width: 1200px) {
    .why-choose-us__benefits {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
    }

    .why-choose-us__card {
        padding: 36px;
    }
}

.why-choose-us__card h3 {
    /* font-family: var(--paragraphs); */
    color: var(--text-strong);
    font-size: calc(1.25rem + 0.2vw);
    font-weight: 500;
    margin: 16px 0;
}

.why-choose-us__card p {
    font-size: 1rem;
    line-height: 160%;
    color: var(--text-light);
}

.why-choose-us__icon {
    background-color: var(--primary);
    border-radius: var(--border-100);
    padding: calc(8px + 0.2vw);
    color: var(--white);
    font-size: clamp(2rem, 1.5vw, 2.5rem);
    font-variation-settings: 'wght' 400, 'opsz' 20;
}

/* ====================================================
8. SECTION THE PLACE
==================================================== */

.the__place {
    background-color: var(--bg-light-200);
    border: 1px solid rgb(210, 210, 210);
}

.the__place h2 {
    font-size: calc(2rem + 0.5vw);
    font-weight: 700;
}

.the__place p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--text-light);
    line-height: 160%;

    font-size: calc(1rem + 0.2vw);
    font-weight: 400;
    line-height: 140%;
    color: var(--text-light);
}

.the__place figure {
    margin: 0;
}

.the__place img {
    border-radius: var(--border-12);
    max-width: 100%;
    height: auto;
}

.the__place__img-container {
    position: relative;
}

.the__place__img-container figcaption {
    font-size: 14px;
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: var(--white);
}

.the__place__img-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.btn__adjust {
    width: fit-content;
    min-width: 160px;
}


/* ====================================================
8. SECTION TESTIMONIALS
==================================================== */

.testimonial__card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.testimonial__card-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.testimonial__card-stars.material-symbols-rounded {
    font-size: 24px;
}

/* Estrellas rellenas en dorado */
.material-symbols-rounded.filled {
    font-variation-settings: 'FILL' 1, 'wght' 300;
    /* Relleno total y trazo fino */
    color: var(--primary-light);
}

.testimonials {
    background: var(--white);
}

.testimonials__title {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--bg-light-100);
    padding: 24px;
    border: 1px solid var(--bg-light-300);
    border-radius: var(--border-12);
    text-align: center;
    max-width: 800px;
    margin: auto;
}

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

.testimonial-card__header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-card__image {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
}

/* Large (lg) */
@media (min-width: 768px) {
    .testimonial-card__image {
        width: 80px;
        height: 80px;
    }
}

.testimonial-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__name {
    font-size: calc(1.25rem + 0.2vw);
}

.testimonial-card__content>p {
    font-size: calc(1rem + 0.1vw);
    line-height: 140%;
    color: var(--text-light);
}

.testimonial-card__divider {
    height: 1px;
    background: var(--bg-light-300);
    margin: 16px 0;
}

.testimonial-card__meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 8px;
}

.testimonial-card__meta>span {
    font-weight: 600;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

/* ====================================================
9. SECTION FAQ
==================================================== */


.faq {
    background-color: var(--bg-light-100);
}

.faq__container {
    max-width: 900px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid rgb(210, 210, 210);
}

.faq__item:last-child {
    border-bottom: none;
}

.faq__accordion {
    padding: 0.25rem 1.5rem;
    border: 1px solid rgb(210, 210, 210);
    border-radius: var(--border-12);
    background-color: var(--white);
    box-shadow: 0 54px 15px 0 rgba(0, 0, 0, 0.00), 0 35px 14px 0 rgba(0, 0, 0, 0.01), 0 19px 12px 0 rgba(0, 0, 0, 0.05), 0 9px 9px 0 rgba(0, 0, 0, 0.09), 0 2px 5px 0 rgba(0, 0, 0, 0.10);

}

/* Large (lg) */
@media (min-width: 992px) {
    .faq__accordion {
        padding: 1rem 2.5rem;
    }
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-strong);
}

.faq__question h3 {
    font-family: var(--font-paragraph);
    font-size: calc(1rem + 0.2vw);
    font-weight: 500;
    line-height: 120%;
}

.faq__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.faq__icon svg {
    width: 100px;
    height: 100px;
    stroke: var(--primary);
    stroke-width: 1;
    fill: none;

    transform-origin: center;
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
}

.faq__item.active .faq__icon svg {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
    font-size: calc(1rem + 0.1vw);
    line-height: 160%;
}

/* ====================================================
10. SECTION CONTACT
==================================================== */

.contact {
    background-color: var(--white);
}

.section__subtitle-adjust {
    margin-bottom: 24px;
}

.contact__img-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}

.contact__img-container img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-12);
    overflow: hidden;
}

/* .contact__form-container {
    background-color: var(--white);
    border: 1px solid rgb(210, 210, 210);
    border-radius: var(--border-12);
    box-shadow: 0 54px 15px 0 rgba(0, 0, 0, 0.00), 0 35px 14px 0 rgba(0, 0, 0, 0.01), 0 19px 12px 0 rgba(0, 0, 0, 0.05), 0 9px 9px 0 rgba(0, 0, 0, 0.09), 0 2px 5px 0 rgba(0, 0, 0, 0.10);
} */

.contact__form-container h3 {
    /* font-family: var(--font-paragraph); */
    font-weight: 600;
    font-size: calc(1.5rem + 0.4vw);
}

.contact__form-divider {
    height: 1px;
    background: rgb(210, 210, 210);
}



/* === Wrapper Card === */
.reservation-form-wrapper {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-12);
    max-width: 720px;
    width: 100%;
}

/* Title */
.reservation-form__title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Labels */
.reservation-form label {
    font-weight: 400;
    margin-bottom: .5rem;
    display: block;
}

/* Inputs */
.reservation-form .form-control {
    background: var(--bg-light-100);
    border: 1px solid var(--bg-light-300);
    border-radius: 8px;
    padding: 1rem;
    height: 48px;
    font-size: 1rem;
    transition: all .3s ease;
}

.reservation-form textarea.form-control {
    height: 120px;
}

/* Focus */
.reservation-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    background: var(--bg-light-200);
}

/* Date input normalize */
.reservation-form input[type="date"] {
    appearance: none;
}

/* CF7 Validation Messages */
.wpcf7-not-valid-tip {
    font-size: .875rem;
    margin-top: .4rem;
    color: #ef616f;
}

.wpcf7 form.invalid .form-control {
    border-color: #ef616f;
}

.wpcf7 form.sent .reservation-form__submit {
    background: #4bc98e;
}

/* Responsive */
@media (min-width: 768px) {
    .reservation-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

.wpcf7-spinner {
    display: none;
}

.reservation-form .btn__primary {
    padding: 0;
}

/* ====================================================
11. PÁGINA HABITACIÓN
==================================================== */

.casa__card__features-container {
    padding: 24px;
    border: 1px solid rgb(210, 210, 210);
    background-color: var(--bg-light-100);
    border-radius: var(--border-12);
    height: 400px;
}

.casa__card__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-row-gap: 8px;
}

.casa__card__features-divider {
    height: 1px;
    width: 100%;
    background-color: rgb(210, 210, 210);
}

.casa__card__feaature-text {
    font-size: clamp(14px, calc(0.875rem + 0.1vw), 16px);
}

/* Medium (md) */
@media (min-width: 992px) {
    .casa__card__features {
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 8px;
    }
}

@media (min-width: 992px) {
    .grid-casas {
    display: grid;
    grid-template-columns: 4fr 1fr 1fr 260px;
    grid-template-rows: 400px;
    overflow: hidden;
    gap: 16px 16px;
}

.grid-item-big {
    border-radius: var(--border-12);
    overflow: hidden;
}

.grid-item-big img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.casa__tumb-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    
}

.casa__tumb-container div {
    height: 100%;
    overflow: hidden;
    border-radius: var(--border-12);
}   

.casa__tumb-container div img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}
}


/* ====================================================
   WHATSAPP BUTTON PRO (AIRBNB STYLE)
   ==================================================== */

.btn-wsp-flotante {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.btn-wsp-flotante.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* BOTÓN ESTILO AIRBNB */
.btn-wsp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #25D366;
    color: white;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.25s ease;
}

/* ICONO */
.btn-wsp svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* TEXTO */
.btn-wsp-text {
    white-space: nowrap;
}

/* HOVER */
@media (hover: hover) {
    .btn-wsp:hover {
        background: #1ebe5d;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    }
}

/* ANIMACIÓN */
.btn-wsp-flotante.visible .btn-wsp {
    animation: wspPop 0.4s ease;
}

@keyframes wspPop {
    0% { transform: scale(0.85); }
    100% { transform: scale(1); }
}

/* MOBILE */
@media (max-width: 768px) {
    .btn-wsp {
        padding: 14px;
        border-radius: 50%;
        width: 58px;
        height: 58px;
        justify-content: center;
    }

    .btn-wsp-text {
        display: none;
    }

    .btn-wsp svg {
        width: 26px;
        height: 26px;
    }
}

.map {
    border-radius: var(--border-12);
    overflow: hidden;
}

/* ====================================================
12. FOOTER
==================================================== */

footer {
    background-color: var(--bg-green-200);
    color: white;
    padding: 48px 0 24px;
    font-size: calc(1rem + 0.2vw);
    font-weight: 500;
    line-height: 120%;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer a:hover {
    text-decoration: none;
}

footer .map-container {
    margin-bottom: 48px;
}

footer .map {
    border-radius: var(--border-12);
    overflow: hidden;
}

footer p {
    font-size: 14px;
    font-family: var(--font-paragraph);
}

.footer__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--border-100);
    font-size: 24px;
    background-color: var(--primary-light);
}

.footer__year {
    width: 100%;
    height: 1px;
    background-color: var(--bg-light-200);
    margin-bottom: 24px;
}