@charset "utf-8";
/* CSS Document */
  :root {
    --navy: #1a2a47;
    --navy-dark: #111c33;
    --navy-mid: #243352;
    --blue: #2d6bb5;
    --blue-light: #3a82d8;
    --orange: #e8792a;
    --orange-light: #f08a3a;
    --white: #ffffff;
    --off-white: #f4f7fb;
    --gray-light: #e8edf5;
    --gray: #8a9bb5;
    --text: #1a2a47;
    --text-light: #5a6a85;
    --success: #27ae60;
    --border: #d0dae8;
    --shadow: 0 4px 24px rgba(26,42,71,0.13);
    --shadow-lg: 0 8px 40px rgba(26,42,71,0.18);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Barlow', sans-serif;
    background: var(--off-white);
    color: var(--text);
    min-height: 100vh;
  }

.modal-overlay {
    display: flex !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: fixed !important;
    inset: 0;
    background: rgba(17, 28, 51, 0.65);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.2s ease;
  }
  .modal-overlay.open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    animation: fadeIn 0.2s ease;
  }

  /* HEADER */
  .site-header {
    background: var(--navy-dark);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    border-bottom: 3px solid var(--orange);
  }
  .site-header .logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.5px;
    text-decoration: none;
  }
  .site-header .logo-text span { color: var(--orange); }
  .site-header .tagline {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }

  /* HERO BANNER */
  .hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
    padding: 48px 32px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(45,107,181,0.15);
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(232,121,42,0.08);
    pointer-events: none;
  }
  .hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .hero h1 span { color: var(--orange); }
  .hero p {
    color: #a8b8d0;
    font-size: 16px;
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
  }

  /* PROGRESS BAR */
  .progress-bar {
    background: var(--navy-dark);
    padding: 0 32px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .progress-steps {
    display: flex;
    max-width: 860px;
    margin: 0 auto;
  }
  .progress-step {
    flex: 1;
    padding: 14px 8px;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
  }
  .progress-step.active {
    color: var(--white);
    border-bottom-color: var(--orange);
  }
  .progress-step.completed {
    color: var(--blue-light);
    border-bottom-color: var(--blue-light);
  }
  .progress-step span {
    display: inline-block;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    margin-right: 6px;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
  }
  .progress-step.active span { background: var(--orange); color: var(--white); }
  .progress-step.completed span { background: var(--blue-light); color: var(--white); }

  /* MAIN LAYOUT */
  .estimator-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 20px 60px;
  }

  /* STEP PANELS */
  .step-panel { display: none; }
  .step-panel.active { display: block; animation: fadeUp 0.4s ease; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .section-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 6px;
  }
  .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 4px;
  }
  .section-sub {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 28px;
  }

  /* PRODUCT LINE CARDS */
  .product-line-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }
  @media (max-width: 600px) { .product-line-grid { grid-template-columns: 1fr; } }

  .product-line-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
  }
  .product-line-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--border);
    transition: background 0.25s;
  }
  .product-line-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
  .product-line-card:hover::before { background: var(--blue-light); }
  .product-line-card.selected { border-color: var(--blue); box-shadow: var(--shadow); }
  .product-line-card.selected::before { background: var(--orange); }

  .card-badge {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
  }
  .badge-standard { background: #e8f0fb; color: var(--blue); }
  .badge-premium { background: #fff3ea; color: var(--orange); }

  .product-line-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 8px;
  }
  .product-line-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .phone-list-preview {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .phone-list-preview span {
    font-size: 12px;
    color: var(--text-light);
    padding: 2px 0;
    border-bottom: 1px dashed var(--gray-light);
  }
  .phone-list-preview span:last-child { border-bottom: none; }

  .selected-check {
    position: absolute;
    top: 14px; right: 16px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--blue);
    display: none;
    align-items: center;
    justify-content: center;
  }
  .selected-check svg { width: 14px; height: 14px; stroke: white; fill: none; stroke-width: 2.5; }
  .product-line-card.selected .selected-check { display: flex; }

  /* CARD GRID FOR PHONES */
  .phone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
  }
  .phone-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.22s;
    text-align: center;
    position: relative;
  }
  .phone-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
  .phone-card.selected { border-color: var(--blue); background: #f0f6ff; }

  .phone-card .phone-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 4px;
  }
  .phone-card .phone-purchase {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
  }
  .phone-card .phone-lease-badge {
    background: #f4f7fb;
    border-radius: 6px;
    padding: 6px 10px;
  }
  .phone-card .phone-lease-badge .lease-from {
    font-size: 10px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .phone-card .phone-lease-badge .lease-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--orange);
  }
  .phone-card .phone-lease-badge .lease-mo {
    font-size: 11px;
    color: var(--text-light);
  }

  .qty-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
  }
  .qty-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
  }
  .qty-btn:hover { border-color: var(--blue); color: var(--blue); }
  .qty-display {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    min-width: 28px;
    text-align: center;
  }

  /* PLAN OPTIONS */
  .plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  @media (max-width: 600px) { .plan-grid { grid-template-columns: 1fr; } }

  .plan-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 22px 20px;
    cursor: pointer;
    transition: all 0.22s;
    position: relative;
  }
  .plan-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
  .plan-card.selected { border-color: var(--blue); background: #f0f6ff; }
  .plan-card .plan-type {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 4px;
  }
  .plan-card .plan-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
  }
  .plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }
  .plan-price-row .price-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--orange);
  }
  .plan-price-row .price-unit {
    font-size: 12px;
    color: var(--text-light);
  }
  .plan-card .usage-note {
    margin-top: 8px;
    font-size: 11px;
    color: var(--gray);
    line-height: 1.4;
  }

  /* TERM SELECT */
  .term-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
  }
  .term-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--border);
    background: var(--white);
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    transition: all 0.2s;
  }
  .term-btn:hover { border-color: var(--blue); color: var(--blue); }
  .term-btn.selected { border-color: var(--blue); background: var(--blue); color: var(--white); }

  /* SEAT INPUT */
  .seat-input-wrap {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 24px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .seat-input-wrap label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-dark);
    flex: 1;
    min-width: 160px;
  }
  .seat-input-wrap label small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 2px;
  }
  .seat-number-control {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .seat-number-control button {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 2px solid var(--border);
    background: var(--white);
    font-size: 22px;
    cursor: pointer;
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
  }
  .seat-number-control button:hover { border-color: var(--blue); color: var(--blue); background: #f0f6ff; }
  .seat-number-control input {
    width: 72px;
    height: 44px;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy-dark);
    outline: none;
  }
  .seat-number-control input:focus { border-color: var(--blue); }

  /* LEASE/PURCHASE TOGGLE */
  .lease-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }
  .lease-toggle-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--border);
    background: var(--white);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    color: var(--navy);
    transition: all 0.2s;
  }
  .lease-toggle-btn.selected { background: var(--navy-dark); border-color: var(--navy-dark); color: white; }

  /* SUMMARY PANEL */
  .summary-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 24px;
  }
  .summary-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .summary-header h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
  }
  .summary-header .summary-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
  }
  .summary-header .summary-logo span { color: var(--orange); }

  .summary-body { padding: 28px; }

  .summary-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
    gap: 12px;
  }
  .summary-line:last-child { border-bottom: none; }
  .summary-line .sl-label {
    font-size: 14px;
    color: var(--text-light);
    flex: 1;
  }
  .summary-line .sl-label strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 2px;
  }
  .summary-line .sl-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-dark);
    white-space: nowrap;
  }

  .total-row {
    background: var(--navy-dark);
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
  }
  .total-row .total-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }
  .total-row .total-label strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0;
  }
  .total-row .total-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--orange);
  }
  .total-row .total-price small {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
  }

  .usage-note-box {
    background: #fffbf5;
    border: 1px solid #fad9b2;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #9a5d10;
    margin-top: 16px;
    line-height: 1.5;
  }

  /* EMAIL FORM */
  .email-form-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 32px 28px;
    margin-bottom: 24px;
  }
  .email-form-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 6px;
  }
  .email-form-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 22px;
  }
  .form-row {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
  @media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
  .form-row.full { grid-template-columns: 1fr; }

  .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }
  .form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    color: var(--navy-dark);
    outline: none;
    transition: border-color 0.2s;
    background: var(--white);
  }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--blue);
  }
  .form-group textarea { min-height: 90px; resize: vertical; }

  /* BUTTONS */
  .btn-primary {
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,121,42,0.35); }
  .btn-primary:active { transform: translateY(0); }

  .btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 12px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-secondary:hover { border-color: var(--navy); }

  .btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* SUCCESS STATE */
  .success-panel {
    text-align: center;
    padding: 60px 20px;
  }
  .success-icon {
    width: 72px; height: 72px;
    background: var(--success);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
  }
  .success-icon svg { width: 36px; height: 36px; stroke: white; fill: none; stroke-width: 2.5; }
  .success-panel h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 10px;
  }
  .success-panel p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.6;
  }

  /* STICKY ESTIMATE BAR */
  .estimate-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--navy-dark);
    border-top: 3px solid var(--orange);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s;
    flex-wrap: wrap;
    gap: 8px;
  }
  .estimate-bar.visible { transform: translateY(0); }
  .estimate-bar .est-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }
  .estimate-bar .est-amount {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
  }
  .estimate-bar .est-amount span {
    font-size: 14px;
    color: var(--gray);
    font-weight: 400;
  }
  .estimate-bar .est-detail {
    font-size: 12px;
    color: var(--gray);
    flex: 1;
    padding: 0 16px;
  }

  /* FOOTER */
  .site-footer {
    background: var(--navy-dark);
    color: var(--gray);
    text-align: center;
    padding: 20px;
    font-size: 12px;
    margin-top: 60px;
  }
  .site-footer a { color: var(--gray); text-decoration: none; }
  .site-footer .footer-phone { color: var(--white); font-weight: 600; font-size: 14px; margin-bottom: 4px; }

  /* TOOLTIP */
  .info-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--gray);
    font-size: 10px;
    font-weight: 700;
    cursor: help;
    margin-left: 5px;
    position: relative;
  }
  .info-tip:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy-dark);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
  }

  @media (max-width: 600px) {
    .site-header { padding: 0 16px; }
    .hero { padding: 32px 16px; }
    .estimator-wrap { padding: 20px 12px 80px; }
    .phone-grid { grid-template-columns: 1fr 1fr; }
  }
