:root {
    --ink-900: #102030;
    --ink-700: #1f3a5a;
    --text: #1d3956;
    --paper: #fdf8f2;
    --mist: #f7fbff;
    --card: rgba(255, 255, 255, 0.9);
    --line: rgba(23, 49, 76, 0.16);
    --blue: #183a68;
    --blue-strong: #102030;
    --orange: #dd875e;
    --orange-strong: #bf6e49;
    --ok: #166534;
    --ok-bg: #dcfce7;
    --warn: #991b1b;
    --warn-bg: #fee2e2;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background:
        radial-gradient(circle at 11% 16%, rgba(221, 135, 94, 0.2), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(16, 32, 48, 0.16), transparent 30%),
        linear-gradient(160deg, #fffaf5 0%, #f5fbff 52%, #fdf8f2 100%);
    min-height: 100vh;
}

body::before,
body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

body::before {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    top: -120px;
    right: -90px;
    background: radial-gradient(circle, rgba(16, 32, 48, 0.22), rgba(16, 32, 48, 0));
}

body::after {
    width: 440px;
    height: 440px;
    border-radius: 50%;
    left: -130px;
    bottom: -170px;
    background: radial-gradient(circle, rgba(221, 135, 94, 0.2), rgba(221, 135, 94, 0));
}

a {
    color: var(--blue-strong);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 20px;
}

.container {
    width: min(1160px, 92vw);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 12;
    backdrop-filter: blur(10px);
    background: rgba(253, 248, 242, 0.84);
    border-bottom: 1px solid rgba(16, 32, 48, 0.13);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-900);
    flex-shrink: 0;
}

.brand-logo {
    width: clamp(165px, 18vw, 235px);
    height: auto;
    border-radius: 0;
}

.brand-tag {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange-strong);
    border-left: 2px solid rgba(221, 135, 94, 0.55);
    padding-left: 10px;
}

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

nav a {
    font-weight: 700;
    color: #17324f;
    opacity: 0.9;
    transition: transform 180ms ease, opacity 180ms ease, color 180ms ease;
}

nav a:hover {
    transform: translateY(-1px);
    opacity: 1;
    color: var(--orange-strong);
}

.hero {
    padding: 74px 0 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    align-items: center;
}

.hero-copy {
    animation: rise-in 720ms cubic-bezier(.2, .7, .2, 1) both;
}

.hero-media {
    position: relative;
    animation: fade-in 900ms ease 120ms both;
}

.hero-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    border-radius: 20px;
    z-index: -1;
    background: linear-gradient(140deg, rgba(221, 135, 94, 0.28), rgba(16, 32, 48, 0.24));
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(221, 135, 94, 0.14);
    color: var(--orange-strong);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 14px;
}

h1,
h2,
h3 {
    margin: 0 0 12px;
    line-height: 1.2;
    color: var(--ink-900);
}

h1 {
    font-family: "Sora", sans-serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

h2 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2.15rem);
    letter-spacing: -0.015em;
}

h3 {
    font-family: "Sora", sans-serif;
    font-size: 1.08rem;
}

p {
    margin: 0 0 12px;
    color: #2c4a67;
}

.section-lead {
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.quick-facts {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 9px;
}

.quick-facts li {
    position: relative;
    border-left: 4px solid rgba(221, 135, 94, 0.55);
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.56);
    color: #1d3e5d;
    font-weight: 600;
}

.btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

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

.btn:disabled {
    cursor: progress;
    opacity: 0.76;
    transform: none;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #1d3f6f 0%, #102030 82%);
    box-shadow: 0 10px 20px rgba(16, 32, 48, 0.28);
}

.btn-secondary {
    color: #5f331d;
    border-color: rgba(221, 135, 94, 0.45);
    background: rgba(255, 248, 242, 0.9);
}

.section {
    padding: 38px 0;
}

.region-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 26px;
    align-items: center;
}

.region-copy {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 238, 0.92));
    box-shadow: 0 14px 28px rgba(16, 32, 48, 0.1);
}

.region-photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.market-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.market-list span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(221, 135, 94, 0.14);
    border: 1px solid rgba(221, 135, 94, 0.28);
    color: #6a3c27;
    font-size: 0.84rem;
    font-weight: 700;
}

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

.card,
.panel {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 12px 24px rgba(16, 32, 48, 0.08);
    backdrop-filter: blur(4px);
}

.card {
    padding: 18px;
    transition: transform 230ms ease, box-shadow 230ms ease;
    animation: rise-in 620ms ease both;
}

.card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.card:nth-child(2) { animation-delay: 70ms; }
.card:nth-child(3) { animation-delay: 140ms; }
.card:nth-child(4) { animation-delay: 210ms; }
.card:nth-child(5) { animation-delay: 280ms; }
.card:nth-child(6) { animation-delay: 350ms; }

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(16, 32, 48, 0.14);
}

.panel {
    padding: 20px;
}

.section-banner {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-full {
    grid-column: 1 / -1;
}

label {
    font-size: 0.92rem;
    font-weight: 800;
    color: #153253;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #b9cad9;
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
    color: var(--ink-900);
    background: rgba(255, 255, 255, 0.94);
}

textarea {
    min-height: 102px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(221, 135, 94, 0.24);
    border-color: var(--orange-strong);
}

.fine {
    color: #4f6781;
    font-size: 0.86rem;
}

.alerts {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.alerts:empty {
    display: none;
}

.alert {
    border-radius: 12px;
    padding: 11px 13px;
    font-weight: 700;
}

.alert-success {
    background: var(--ok-bg);
    border: 1px solid #86efac;
    color: var(--ok);
}

.alert-error {
    background: var(--warn-bg);
    border: 1px solid #fca5a5;
    color: var(--warn);
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

footer {
    margin-top: 34px;
    border-top: 1px solid rgba(16, 32, 48, 0.14);
    background: rgba(255, 255, 255, 0.72);
    padding: 18px 0 28px;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 980px) {
    header {
        position: static;
    }

    .hero-grid,
    .region-grid,
    .cards,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 42px;
    }

    .section-banner {
        max-height: 210px;
    }

    .brand-tag {
        display: none;
    }

    .brand-logo {
        width: clamp(145px, 44vw, 200px);
    }
}

@media (max-width: 720px) {
    .header-row {
        align-items: flex-start;
        gap: 10px;
    }

    nav {
        width: 100%;
        justify-content: flex-start;
        row-gap: 8px;
    }
}
