/* ========================================================================
   KOLOR GARDEN — Landing page
   ======================================================================== */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: #1f2937;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout container ---------- */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Reusable: rainbow gradient ---------- */
:root {
    --gradient-rainbow: linear-gradient(90deg, #34d399 0%, #22d3ee 18%, #3b82f6 36%, #a855f7 56%, #ec4899 76%, #f59e0b 100%);
    --gradient-button: linear-gradient(90deg, #3b82f6 0%, #a855f7 35%, #ec4899 65%, #f59e0b 100%);
    --gradient-divider: linear-gradient(90deg, #3b82f6 0%, #a855f7 35%, #ec4899 65%, #f59e0b 100%);
    --text-dark: #1f2937;
    --text-mid: #4b5563;
    --text-soft: #6b7280;
    --border-soft: #e5e7eb;
    --bg-soft: #f3f4f6;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
}

.btn--gradient {
    background: var(--gradient-button);
    box-shadow: 0 8px 22px rgba(168, 85, 247, 0.28);
    width: 100%;
}

.btn--gradient:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(168, 85, 247, 0.36);
}

/* =======================================================================
   HERO
   ======================================================================= */
.hero {
    position: relative;
    overflow: hidden;
    background: #f5f3ee;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(255,255,255,0.6) 78%, rgba(255,255,255,0.92) 100%),
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 38%, rgba(255,255,255,0.55) 55%, rgba(255,255,255,0.05) 75%);
    z-index: 1;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 56px;
    min-height: 720px;
}

.hero__content { padding-right: 16px; }

.hero__logo {
    display: inline-block;
    margin-bottom: 36px;
}
.hero__logo img {
    width: 240px;
    height: auto;
}

.hero__title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    color: #111827;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}

.hero__br {
    display: block;
}

.hero__subtitle {
    font-size: 16px;
    color: var(--text-mid);
    margin: 0 0 40px;
    line-height: 1.6;
}

/* hero feature row */
.hero__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.feature__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9));
}
.feature__icon svg { width: 100%; height: 100%; }
.feature__icon svg [stroke] { stroke-width: 2.6; }

.feature__text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: #111827;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

/* hero form */
.hero__form-wrap {
    display: flex;
    justify-content: flex-end;
}

.form-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    padding: 32px 32px 28px;
    box-shadow: 0 25px 60px -20px rgba(15, 23, 42, 0.22), 0 8px 20px -10px rgba(15, 23, 42, 0.12);
}

.form-card__title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}

.form-card__subtitle {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-soft);
    margin: 0 0 24px;
}

.form-field { margin-bottom: 16px; }
.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}
.form-field input {
    width: 100%;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    font-size: 14px;
    color: var(--text-dark);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder { color: #9ca3af; }
.form-field input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

/* checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0 22px;
    font-size: 13px;
    color: var(--text-mid);
    cursor: pointer;
    user-select: none;
}
.form-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.form-checkbox__box {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    margin-top: 1px;
    position: relative;
    transition: all 0.15s ease;
}
.form-checkbox input:checked + .form-checkbox__box {
    background: #a855f7;
    border-color: #a855f7;
}
.form-checkbox input:checked + .form-checkbox__box::after {
    content: '';
    position: absolute;
    left: 4px; top: 0px;
    width: 5px; height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.form-checkbox__text { line-height: 1.45; }
.link {
    color: #a855f7;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Honeypot field — invisible to real users */
.form-field--hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* form error highlight */
.form-field input.is-invalid,
.form-checkbox input.is-invalid + .form-checkbox__box {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 14px 16px;
    border-radius: 10px;
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
}

/* =======================================================================
   HIGHLIGHT (rainbow gradient) section
   ======================================================================= */
.highlight {
    background: var(--gradient-rainbow);
    color: #fff;
    padding: 56px 0 72px;
    position: relative;
    overflow: hidden;
}

.highlight__container {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.highlight__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 18px;
    letter-spacing: -0.4px;
}

.highlight__text {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255,255,255,0.95);
}

/* stat cards row */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 18px 24px;
    text-align: center;
    color: var(--text-dark);
    box-shadow: 0 12px 30px -16px rgba(15, 23, 42, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 170px;
    justify-content: flex-start;
}
.stat-card__icon {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.stat-card__icon svg { width: 100%; height: 100%; }
.stat-card__label {
    font-size: 12.5px;
    color: var(--text-soft);
    line-height: 1.4;
}
.stat-card__value {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-top: auto;
}

/* =======================================================================
   DISTRICT
   ======================================================================= */
.district {
    background: #fff;
    padding: 72px 0 80px;
}

.district__title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
}

.district__divider {
    width: 180px;
    height: 3px;
    margin: 0 auto 22px;
    background: var(--gradient-divider);
    border-radius: 3px;
}

.district__lead {
    text-align: center;
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.65;
    margin: 0 auto 44px;
    max-width: 820px;
}

.district__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    display: flex;
    flex-direction: column;
}
.card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px -10px rgba(15, 23, 42, 0.25);
}
.card__title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}
.card__text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-mid);
    margin: 0;
}

/* =======================================================================
   INVESTOR / KV
   ======================================================================= */
.investor {
    background: #f4f4f3;
    padding: 64px 0 64px;
}

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

.investor__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-soft);
    margin-bottom: 12px;
}

.investor__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin: 0 0 18px;
    letter-spacing: -0.3px;
}

.investor__lead {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-mid);
    margin: 0 0 28px;
    max-width: 540px;
}

.investor__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ifeature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.ifeature__icon {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
}
.ifeature__icon svg { width: 100%; height: 100%; }
.ifeature__text {
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--text-mid);
}

.investor__image {
    width: 100%;
    height: 360px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    box-shadow: 0 14px 36px -16px rgba(15, 23, 42, 0.28);
}

/* =======================================================================
   CTA banner
   ======================================================================= */
.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 70px 0 90px;
}
.cta__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    z-index: 0;
}
.cta__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.45) 0%, rgba(15,23,42,0.55) 100%);
    z-index: 1;
}
.cta__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.cta__title {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.3px;
}
.cta__text {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255,255,255,0.92);
    max-width: 720px;
}
.cta .btn--gradient {
    width: auto;
    min-width: 280px;
    margin-top: 8px;
}

/* =======================================================================
   SUBPAGE HEADER (adatkezelesi, koszono)
   ======================================================================= */
.subheader {
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
}
.subheader__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.subheader__logo img {
    height: 56px;
    width: auto;
    display: block;
}
.subheader__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
    transition: color 0.15s ease;
}
.subheader__back:hover { color: #a855f7; }
.subheader__back svg { width: 18px; height: 18px; }

/* =======================================================================
   PAGE HERO (banner above legal text)
   ======================================================================= */
.page-hero {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    padding: 56px 0 28px;
    text-align: center;
    position: relative;
}
.page-hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #a855f7;
    margin-bottom: 14px;
}
.page-hero__title {
    font-size: 38px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}
.page-hero__lead {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.6;
    margin: 0;
}
.page-hero__divider {
    width: 180px;
    height: 3px;
    margin: 28px auto 0;
    background: var(--gradient-divider);
    border-radius: 3px;
}

/* =======================================================================
   LEGAL CONTENT
   ======================================================================= */
.legal {
    padding: 48px 0 72px;
    background: #fff;
}
.legal__container {
    max-width: 860px;
}
.legal__block {
    margin-bottom: 40px;
}
.legal__block h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-soft);
    letter-spacing: -0.2px;
    position: relative;
}
.legal__block h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 56px;
    height: 2px;
    background: var(--gradient-divider);
}
.legal__block h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 24px 0 12px;
}
.legal__block p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-mid);
    margin: 0 0 14px;
}
.legal__list {
    margin: 0 0 16px;
    padding-left: 0;
}
.legal__list li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-mid);
    margin-bottom: 8px;
}
.legal__list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-button);
}

/* details (key/value) */
.legal__details {
    display: grid;
    grid-template-columns: minmax(140px, max-content) 1fr;
    gap: 8px 24px;
    margin: 12px 0 18px;
    background: var(--bg-soft);
    padding: 18px 22px;
    border-radius: 10px;
}
.legal__details dt {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}
.legal__details dd {
    margin: 0;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.5;
}
.legal__details a {
    color: #a855f7;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal__note {
    font-size: 13px;
    color: var(--text-soft);
    font-style: italic;
}

/* tables */
.legal__table-wrap {
    overflow-x: auto;
    margin: 0 0 18px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
}
.legal__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.legal__table thead {
    background: var(--bg-soft);
}
.legal__table th {
    text-align: left;
    padding: 12px 14px;
    font-weight: 700;
    color: #111827;
    border-bottom: 1px solid var(--border-soft);
    font-size: 13px;
}
.legal__table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-mid);
    line-height: 1.55;
    vertical-align: top;
}
.legal__table tr:last-child td { border-bottom: none; }
.legal__table a {
    color: #a855f7;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.legal__effective {
    margin-top: 18px;
    font-weight: 600;
    color: #111827;
}
.legal__signature {
    font-weight: 700;
    color: #111827;
    margin-top: 8px;
}

.legal__back {
    text-align: center;
    margin-top: 48px;
}
.legal__back .btn--gradient {
    width: auto;
    min-width: 280px;
}

/* =======================================================================
   THANK YOU PAGE
   ======================================================================= */
.thanks-body {
    background: linear-gradient(180deg, #fafafa 0%, #f4f4f3 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.thanks {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 0 72px;
}
.thanks__container {
    display: flex;
    justify-content: center;
}
.thanks__card {
    background: #fff;
    border-radius: 20px;
    padding: 56px 48px;
    max-width: 580px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 56px -22px rgba(15, 23, 42, 0.22), 0 8px 18px -10px rgba(15, 23, 42, 0.10);
    border: 1px solid #f1f1f0;
}
.thanks__icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
}
.thanks__icon svg { width: 100%; height: 100%; }
.thanks__title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px;
    letter-spacing: -0.4px;
}
.thanks__text {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.65;
    margin: 0 0 32px;
}

.thanks__contact {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 22px 24px;
    text-align: left;
    margin-bottom: 32px;
}
.thanks__contact-title {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
    text-align: center;
    letter-spacing: 0.3px;
}
.thanks__contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.thanks__contact-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    flex-wrap: wrap;
}
.thanks__contact-name {
    color: var(--text-soft);
    font-weight: 500;
}
.thanks__contact-list a {
    color: #111827;
    font-weight: 600;
    transition: color 0.15s ease;
}
.thanks__contact-list a:hover { color: #a855f7; }

.thanks__cta {
    width: auto;
    min-width: 280px;
}

/* =======================================================================
   FOOTER
   ======================================================================= */
.footer {
    background: #1c2533;
    color: #cbd5e1;
    padding: 22px 0;
    font-size: 12.5px;
}
.footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
}
.footer__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer__social svg {
    width: 100%;
    height: 100%;
}
.footer__social:hover {
    color: #1877f2;
    transform: scale(1.12);
}
.footer__logo {
    height: 32px;
    width: auto;
    display: block;
}
.footer__contact {
    display: flex;
    gap: 22px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}
.footer__contact li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    white-space: nowrap;
}
.footer__contact a {
    color: #fff;
    transition: color 0.15s ease;
}
.footer__contact a:hover { color: #a855f7; }
.footer__contact-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.footer__name {
    color: #94a3b8;
    font-weight: 500;
}
.footer__icon {
    width: 16px; height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer__icon svg { width: 100%; height: 100%; }

/* =======================================================================
   RESPONSIVE
   ======================================================================= */
@media (max-width: 1024px) {
    .footer { font-size: 12px; }
    .footer__contact { gap: 16px; }

    .hero__container {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 48px;
        gap: 36px;
    }
    .hero__content { padding-right: 0; }
    .hero__overlay {
        background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 60%, rgba(255,255,255,0.78) 100%);
    }
    .hero__form-wrap { justify-content: center; }
    .form-card { max-width: 520px; }

    .highlight__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .investor__container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .investor__image { height: 280px; }
    .investor__lead { max-width: 100%; }

    .district__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ---------- TABLET / SMALL DESKTOP ---------- */
@media (max-width: 820px) {
    .container { padding: 0 24px; }

    .hero__container {
        text-align: center;
        padding-top: 36px;
        padding-bottom: 44px;
        gap: 32px;
    }
    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero__logo {
        margin: 0 auto 28px;
        display: block;
        text-align: center;
    }
    .hero__logo img {
        margin: 0 auto;
        width: 220px;
    }
    .hero__title { font-size: 34px; }
    .hero__subtitle { margin-bottom: 32px; }
    .hero__subtitle br { display: none; }

    .hero__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 16px;
        max-width: 460px;
        margin: 0 auto;
    }
    .feature {
        align-items: center;
        text-align: center;
    }
    .feature__text br { display: none; }

    .investor__container { text-align: center; }
    .investor__lead { margin-left: auto; margin-right: auto; }
    .investor__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 16px;
        max-width: 460px;
        margin: 0 auto;
    }
    .ifeature {
        align-items: center;
        text-align: center;
    }
    .ifeature__text br { display: none; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 560px) {
    .container { padding: 0 20px; }

    /* HERO */
    .hero__container {
        padding-top: 32px;
        padding-bottom: 40px;
        gap: 28px;
    }
    .hero__logo { margin-bottom: 20px; }
    .hero__logo img { width: 190px; }
    .hero__title {
        font-size: 28px;
        margin-bottom: 14px;
    }
    .hero__br { display: inline; }
    .hero__subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }
    .hero__features { gap: 22px 14px; }

    /* FORM */
    .form-card {
        padding: 26px 22px 24px;
        border-radius: 14px;
    }
    .form-card__title { font-size: 22px; }
    .form-card__subtitle { margin-bottom: 20px; }

    /* HIGHLIGHT */
    .highlight {
        padding: 44px 0 48px;
        text-align: center;
    }
    .highlight__container { gap: 28px; }
    .highlight__title {
        font-size: 26px;
        margin-bottom: 14px;
    }
    .highlight__text {
        font-size: 14.5px;
    }
    .highlight__text br { display: none; }
    .stats {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .stat-card {
        min-height: 0;
        padding: 22px 18px;
    }
    .stat-card__value br { display: none; }

    /* DISTRICT */
    .district { padding: 48px 0 56px; }
    .district__title { font-size: 24px; }
    .district__lead {
        font-size: 14.5px;
        margin-bottom: 32px;
    }
    .district__lead br { display: none; }
    .district__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* INVESTOR */
    .investor { padding: 48px 0; }
    .investor__eyebrow { margin-bottom: 10px; }
    .investor__title { font-size: 22px; }
    .investor__title br { display: none; }
    .investor__lead { font-size: 14px; margin-bottom: 28px; }
    .investor__image { height: 220px; }

    /* CTA */
    .cta { padding: 52px 0 60px; }
    .cta__title { font-size: 24px; }
    .cta__text {
        font-size: 14.5px;
    }
    .cta__text br { display: none; }
    .cta .btn--gradient {
        min-width: 0;
        width: 100%;
        max-width: 320px;
    }

    /* FOOTER */
    .footer { padding: 26px 0; }
    .footer__container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer__brand { justify-content: center; }
    .footer__contact {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer__contact-text { justify-content: center; }

    /* SUBHEADER */
    .subheader { padding: 14px 0; }
    .subheader__logo img { height: 44px; }
    .subheader__back { font-size: 12px; }
    .subheader__back svg { width: 16px; height: 16px; }

    /* PAGE HERO */
    .page-hero { padding: 40px 0 20px; }
    .page-hero__title { font-size: 28px; }
    .page-hero__lead { font-size: 14px; }
    .page-hero__lead br { display: none; }
    .page-hero__divider { margin-top: 22px; width: 140px; }

    /* LEGAL */
    .legal { padding: 36px 0 56px; }
    .legal__block { margin-bottom: 32px; }
    .legal__block h2 { font-size: 19px; }
    .legal__block p,
    .legal__list li { font-size: 14px; }
    .legal__details {
        grid-template-columns: 1fr;
        gap: 4px 0;
        padding: 16px 18px;
    }
    .legal__details dt { margin-top: 6px; }
    .legal__details dt:first-child { margin-top: 0; }
    .legal__table { font-size: 12.5px; }
    .legal__table th,
    .legal__table td { padding: 10px 12px; }
    .legal__back { margin-top: 32px; }
    .legal__back .btn--gradient { min-width: 0; width: 100%; }

    /* THANKS */
    .thanks { padding: 32px 0 48px; }
    .thanks__card {
        padding: 40px 28px;
        border-radius: 16px;
    }
    .thanks__icon { width: 80px; height: 80px; margin-bottom: 18px; }
    .thanks__title { font-size: 26px; }
    .thanks__text { font-size: 14.5px; margin-bottom: 24px; }
    .thanks__contact { padding: 18px 16px; }
    .thanks__contact-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .thanks__cta { min-width: 0; width: 100%; }
}

@media (max-width: 380px) {
    .hero__title { font-size: 26px; }
    .form-card__title { font-size: 20px; }
    .hero__features {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}
