/* CSS RESET & BASELINE STYLES */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7F9FB;
  color: #1B263B;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #58A6FF;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(27,38,59,0.04);
}
main > section:last-child {
  margin-bottom: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 20px;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F2F6FB;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(27,38,59,0.05);
  padding: 20px;
  max-width: 420px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  border: 1px solid #E4E9F2;
}
.testimonial-card p {
  color: #1B263B;
  font-size: 18px;
  font-style: italic;
}
.testimonial-user {
  font-weight: 600;
  color: #275177;
  font-size: 16px;
}
.stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F8FB;
  border-radius: 10px;
  padding: 18px 16px 18px 16px;
  box-shadow: 0 1px 4px rgba(27,38,59,0.02);
  border: 1px solid #E4E9F2;
  min-width: 230px;
  flex: 1 1 190px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1B263B;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.text-section, .confirmation-block {
  font-size: 1rem;
  color: #22304A;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.policy-meta, .rating {
  color: #426191;
  font-size: 15px;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  padding: 13px 32px;
  font-family: 'Roboto', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 1px 6px rgba(27,38,59,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.15s;
}
.btn-primary {
  background: #58A6FF;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1B263B;
  color: #F7CE3E;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 22px rgba(27,38,59,0.13);
}
.btn-secondary {
  background: #F2F6FB;
  color: #1B263B;
  border: 1px solid #58A6FF;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #dcedfd;
  color: #1B263B;
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #E4E9F2;
  box-shadow: 0 3px 10px rgba(27,38,59,0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 42px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Roboto', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #275177;
  padding: 8px 7px;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F6FB;
  color: #1B263B;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1B263B;
  margin-left: 18px;
  cursor: pointer;
  z-index: 120;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F2F6FB;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-102%);
  transition: transform 340ms cubic-bezier(.7,.3,.2,1);
  z-index: 9999;
  box-shadow: 2px 0 24px rgba(27,38,59,0.12);
  padding: 24px 0 0 0;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1B263B;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F2F6FB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 0 28px;
  width: 80%;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #1B263B;
  padding: 11px 0;
  border-radius: 5px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #58A6FF;
  background: #F2F6FB;
}

/* MAIN CONTENT & GRIDS */
.feature-grid, .review-grid, .model-cards, .spec-highlights, .value-icons, .feature-list, .contact-info.quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.model-card {
  flex: 1 1 210px;
  background: #F5F8FB;
  border-radius: 10px;
  border: 1px solid #E4E9F2;
  box-shadow: 0 1px 6px rgba(27,38,59,0.04);
  padding: 20px 18px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  max-width: 270px;
  gap: 14px;
}
.model-card h3 {
  margin-bottom: 5px;
  font-size: 1.25rem;
}
.model-card ul {
  margin-bottom: 10px;
  color: #323E54;
  font-size: 1rem;
}
.model-card a {
  color: #58A6FF;
  font-weight: 600;
  font-size: 1rem;
}
.model-card a:hover, .model-card a:focus {
  color: #1B263B;
  text-decoration: underline;
}

.review-card {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #E4E9F2;
  box-shadow: 0 2px 10px rgba(27,38,59,0.045);
  padding: 21px 20px 19px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
  max-width: 288px;
}

.review-card h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}
.review-card .rating {
  font-size: 0.96rem;
  color: #426191;
  font-weight: 600;
}

.process-item, .highlight-item, .value-item {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #F5F8FB;
  border-radius: 8px;
  padding: 17px 12px 16px 12px;
  align-items: flex-start;
  border: 1px solid #E4E9F2;
  margin-bottom: 20px;
}

/* ICONS & GRIDS */
.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.icon-grid img {
  width: 42px;
  height: 42px;
}
.brand-filter, .category-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  margin-bottom: 16px;
}
.brand-filter a, .category-filters a {
  color: #426191;
  font-weight: 500;
  transition: color 0.15s, border-bottom 0.14s;
}
.category-filters a.active, .category-filters a:hover, .brand-filter a:hover {
  color: #58A6FF;
  border-bottom: 2px solid #58A6FF;
}

/* LISTS & SPECIAL BLOCKS */
.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comparison-list li {
  background: #F5F8FB;
  padding: 15px 18px;
  border-radius: 8px;
  font-size: 1.05rem;
  border: 1px solid #E4E9F2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.comparison-list strong {
  color: #1B263B;
}
.comparison-list a {
  color: #58A6FF;
  font-weight: 600;
  font-size: 1rem;
}

.guide-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guide-links li {
  background: #F5F8FB;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #E4E9F2;
  font-size: 1.07rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.guide-links a {
  color: #1B263B;
  font-weight: 600;
  font-size: 1.08rem;
}
.guide-links a:hover {
  color: #58A6FF;
}
.guide-desc {
  font-size: 0.98rem;
  color: #426191;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.faq-item {
  background: #F2F6FB;
  border-radius: 8px;
  border: 1px solid #E4E9F2;
  padding: 13px 15px;
  box-shadow: 0 1px 2px rgba(27,38,59,0.03);
  font-size: 1.08rem;
  transition: background 0.13s;
}
.faq-item h3 {
  font-size: 1.08rem;
  color: #1B263B;
  margin-bottom: 8px;
}
.faq-item div {
  color: #22304A;
}
.help-link a {
  display: inline-block;
  color: #58A6FF;
  margin: 12px 0 0 0;
  text-decoration: underline;
}
.help-link a:hover {
  color: #1B263B;
}

.contact-info.quick-info, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.contact-detail, .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F2F6FB;
  border-radius: 8px;
  padding: 13px 19px;
  border: 1px solid #E4E9F2;
  font-size: 1.09rem;
  color: #275177;
}

/* TABLE STYLES */
.side-by-side-table {
  overflow-x: auto;
  width: 100%;
}
.side-by-side-table table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 750px;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(27,38,59,0.06);
  margin-bottom: 20px;
}
.side-by-side-table th, .side-by-side-table td {
  padding: 15px 13px;
  border-bottom: 1px solid #E4E9F2;
  text-align: left;
}
.side-by-side-table th {
  background: #F2F6FB;
  color: #1B263B;
  font-weight: 600;
}
.side-by-side-table tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #1B263B;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 36px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  color: #B8CAD9;
  font-size: 1.03rem;
  transition: color 0.14s;
}
.footer-nav a:hover {
  color: #F7CE3E;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #B8CAD9;
  font-size: 1rem;
  align-items: flex-end;
}
footer a img {
  height: 38px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 98vw;
  max-width: 500px;
  z-index: 12000;
  background: #fff;
  border-radius: 13px 13px 0 0;
  box-shadow: 0 -2px 22px rgba(51,70,110,0.17);
  padding: 28px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.44s cubic-bezier(.61,-0.36,.33,1.33), opacity 0.23s;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0%);
  pointer-events: all;
}
.cookie-banner p {
  margin-bottom: 18px;
  color: #22304A;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Roboto','Open Sans',Arial,sans-serif;
  background: #58A6FF;
  color: #fff;
  font-weight: 600;
  border-radius: 7px;
  border: none;
  padding: 11px 29px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, box-shadow 0.14s;
}
.cookie-btn.cookie-settings {
  background: #F2F6FB;
  color: #1B263B;
  border: 1px solid #58A6FF;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #E9F3FE;
  color: #1B263B;
}
.cookie-btn.reject {
  background: #E4E9F2;
  color: #465A72;
  border: 1px solid #B8CAD9;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #D2DBE6;
  color: #22304A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #275177;
  color: #F7CE3E;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 12300;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,60,100,0.31);
  justify-content: center;
  align-items: center;
  animation: fade-in .26s;
}
.cookie-modal-backdrop.visible {
  display: flex;
}
@keyframes fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 4px 32px rgba(27,38,59,0.17);
  padding: 32px 26px 18px 26px;
  min-width: 320px;
  max-width: 420px;
  width: 92vw;
  color: #1B263B;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal h2 {
  font-size: 1.34rem;
  margin-bottom: 13px;
}
.cookie-category {
  margin-bottom: 13px;
  font-size: 1.07rem;
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #58A6FF;
}
.cookie-category[aria-disabled="true"] input {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #426191;
  cursor: pointer;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #1B263B;
}

/* MICRO-INTERACTIONS & EFFECTS */
.feature-item:hover, .model-card:hover, .review-card:hover, .highlight-item:hover, .value-item:hover, .process-item:hover {
  box-shadow: 0 4px 18px rgba(27,38,59,0.12);
  transform: translateY(-3px) scale(1.025);
  transition: box-shadow 0.19s, transform 0.19s;
}

/* VISUAL HIERARCHY & SPACING */
.section, .feature-item, .model-card, .review-card, .testimonial-card {
  margin-bottom: 20px;
}
.section > .container { margin-bottom: 0; }
.content-wrapper > * { margin-bottom: 0; }

/* MISC / UTILS */
.text-section ul, .confirmation-block ul {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 20px;
  color: #253971;
  font-size: 1rem;
  list-style: disc outside;
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid #58A6FF;
  outline-offset: 2px;
}

/* RESPONSIVE DESIGN: MOBILE-FIRST */
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
  .spec-highlights, .feature-grid, .review-grid, .model-cards, .contact-info.quick-info, .value-icons {
    gap: 18px;
  }
}
@media (max-width: 991px) {
  .container {
    max-width: 700px;
  }
  .spec-highlights, .feature-grid, .review-grid, .model-cards, .contact-info.quick-info, .value-icons {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .container {
    padding: 0 8px;
  }
  .content-wrapper { gap: 19px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    display: none;
  }
  .feature-grid, .review-grid, .model-cards, .spec-highlights, .value-icons, .feature-list, .contact-info.quick-info {
    flex-direction: column;
    gap: 16px;
  }
  .brand-filter, .category-filters, .footer-nav, .footer-contact, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .comparison-list li {
    flex-direction: column;
    gap: 3px;
  }
  .side-by-side-table table {
    font-size: 13px;
    min-width: 530px;
  }
  footer {
    padding-top: 20px;
    padding-bottom: 23px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.25rem;
  }
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    padding: 11px 16px;
  }
  .cookie-banner {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 0.98rem;
    max-width: 96vw;
  }
  .cookie-modal {
    padding-left: 10px;
    padding-right: 10px;
    min-width: 90vw;
  }
}
