:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --accent: #F59E0B;
    --accent-hover: #D97706;
    --bg: #F8FAFF;
    --bg-alt: #F0F4FF;
    --card-bg: #FFFFFF;
    --text: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-full: 999px;
    --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ═══════════ HEADER ═══════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
}
.logo-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 8px;
}
.logo-text {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.logo-text b { font-weight: 800; color: var(--text); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
    white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); }

.nav-links a.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
}
.nav-links a.header-cta:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════ HERO ═══════════ */
.hero {
    position: relative;
    padding: 96px 0 88px;
    overflow: hidden;
    background: var(--bg);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: image-set(
        url("img/bg/avif/bg_header.avif") type("image/avif"),
        url("img/bg/webp/bg_header.webp") type("image/webp"),
        url("img/bg/png/bg_header.png") type("image/png")
    ) center/cover no-repeat;
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(248,250,255,0.97) 0%,
        rgba(248,250,255,0.88) 35%,
        rgba(248,250,255,0.55) 60%,
        rgba(248,250,255,0.15) 80%,
        rgba(248,250,255,0) 100%
    );
    z-index: 1;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero-content {
    max-width: 560px;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(37,99,235,0.12);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.hero h1 {
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }
.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.hero-cta:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

/* ═══════════ SECTION TITLES ═══════════ */
.section-title {
    text-align: center;
    font-size: clamp(24px, 2.4vw, 36px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}
.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════ INFO SECTION ═══════════ */
.info-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}
.info-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: image-set(
        url("img/bg/avif/bg_offer.avif") type("image/avif"),
        url("img/bg/webp/bg_offer.webp") type("image/webp"),
        url("img/bg/png/bg_offer.png") type("image/png")
    ) center/cover no-repeat;
    z-index: 0;
}
.info-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(248,250,255,0.97) 0%,
        rgba(248,250,255,0.9) 38%,
        rgba(248,250,255,0.6) 62%,
        rgba(248,250,255,0.18) 85%,
        rgba(248,250,255,0) 100%
    );
    z-index: 1;
}
.info-section .container {
    position: relative;
    z-index: 2;
}
.info-content {
    max-width: 620px;
}
.info-content h2 {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
    text-transform: uppercase;
    margin-bottom: 24px;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-list li {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 16px;
    padding: 13px 0;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.5;
    color: var(--text);
    border-top: 1px solid rgba(0,0,0,0.07);
}
.info-list li:first-child { border-top: 0; }
.info-list li span { flex: 1; }
.info-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: opacity var(--transition), transform var(--transition);
}
.info-list li:hover .info-icon {
    opacity: 1;
    transform: scale(1.15);
}
.info-highlight {
    margin: 24px 0 0;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: var(--radius-sm);
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.15);
    color: var(--text-muted);
    backdrop-filter: blur(6px);
}

/* ═══════════ OFFER ═══════════ */
.offer {
    padding: 80px 0;
    background: var(--bg-alt);
}
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.offer-item {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.offer-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.offer-svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    padding: 8px;
    border-radius: 18px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: transform var(--transition);
}
.offer-item:hover .offer-svg { transform: scale(1.1); }


.offer-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}
.offer-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    text-align: center;
    flex: 1;
}
.offer-item .details {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    transition: color var(--transition);
}
.offer-item .details:hover { color: var(--primary-dark); text-decoration: underline; }

/* ═══════════ MODAL ═══════════ */
.modal-data { display: none; }
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.show { opacity: 1; visibility: visible; }
.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 520px;
    width: 92%;
    position: relative;
    transform: translateY(-16px) scale(0.97);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}
.modal.show .modal-content { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition);
    line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-body { display: flex; flex-direction: column; }
.modal-svg {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    padding: 6px;
    border-radius: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
}
.modal-content h3 {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: var(--text);
    margin-bottom: 12px;
}
.modal-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 16px 0 8px;
}
.modal-content p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin-bottom: 12px; }
.modal-content ul { padding: 0 0 0 20px; margin-bottom: 12px; }
.modal-content ul li { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin-bottom: 4px; }
.modal-btn {
    display: block;
    margin: 16px auto 0;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    width: fit-content;
    transition: background var(--transition);
}
.modal-btn:hover { background: var(--primary-dark); color: #fff; }

/* ═══════════ LIVING ═══════════ */
.living {
    padding: 80px 0;
    background: var(--bg);
}
.living-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.living-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.living-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.living-svg {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    padding: 6px;
    border-radius: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: transform var(--transition);
}
.living-item:hover .living-svg { transform: scale(1.1); }

.living-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ═══════════ WANT ═══════════ */
.want {
    padding: 80px 0;
    background: var(--bg-alt);
}
.want-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.want-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.want-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.want-svg {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    padding: 6px;
    border-radius: 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: transform var(--transition);
}
.want-card:hover .want-svg { transform: scale(1.1); }

.want-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}
.want-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.want-description {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 28px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
}
.want-slider {
    display: flex;
    animation: slideText 18s ease-in-out infinite;
}
.want-slider p {
    flex: 0 0 100%;
    margin: 0;
    padding: 0 20px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}
@keyframes slideText {
    0%, 30%   { transform: translateX(0); }
    33%, 63%  { transform: translateX(-100%); }
    66%, 96%  { transform: translateX(-200%); }
    100%      { transform: translateX(0); }
}

/* ═══════════ RESPONSIBILITIES ═══════════ */
.responsibilities {
    padding: 80px 0;
    background: var(--bg);
}
.resp-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.resp-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: 28px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.resp-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.resp-hero {
    border-radius: 12px;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.resp-hero.i1 { background-image: image-set(url("img/5. Responsibilities/avif/1.avif") type("image/avif"), url("img/5. Responsibilities/webp/1.webp") type("image/webp"), url("img/5. Responsibilities/png/1.png") type("image/png")); }
.resp-hero.i2 { background-image: image-set(url("img/5. Responsibilities/avif/2.avif") type("image/avif"), url("img/5. Responsibilities/webp/2.webp") type("image/webp"), url("img/5. Responsibilities/png/2.png") type("image/png")); }
.resp-hero.i3 { background-image: image-set(url("img/5. Responsibilities/avif/3.avif") type("image/avif"), url("img/5. Responsibilities/webp/3.webp") type("image/webp"), url("img/5. Responsibilities/png/3.png") type("image/png")); }

.resp-copy h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.3;
}
.resp-copy p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}
.resp-description {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 28px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
}
.resp-slider {
    display: flex;
    animation: slideRespText 21s ease-in-out infinite;
}
.resp-slider p {
    flex: 0 0 100%;
    margin: 0;
    padding: 0 20px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}
@keyframes slideRespText {
    0%, 30%   { transform: translateX(0); }
    33%, 63%  { transform: translateX(-100%); }
    66%, 96%  { transform: translateX(-200%); }
    100%      { transform: translateX(0); }
}

/* ═══════════ APPLICATION ═══════════ */
.apply-section {
    padding: 80px 0;
    background: linear-gradient(160deg, #EFF6FF 0%, #DBEAFE 50%, #F0F4FF 100%);
}
.apply-center {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.apply-center--wide {
    max-width: 780px;
}
.steps {
    text-align: left;
    margin: 28px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(37,99,235,0.15));
    border-radius: 2px;
}
.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    position: relative;
}
.step-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: 50%;
    border: 2px solid var(--border);
    z-index: 1;
}
.step-icon svg {
    width: 24px;
    height: 24px;
}
.step-body {
    flex: 1;
    min-width: 0;
    position: relative;
}
.step-num {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
}
.step-body p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}
.steps-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
    text-align: left;
    margin-bottom: 28px;
}
.apply-main { display: none; }
.apply-main.active { display: block; }

.apply-center h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
}
.apply-lead {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}
.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.btn-telegram:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}
.btn-telegram svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ═══════════ REVIEWS ═══════════ */
.reviews {
    padding: 72px 0;
    background: var(--bg);
}
.reviews-slider {
    position: relative;
    overflow: hidden;
    margin-top: 36px;
}
.reviews-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
    gap: 24px;
}
.review-card {
    flex: 0 0 100%;
    max-width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}
.review-card:hover {
    box-shadow: var(--shadow-md);
}
.review-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border);
}
.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-avatar--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.review-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.review-info {
    font-size: 13px;
    color: var(--text-muted);
}
.review-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text);
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}
.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}
.reviews-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.reviews-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(37,99,235,.15);
}
.reviews-btn svg {
    width: 20px;
    height: 20px;
}
.reviews-dots {
    display: flex;
    gap: 8px;
}
.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all var(--transition);
}
.reviews-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}
.reviews-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding: 14px 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) {
    .review-card {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}
@media (min-width: 1025px) {
    .review-card {
        flex: 0 0 calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
    }
    .reviews-nav { display: none; }
}

/* ═══════════ FOOTER ═══════════ */
.site-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 40px 0 32px;
}
.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}
.footer-brand {
    max-width: 360px;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 14px;
}
.footer-logo .logo-icon { width: 32px; height: 32px; }
.footer-logo .logo-text { font-size: 16px; }
.footer-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.55;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px 48px;
}
.footer-links .col {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

/* Apply help link */
.apply-help-link {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}
.apply-help-link:hover {
    color: var(--primary);
}

/* ═══════════ SIMPLE PAGE ═══════════ */
.simple_page {
    margin-top: 40px;
    padding: 30px;
}

/* ═══════════ HELP PAGE ═══════════ */
.help-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.help-card h1 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}
.help-lead {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.help-block {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.help-block:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 32px;
}
.help-block h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
.help-block p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}
.help-block ul, .help-block ol {
    padding-left: 20px;
    margin: 8px 0;
}
.help-block li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 6px;
}
.help-block a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.help-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.help-back {
    font-size: 14px;
    color: var(--text-muted);
}
.help-back:hover {
    color: var(--primary);
}

/* ═══════════ RESPONSIVENESS ═══════════ */
@media (max-width: 1024px) {
    .offer-grid { grid-template-columns: repeat(2, 1fr); }
    .living-grid { grid-template-columns: repeat(2, 1fr); }
    .resp-row { grid-template-columns: 240px 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .burger { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        box-shadow: var(--shadow-md);
        gap: 4px;
    }
    .nav-links.open a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open a:last-child { border-bottom: none; }
    .nav-links.open .header-cta {
        margin-top: 8px;
        text-align: center;
        justify-content: center;
    }

    .hero { padding: 56px 0 48px; }
    .hero::after {
        background: linear-gradient(
            to bottom,
            rgba(248,250,255,0.92) 0%,
            rgba(248,250,255,0.75) 50%,
            rgba(248,250,255,0.55) 100%
        );
    }
    .hero-content { max-width: 100%; }

    .info-section::after {
        background: linear-gradient(
            to bottom,
            rgba(248,250,255,0.93) 0%,
            rgba(248,250,255,0.78) 50%,
            rgba(248,250,255,0.6) 100%
        );
    }
    .info-content { max-width: 100%; }

    .want-grid { grid-template-columns: 1fr; }

    .resp-row { grid-template-columns: 1fr; }
    .resp-hero { order: 1; }
    .resp-copy { order: 2; }

    .footer-inner { flex-direction: column; }
    .footer-links { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 640px) {
    .offer-grid { grid-template-columns: 1fr; }
    .living-grid { grid-template-columns: 1fr; }

    .hero h1 { font-size: 24px; }
    .hero-sub { font-size: 15px; }

    .want-card { padding: 14px 16px; gap: 14px; }
    .want-svg { width: 44px; height: 44px; border-radius: 12px; }
    .want-text h3 { font-size: 14px; }
    .want-text p { font-size: 12px; }

    .apply-center { padding: 28px 20px; }
    .steps::before { left: 23px; }
    .step-num { position: static; margin-bottom: 4px; }
    .step-body h4 { font-size: 14px; }
    .section-title { font-size: 22px; }
}
