:root {
    --main-background: #F9FAFB;
    --main-text: #111827;
    --secondary-text: #4B5563;
    --accent-color: #2563EB;
    --footer-background: #111827;
    --footer-text: #F9FAFB;
    --footer-secondary-text: #9CA3AF;
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--main-background);
    color: var(--main-text);
    line-height: 1.625;
    font-weight: 400;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    transition: all 0.3s ease;
}

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

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

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.875rem, 8vw, 2.25rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 1.875rem);
    }

    h3 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    .mobile-text-break {
        word-break: break-all;
        overflow-wrap: break-word;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.875rem;
    }
}

/* ===== header ===== */
.js-mobile-menu.open {
    max-height: 500px
}

/* ===== hero_section ===== */
#hero {
    width: 100%;
}

/* ===== about_windaro ===== */
.group:hover img {
    transform: scale(1.05);
}

/* ===== featured_post ===== */
.prose h2 {
    color: var(--main-text);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.3
}

.prose h3 {
    color: var(--main-text);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4
}

.prose p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--secondary-text)
}

.prose ul {
    margin-bottom: 1.5rem;
    list-style-type: none
}

.prose li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem
}

.prose li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold
}

/* ===== modal_cards ===== */
.js-modal {
    transition: opacity 0.3s ease-in-out;
}

.js-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.js-modal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

/* ===== useful_checklist ===== */
#tips {
    width: 100%
}

.js-checklist-item {
    background-color: transparent;
    transition: border-color 0.3s ease, transform 0.3s ease
}

.js-checklist-item:hover {
    transform: translateY(-5px)
}

/* ===== trust_block ===== */
#benefits {
    width: 100%;
}

#benefits .js-benefit-card {
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#benefits .js-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== feedback_form ===== */
#contacts .w-100 {
    width: 100%
}

#contacts input::placeholder,
#contacts textarea::placeholder {
    color: #9CA3AF
}

/* ===== footer ===== */
#footer {
    position: relative;
    width: 100%;
}

.js-back-to-top {
    cursor: pointer;
    border: none;
    outline: none;
}