*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading);
    line-height: 1.12;
}

p {
    margin-bottom: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section {
    padding: var(--section-padding);
}

.section-head {
    margin-bottom: 42px;
}

.section-head.text-center {
    max-width: 760px;
    margin-inline: auto;
}

.section-title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.1;
    color: var(--heading);
}

.section-text {
    margin: 0;
    max-width: 68ch;
    color: var(--text-muted);
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

.text-center .section-text {
    margin-inline: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition),
        opacity var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--whats);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--heading);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: rgba(17, 17, 17, 0.04);
    border-color: rgba(17, 17, 17, 0.12);
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 16px;
}

@media (max-width: 991px) {
    :root {
        --section-padding: 78px 0;
    }

    .container {
        width: min(100% - 28px, var(--container));
    }

    .section-head {
        margin-bottom: 34px;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 64px 0;
    }

    .container {
        width: min(100% - 22px, var(--container));
    }

    .btn {
        width: 100%;
        min-height: 48px;
        padding: 0 18px;
    }

    .section-head {
        margin-bottom: 28px;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .section-text {
        max-width: 100%;
    }
}