/* RESET & BASE TYPOGRAPHY */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #141414;
  background: #fff;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #212121;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img, svg {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}
a {
  color: #283593;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1a237e;
  text-decoration: underline;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

/* BASE CONTAINER & FLEX PATTERNS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(30,30,30,.10);
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.24s, border 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(30,30,30,.13);
  border-color: #b0bec5;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafafa;
  border: 1px solid #dedede;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(30,30,30,.07);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(30,30,30,.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADERS, LOGO and NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 1px 10px rgba(0,0,0,0.02);
  position: sticky;
  top: 0;
  z-index: 98;
}
.logo {
  display: flex;
  align-items: center;
  padding: 12px 0;
  margin-right: 40px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #232323;
  letter-spacing: 0.01em;
  padding: 6px 0;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover:not(.btn-primary),
.main-nav a:focus:not(.btn-primary){
  color: #283593;
  text-decoration: none;
}

.btn-primary {
  background: #232323;
  color: #fff !important;
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 17px;
  letter-spacing: 0.02em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.24s;
  box-shadow: 0 2px 8px rgba(40,40,40,0.07);
  outline: none;
  margin-left: 12px;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #283593;
  color: #fff;
  box-shadow: 0 4px 18px rgba(40,40,80,0.13);
}

button, .btn, input[type="submit"], input[type="button"] {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 32px;
  color: #232323;
  background: transparent;
  border: none;
  padding: 8px 14px;
  border-radius: 50%;
  margin-left: 24px;
  transition: background 0.15s;
  z-index: 100;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: #f7f7f7; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 110;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  margin: 24px 28px 0 0;
  color: #232323;
  cursor: pointer;
  z-index: 111;
  padding: 4px 10px;
  transition: background 0.13s;
  border-radius: 50%;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #f0f0f0; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px 32px 0 32px;
  width: calc(100% - 64px);
}
.mobile-nav a {
  color: #232323;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 21px;
  font-weight: 600;
  padding: 13px 0;
  border-bottom: 1px solid #ededed;
  transition: color 0.15s;
  display: block;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus { color: #283593; }

@media (max-width: 1110px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 15px; }
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
}

@media (max-width: 850px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* HERO SECTIONS */
.hero {
  background: #fff;
  border-bottom: 1px solid #e2e2e2;
  padding: 60px 0 48px 0;
}
.hero .container {
  justify-content: flex-start;
  align-items: flex-start;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 40px;
  color: #232323;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hero p {
  font-size: 20px;
  color: #434343;
  margin-bottom: 28px;
  font-weight: 400;
}
.hero .btn-primary {
  margin-top: 17px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #232323;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
h1 { font-size: 40px; line-height: 1.12; }
h2 { font-size: 32px; line-height: 1.15; margin-top: 28px; }
h3 { font-size: 22px; line-height: 1.17; margin-top: 14px; }
h4 { font-size: 17px; line-height: 1.2; margin-top: 10px; font-weight: 600;}
p, li, td, th {
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #313131;
  line-height: 1.57;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: #222;
}
section .btn-primary {
  margin-top: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* TABLE STYLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 32px 0;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 7px rgba(30,30,30,.05);
}
th, td {
  padding: 13px 18px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
}
th {
  background: #222;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 17px;
}
tr:last-child td {
  border-bottom: none;
}

/* GENERAL LISTS */
ul li, ol li {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* FAQ ACCORDION (for .faq-accordion) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.faq-accordion h3 {
  background: #f3f3f3;
  font-size: 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #232323;
  border-radius: 6px;
  padding: 14px 18px;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.17s;
}
.faq-accordion h3:active, .faq-accordion h3:focus { background: #e5e5e5; }
.faq-accordion div {
  background: #fff;
  padding: 10px 18px 16px 18px;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #333;
  border-left: 2px solid #232323;
  margin-bottom: 2px;
}

.helpful-links ul, .contact-prompt {
  margin: 14px 0 12px 0;
}
.contact-prompt a {
  color: #283593;
  font-weight: 700;
  transition: color 0.17s;
}
.contact-prompt a:hover, .contact-prompt a:focus { color: #1a237e; }

/* FOOTER */
footer {
  background: #181818;
  color: #f7f7f7;
  padding: 40px 0 0px 0;
  border-top: 1px solid #ededed;
  font-size: 15px;
}
footer .container {
  gap: 0;
}
footer .content-wrapper {
  gap: 28px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #f7f7f7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  opacity: 0.93;
  margin-bottom: 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #42A5F5;
}
.contact-info {
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #eee;
  font-size: 15px;
  margin-bottom: 8px;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 6px;
}
.legal-links {
  margin-top: 26px;
  font-size: 14px;
  color: #aaa;
  opacity: 0.95;
}

/* BADGES & TRUST ELEMENTS */
.trust-badges, .trust-elements, .team-highlights {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin:10px 0 8px 0;
}
.trust-elements span, .team-highlights span {
  font-size: 15px;
  margin-right: 12px;
  color: #292929;
  font-family: 'Roboto', sans-serif;
}

/* ADDRESS & INFO AREAS */
.address-map, .office-hours {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 7px;
  font-size: 16px;
}

/* GUARANTEE STATEMENT */
.guarantee-statement {
  background: #232323;
  color: #fff;
  border-radius: 8px;
  padding: 18px 22px;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 13px 0 2px 0;
  box-shadow: 0 2px 10px rgba(20,20,25,0.04);
}
.guarantee-statement p {color:#fff; margin-bottom:0;}

/* SPACING RULES FOR FLEX PATTERNS */
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}
.card { margin-bottom: 20px; }

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 10px; }
  .content-wrapper {gap: 22px;}
  .section, main section { padding: 30px 7px; margin-bottom: 34px; }
  .hero { padding: 36px 0 32px 0; }
  h1 { font-size: 26px; }
  h2 { font-size: 21px; }
  h3 { font-size: 16px; }
  table, th, td { font-size: 14px; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 16px; }
  .testimonial-card {
    padding: 14px 10px;
    font-size: 15px;
  }
}

@media (max-width: 500px) {
  .testimonial-card, .guarantee-statement { padding: 11px 6px; font-size: 14px; }
  .section, main section {padding:18px 3px; margin-bottom: 18px;}
  .container { padding: 0 2vw; }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.btn-primary, .faq-accordion h3, .main-nav a, .mobile-nav a, .mobile-menu-toggle, .mobile-menu-close {
  transition: all 0.17s cubic-bezier(.44,.12,.32,1);
}
input, select, textarea {
  border: 1px solid #c4c4c4;
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fafafa;
  margin-bottom: 14px;
  transition: border 0.17s;
}
input:focus, select:focus, textarea:focus { border-color: #283593; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: #232323;
  color: #fff;
  box-shadow: 0 -1px 24px rgba(40,40,40,0.10);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 16px;
}
.cookie-banner p {
  margin: 0 0 0 0;
  color: #fff;
  font-size: 15px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  margin-left: 20px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  padding: 7px 22px;
  border-radius: 30px;
  border: none;
  margin: 0 0 0 2px;
  cursor: pointer;
  font-weight: 600;
  background: #fff;
  color: #232323;
  box-shadow: 0 1px 5px rgba(30,30,30,0.05);
  transition: background 0.14s, color 0.14s;
}
.cookie-banner button.accept {
  background: #283593;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus { background: #212121; }
.cookie-banner button.reject {
  background: #eee;
  color: #232323;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus { background: #ccc; color: #232323; }
.cookie-banner button.settings {
  background: #fff;
  color: #232323;
  border: 1px solid #aeaeae;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus { background: #e6e6e6; }

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(30, 30, 30, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #232323;
  min-width: 320px;
  max-width: 410px;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(40,40,50,.26);
  padding: 34px 32px 23px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  opacity: 1;
  animation: modalSlideIn .27s cubic-bezier(.4,0,.2,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(48px) scale(0.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 22px;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 16px;
}
.cookie-modal .toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #e5e5e5;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background 0.12s;
  margin-right: 10px;
}
.cookie-modal .toggle:checked {
  background: #283593;
}
.cookie-modal .toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.13s;
}
.cookie-modal .toggle:checked:before {
  transform: translateX(16px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  padding: 8px 26px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #283593;
  color: #fff;
  transition: background 0.15s;
}
.cookie-modal button.close-modal {
  background: #232323;
  color: #fff;
}
.cookie-modal button.accept {
  background: #283593;
  color: #fff;
}
.cookie-modal button.reject {
  background: #dedede;
  color: #232323;
  border: 1px solid #c1c1c1;
}
.cookie-modal button.reject:hover, .cookie-modal button.reject:focus { background: #c1c1c1; color: #232323; }

/* UTILITY */
.nowrap, .cookie-modal label span {
  white-space: nowrap;
}
.hidden { display: none!important; }

/* MONOCHROME SOPHISTICATED ADJUSTMENTS */
body, .content-wrapper, .section, .hero, .card, .testimonial-card, .cookie-banner, .cookie-modal, .footer-nav, .input, input, textarea, table, th, td {
  background: #ffffff63;
  color: #232323;
}
.card, .testimonial-card, .guarantee-statement {
  box-shadow: 0 2px 18px rgba(30,30,30,.09);
  border-radius: 13px;
}
.testimonial-card, .guarantee-statement {
  border: 1px solid #dedede;
  background: #fafafa;
  color: #232323;
}
.testimonial-card p { font-size: 16px; line-height: 1.6; color: #2a2a2a; }
.testimonial-card span { font-size: 14px; font-weight: 500; color: #777; margin-top: 8px; }

/* Visual Hierarchy Contrast Accent Lines */
h2 {
  position: relative;
  padding-left: 6px;
}
h2:before {
  content: '';
  display: inline-block;
  width: 38px;
  height: 3px;
  background: #232323;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: -13px;
}
@media (max-width: 768px){
  h2:before { display:none; }
}

/* Hide scroll for modal open */
body.modal-open {
  overflow: hidden;
}

/* Animations for Slide-In/Out Menu */
.mobile-menu {
  will-change: transform;
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
}

/* Utility for visually hiding only */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap !important;
}
