/* ==========================================================================
   BURAK YAPI – ONLINE TEKLİF PLATFORMU  ·  DESIGN SYSTEM V2
   ========================================================================== */

/* ---- Tokens ---- */
:root {
    --bg-main: #0b0f19;
    --viewer-bg: #153C5E;
    --bg-card: rgba(17, 24, 39, 0.82);
    --bg-card-hover: rgba(24, 34, 56, 0.9);
    --bg-glass: rgba(15, 23, 42, 0.7);
    --bg-input: rgba(0, 0, 0, 0.35);

    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.18);
    --border-active: rgba(245, 158, 11, 0.55);

    --primary: #f59e0b;
    --primary-glow: rgba(245, 158, 11, 0.3);
    --primary-dark: #d97706;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.3);
    --info: #3b82f6;

    --text: #f1f5f9;
    --text-2: #94a3b8;
    --text-3: #64748b;

    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background: var(--bg-main);
    background-image:
        radial-gradient(ellipse at 15% 10%, rgba(245, 158, 11, 0.06) 0, transparent 50%),
        radial-gradient(ellipse at 85% 85%, rgba(59, 130, 246, 0.05) 0, transparent 50%);
    color: var(--text);
    font-family: var(--font);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.15rem;
}

.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 3px 12px var(--primary-glow);
}

.navbar-links { display: flex; gap: 1.8rem; list-style: none; }
.navbar-links a {
    color: var(--text-2);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s var(--ease);
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--primary); }

.mobile-menu-btn { display: none; }

/* ==========================================================================
   STEPPER NAV
   ========================================================================== */
.offer-shell {
    max-width: 1400px;
    width: 100%;
    margin: 1.75rem auto;
    padding: 0 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.stepper-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 0.75rem;
    backdrop-filter: blur(8px);
}

.stepper-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    border: 1px solid transparent;
    user-select: none;
}
.stepper-item:hover { background: rgba(255, 255, 255, 0.03); }
.stepper-item.active {
    background: rgba(245, 158, 11, 0.08);
    border-color: var(--border-active);
}
.stepper-item.completed .step-circle {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.step-circle {
    width: 36px; height: 36px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-3);
    transition: all 0.25s var(--ease);
    flex-shrink: 0;
}
.stepper-item.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 14px var(--primary-glow);
}

.step-info { display: flex; flex-direction: column; }
.step-num {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-3);
    font-weight: 600;
}
.step-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

/* ==========================================================================
   OFFER GRID
   ========================================================================== */
.offer-grid {
    display: grid;
    grid-template-columns: minmax(700px, 1.45fr) minmax(420px, 1fr);
    gap: 1.75rem;
    align-items: start;
}
.offer-grid > * { min-width: 0; }

/* ==========================================================================
   BUILDING PREVIEW SLOT (LEFT DOCK - 3 COLUMNS MATCHING REFERENCE)
   ========================================================================== */
.building-preview-slot {
    display: grid;
    grid-template-columns: 170px 1fr 195px;
    gap: 1.25rem;
    align-items: stretch;
    min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 1.25rem;
    position: sticky;
    top: 90px;
}

/* Summary Card */
.summary-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 520px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.15rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
}
.summary-item:last-child { border-bottom: none; }
.summary-item svg { color: var(--primary); flex-shrink: 0; }
.summary-item > div { display: flex; align-items: center; justify-content: space-between; flex: 1; }
.summary-label { font-size: 0.82rem; color: var(--text-2); font-weight: 500; }
.summary-value { font-size: 1.1rem; font-weight: 700; color: var(--text); }

/* Building Viewer Wrapper (Bright white architectural card) */
.building-viewer-wrapper {
    background: var(--viewer-bg);
    border: 1.5px solid rgba(99, 179, 237, 0.25);
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    height: 520px;
    box-shadow: 0 0 0 1px rgba(99,179,237,0.08), 0 20px 60px rgba(0, 0, 0, 0.40), 0 0 80px rgba(56, 189, 248, 0.06) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.4s ease;
}
.building-viewer-wrapper:hover {
    box-shadow: 0 0 0 1.5px rgba(99,179,237,0.18), 0 24px 72px rgba(0, 0, 0, 0.45), 0 0 100px rgba(56, 189, 248, 0.10) inset;
}

.building-viewer-canvas {
    width: 100%;
    height: 100%;
    position: relative;
}
.building-viewer-canvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* ==========================================================================
   MEASUREMENT TIMELINE (RIGHT COLUMN OF PREVIEW DOCK)
   ========================================================================== */
.measurement-timeline {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 520px;
    padding: 0.75rem 0;
    position: relative;
    user-select: none;
}

.measurement-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    bottom: 35px;
    left: 41px;
    width: 0;
    border-left: 2px dashed rgba(255, 255, 255, 0.18);
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    position: relative;
    z-index: 2;
}

.timeline-line {
    width: 34px;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.timeline-dot--blue   { background: #38bdf8; box-shadow: 0 0 10px rgba(56, 189, 248, 0.5); }
.timeline-dot--yellow { background: #facc15; box-shadow: 0 0 10px rgba(250, 204, 21, 0.5); }
.timeline-dot--orange { background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
.timeline-dot--grey   { background: #94a3b8; box-shadow: 0 0 10px rgba(148, 163, 184, 0.5); }

.timeline-content {
    display: flex;
    flex-direction: column;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}

.timeline-content small {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--primary);
    margin-top: 0.15rem;
}
.measure-label--dashed::after {
    content: '';
    width: 24px;
    border-top: 1px dashed var(--text-3);
    order: -1;
}

/* ==========================================================================
   INPUT PANEL (RIGHT)
   ========================================================================== */
.input-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    min-height: 600px;
}

/* Step panes */
.step-pane {
    display: none;
    flex-direction: column;
    gap: 1.75rem;
    animation: paneIn 0.32s var(--ease);
}
.step-pane.active { display: flex; }

@keyframes paneIn {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.panel-heading-icon {
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.panel-heading-icon--success {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent);
}

.panel-heading h1 { font-size: 1.4rem; font-weight: 700; }
.panel-heading p  { font-size: 0.88rem; color: var(--text-2); margin-top: 0.2rem; }

/* ==========================================================================
   NUMBER STEPPERS
   ========================================================================== */
.field-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.number-stepper-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}
.field-label svg { color: var(--primary); flex-shrink: 0; }

.stepper-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.2rem;
}

.stepper-btn {
    width: 36px; height: 36px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}
.stepper-btn:hover:not(:disabled) { background: var(--primary); color: #fff; }
.stepper-btn:disabled { opacity: 0.25; cursor: not-allowed; }

.stepper-output {
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
}

/* ==========================================================================
   FLOOR PLAN SECTION
   ========================================================================== */
.floor-plan-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.25rem;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.section-heading svg { color: var(--primary); flex-shrink: 0; }
.section-heading strong { font-size: 1rem; }
.section-heading small { display: block; color: var(--text-3); font-size: 0.8rem; }

.floor-plan-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floor-plan-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 0.65rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.85rem 1.1rem;
    transition: border-color 0.2s var(--ease);
}
.floor-plan-row:hover { border-color: var(--border-hover); }

.floor-plan-label {
    font-weight: 600;
    font-size: 1rem;
    min-width: 130px;
}

.floor-plan-steppers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.mini-stepper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mini-stepper > span { font-size: 0.85rem; color: var(--text-2); min-width: 52px; }

.mini-stepper-control {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.mini-stepper-control button {
    width: 34px; height: 34px;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
}
.mini-stepper-control button:hover:not(:disabled) { background: var(--primary); color: #fff; }
.mini-stepper-control button:disabled { opacity: 0.2; cursor: not-allowed; }
.mini-stepper-control output {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0 2px;
}

/* ==========================================================================
   CHOICE CARDS – ROOF
   ========================================================================== */
.option-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.roof-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.choice-card {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.25rem 1rem;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    position: relative;
    font-family: var(--font);
    color: var(--text-2);
}
.choice-card:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
}
.choice-card.selected {
    border-color: var(--primary);
    background: rgba(245, 158, 11, 0.06);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.1);
}
.choice-card strong { font-size: 0.95rem; color: var(--text); }

.check-dot {
    position: absolute;
    top: 8px; right: 8px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.25s var(--ease);
}
.choice-card.selected .check-dot,
.zoning-option.selected .check-dot {
    background: var(--primary);
    color: #fff;
}

/* Roof shapes (CSS-only mini roof) */
.roof-shape {
    display: block;
    width: 60px; height: 36px;
    position: relative;
}
.roof-yes::before {
    content: '';
    position: absolute;
    bottom: 0; left: 10px;
    width: 40px; height: 20px;
    background: var(--text-3);
    border-radius: 2px 2px 0 0;
}
.roof-yes::after {
    content: '';
    position: absolute;
    bottom: 20px; left: 15px;
    width: 0; height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 14px solid var(--primary);
}
.roof-no::before {
    content: '';
    position: absolute;
    bottom: 0; left: 10px;
    width: 40px; height: 20px;
    background: var(--text-3);
    border-radius: 2px 2px 0 0;
}
.roof-no::after {
    content: '';
    position: absolute;
    bottom: 20px; left: 10px;
    width: 40px; height: 4px;
    background: var(--text-3);
    border-radius: 1px;
}

/* ==========================================================================
   ZONING OPTIONS — CSS MINI-LOT ILLUSTRATIONS
   ========================================================================== */
.zoning-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.zoning-option {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.15rem 0.75rem;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    position: relative;
    font-family: var(--font);
    color: var(--text-2);
}
.zoning-option:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
}
.zoning-option.selected {
    border-color: var(--primary);
    background: rgba(245, 158, 11, 0.06);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.1);
}
.zoning-option strong { font-size: 0.85rem; color: var(--text); }
.zoning-option small  { font-size: 0.72rem; color: var(--text-3); line-height: 1.3; }

/* Mini lot CSS illustrations */
.mini-lot {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    height: 56px;
    width: 100%;
    padding: 0 6px;
    position: relative;
}
.mini-lot::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, rgba(16, 185, 129, 0.5) 30%, rgba(16, 185, 129, 0.5) 70%, transparent 90%);
    border-radius: 1px;
}

.mini-building {
    width: 28px;
    height: 44px;
    background: linear-gradient(180deg, #475569, #334155);
    border-radius: 3px 3px 0 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}
.mini-building::before {
    content: '';
    position: absolute;
    top: 5px; left: 5px;
    width: 6px; height: 5px;
    background: #38bdf8;
    border-radius: 1px;
    box-shadow:
        12px 0 0 #38bdf8,
        0 9px 0 #38bdf8,
        12px 9px 0 #38bdf8,
        0 18px 0 #38bdf8,
        12px 18px 0 #38bdf8;
}

.neighbor {
    width: 20px;
    height: 32px;
    background: linear-gradient(180deg, #374151, #1f2937);
    border-radius: 2px 2px 0 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}
.neighbor::before {
    content: '';
    position: absolute;
    top: 5px; left: 4px;
    width: 4px; height: 4px;
    background: rgba(148, 163, 184, 0.5);
    border-radius: 1px;
    box-shadow: 8px 0 0 rgba(148, 163, 184, 0.5), 0 8px 0 rgba(148, 163, 184, 0.5), 8px 8px 0 rgba(148, 163, 184, 0.5);
}

/* Zoning visual states */
.left-attached .neighbor.left  { opacity: 1; margin-right: -1px; }
.right-attached .neighbor.right { opacity: 1; margin-left: -1px; }
.both-attached .neighbor.left  { opacity: 1; margin-right: -1px; }
.both-attached .neighbor.right { opacity: 1; margin-left: -1px; }

.separate .neighbor.left  { opacity: 0.3; margin-right: 6px; }
.separate .neighbor.right { opacity: 0.3; margin-left: 6px; }

/* Non-selected states: show all neighbors faintly */
.left-attached .neighbor.right  { opacity: 0.15; margin-left: 6px; }
.right-attached .neighbor.left { opacity: 0.15; margin-right: 6px; }

/* ==========================================================================
   FORM INPUTS
   ========================================================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.8rem 1rem;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.92rem;
    transition: all 0.2s var(--ease);
    outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 90px; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.subsection-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.25rem;
}

.field-hint {
    color: var(--text-3);
    font-size: 0.8rem;
}

.consent-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.1rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.5;
}
.consent-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--primary);
    cursor: pointer;
}
.consent-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   INFO STRIP
   ========================================================================== */
.info-strip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--r-sm);
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    color: #93c5fd;
}
.info-strip svg { flex-shrink: 0; color: var(--info); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.8rem 1.4rem;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 4px 14px var(--primary-glow);
    font-family: var(--font);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* ==========================================================================
   STEP 4: REPORT
   ========================================================================== */
.price-card {
    background: linear-gradient(160deg, #1a1a1a 0%, #121212 100%);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: var(--r-xl);
    padding: 2.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
}

.price-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--r-md);
    background: linear-gradient(160deg, #fbbf24 0%, var(--primary) 100%);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price-card-badge {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.price-card-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
}
.price-card-unit {
    font-size: 1.6rem;
    font-weight: 700;
}

.price-card-desc {
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 34rem;
    margin-top: 0.4rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.25rem;
    text-align: center;
}
.contact-card p {
    color: var(--text-2);
    font-size: 0.9rem;
}
.contact-phone {
    display: inline-block;
    margin-top: 0.4rem;
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.contact-phone:hover { text-decoration: underline; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    margin-top: 3rem;
    padding: 2rem 5%;
    background: #070a11;
    border-top: 1px solid var(--border);
    text-align: center;
}
.site-footer p { color: var(--text-3); font-size: 0.82rem; }
.site-footer p + p { margin-top: 0.25rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1250px) {
    .offer-grid { grid-template-columns: 1fr; }
    .building-preview-slot { position: static; }
}

@media (max-width: 1024px) {
    .building-preview-slot { grid-template-columns: 170px 1fr 180px; gap: 1rem; }
    .zoning-options { grid-template-columns: repeat(2, 1fr); }
    .stepper-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .building-preview-slot { grid-template-columns: 1fr; }
    .building-preview-slot > * { min-width: 0; }
    .summary-card, .building-viewer-wrapper, .measurement-timeline { height: auto; min-height: 320px; }
}

@media (max-width: 640px) {
    .field-list, .grid-2 { grid-template-columns: 1fr; }
    .stepper-nav { grid-template-columns: 1fr; }
    .stepper-nav > * { min-width: 0; }
    .zoning-options { grid-template-columns: 1fr; }
    .navbar-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .offer-shell { padding: 0 1rem; }
    .building-preview-slot, .input-panel { padding: 1rem; }
    .price-card-value { font-size: 2.2rem; }
    .price-card-unit { font-size: 1.2rem; }

    .floor-plan-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .floor-plan-steppers { width: 100%; justify-content: space-between; gap: 0.75rem; }
}
