﻿:root {
    --bg: #f7f3eb;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --text: #1f2a24;
    --muted: #5b675f;
    --accent: #1d6b57;
    --accent-dark: #124739;
    --border: rgba(31, 42, 36, 0.12);
    --shadow: 0 18px 45px rgba(24, 47, 39, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(29, 107, 87, 0.15), transparent 30%),
        linear-gradient(180deg, #f8f5ef 0%, #f3ede1 100%);
}

a {
    color: inherit;
}

.site-header,
.intro,
.cards,
.details,
.site-footer,
.page-hero,
.page-content {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
}

.brand {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
}

.hero {
    position: relative;
    width: min(1200px, calc(100% - 24px));
    min-height: 72vh;
    margin: 8px auto 48px;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(16, 34, 29, 0.82), rgba(16, 34, 29, 0.36)),
        url("./images/1.jpeg") center center / cover no-repeat;
    box-shadow: var(--shadow);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
        linear-gradient(0deg, rgba(10, 19, 16, 0.16), rgba(10, 19, 16, 0.16));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 96px 32px;
    color: #f6f1e9;
}

.eyebrow {
    margin: 0 0 12px;
    font-size: clamp(1.05rem, 2.2vw, 1.65rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero .eyebrow {
    color: #bfe7da;
}

.hero h1,
.intro h2,
.details h2,
.page-hero h1,
.page-content h2,
.site-footer h2 {
    margin: 0;
    line-height: 1.05;
}

.hero h1 {
    font-size: clamp(2.7rem, 7vw, 5rem);
}

.page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.hero-copy,
.intro p,
.card p,
.details-copy p,
.site-footer p,
.site-footer a {
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-copy {
    max-width: 56ch;
    margin: 20px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
    background: #f6f1e9;
    color: #163e33;
}

.button-secondary {
    border: 1px solid rgba(246, 241, 233, 0.45);
    color: #f6f1e9;
    background: rgba(255, 255, 255, 0.08);
}

.intro,
.details,
.site-footer {
    padding: 24px 0 56px;
}

.section-heading {
    max-width: 820px;
}

.intro h2,
.details h2,
.page-content h2,
.site-footer h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.intro p {
    max-width: 72ch;
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 56px;
}

.card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(24, 47, 39, 0.06);
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 18px;
    font-weight: 700;
    color: var(--surface-strong);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.card h3 {
    margin: 0 0 12px;
    font-size: 1.4rem;
}

.card-illustration {
    position: absolute;
    top: 26px;
    right: 24px;
    width: 42px;
    height: auto;
    margin: 0;
    padding: 3px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 0 0 1px rgba(29, 107, 87, 0.08);
}

.card-with-illustration .card-badge {
    margin-bottom: 18px;
}

.card p,
.details-copy p,
.site-footer p,
.site-footer a {
    margin: 0;
    color: var(--muted);
}

.details {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.details-copy {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
}

.site-footer {
    padding-bottom: 64px;
}

.site-footer a {
    text-decoration: none;
    color: var(--accent-dark);
}

.page-hero {
    padding: 56px 0 28px;
}

.page-content {
    display: grid;
    gap: 18px;
    padding: 0 0 64px;
}

.page-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 25px rgba(24, 47, 39, 0.06);
}

.page-card p,
.page-card a,
.page-card li {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-card ul {
    display: grid;
    gap: 12px;
    padding-left: 20px;
    margin: 0;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 12px;
}

.contact-panel {
    padding: 32px;
    border: 2px solid #9fd2ff;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(229, 243, 255, 0.96), rgba(240, 248, 255, 0.94));
    box-shadow: 0 14px 32px rgba(86, 144, 196, 0.16);
}

.contact-card {
    padding: 24px 0;
    border-top: 1px solid rgba(17, 75, 122, 0.16);
}

.contact-card:first-child {
    padding-top: 0;
    border-top: 0;
}

.contact-card:last-child {
    padding-bottom: 0;
}

.contact-card-highlight h1 {
    margin: 0;
    color: #114b7a;
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    line-height: 1.15;
}

.contact-card h2 {
    margin: 0 0 16px;
    color: #14629d;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    letter-spacing: 0.01em;
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
}

.contact-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(20, 98, 157, 0.08);
}

.contact-list p {
    display: grid;
    gap: 4px;
    margin: 0;
    color: #35566f;
}

.contact-list span {
    color: #14629d;
    font-weight: 700;
}

.contact-list a {
    color: #24455d;
    font-size: 1.05rem;
    line-height: 1.7;
    text-decoration: none;
    word-break: break-word;
}

.privacy-panel {
    padding: 32px;
    border: 2px solid #9fd2ff;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(229, 243, 255, 0.96), rgba(240, 248, 255, 0.94));
    box-shadow: 0 14px 32px rgba(86, 144, 196, 0.16);
}

.privacy-panel h1 {
    margin: 0 0 28px;
    color: #114b7a;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
}

.privacy-section {
    padding: 22px 0;
    border-top: 1px solid rgba(17, 75, 122, 0.16);
}

.privacy-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.privacy-section-last {
    padding-bottom: 0;
}

.privacy-section h2 {
    margin: 0 0 10px;
    color: #14629d;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    letter-spacing: 0.01em;
}

.privacy-section p {
    margin: 0;
    color: #35566f;
    font-size: 1.05rem;
    line-height: 1.8;
}

.privacy-section p + p {
    margin-top: 12px;
}

.privacy-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 22px;
    color: #35566f;
}

.privacy-list li {
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .site-header,
    .intro,
    .cards,
    .details,
    .site-footer,
    .page-hero,
    .page-content {
        width: min(100%, calc(100% - 28px));
    }

    .hero {
        width: min(100%, calc(100% - 20px));
        min-height: 60vh;
    }

    .hero-content {
        max-width: 560px;
        padding: 72px 28px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 44px 0 22px;
    }
}

@media (max-width: 900px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        gap: 12px 16px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 72px 24px;
    }
}

@media (max-width: 640px) {
    .site-header,
    .intro,
    .cards,
    .details,
    .site-footer,
    .page-hero,
    .page-content {
        width: min(100%, calc(100% - 20px));
    }

    .hero {
        min-height: auto;
        margin-bottom: 28px;
        border-radius: 20px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 13vw, 3.3rem);
    }

    .hero-content {
        padding: 56px 18px;
    }

    .hero-actions,
    .page-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .intro,
    .details,
    .site-footer {
        padding: 18px 0 36px;
    }

    .page-hero {
        padding: 32px 0 18px;
    }

    .card,
    .details-copy,
    .page-card,
    .contact-panel,
    .privacy-panel {
        padding-left: 18px;
        padding-right: 18px;
        border-radius: 20px;
    }

    .card {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .card-illustration {
        top: 20px;
        right: 18px;
        width: 34px;
    }

    .hero-copy,
    .intro p,
    .card p,
    .details-copy p,
    .page-card p,
    .page-card a,
    .page-card li,
    .contact-list a,
    .privacy-section p,
    .privacy-list li,
    .site-footer p,
    .site-footer a {
        font-size: 1rem;
    }

    .privacy-panel {
        padding: 24px 20px;
    }

    .contact-panel {
        padding: 24px 20px;
    }

    .contact-item {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 14px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
    }

    .privacy-list {
        padding-left: 18px;
    }
}
