/* ═══════════════════════════════════════════
   ÅHUS GLÄNTAN – Design System & Global Styles
   Warm Scandinavian Real Estate Landing Page
   ═══════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    /* Colors */
    --bg-primary: #F9F8F6;
    --bg-white: #FFFFFF;
    --brand: #2F4F3D;
    --brand-dark: #243D2F;
    --brand-light: #3A6A4F;
    --accent: #C4A484;
    --accent-light: #D4BC9E;
    --text: #1F1F1F;
    --subtext: #666666;
    --text-light: #999999;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-pad: 100px;
    --section-pad-mobile: 60px;

    /* Shadows */
    --shadow-card: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-card-hover: 0 8px 40px rgba(0,0,0,0.10);
    --shadow-header: 0 1px 20px rgba(0,0,0,0.08);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--brand);
    color: #fff;
    padding: 14px 32px;
}
.btn-primary:hover {
    background-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47,79,61,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--brand);
    padding: 12px 28px;
    border: 2px solid var(--brand);
}
.btn-outline:hover {
    background-color: var(--brand);
    color: #fff;
    transform: translateY(-2px);
}

.btn-header {
    background-color: var(--brand);
    color: #fff;
    padding: 10px 24px;
    font-size: 0.85rem;
}
.btn-header:hover {
    background-color: var(--brand-dark);
    transform: translateY(-1px);
}

.btn-full { width: 100%; }

.btn-lg {
    padding: 18px 48px;
    font-size: 1.05rem;
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-header h2 {
    color: var(--text);
    margin-bottom: 12px;
}
.section-sub {
    color: var(--subtext);
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto;
}


/* ═══════════════════════════════════════════
   STICKY HEADER
   ═══════════════════════════════════════════ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
}
#site-header.scrolled {
    background-color: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--shadow-header);
}
.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.4s var(--ease);
}
#site-header.scrolled .logo {
    color: var(--text);
}
#site-header.scrolled .btn-header {
    background-color: var(--brand);
}


/* ═══════════════════════════════════════════
   SECTION 1: HERO
   ═══════════════════════════════════════════ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://b0moh5.webwave.dev/lib/b0moh5/Moderna-bostadsratter-med-villakansla-mm0ujv9c.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(31,31,31,0.72) 0%,
        rgba(47,79,61,0.55) 50%,
        rgba(31,31,31,0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    max-width: 1140px;
    width: 100%;
    padding: 120px 24px 80px;
}

.hero-text {
    color: #fff;
}

.hero-headline {
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-price {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 16px 24px;
}
.hero-price .price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.price-deposit {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.15);
    letter-spacing: 0.01em;
}
.price-deposit-note {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    margin-top: 2px;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196,164,132,0.2);
    border: 1px solid rgba(196,164,132,0.4);
    border-radius: 20px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.hero-badge-pill i {
    color: var(--accent-light);
    font-size: 0.85rem;
}
.price-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.price-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

/* ── Hero Form Card ── */
.form-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
    position: relative;
}
.form-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text);
    margin-bottom: 24px;
    text-align: center;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--subtext);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #E0DDD8;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-primary);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-group input::placeholder {
    color: var(--text-light);
}
.form-group input:focus,
.form-group select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(47,79,61,0.1);
}
.form-group input.input-error {
    border-color: #D32F2F;
    box-shadow: 0 0 0 3px rgba(211,47,47,0.08);
}
.error-msg {
    display: block;
    font-size: 0.78rem;
    color: #D32F2F;
    margin-top: 4px;
    min-height: 0;
    opacity: 0;
    transition: opacity 0.2s;
}
.error-msg.visible {
    opacity: 1;
}

.btn-full {
    margin-top: 8px;
    position: relative;
}
.btn-loader {
    display: none;
}
.btn.loading .btn-text {
    opacity: 0;
}
.btn.loading .btn-loader {
    display: flex;
    position: absolute;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* Form Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}
.form-success.show {
    display: block;
    animation: fadeUp 0.5s var(--ease) forwards;
}
.success-icon {
    font-size: 3rem;
    color: var(--brand);
    margin-bottom: 16px;
}
.form-success h4 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 8px;
}
.form-success p {
    color: var(--subtext);
    font-size: 0.95rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}
.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}


/* ═══════════════════════════════════════════
   SECTION: FEELING (Emotional)
   ═══════════════════════════════════════════ */
#feeling {
    background: var(--bg-primary);
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.feeling-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Image Side */
.feeling-image {
    position: relative;
}

.feeling-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 56px rgba(0,0,0,0.10);
}
.feeling-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(196,164,132,0.2);
    z-index: 1;
    pointer-events: none;
}
.feeling-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}
.feeling-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Decorative dot accent behind image */
.feeling-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.3;
    z-index: -1;
    border-radius: 8px;
}

/* Text Side */
.feeling-text {
    padding: 12px 0;
}

.feeling-text .section-tag {
    margin-bottom: 16px;
}

.feeling-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    color: var(--text);
    margin-bottom: 28px;
    line-height: 1.2;
    font-style: italic;
    font-weight: 500;
}

.feeling-text p {
    color: var(--subtext);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 20px;
}
.feeling-text p:last-of-type {
    margin-bottom: 32px;
}

/* Key accent element */
.feeling-accent {
    display: flex;
    align-items: center;
    gap: 16px;
}
.accent-line {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.feeling-accent i {
    color: var(--accent);
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Feeling section animations */
.feeling-image {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.feeling-image.visible {
    opacity: 1;
    transform: translateX(0);
}
.feeling-text {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s 0.15s var(--ease), transform 0.9s 0.15s var(--ease);
}
.feeling-text.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Feeling Responsive: Tablet ── */
@media (max-width: 992px) {
    .feeling-grid {
        gap: 44px;
    }
}

/* ── Feeling Responsive: Mobile ── */
@media (max-width: 640px) {
    .feeling-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .feeling-image {
        order: -1;
    }
    .feeling-image::before {
        display: none;
    }
    .feeling-img-wrapper {
        border-radius: 12px;
    }
    .feeling-text h2 {
        font-size: 1.7rem;
    }
    .feeling-text p {
        font-size: 0.98rem;
    }
}


/* ═══════════════════════════════════════════
   SECTION 2: VISION
   ═══════════════════════════════════════════ */
#vision {
    background-color: var(--brand);
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}
#vision::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
#vision::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.vision-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.vision-deco {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0.7;
}
#vision h2 {
    color: var(--bg-primary);
    margin-bottom: 28px;
    font-size: clamp(2rem, 4.5vw, 3rem);
}
.vision-text {
    color: rgba(249,248,246,0.85);
    font-size: 1.12rem;
    line-height: 1.85;
    margin-bottom: 40px;
}
.vision-signature {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 0.5px;
}


/* ═══════════════════════════════════════════
   SECTION 3: APARTMENTS
   ═══════════════════════════════════════════ */
#apartments {
    background: var(--bg-primary);
    padding: var(--section-pad) 0;
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.apt-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s var(--ease);
    position: relative;
    border: 1.5px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.apt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent-light);
}
.apt-card-featured {
    border-color: var(--brand);
    box-shadow: 0 4px 24px rgba(47,79,61,0.12);
}

/* FOMO tag */
.apt-fomo {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(196,164,132,0.15);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(196,164,132,0.3);
    z-index: 2;
}

/* Image placeholder */
.apt-img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(47,79,61,0.06), rgba(196,164,132,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--brand);
    opacity: 0.35;
    position: relative;
}

/* Card body */
.apt-body {
    padding: 28px 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.apt-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.apt-card h3 {
    color: var(--text);
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.apt-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--subtext);
    margin-bottom: 12px;
    font-weight: 500;
}
.apt-meta-sep {
    color: var(--text-light);
}

.apt-price-tag {
    font-size: 1rem;
    color: var(--brand);
    margin-bottom: 16px;
}
.apt-price-tag strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.apt-desc {
    color: var(--subtext);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.65;
    flex: 1;
}

/* Kontantinsats highlight */
.apt-deposit {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(47,79,61,0.06);
    border: 1px solid rgba(47,79,61,0.12);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
}
.apt-deposit i {
    color: var(--brand);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.apt-deposit span {
    font-size: 0.82rem;
    color: var(--brand);
    line-height: 1.4;
}
.apt-deposit strong {
    font-weight: 700;
}

/* Mini savings bar chart */
.apt-mini-chart {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}
.mini-bar-row {
    display: grid;
    grid-template-columns: 90px 1fr 60px;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.mini-bar-row:last-of-type {
    margin-bottom: 0;
}
.mini-bar-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--subtext);
    white-space: nowrap;
}
.mini-bar-track {
    height: 14px;
    background: #EEECEA;
    border-radius: 7px;
    overflow: hidden;
}
.mini-bar-fill {
    height: 100%;
    border-radius: 7px;
    width: 0;
    transition: width 1.2s var(--ease);
}
.mini-bar-green {
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
}
.mini-bar-grey {
    background: linear-gradient(90deg, #9E9E9E, #BDBDBD);
}
.mini-bar-val {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--subtext);
    text-align: right;
    white-space: nowrap;
}
.mini-bar-val.green {
    color: var(--brand);
}
.mini-savings {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #E0DDD8;
}
.mini-savings i {
    font-size: 0.7rem;
    margin-right: 4px;
}

/* Pricing Disclaimer */
.pricing-disclaimer {
    text-align: center;
    font-size: 0.72rem;
    color: #888888;
    margin-top: 28px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* ═══════════════════════════════════════════
   SECTION: INTERIOR & STANDARD
   ═══════════════════════════════════════════ */
#interior {
    background: var(--bg-white);
    padding: var(--section-pad) 0;
}

.interior-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Text Side */
.interior-text .section-tag {
    margin-bottom: 16px;
}

.interior-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.2;
}

.interior-text > p {
    color: var(--subtext);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 28px;
}

.interior-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.interior-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--text);
}
.interior-features li i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(47,79,61,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Image Side */
.interior-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,0.08);
}

.interior-img-placeholder {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, rgba(47,79,61,0.05), rgba(196,164,132,0.08));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-light);
}
.interior-img-placeholder i {
    font-size: 3rem;
    opacity: 0.3;
}
.interior-img-placeholder span {
    font-size: 0.82rem;
    opacity: 0.5;
}

/* Interior animations */
.interior-text {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.interior-text.visible {
    opacity: 1;
    transform: translateX(0);
}
.interior-image {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s 0.15s var(--ease), transform 0.9s 0.15s var(--ease);
}
.interior-image.visible {
    opacity: 1;
    transform: translateX(0);
}


/* ═══════════════════════════════════════════
   SECTION: PROCESS (Steg för steg)
   ═══════════════════════════════════════════ */
#process {
    background: var(--bg-primary);
    padding: var(--section-pad) 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 40px 28px 36px;
    position: relative;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s var(--ease);
}
.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

/* Connector line between steps */
.step-connector {
    position: absolute;
    top: 65px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--accent-light);
    z-index: 1;
}

.process-step h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--subtext);
    font-size: 0.9rem;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════
   SECTION 4: CALCULATION
   ═══════════════════════════════════════════ */
#calculation {
    background: var(--bg-primary);
    padding: var(--section-pad) 0;
    padding-top: 20px;
}

.calc-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 48px;
    box-shadow: var(--shadow-card);
    max-width: 800px;
    margin: 0 auto;
}

.bar-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.bar-item {}

.bar-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--subtext);
    margin-bottom: 10px;
}

.bar-track {
    background: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    height: 56px;
}

.bar-fill {
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    width: 0;
    transition: width 1.5s var(--ease);
    position: relative;
}

.bar-grey {
    background: linear-gradient(135deg, #9E9E9E, #BDBDBD);
}
.bar-green {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
}

.bar-amount {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.savings-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(47,79,61,0.06);
    border-left: 4px solid var(--brand);
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin-bottom: 20px;
}
.savings-icon {
    font-size: 2rem;
    color: var(--brand);
    flex-shrink: 0;
}
.savings-text strong {
    display: block;
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.savings-text span {
    color: var(--subtext);
    font-size: 0.9rem;
}

.calc-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
}


/* ═══════════════════════════════════════════
   SECTION 5: LOCATION
   ═══════════════════════════════════════════ */
#location {
    background: var(--bg-white);
    padding: var(--section-pad) 0;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.location-item {
    text-align: center;
    padding: 40px 28px;
    border-radius: 12px;
    border: 1.5px solid #EEECEA;
    transition: all 0.4s var(--ease);
}
.location-item:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.location-icon {
    width: 64px;
    height: 64px;
    background: rgba(47,79,61,0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--brand);
    transition: all 0.3s var(--ease);
}
.location-item:hover .location-icon {
    background: var(--brand);
    color: #fff;
}

.location-item h4 {
    color: var(--text);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}
.location-item p {
    color: var(--subtext);
    font-size: 0.92rem;
    line-height: 1.6;
}


/* ═══════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════ */
#cta-band {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#cta-band::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
#cta-band h2 {
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}
#cta-band p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
}
#cta-band .btn-primary {
    background: #fff;
    color: var(--brand);
    font-weight: 700;
    position: relative;
}
#cta-band .btn-primary:hover {
    background: var(--bg-primary);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}


/* ═══════════════════════════════════════════
   SECTION 6: FOOTER
   ═══════════════════════════════════════════ */
#site-footer {
    background-color: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 28px;
}

.footer-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 8px;
}
.footer-left p {
    font-size: 0.9rem;
}

.footer-right {
    text-align: right;
}
.footer-social {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-bottom: 12px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s var(--ease);
    font-size: 0.9rem;
}
.footer-social a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.footer-contact {
    font-size: 0.9rem;
}
.footer-contact a {
    color: var(--accent);
    transition: color 0.3s;
}
.footer-contact a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}


/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }

/* Hero text entrance */
.hero-text {
    animation: fadeUp 0.9s 0.3s var(--ease) both;
}
.hero-form-wrapper {
    animation: fadeUp 0.9s 0.6s var(--ease) both;
}


/* ═══════════════════════════════════════════
   RESPONSIVE – TABLET
   ═══════════════════════════════════════════ */
@media (max-width: 992px) {
    :root {
        --section-pad: 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 140px;
    }

    .hero-text {
        text-align: center;
    }
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-badges {
        justify-content: center;
    }
    .hero-price {
        justify-content: center;
    }

    .hero-form-wrapper {
        max-width: 460px;
        margin: 0 auto;
    }

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

    .calc-card {
        padding: 36px 28px;
    }

    .interior-grid {
        gap: 44px;
    }

    .interior-img-placeholder {
        height: 360px;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE – MOBILE
   ═══════════════════════════════════════════ */
@media (max-width: 640px) {
    :root {
        --section-pad: 60px;
    }

    .hide-mobile { display: none; }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 50px;
        gap: 28px;
    }

    .hero-headline {
        font-size: 1.85rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-price {
        flex-direction: column;
        gap: 4px;
        align-items: center;
        padding: 12px 20px;
    }
    .hero-badges {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-badge-pill {
        justify-content: center;
    }
    .price-value {
        font-size: 1.5rem;
    }

    .form-card {
        padding: 28px 22px;
    }

    .form-title {
        font-size: 1.2rem;
    }

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

    .apt-card {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .interior-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .interior-text h2 {
        font-size: 1.7rem;
    }
    .interior-img-placeholder {
        height: 280px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 420px;
        margin: 0 auto;
    }
    .step-connector {
        display: none;
    }
    .process-step {
        padding: 28px 24px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-item {
        padding: 28px 20px;
    }

    .bar-amount {
        font-size: 0.8rem;
    }

    .bar-fill {
        padding: 0 12px;
    }

    .bar-track {
        height: 48px;
    }

    .savings-callout {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    .footer-right {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    #cta-band {
        padding: 60px 0;
    }
    .btn-lg {
        padding: 16px 32px;
        font-size: 0.95rem;
    }
}
