.quote-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0 15px;
}
.quote-header h1 {
  font-size: 2.5rem;
  color: #1a237e;
  margin-bottom: 0.5rem;
}
.quote-header p {
  font-size: 1.1rem;
  color: #495057;
  margin: 0;
}
.quote-header-separator {
  border-top: 1px solid #dee2e6;
  margin: 2rem auto;
  width: 80%;
}
.quote-intro-text {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #212529;
  padding: 0 40px;
}
.quote-intro-text strong {
    color: #1a237e;
}
#quote-progress-bar {
  display: none !important;
}
.quote-step.hidden {
  display: none;
}
#btn-back-to-table {
  margin-bottom: 1.5rem;
}
.visually-hidden {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap !important;
}
.form-item--selected-package {
    display: none !important;
}

.comparison-table-desktop .comparison-table-wrapper {
  overflow-x: hidden;
  min-width: unset;
  margin-bottom: 2rem;
  border: 2px solid #cfe2ff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}
.comparison-table-desktop .comparison-table {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: 'Inter', 'Roboto', sans-serif;
  background-color: #fff;
}

.comparison-table-desktop .comparison-table th,
.comparison-table-desktop .comparison-table td {
  padding: 0.8rem 0.8rem;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
  transition: background-color 0.2s ease;
  border-right: 1px solid #e0e0e0;
  white-space: nowrap;
  font-size: 0.95rem;
  color: #495057;
}
.comparison-table-desktop .comparison-table td strong {
  font-weight: 700;
  color: #1a237e;
}
.comparison-table-desktop .comparison-table th:last-child,
.comparison-table-desktop .comparison-table td:last-child {
    border-right: none;
}

.comparison-table-desktop .comparison-table thead th {
  padding: 1.2rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a237e;
  background-color: #e3f2fd;
  border-bottom-width: 2px;
  border-bottom-color: #c6dafc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  vertical-align: bottom;
}
.comparison-table-desktop .package-header-main {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a237e;
  text-align: center;
}
.comparison-table-desktop .package-header-sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: #495057;
  margin-top: 2px;
  line-height: 1.1;
  text-align: center;
}

.comparison-table-desktop .comparison-table th.feature-title-header {
  text-align: left;
  font-size: 1rem;
  color: #2e7d32;
  position: sticky;
  left: 0;
  z-index: 10;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}
.comparison-table-desktop .comparison-table tbody td.feature-name {
  text-align: left;
  font-weight: 500;
  color: #2e7d32;
  border-right: 1px solid #c8e6c9;
  position: sticky;
  left: 0;
  background-color: #f1f8e9;
  z-index: 10;
}
.comparison-table-desktop .comparison-table tbody tr:hover td:not(.feature-name) {
    background-color: #e9ecef;
}
.comparison-table-desktop .comparison-table tbody tr:hover td.feature-name {
     background-color: #dee2e6;
}


.comparison-table-desktop .icon-check {
  color: #28a745;
  font-weight: bold;
  font-size: 1.5rem;
  text-shadow: none;
}
.comparison-table-desktop .icon-cross {
  color: #dc3545;
  font-weight: bold;
  font-size: 1.5rem;
  text-shadow: none;
} 
.comparison-table-desktop .comparison-table tfoot td {
  padding: 1.2rem 1.25rem;
  border-bottom: none;
  background-color: #e9ecef;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}
.comparison-table-desktop .comparison-table tfoot td.feature-title-footer {
    background-color: #e9ecef;
    border-right: 1px solid #dee2e6;
    position: sticky;
    left: 0;
    z-index: 10;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}
.comparison-table-desktop .select-package-button {
  width: 100%;
  min-width: 120px;
  min-height: 48px;
  font-size: 1rem;
  padding: 0.75rem 0;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
  display: block;
  margin: 0 auto;
}
.comparison-table-desktop .select-package-button:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
}


.comparison-table-desktop .comparison-table th.feature-title-header {
  border-top-left-radius: 8px;
  overflow: hidden;
}
.comparison-table-desktop .comparison-table tbody td.feature-name {
   overflow: hidden;
}
.comparison-table-desktop .comparison-table tfoot td.feature-title-footer {
    border-bottom-left-radius: 8px;
    overflow: hidden;
}
.comparison-table-desktop .comparison-table thead th:last-child {
    border-top-right-radius: 8px;
    overflow: hidden;
}
.comparison-table-desktop .comparison-table tfoot td:last-child {
    border-bottom-right-radius: 8px;
    overflow: hidden;
}


.comparison-table-mobile-cards {
    display: none;
    margin-top: 1rem;
}

.mobile-package-card {
    border: 1px solid #cfe2ff;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mobile-card-header {
    background-color: #e3f2fd;
    font-weight: 600;
}
 .mobile-card-header-main {
     font-size: 1.3rem;
     font-weight: 700;
     line-height: 1.3;
     margin-bottom: 5px;
 }
 .mobile-card-header-sub {
     font-size: 1rem;
     font-weight: 400;
     color: #495057;
 }


.mobile-card-body {
    padding: 1rem;
    flex-grow: 1;
    background-color: #f8f9fa;
}

.mobile-feature-group-title {
    font-weight: 700;
    color: #1a237e;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 5px;
    border-bottom: 1px solid #dee2e6;
    font-size: 1rem;
}
.mobile-feature-group-title:first-child {
    margin-top: 0;
}


.mobile-feature-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}
.mobile-card-body .mobile-feature-row:not(:last-child) {
     border-bottom: 1px dashed #dee2e6;
}
.mobile-card-body .mobile-feature-row + .mobile-feature-group-title {
     border-bottom: none;
}

.mobile-feature-label {
    font-weight: 400;
    color: #495057;
    flex-basis: 60%;
    text-align: left;
    padding-right: 10px;
     word-break: break-word;
}

.mobile-feature-value {
    font-weight: 500;
    color: #1a73e8;
    flex-basis: 40%;
    text-align: right;
}
 .mobile-feature-value strong {
     font-weight: 700;
      color: #1a237e;
 }
  .mobile-feature-value .icon-check {
      color: #28a745;
      font-size: 1.3rem;
      font-weight: bold;
  }
   .mobile-feature-value .icon-cross {
       color: #dc3545;
       font-size: 1.3rem;
       font-weight: bold;
   }


.mobile-card-footer {
    padding: 1rem;
    background-color: #e9ecef;
    text-align: center;
    margin-top: auto;
}
.mobile-card-footer .select-package-button {
    width: 90%;
    max-width: 250px;
    padding: 0.8rem 0;
    font-size: 1rem;
     background-color: #007bff;
     color: #fff;
}
.mobile-card-footer .select-package-button:hover {
   background-color: #0056b3;
   transform: translateY(-1px);
   box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
}

.quote-notes {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #fff3cd;
  border: 1px solid #ffecb5;
  border-radius: 8px;
  color: #664d03;
}
.quote-notes h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #664d03;
  margin-bottom: 1rem;
}
.quote-notes ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0;
}
.quote-notes li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.customer-info-wrapper {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background-color: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.customer-info-wrapper h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #1a237e;
}
.customer-info-wrapper p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #495057;
}
.form-item { margin-bottom: 1.4rem; }
.form-item label { font-weight: 600; color: #1a237e; display: block; margin-bottom: 0.5rem; }
.form-item label.form-required::after { content: ' *'; color: #d93025; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: 0.85rem 1.1rem; font-size: 1rem;
  border: 1px solid #ced4da; border-radius: 0.25rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.25);
    outline: none;
}

.button--primary {
  font-weight: 700; color: #fff; background-color: #1a73e8; border: 1px solid #1a73e8;
  padding: 0.75rem 1.5rem; border-radius: 0.25rem; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.button--primary:hover {
    background-color: #0b5cd7;
    border-color: #0b5cd7;
}
.button--secondary {
  padding: 0.75rem 1.5rem; border-radius: 0.25rem; cursor: pointer;
  background-color: #f8f9fa; border: 1px solid #dee2e6; color: #495057;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.button--secondary:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #212529;
}

@media (min-width: 769px) {
    .comparison-table-desktop {
        display: block;
    }
    .comparison-table-mobile-cards {
        display: none;
    }
}

@media (max-width: 1500px) {
  .quote-form-container {
      padding: 0 10px;
  }
  .quote-header h1 { font-size: 1.8rem; }
  .quote-header p { font-size: 1rem; }
  .quote-header-separator { margin: 1.5rem auto; width: 90%; }
  .quote-intro-text { font-size: 1rem; margin-bottom: 1.5rem; padding: 0;}

  .comparison-table-desktop {
      display: none;
  }

  .comparison-table-mobile-cards {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      margin-top: 1rem;
      padding: 0 10px;
      justify-content: center;
  }

  .mobile-package-card {
      width: calc(50% - 0.75rem);
      margin-bottom: 0;
  }
  .comparison-table-mobile-cards:last-child .mobile-package-card:nth-last-child(1):nth-child(odd) {
       width: 100%;
  }
}

@media (max-width: 576px) {
   .quote-form-container {
       padding: 0 5px;
   }
    .quote-header h1 { font-size: 1.5rem; }
    .quote-header p { font-size: 0.9rem; }
    .quote-header-separator { margin: 1rem auto; width: 95%; }
    .quote-intro-text { font-size: 0.9rem; margin-bottom: 1rem; padding: 0;}
   .comparison-table-mobile-cards {
       gap: 1rem;
       padding: 0 5px;
   }
   .mobile-package-card {
       width: 100%;
       margin-bottom: 0;
   }

   .mobile-card-header { padding: 1rem 0.8rem; }
   .mobile-card-header-main { font-size: 1.1rem; }
   .mobile-card-header-sub { font-size: 0.9rem; }
   .mobile-card-body { padding: 0.8rem; }
    .mobile-feature-group-title { font-size: 0.95rem; margin-top: 0.8rem; margin-bottom: 0.4rem; }
   .mobile-feature-row { padding: 0.4rem 0; font-size: 0.9rem; }
   .mobile-feature-label { flex-basis: 55%; padding-right: 8px; }
   .mobile-feature-value { flex-basis: 45%; }
    .mobile-feature-value strong { font-size: 0.95rem; }
    .mobile-feature-value .icon-check,
    .mobile-feature-value .icon-cross { font-size: 1.1rem; }
   .mobile-card-footer { padding: 0.8rem; }
   .mobile-card-footer .select-package-button { width: 90%; font-size: 0.9rem; }
}
@media (max-width: 480px) {
   #quote-progress-bar { max-width: 250px; }
   .step-indicator { margin: 0 5px; }
   .step-connector { left: calc(10% + 10px); right: calc(10% + 10px); }
}