:root {
    --primary: #19766f;
    --primary-hover: #135d57;
    --secondary-accent: #48a999;
    --background-light: #fcfbf7;
    --background-card: #ffffff;
    --background-subtle: #f4f1ea;
    --text-main: #243231;
    --text-muted: #5f716f;
    --border-color: #e2ded4;
    --disclaimer-bg: #f0ede4;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background-light);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: all 0.3s ease-in-out;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    a[href^="mailto:"],
    a[href^="tel:"],
    .break-words {
        word-break: break-word;
    }
}

/* ===== header ===== */
#header {
    overflow: visible;
}

.mobile-menu-overlay.open {
    display: block !important;
}

/* ===== hero ===== */
#hero {
    overflow: hidden;
}

#hero h1,
#hero h2,
#hero h3 {
    hyphens: auto;
}

/* ===== about_consultation ===== */
#about-consultation {
    hyphens: auto;
}

/* ===== lifestyle_topics ===== */
.lifestyle-topics-section {
    overflow: hidden;
    width: 100%;
    hyphens: auto;
}

.lifestyle-card {
    min-height: 100%;
}

/* ===== consultation_process ===== */
#consultation-process {
    overflow: hidden;
}

#consultation-process .hyphens-auto {
    hyphens: auto;
}

/* ===== target_audience ===== */
#target-audience .js-checklist-card.is-active {
    border-color: var(--primary);
    background-color: var(--background-subtle);
}

#target-audience .js-checklist-card.is-active .js-check-indicator {
    background-color: var(--primary);
    border-color: var(--primary);
}

#target-audience .js-checklist-card.is-active .js-check-indicator i {
    color: #ffffff;
}

/* ===== advantages ===== */
#advantages {
    hyphens: auto;
}

#advantages .js-adv-card {
    will-change: transform;
}

#advantages .js-adv-card:hover {
    transform: translateY(-3px);
}

/* ===== specialists ===== */
#specialists {
    overflow: hidden;
}

#specialists img {
    object-fit: cover;
}

/* ===== useful_materials ===== */
#useful-materials {
    hyphens: auto;
}

.js-article-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.js-article-card:hover {
    transform: translateY(-4px);
}

#article-modal:not(.hidden) {
    display: flex;
}

/* ===== faq ===== */
#faq {
    overflow: hidden;
}

#faq h2,
#faq h3,
#faq p,
#faq span {
    hyphens: auto;
}

.js-faq-item.is-active .js-faq-icon {
    transform: rotate(180deg);
    background-color: #19766f;
    color: #ffffff;
}

.js-faq-item.is-active .js-faq-icon i {
    color: #ffffff;
}

.js-faq-item.is-active {
    border-color: #48a999;
}

/* ===== booking_form ===== */
#booking-form input::placeholder,
#booking-form textarea::placeholder {
    color: #5f716f;
    opacity: 0.8;
}

#booking-form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.7;
}

/* ===== contacts ===== */
#contacts {
    overflow: hidden;
}

.contacts-section {
    width: 100%;
    box-sizing: border-box;
}

.contact-card {
    min-height: 220px;
}

/* ===== disclaimer_block ===== */
#disclaimer {
    overflow: hidden;
    hyphens: auto;
}

.disclaimer-section {
    background-color: var(--background-light, #fcfbf7);
    color: var(--text-main, #243231);
}

/* ===== footer ===== */
#footer {
    width: 100%;
    box-sizing: border-box;
}

#footer a {
    outline: none;
}