/* ==== CSS RESET & BASE ==== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFFFFF;
  color: #253D5B;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  min-width: 320px;
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FDB714;
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #253D5B;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.6em;
  line-height: 1.15;
}
h1 { font-size: 2.25rem; margin-top: 0.4em; }
h2 { font-size: 1.75rem; margin-top: 0.8em; }
h3 { font-size: 1.25rem; margin-top: 0.9em; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

p, ul, ol {
  margin-bottom: 1.2em;
  font-size: 1rem;
}
ul, ol { padding-left: 1.2em; }
li:not(:last-child) { margin-bottom: 0.7em; }

/* ==== CONTAINER & GENERAL LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(37,61,91,0.05);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  margin-bottom: 16px;
  max-width: 700px;
}

/* === FLEX LAYOUTS (NO GRID) === */
.card-container,
.card-grid,
.content-grid,
.feature-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.content-grid {
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 3px 26px rgba(37,61,91,0.09);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 700px;
}

.card {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(37,61,91,0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 6px 26px rgba(37,61,91,0.15);
  transform: translateY(-2px) scale(1.016);
}

ul.feature-grid, ul.service-list, ul.feature-icons {
  list-style: none;
  padding-left: 0;
}

ul.feature-grid li, ul.feature-icons li, ul.service-list li {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(37,61,91,0.06);
  padding: 22px 18px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 200px;
  max-width: 320px;
  transition: box-shadow 0.3s, transform 0.14s;
}
ul.feature-grid li:hover, ul.service-list li:hover, ul.feature-icons li:hover {
  box-shadow: 0 8px 28px rgba(37,61,91,0.09);
  transform: translateY(-2px) scale(1.012);
}
ul.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
ul.feature-icons li {
  border: none;
  padding: 14px 14px;
  min-width: 190px;
  box-shadow: 0 1px 6px rgba(37,61,91,0.04);
  align-items: center;
  flex-direction: row;
  gap: 12px;
}

/***** ==== HEADER & NAVIGATION ==== *****/
header {
  background: #FFF;
  border-bottom: 1px solid #EEF0F3;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 38px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #253D5B;
  font-size: 1rem;
  padding: 8px 0;
  transition: color 0.18s;
  border-radius: 5px;
}
nav a:hover, nav a:focus {
  color: #FDB714;
  background: rgba(253,183,20,0.12);
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #253D5B;
  color: #FFF;
  border: none;
  outline: 0;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 7px;
  box-shadow: 0 1px 8px rgba(37,61,91,0.08);
  transition: background 0.17s, color 0.18s, box-shadow 0.18s, transform 0.11s;
  cursor: pointer;
  margin-left: 16px;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FDB714;
  color: #253D5B;
  box-shadow: 0 4px 16px rgba(253,183,20,0.22);
  transform: translateY(-2px) scale(1.038);
}

/***** ==== MOBILE MENU ==== *****/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #253D5B;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  z-index: 201;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #EEF0F3;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF;
  box-shadow: 0 8px 64px rgba(37,61,91,0.15);
  z-index: 200;
  transform: translateX(-105%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(.77,0,.18,1), opacity 0.24s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #253D5B;
  cursor: pointer;
  margin: 18px 18px 0 auto;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #EEF0F3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 50px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #253D5B;
  font-size: 1.23rem;
  padding: 8px 0 8px 8px;
  border-radius: 5px;
  width: 100%;
  display: block;
  transition: background 0.19s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FDB71433;
  color: #FDB714;
}

/* Hide desktop nav and show mobile button on small screens */
@media (max-width: 1020px) {
  nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .mobile-menu {
    padding: 0;
  }
  .mobile-nav {
    margin-left: 18px;
  }
}

/***** ==== HERO SECTION ==== *****/
.hero {
  background: #F7FAFC;
  padding-top: 52px;
  padding-bottom: 52px;
  margin-bottom: 50px;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 2px 30px rgba(37,61,91,0.029);
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.6rem;
  color: #253D5B;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 22px;
  color: #364B6D;
  max-width: 520px;
}
.hero .btn-primary {
  margin-left: 0;
}

/***** ==== TESTIMONIALS ==== *****/
.testimonial-card {
  background: #FFF;
  color: #273747;
  box-shadow: 0 8px 38px rgba(37,61,91,0.10);
  margin-bottom: 22px;
  border-radius: 16px;
  min-width: 0;
  flex:1 1 320px;
  max-width: 490px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card blockquote {
  color: #253D5B;
  font-style: italic;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  margin: 0 0 10px 0;
}
.testimonial-card span {
  color: #838B98;
  font-size: 0.97rem;
  margin-top: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 12px 44px rgba(37,61,91,0.16);
  transform: translateY(-2px) scale(1.015);
}

/***** ==== FOOTER ==== *****/
footer {
  background: #F7FAFC;
  padding: 38px 0 26px 0;
  border-top: 1px solid #EEF0F3;
  margin-top: 70px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-menu a {
  color: #253D5B;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.87;
  transition: color 0.21s, opacity 0.13s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #FDB714;
  opacity: 1;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 15px;
  flex-direction: row;
  justify-content: center;
}
.footer-contact img {
  width: 48px;
  height: 48px;
  margin-right: 20px;
}
.footer-contact p {
  color: #253D5B;
  font-size: 0.98rem;
  opacity: 0.78;
  line-height: 1.77;
  display: inline-block;
  margin-bottom: 0;
}
.footer-contact img[alt*="icon"] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}

/***** ==== SECTION/CONTENT CARDS ==== *****/
.card-content, .content-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

/***** ==== BUSINESS HOURS / MAP EMBED ==== *****/
.business-hours, .map-embed {
  background: #FBFCFE;
  color: #253D5B;
  border-left: 4px solid #FDB714;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px 20px;
  min-width: 210px;
  flex: 1 1 260px;
  box-shadow: 0 2px 5px rgba(37,61,91,0.03);
}

/***** ==== BUTTONS ==== *****/
.btn-primary, .btn-secondary, .cc-btn {
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s, transform 0.1s;
}
.btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #FFF;
  color: #253D5B;
  border: 1.5px solid #253D5B;
  font-weight: 600;
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 7px;
  transition: border 0.16s, color 0.14s;
  margin-left: 12px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #253D5B;
  color: #FFF;
  border-color: #253D5B;
}

/***** ==== COOKIE CONSENT BANNER ==== *****/
.cookie-consent {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #253D5B;
  color: #FFF;
  box-shadow: 0 -4px 34px rgba(37,61,91,0.12);
  z-index: 2020;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 32px;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  animation: slideInBottom 0.53s cubic-bezier(.77,0,.18,1);
}
@keyframes slideInBottom {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cc-message {
  flex: 1 1 340px;
  line-height: 1.45;
  font-size: 1rem;
  max-width: 525px;
}

.cc-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cc-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 7px;
  padding: 0.7em 1.7em;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0 6px;
}
.cc-btn.accept {
  background: #FDB714;
  color: #253D5B;
}
.cc-btn.reject {
  background: #FFF;
  color: #253D5B;
  border: 1.5px solid #FDB714;
}
.cc-btn.settings {
  background: transparent;
  color: #FDB714;
  border: none;
  text-decoration: underline;
  padding: 0.7em 0.8em;
}
.cc-btn:hover, .cc-btn:focus {
  box-shadow: 0 4px 16px rgba(253,183,20,0.17);
  color: #253D5B;
  background: #FDB71488;
}

/***** ==== COOKIE PREFERENCES MODAL ==== *****/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30,42,60,0.42);
  z-index: 2050;
  justify-content: center;
  align-items: center;
  animation: fadeInOverlay 0.41s cubic-bezier(.77,0,.18,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  color: #253D5B;
  padding: 38px 26px 28px 26px;
  border-radius: 18px;
  max-width: 440px;
  width: 96vw;
  box-shadow: 0 10px 48px rgba(37,61,91,0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: popIn 0.41s cubic-bezier(.77,0,.18,1);
}
@keyframes popIn {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.37rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 12px 0;
}
.cookie-category label {
  font-size: 1.01rem;
}
.toggle-switch {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #EEF0F3;
  border-radius: 12px;
  position: relative;
  transition: background 0.13s;
  outline: none;
  cursor: pointer;
  vertical-align: middle;
}
.toggle-switch:checked {
  background: #FDB714;
}
.toggle-switch::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(37,61,91,0.07);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.18s, background 0.14s;
}
.toggle-switch:checked::before {
  left: 20px;
  background: #FFF;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 17px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #838B98;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #FDB714;
}

/***** ==== RESPONSIVE DESIGN ==== *****/
@media (max-width: 1140px) {
  .container { max-width: 100%; }
}
@media (max-width: 900px) {
  .footer-contact {
    flex-direction: column;
    align-items: center;
  }
  ul.feature-grid, ul.feature-icons, ul.service-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 26px 10px;
  }
  .hero {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 32px;
    border-radius: 0 0 20px 20px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.23rem; }
  .container {
    padding: 0 10px;
  }
  .content-wrapper, .content-grid {
    gap: 14px;
  }
  .feature-grid, .service-list, .feature-icons {
    gap: 14px;
  }
  .content-grid, .card-container, .card-grid {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }
  .footer-contact img {
    margin: 0 auto 10px auto;
  }
  .business-hours, .map-embed {
    margin: 10px 0 10px 0;
    padding: 15px 10px;
  }
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.98rem;
    padding: 16px 14px;
    border-radius: 20px 20px 0 0;
  }
  .cc-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.23rem; }
  .btn-primary, .btn-secondary, .cc-btn {
    padding: 10px 14px;
    font-size: 0.98rem;
  }
  .testimonial-card, ul.feature-grid li, ul.service-list li {
    padding: 14px 8px;
  }
}
@media (max-width: 470px) {
  header .container { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-menu { gap: 8px; }
  .footer-contact {
    flex-direction: column;
    gap: 0;
  }
}

/***** ==== ANIMATIONS & MICRO-INTERACTIONS ==== *****/
a, button, .btn-primary, .btn-secondary, .card, .testimonial-card, ul.feature-icons li {
  transition: all 0.16s cubic-bezier(.68,.15,.37,.89);
}
section, .section {
  transition: box-shadow 0.16s cubic-bezier(.68,.21,.36,.87), background 0.2s;
}
