/*
Theme Name: Horizons Club
Theme URI: https://horizonsclub.com
Author: POLA network S.L.
Description: Theme personalizado para Horizons Club by Minor Hotels
Version: 1.0.1
Text Domain: horizons-club
*/

/* =============================================
   FONTS
   ============================================= */
@font-face {
    font-family: 'PlusJakartaSans';
    src: url('assets/fonts/PlusJakartaSans/PlusJakartaSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PlusJakartaSans';
    src: url('assets/fonts/PlusJakartaSans/PlusJakartaSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PlusJakartaSans';
    src: url('assets/fonts/PlusJakartaSans/PlusJakartaSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manuka';
    src: url('assets/fonts/Manuka/Manuka-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Newsreader';
    src: url('assets/fonts/Newsreader/Newsreader_14pt-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Newsreader';
    src: url('assets/fonts/Newsreader/Newsreader_14pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Newsreader';
    src: url('assets/fonts/Newsreader/Newsreader_14pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    --color-primary: #13213c;
    --color-bg: #ffffff;
    --color-text: #13213c;
    --color-text-light: #ffffff;
    --color-border: rgba(255, 255, 255, 0.2);

    --font-heading1: 'PlusJakartaSans', sans-serif;
    --font-heading2: 'Manuka', sans-serif;
    --font-body: 'Newsreader', serif;

    --header-height: 64px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
html, body {
    overflow-x: hidden;
}
.hs-form-frame {
    max-width: 100% !important;
    overflow: hidden;
}
body {
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-family: var(--font-heading1);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
}

h2 {
    font-family: var(--font-heading2);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
}

h3, h4, h5, h6 {
    font-family: var(--font-heading1);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 0.75rem;
}

p {
    font-family: var(--font-body);
    margin: 0 0 1rem;
}

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

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   HEADER
   ============================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: var(--color-primary);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 36px;
    width: auto;
}

/* Right side actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* WPML language selector */
.header-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-light);
    font-family: var(--font-heading1);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    position: relative;
}

.header-lang .lang-globe {
    display: flex;
    align-items: center;
}

.header-lang .lang-globe svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-text-light);
    fill: none;
}

.header-lang .lang-arrow svg {
    width: 12px;
    height: 12px;
    stroke: var(--color-text-light);
    fill: none;
}

/* WPML overrides */
.header-lang .wpml-ls,
.header-lang .wpml-ls-legacy-dropdown,
.header-lang .wpml-ls-item {
    background: transparent !important;
    border: none !important;
}

.header-lang .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    background: transparent !important;
    border: none !important;
    color: var(--color-text-light) !important;
    font-family: var(--font-heading1) !important;
    font-size: 14px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-lang .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    display: none;
}

.header-lang .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    background-color: var(--color-primary) !important;
    border: 1px solid var(--color-border) !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
}

.header-lang .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    color: var(--color-text-light) !important;
    font-family: var(--font-heading1) !important;
    font-size: 13px !important;
    padding: 8px 16px !important;
}

.header-lang .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a:hover {
    background-color: rgba(255,255,255,0.1) !important;
}

/* Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-family: var(--font-heading1);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
}

.header-phone:hover {
    text-decoration: none;
    opacity: 0.85;
}

.header-phone svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-text-light);
    fill: none;
    flex-shrink: 0;
}

/* Divider between lang and phone */
.header-divider {
    width: 1px;
    height: 20px;
    background-color: var(--color-border);
}

/* =============================================
   MAIN CONTENT
   ============================================= */
#page-content {
    padding-top: var(--header-height);
}

/* Elementor full-width support */
.elementor-section.elementor-section-stretched {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
    background-color: var(--color-primary);
    padding: 20px 40px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.footer-links li a {
    color: var(--color-text-light);
    font-family: var(--font-heading1);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer-links li a:hover {
    opacity: 1;
    text-decoration: none;
}

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .header-logo img {
        height: 28px;
    }

    .header-actions {
        gap: 16px;
    }

    .header-phone span {
        display: none;
    }

    #site-footer {
        padding: 20px;
    }

    .footer-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links li a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-divider {
        display: none;
    }
}

#tablaniveles {
    background-color: #ffffff;
    padding-bottom: 50px;
}
.plans-table {
    width: 100%;
    font-family: 'Newsreader', serif;
    max-width: 900px;
    margin: 0 auto;
}

.plans-header,
.plans-row {
    display: grid;
    grid-template-columns: 1fr 140px 140px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #d9d0c0;
}

.plans-header {
    border-bottom: none;
    padding-bottom: 8px;
}

.plans-col {
    text-align: center;
}

.plans-name {
    font-family: 'Manuka', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.plans-name.open  { color: #13213c; }
.plans-name.broad { color: #8B7340; }

.plans-price {
    display: inline-block;
    border-radius: 20px;
    padding: 4px 14px;
    font-family: 'PlusJakartaSans', sans-serif;
    font-size: 12px;
    margin-top: 8px;
    border: 1px solid currentColor;
}

.plans-price.open  { color: #13213c; }
.plans-price.broad { color: #8B7340; }

.plans-feature {
    font-size: 16px;
    line-height: 24px;
    color: #13213c;
    padding-right: 32px;
    font-family: var(--font-heading1);
}

.plans-feature--gold {
    color: #13213c;
}

.plans-feature--gold strong {
    color: #13213c;
}

.plans-feature .gold {
    color: #8B7340;
}

.check-open,
.check-broad {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    line-height: 1;
}

.check-open  { background-color: #13213c; }
.check-broad { background-color: #8B7340; }

@media (max-width: 600px) {
    .plans-header,
    .plans-row {
        grid-template-columns: 1fr 60px 60px;
    }

    .plans-name {
        font-size: 1.4rem;
    }

    .plans-price {
        font-size: 10px;
        padding: 3px 8px;
    }

    .plans-feature {
        font-size: 13px;
        padding-right: 12px;
    }

    .check-open,
    .check-broad {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/* FAQ */
.elementor-widget-n-accordion {
    background-color: #ffffff !important;
    --n-accordion-title-justify-content: space-between;
}

.elementor-widget-n-accordion .e-n-accordion {
    padding: 50px 150px;
    background-color: #ffffff;
}

.elementor-widget-n-accordion .e-n-accordion-item {
    border: none !important;
    --n-accordion-border-width: 0px;
}

.elementor-widget-n-accordion .e-n-accordion-item-title {
    justify-content: space-between !important;
}

.elementor-widget-n-accordion .e-n-accordion-item-title-header {
    flex: 1 !important;
    min-width: 0;
}

.elementor-widget-n-accordion .e-n-accordion-item-title-icon {
    flex-shrink: 0 !important;
    margin-left: auto !important;
}
.elementor-widget-n-accordion .e-n-accordion-item > summary {
    justify-content: space-between !important;
}
.elementor-widget-n-accordion .e-n-accordion-item-title-header {
    flex: 1 1 auto !important;
}
summary.e-n-accordion-item-title {
    gap: 0 !important;
}
.elementor-widget-n-accordion .e-n-accordion-item-title-icon svg {
    width: var(--n-accordion-icon-size) !important;
    height: var(--n-accordion-icon-size) !important;
}

.elementor-widget-n-accordion .e-n-accordion-item-title-icon {
    width: auto !important;
    min-width: 20px !important;
    flex-shrink: 0 !important;
}

.elementor-widget-n-accordion .e-n-accordion-item-title-header {
    flex: 1 1 auto !important;
    width: 0 !important;
}
.elementor-widget-n-accordion .e-n-accordion-item-title-text {
    letter-spacing: 1px;
    font-weight: 500;
}
#discoverourbrandstitle {
    font-family: var(--font-heading1);
}
.header-lang {
    position: relative;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-primary);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 140px;
    border: 1px solid var(--color-border);
    z-index: 9999;
}

.lang-dropdown li a {
    display: block;
    padding: 8px 16px;
    color: var(--color-text-light);
    font-family: var(--font-heading1);
    font-size: 13px;
    white-space: nowrap;
}

.lang-dropdown li a:hover {
    background-color: rgba(255,255,255,0.1);
    text-decoration: none;
}

.header-lang:hover .lang-dropdown {
    display: block;
}
.mainbanner h2 {
    font-family: var(--font-heading1);
}
.mainbannerlist ul {
    list-style: none;
    padding-left: 0;
}
.mainbannerlist li {
    position: relative;
    font-family: 'Newsreader';
    margin-top: 15px;
    margin-bottom: 10px;
    padding-left: 1.5em;
}
.mainbannerlist ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffffff;
}
.mainbannerh1 h1 {color: #ffffff; font-weight: 400;line-height: 45px;}
body .e-n-accordion h3.e-n-accordion-item-title-text {
    font-family: 'Newsreader';
}
.preintro, .preintro p {
    font-family: 'PlusJakartaSans';
    margin-bottom: 0px;
}

@media (max-width: 768px) {
    .header-logo img.custom-logo {
        max-width: 200px;
        height: auto;
    }
    .mainbannerh1 h1 {
        font-size: 25px;line-height: 32px;
    }
    .preintro, .preintro p {
        display: inline;
        padding-right: 5px;
    }
    .elementor-widget-n-accordion .e-n-accordion {
        padding: 10px 10px;
        background-color: #ffffff;
    }
    .plans-table {
        overflow-x: auto;
        display: block;
        max-width: 100% !important;
        padding-left: 10px;
    }
}