  :root {
    --primary: #AF6339;
    --primary-hover: #c4764b;
    --text: #252528;
    --text-muted: #6B6B6B;
    --card-bg: #EBE3D0;
    --page-bg: #FAF8F7;
    --white: #FFFFFF;
    --border: #D0CCC5;
    --error: #C0392B;
    --green: #27AE60;
    --shadow: 0 8px 30px rgba(0,0,0,0.06);
    --shadow-card: 0 12px 40px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

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

  body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    background: var(--page-bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* ===== PROGRESS BAR ===== */
  .progress-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: rgba(175,99,57,0.15);
    z-index: 100;
  }
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #d48356 100%);
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 0%;
    box-shadow: 0 0 10px rgba(175,99,57,0.4);
  }

  /* ===== PREFILL BANNER ===== */
  .prefill-banner {
    position: fixed;
    top: 24px; left: 50%; transform: translateX(-50%);
    z-index: 80;
    background: var(--green);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    display: none;
    animation: slideDown 0.4s ease;
  }
  @keyframes slideDown {
    from { transform: translate(-50%, -20px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
  }
  .prefill-banner.visible { display: block; }

  /* ===== MAIN CONTAINER ===== */
  .calc-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .step-wrapper {
    width: 100%;
    position: relative;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(208, 204, 197, 0.3);
    min-height: 420px;
    overflow: visible;
  }

  /* ===== STEP ANIMATION ===== */
  .step {
    display: none;
    padding: 48px;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-align: center;
  }
  .step.active {
    display: block;
    position: relative;
  }
  .step.active.visible { opacity: 1; transform: translateX(0); }
  /* Exiting step overlays during transition (out of flow) */
  .step.exit-left {
    display: block; position: absolute; top: 0; left: 0; right: 0;
    opacity: 0; transform: translateX(-40px);
  }
  .step.exit-right {
    display: block; position: absolute; top: 0; left: 0; right: 0;
    opacity: 0; transform: translateX(40px);
  }
  .step.enter-left { opacity: 0; transform: translateX(-40px); }
  .step.enter-right { opacity: 0; transform: translateX(40px); }

  /* ===== TYPOGRAPHY ===== */
  .step-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(175,99,57,0.08);
    border-radius: 20px;
  }
  .step h1, .step h2 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
  }
  .step h1 { font-size: 40px; }
  .step h2 { font-size: 32px; }
  .step-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
  }

  /* ===== WELCOME STEP ===== */
  .welcome-badge {
    display: inline-block;
    background: var(--card-bg);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .welcome-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
    margin: 48px 0;
  }
  .welcome-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 0;
  }
  .welcome-feature .feature-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    position: relative;
    box-shadow: 0 8px 24px rgba(175, 99, 57, 0.08);
  }
  .welcome-feature .feature-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(175, 99, 57, 0.15);
  }
  .welcome-feature .feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
  }
  .welcome-feature span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
  }

  /* ===== CHOICE CARDS ===== */
  .choice-cards { display: flex; flex-direction: column; gap: 16px; }
  .choice-card {
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }
  .choice-card-content { flex: 1; }
  .choice-card:hover { border-color: rgba(175,99,57,0.4); transform: translateY(-2px); box-shadow: var(--shadow); }
  .choice-card.selected {
    border-color: var(--primary);
    background: rgba(175,99,57,0.03);
    box-shadow: 0 8px 24px rgba(175,99,57,0.12);
  }
  .choice-badge {
    display: inline-block;
    background: var(--page-bg);
    color: var(--text);
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
  }
  .choice-card.selected .choice-badge { background: var(--primary); color: white; border-color: var(--primary); }
  .choice-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
  }
  .choice-desc {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
  }
  .choice-indicator {
    width: 28px;
    height: 28px;
    border: 2px solid var(--border);
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 20px;
    background: white;
  }
  .choice-card.selected .choice-indicator {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(175,99,57,0.15);
  }
  .choice-indicator::after {
    content: '';
    display: none;
    width: 10px;
    height: 6px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg) translateY(-1px);
  }
  .choice-card.selected .choice-indicator::after { display: block; }

  /* ===== INPUTS ===== */
  .input-group {
    position: relative;
    max-width: 100%;
    margin: 0 auto 12px;
    text-align: left;
  }
  .calc-input, .calc-select {
    width: 100%;
    background: var(--page-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 18px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  }
  .calc-input:hover, .calc-select:hover { background: #f2f0ed; }
  .calc-input:focus, .calc-select:focus { 
    background: white;
    border-color: var(--primary); 
    box-shadow: 0 0 0 4px rgba(175,99,57,0.1);
  }
  .calc-input.error { border-color: var(--error); background: #fdf5f4; }
  .calc-input::placeholder { color: #A09A90; font-weight: 400; }
  .input-suffix {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 600;
    pointer-events: none;
  }
  .input-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
  }
  .field-error {
    color: var(--error);
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
    opacity: 0; height: 0; overflow: hidden; transition: opacity 0.3s, height 0.3s;
  }
  .field-error.visible { opacity: 1; height: auto; }

  /* ===== AUTOCOMPLETE ===== */
  .autocomplete-container { position: relative; }
  .autocomplete-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: white;
    border: 1px solid rgba(208, 204, 197, 0.5);
    border-radius: 12px;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 10;
    display: none;
  }
  .autocomplete-list.visible { display: block; animation: fadeIn 0.2s; }
  .autocomplete-item {
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid #F6F4F0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: background 0.2s;
  }
  .autocomplete-item:hover { background: var(--page-bg); color: var(--primary); }
  .autocomplete-item:last-child { border-bottom: none; }

  /* ===== SELECT ===== */
  .calc-select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 1L7 7L13 1' stroke='%23AF6339' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
  }

  /* ===== CHECKBOX ===== */
  .checkbox-group {
    display: flex; align-items: flex-start; gap: 16px;
    margin: 24px 0; text-align: left; cursor: pointer;
    background: var(--page-bg); padding: 16px; border-radius: 12px;
    border: 1px solid transparent; transition: var(--transition);
  }
  .checkbox-group:hover { border-color: rgba(175,99,57,0.2); }
  .checkbox-group input[type="checkbox"] { display: none; }
  .custom-checkbox {
    width: 24px; height: 24px; border: 2px solid var(--border); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); background: white; margin-top: 2px; flex-shrink: 0;
  }
  .checkbox-group input[type="checkbox"]:checked + .custom-checkbox {
    background: var(--primary); border-color: var(--primary);
  }
  .custom-checkbox::after {
    content: ''; display: none; width: 6px; height: 10px;
    border: solid white; border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
  }
  .checkbox-group input[type="checkbox"]:checked + .custom-checkbox::after { display: block; }
  .checkbox-label { font-size: 14px; color: var(--text-muted); line-height: 1.6; font-weight: 500; }
  .checkbox-label a { color: var(--primary); text-decoration: underline; font-weight: 600; }

  /* ===== MULTI-SELECT CHECKBOX STYLE ===== */
  #step-2 .choice-indicator { border-radius: 6px; }
  #step-2 .choice-card.selected .choice-indicator::after { border-radius: 3px; }

  /* ===== BUTTONS ===== */
  .btn-wrapper { margin-top: 32px; display: flex; justify-content: center; gap: 16px; }
  .calc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    background: var(--primary); color: white;
    padding: 18px 48px; border: none; border-radius: 30px;
    font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700;
    letter-spacing: 1px; cursor: pointer; transition: var(--transition);
    box-shadow: 0 6px 20px rgba(175,99,57,0.25);
    text-decoration: none; position: relative; overflow: hidden;
  }
  .calc-btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg); transition: 0.5s;
  }
  .calc-btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(175,99,57,0.35); }
  .calc-btn:hover::after { left: 150%; }
  .calc-btn:disabled { background: #D0CCC5; cursor: not-allowed; box-shadow: none; transform: none; }
  .calc-btn:disabled::after { display: none; }
  .calc-btn.secondary {
    background: var(--page-bg); color: var(--text);
    box-shadow: none; border: 1px solid var(--border);
  }
  .calc-btn.secondary:hover { background: white; border-color: var(--primary); color: var(--primary); }

  /* ===== Z500 CATALOG ===== */
  .catalog-search { margin-bottom: 24px; }
  .catalog-list { max-height: 400px; overflow-y: auto; background: white; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
  .catalog-item { display: flex; align-items: center; gap: 20px; padding: 16px; border-bottom: 1px solid #F0EDE7; cursor: pointer; transition: var(--transition); }
  .catalog-item:hover { background: var(--page-bg); }
  .catalog-item.selected { background: rgba(175,99,57,0.04); border-left: 4px solid var(--primary); padding-left: 12px; }
  .catalog-thumbnail { width: 90px; height: 65px; object-fit: cover; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
  .catalog-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
  .catalog-area { font-size: 13px; color: var(--text-muted); }
  
  .file-upload-box {
    background: var(--page-bg); border: 2px dashed rgba(175,99,57,0.4);
    border-radius: 16px; padding: 32px 24px; text-align: center; cursor: pointer;
    transition: var(--transition); max-width: 100%; margin: 0 auto;
  }
  .file-upload-box input[type="file"] { display: none; }
  .file-upload-box:hover { border-color: var(--primary); background: rgba(175,99,57,0.02); transform: translateY(-2px); box-shadow: var(--shadow); }
  .file-icon { color: var(--primary); margin-bottom: 16px; font-size: 36px; }
  .file-upload-text { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
  .file-upload-hint { font-size: 14px; color: var(--text-muted); }
  .file-uploaded {
    display: none;
    background: var(--green);
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
  }
  .file-uploaded.visible { display: block; }

  /* ===== SUMMARY PAGE ===== */
  .summary-section { background: var(--page-bg); border-radius: 12px; padding: 16px; margin-bottom: 12px; border: 1px solid rgba(208,204,197,0.4); }
  .summary-title { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
  .summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(208,204,197,0.25); font-size: 14px; font-weight: 500; }
  .summary-row:last-child { border-bottom: none; padding-bottom: 0; }
  .summary-label { color: var(--text-muted); font-size: 13px; }
  .summary-value { font-weight: 700; color: var(--text); text-align: right; font-size: 14px; }

  /* ===== ESTIMATE CARD ===== */
  .estimate-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px 24px;
    margin: 24px 0;
    border: 2px solid var(--primary);
  }
  .estimate-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }
  .estimate-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-muted);
  }
  .estimate-line.total {
    padding-top: 16px;
    border-top: 2px solid rgba(175,99,57,0.3);
    margin-top: 12px;
    font-weight: 500;
  }
  .estimate-total {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-top: 12px;
  }

  /* ===== END SCREEN ===== */
  .end-screen-icon {
    width: 60px;
    height: 60px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px rgba(39,174,96,0.3);
  }
  .trust-row {
    display: flex;
    gap: 12px;
    margin: 40px 0;
    flex-wrap: wrap;
  }
  .trust-box {
    flex: 1;
    min-width: 100px;
    background: var(--page-bg);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid rgba(208,204,197,0.5);
  }
  .trust-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
  }
  .trust-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
  }
  .contact-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    margin: 32px 0;
    border: 1px solid rgba(175,99,57,0.2);
  }
  .contact-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
  }
  .contact-company {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
  }
  .contact-phone {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0;
  }
  .contact-details {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    /* Container */
    .calc-container {
      padding: 16px 10px 10px;
      min-height: 100vh;
      min-height: 100dvh;
    }

    /* Step wrapper */
    .step-wrapper { border-radius: 16px; min-height: auto; }

    /* Steps: compact padding */
    .step { padding: 20px 16px 16px; }
    .step h1 { font-size: 26px; margin-bottom: 10px; }
    .step h2 { font-size: 21px; margin-bottom: 6px; }
    .step-desc { font-size: 13px; margin-bottom: 14px; line-height: 1.4; }
    .step-label { font-size: 10px; padding: 4px 10px; margin-bottom: 8px; letter-spacing: 1.5px; }

    /* Welcome step compact */
    .welcome-badge { margin-bottom: 10px; padding: 5px 12px; font-size: 11px; }
    .welcome-features { grid-template-columns: 1fr 1fr; gap: 24px 8px; margin: 24px 0; }
    .welcome-feature { padding: 0; gap: 10px; }
    .welcome-feature span { font-size: 13px; }
    .welcome-feature .feature-icon { width: 48px; height: 48px; box-shadow: 0 4px 12px rgba(175, 99, 57, 0.06); }
    .welcome-feature .feature-icon::after { inset: -4px; border: 1px solid rgba(175, 99, 57, 0.15); }
    .welcome-feature .feature-icon svg { width: 22px; height: 22px; }

    /* Choice cards: very compact */
    .choice-cards { gap: 6px; }
    .choice-card { padding: 10px 12px; border-radius: 10px; border-width: 1.5px; }
    .choice-title { font-size: 14px; margin-bottom: 1px; }
    .choice-desc { font-size: 11px; line-height: 1.3; }
    .choice-badge { font-size: 9px; padding: 2px 7px; margin-bottom: 4px; }
    .choice-indicator { width: 20px; height: 20px; margin-left: 10px; border-width: 1.5px; }
    .choice-indicator::after { width: 8px; height: 5px; }

    /* Buttons compact */
    .btn-wrapper { margin-top: 14px; flex-direction: row; gap: 8px; }
    .btn-wrapper .calc-btn.secondary { flex: 0 0 auto; }
    .btn-wrapper .calc-btn:not(.secondary) { flex: 1; min-width: 0; }
    .calc-btn { padding: 13px 20px; font-size: 14px; border-radius: 24px; letter-spacing: 0.5px; }
    .calc-btn.secondary { padding: 13px 16px; }

    /* Inputs compact */
    .calc-input, .calc-select { padding: 13px 14px; font-size: 15px; border-radius: 10px; }
    .input-group { margin-bottom: 6px; }
    .input-hint { margin-bottom: 8px; font-size: 12px; }

    /* Checkboxes compact */
    .checkbox-group { margin: 6px 0; padding: 8px 10px; gap: 8px; border-radius: 8px; }
    .checkbox-label { font-size: 11px; line-height: 1.35; }
    .custom-checkbox { width: 18px; height: 18px; border-radius: 4px; }

    /* Summary compact */
    .summary-section { padding: 8px 10px; margin-bottom: 6px; }
    .summary-title { font-size: 9px; margin-bottom: 5px; letter-spacing: 1px; }
    .summary-row { flex-direction: row; gap: 0; padding: 4px 0; font-size: 12px; }
    .summary-label { font-size: 11px; }
    .summary-value { text-align: right; font-size: 12px; }

    /* Estimate compact */
    .estimate-line { flex-direction: column; gap: 2px; }
    .estimate-total { font-size: 24px; }
    .estimate-card { padding: 16px; margin: 12px 0; }

    /* File upload compact */
    .file-upload-box { padding: 16px 12px; border-radius: 12px; }
    .file-icon { font-size: 28px; margin-bottom: 6px; }
    .file-upload-text { font-size: 13px; margin-bottom: 4px; }
    .file-upload-hint { font-size: 11px; }

    /* Catalog compact */
    .catalog-list { max-height: 200px; }
    .catalog-item { padding: 10px; gap: 12px; }
    .catalog-thumbnail { width: 60px; height: 44px; }
    .catalog-name { font-size: 14px; }

    /* End screen compact */
    .trust-row { flex-direction: row; gap: 6px; margin: 10px 0; flex-wrap: nowrap; }
    .trust-box { min-width: auto; flex: 1; padding: 10px 6px; border-radius: 8px; }
    .trust-value { font-size: 18px; margin-bottom: 2px; }
    .trust-label { font-size: 10px; }
    .contact-card { padding: 14px; margin: 10px 0; }

    .calc-logo { padding: 16px 0 4px; }
    .calc-logo img { height: 48px; }

    /* Autocomplete compact */
    .autocomplete-list { max-height: 160px; }
    .autocomplete-item { padding: 10px 14px; font-size: 13px; }

    /* Override inline styles for mobile — !important needed vs inline specificity */

    /* Sub-step buttons (10, 11, 12) — same layout as btn-wrapper */
    .substep-buttons { margin-top: 14px !important; gap: 8px !important; flex-direction: row; }
    .substep-buttons .calc-btn.secondary { flex: 0 0 auto; }
    .substep-buttons .calc-btn:not(.secondary) { flex: 1; min-width: 0; }

    /* Step 1: location */
    #location-result { margin-top: 10px !important; padding: 12px !important; border-radius: 10px !important; }
    #step-1 > .calc-btn { margin-top: 14px !important; }

    /* Step 7: contact form */
    #step-7 .input-group[style] { margin-top: 6px !important; }
    #step-7 .checkbox-group[style] { margin-top: 10px !important; }
    #step-7 .btn-wrapper[style] { margin-top: 10px !important; }

    /* Step 8: summary */
    .cta-ready-box { padding: 10px !important; margin-top: 6px !important; border-width: 1.5px !important; border-radius: 10px !important; }
    .cta-ready-title { font-size: 13px !important; margin-bottom: 2px !important; }
    .cta-ready-desc { font-size: 11px !important; line-height: 1.3 !important; }
    .testimonial-box { padding: 8px 10px !important; margin-top: 5px !important; border-radius: 8px !important; }
    .testimonial-text { font-size: 11px !important; line-height: 1.3 !important; }
    .testimonial-author { font-size: 10px !important; margin-top: 3px !important; }
    .submit-hint { font-size: 11px !important; margin-top: 6px !important; }

    /* Step 9: end screen */
    #step-9 .end-screen-icon { width: 40px !important; height: 40px !important; margin-bottom: 8px !important; }
    #step-9 .end-screen-icon svg { width: 24px; height: 24px; }
    #step-9 .end-heading { font-size: 22px !important; margin-bottom: 6px !important; }
    #step-9 > .step-desc { font-size: 13px !important; margin-bottom: 10px !important; }
    #step-9 .summary-section { margin-bottom: 6px !important; }
    .end-disclaimer { font-size: 11px !important; margin: 6px 0 !important; line-height: 1.3 !important; }
    .early-bird-box { padding: 8px 12px !important; margin: 6px 0 !important; border-radius: 8px !important; }
    .early-bird-title { font-size: 12px !important; }
    .early-bird-desc { font-size: 11px !important; margin-top: 2px !important; }
    .end-contact { padding: 12px !important; margin: 8px 0 !important; }
    .end-cta-title { font-size: 14px !important; margin-bottom: 6px !important; }
    .end-cta-desc { font-size: 12px !important; margin-bottom: 8px !important; }
    #step-9 .contact-phone { font-size: 17px !important; }
    .whatsapp-btn { padding: 10px 20px !important; font-size: 13px !important; border-radius: 8px !important; }
    .end-contact-details { margin: 8px 0 !important; }
    .end-contact-details .contact-name { font-size: 14px !important; margin-bottom: 2px !important; }
    .end-contact-details .contact-company { font-size: 11px !important; margin-bottom: 3px !important; }
    .end-contact-details .contact-details { font-size: 11px !important; line-height: 1.4 !important; }
    .end-actions { gap: 8px !important; margin: 8px 0 !important; }
    .end-actions .calc-btn.secondary { font-size: 12px !important; padding: 10px 14px !important; }
    .end-spam-note { font-size: 11px !important; margin-top: 6px !important; }
  }

  /* Extra small phones (iPhone SE, etc.) */
  @media (max-width: 380px) {
    .calc-container { padding: 12px 8px 8px; }
    .step { padding: 14px 12px 12px; }
    .step h1 { font-size: 22px; }
    .step h2 { font-size: 18px; }
    .step-desc { font-size: 12px; margin-bottom: 10px; }
    .welcome-features { gap: 16px 6px; margin: 16px 0; }
    .welcome-feature { padding: 0; gap: 8px; }
    .welcome-feature span { font-size: 11px; }
    .welcome-feature .feature-icon { width: 40px; height: 40px; }
    .welcome-feature .feature-icon::after { inset: -3px; border: 1px solid rgba(175, 99, 57, 0.15); }
    .welcome-feature .feature-icon svg { width: 18px; height: 18px; }
    .choice-cards { gap: 5px; }
    .choice-card { padding: 8px 10px; }
    .choice-title { font-size: 13px; }
    .choice-desc { font-size: 10px; }
    .calc-btn { padding: 11px 16px; font-size: 13px; }
    .btn-wrapper { margin-top: 10px; }
    .checkbox-group { padding: 6px 8px; margin: 4px 0; }
    .checkbox-label { font-size: 10px; }
    .calc-logo img { height: 40px; }

    /* Step 9 extra compact */
    #step-9 .end-heading { font-size: 18px !important; }
    #step-9 > .step-desc { font-size: 12px !important; }
    .end-contact { padding: 10px !important; }
    .end-cta-title { font-size: 13px !important; }
    .end-cta-desc { font-size: 11px !important; }
    .end-actions .calc-btn.secondary { font-size: 11px !important; padding: 8px 10px !important; }
  }

  /* ===== LOADING - SPECTACULAR 3D HOUSE ANIMATION ===== */
  .loading-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(175,99,57,0.08) 0%, rgba(250,248,247,0.98) 50%, rgba(175,99,57,0.06) 100%);
    z-index: 200; display: none; align-items: center; justify-content: center; flex-direction: column;
    backdrop-filter: blur(8px);
  }
  .loading-overlay.visible { display: flex; animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

  .loading-content { text-align: center; position: relative; }

  /* 3D House Icon Animation */
  .loading-house {
    width: 100px; height: 100px; position: relative; margin: 0 auto 24px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(175,99,57,0.2));
  }
  .loading-house svg {
    width: 100%; height: 100%;
    animation: rotate3d 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    transform-style: preserve-3d;
  }

  /* Particle System */
  .particle {
    position: absolute; width: 4px; height: 4px; background: var(--primary);
    border-radius: 50%; opacity: 0;
    animation: particle-float 3s ease-in-out infinite;
  }
  .particle:nth-child(1) { left: -30px; top: 20px; animation-delay: 0s; }
  .particle:nth-child(2) { left: 110px; top: 30px; animation-delay: 0.5s; }
  .particle:nth-child(3) { left: -20px; top: 60px; animation-delay: 1s; }
  .particle:nth-child(4) { left: 120px; top: 70px; animation-delay: 1.5s; }
  .particle:nth-child(5) { left: 40px; top: -10px; animation-delay: 2s; }
  .particle:nth-child(6) { left: 50px; top: 100px; animation-delay: 2.5s; }

  /* Progress Ring */
  .loading-ring {
    width: 140px; height: 140px; position: absolute; top: -20px; left: 50%;
    transform: translateX(-50%); animation: pulse 2s ease-in-out infinite;
  }
  .loading-ring circle {
    fill: none; stroke: var(--primary); stroke-width: 3;
    stroke-dasharray: 440; stroke-dashoffset: 440;
    animation: progress-ring 10s ease-in-out infinite;
    transform: rotate(-90deg); transform-origin: center;
  }

  /* Loading Text */
  .loading-text {
    font-size: 18px; font-weight: 600; color: var(--text);
    margin-bottom: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .loading-subtext {
    font-size: 14px; color: var(--text-muted); font-weight: 500;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 320px; margin: 0 auto;
  }
  .loading-text-fade {
    opacity: 0; transform: translateY(-8px);
  }

  /* Email status icons */
  .email-status-icon {
    width: 20px; height: 20px; border-radius: 50%; display: inline-block; flex-shrink: 0;
  }
  .email-status-ok {
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
  }
  .email-status-fail {
    background: #dc3545;
    box-shadow: 0 0 0 4px rgba(220,53,69,0.15);
  }
  .email-status-bar {
    transition: all 0.3s ease;
  }

  /* Progress Bar */
  .loading-progress {
    width: 200px; height: 4px; background: rgba(175,99,57,0.15);
    border-radius: 2px; margin: 20px auto 0; overflow: hidden; position: relative;
  }
  .loading-progress-fill {
    height: 100%; background: linear-gradient(90deg, var(--primary), #E8A97A);
    border-radius: 2px; animation: progressBar 10s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(175,99,57,0.5);
  }

  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }
  @keyframes rotate3d {
    0% { transform: perspective(800px) rotateY(0deg) rotateX(5deg); }
    50% { transform: perspective(800px) rotateY(180deg) rotateX(-5deg); }
    100% { transform: perspective(800px) rotateY(360deg) rotateX(5deg); }
  }
  @keyframes particle-float {
    0% { opacity: 0; transform: translate(0, 0) scale(0); }
    20% { opacity: 1; transform: translate(5px, -20px) scale(1); }
    80% { opacity: 1; transform: translate(-5px, -40px) scale(1.2); }
    100% { opacity: 0; transform: translate(0, -50px) scale(0); }
  }
  @keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateX(-50%) scale(1.05); }
  }
  @keyframes progress-ring {
    0% { stroke-dashoffset: 440; }
    100% { stroke-dashoffset: 0; }
  }
  @keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }
  @keyframes progressBar {
    0% { width: 0%; }
    100% { width: 100%; }
  }

  /* ===== LOGO ===== */
  .calc-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 0 12px;
  }
  .calc-logo img {
    height: 56px;
    width: auto;
  }
  .calc-logo-text {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 2px;
  }

