/* ========================
   CSS RESET & NORMALIZE
======================== */
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;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F6F6F3;
  color: #253B4D;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
}
:root {
  --primary: #253B4D;
  --secondary: #E5B97F;
  --accent: #F6F6F3;
  --danger: #b71c1c;
  --success: #009688;
}

/* ========================
   TYPOGRAPHY
======================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 2.75rem;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.1;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.15;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary);
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, .subhead, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #253B4D;
  line-height: 1.7;
}
.subhead {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
}

/* Typography Scale for Responsive */
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  h3, .h3 { font-size: 1.125rem; }
  .subhead { font-size: 1.05rem; }
}

/* =========================
   CONTAINER & LAYOUT
======================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px 0 rgba(27,41,60,0.10);
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px 0 rgba(27,41,60,0.14);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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: #fff;
  color: #253B4D;
  border-radius: 14px;
  box-shadow: 0 3px 12px 0 rgba(27,41,60,0.08);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  max-width: 540px;
  min-width: 200px;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  line-height: 1.6;
  color: #253B4D;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* List icons, cards and feature ul */
ul {
  padding-left: 0;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #253B4D;
  line-height: 1.7;
}
ul li img {
  width: 28px;
  height: 28px;
  background: #253B4D;
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 1px 4px 0 rgba(39,41,61,0.065);
}

ol {
  padding-left: 24px;
}
ol li::marker {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.08rem;
}

/* Spacing between cards, sections etc */
section, .section {
  margin-bottom: 60px;
  /* already has padding in .section */
}
.card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 24px;
}

/* ========================
   HEADER & NAV
======================== */
header {
  background: #fff;
  padding: 0;
  box-shadow: 0 1px 10px 0 rgba(27,41,60,0.03);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #253B4D;
  padding: 10px 13px;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
header nav a:hover {
  background: var(--secondary);
  color: #fff;
}
header nav a.btn-primary {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  padding: 11px 18px;
  letter-spacing: 1px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px 0 rgba(27,41,60,0.08);
  margin-left: 14px;
}
header nav a.btn-primary:hover, header nav a.btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
}
header nav img {
  height: 38px;
  width: auto;
  margin-right: 14px;
}

/* ========================
   MOBILE MENU
======================== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 1.7rem;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(27,41,60,0.15);
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 104;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,59,77,0.97);
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  transition: transform 0.35s cubic-bezier(.76,.11,.9,.77), opacity 0.22s;
  transform: translateX(100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 1003;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.32rem;
  letter-spacing: 0.8px;
  padding: 10px 0;
  transition: color 0.14s, background 0.14s;
  border-radius: 10px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(229,185,127,0.11);
}

/* Responsive Mobile Nav */
@media (max-width:990px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width:991px) {
  .mobile-menu {
    display: none !important;
  } 
}

/* ========================
   BUTTONS & LINKS
======================== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  border-radius: 16px;
  padding: 13px 25px;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  margin-top: 16px;
  box-shadow: 0 2px 8px 0 rgba(27,41,60,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* Links in content */
main a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  border-radius: 4px;
  transition: color 0.13s, background 0.13s;
  padding: 2px 2px;
}
main a:hover, main a:focus {
  background: var(--secondary);
  color: #fff;
}

/* ========================
   FOOTER
======================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 24px 0;
  border-radius: 32px 32px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 7px 11px;
  transition: background 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-info {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.99rem;
  color: #cddce7;
  margin-top: 6px;
}

/* ========================
   HERO, SECTIONS, SPECIAL
======================== */
main section {
  margin-bottom: 60px;
}
main section:first-child {
  background: var(--secondary);
  border-radius: 0 0 24px 24px;
  margin-bottom: 40px;
  box-shadow: 0 2px 18px 0 rgba(27,41,60,0.11);
}
main section:first-child .content-wrapper,
main section:first-child .text-section {
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
main section:first-child h1,
main section:first-child .subhead {
  color: var(--primary);
}
main section:first-child .btn-primary {
  background: var(--primary);
  color: #fff;
}

/* ========================
   MAP, CONTACT
======================== */
.contact-list {
  gap: 14px;
}
.map-placeholder {
  width: 100%;
  min-height: 100px;
  background: #eaf0f7;
  border-radius: 14px;
  color: #253B4D;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 16px 0 0 0;
  padding: 18px 9px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ========================
   COOKIE CONSENT BANNER
======================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 20px 0 rgba(37,59,77,0.09);
  border-top: 2px solid var(--secondary);
  z-index: 1200;
  padding: 24px 20px;
  width: 100%;
  gap: 18px;
  font-size: 1rem;
  min-height: 74px;
  transition: transform 0.33s, opacity 0.22s;
}
.cookie-consent-banner .banner-message {
  flex: 2 1 300px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 12px;
  padding: 10px 17px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  transition: background 0.13s, color 0.13s, border 0.13s;
  cursor: pointer;
}
.cookie-consent-banner .btn-settings {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-consent-banner .btn-settings:hover, .cookie-consent-banner .btn-settings:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-consent-banner .btn-accept:hover, .cookie-consent-banner .btn-accept:focus {
  background: var(--success);
}
.cookie-consent-banner .btn-reject {
  background: var(--danger);
  color: #fff;
}
.cookie-consent-banner .btn-reject:hover, .cookie-consent-banner .btn-reject:focus {
  background: #fff;
  color: var(--danger);
  border: 1px solid var(--danger);
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px;
    gap: 14px;
  }
  .cookie-consent-banner .cookie-actions {
    align-self: stretch;
    justify-content: flex-end;
    width: 100%;
    gap: 10px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(37,59,77,0.63);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(27,41,60,0.22);
  min-width: 320px;
  max-width: 98vw;
  padding: 32px 22px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.cookie-category label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 22px;
  height: 22px;
}
.cookie-modal-content .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-content .btn-primary, .cookie-modal-content .btn-secondary {
  margin-top: 0;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 21px; right: 32px;
  background: none;
  color: var(--primary);
  border: none;
  font-size: 2.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

/* ========================
   RESPONSIVE BREAKPOINTS
======================== */
@media (max-width: 980px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 99vw;
    padding: 0 9px;
  }
  section, .section {
    margin-bottom: 38px;
    padding: 22px 4px;
  }
  .card, .testimonial-card {
    padding: 16px;
    border-radius: 13px;
  }
  main section:first-child {
    padding: 20px 6px 48px 6px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .text-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 100%;
    width: 100%;
  }
}

/* ========================
   MICRO-INTERACTIONS
======================== */
.card, .testimonial-card, .btn-primary, .btn-secondary, .map-placeholder, .cookie-modal-content {
  transition: box-shadow 0.17s, transform 0.10s, border 0.13s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 34px 0 rgba(27,41,60,0.12), 0 1px 3px rgba(229,185,127,0.10);
  transform: translateY(-2px);
}
ul li img {
  transition: box-shadow 0.13s, transform 0.10s;
}
ul li img:hover {
  box-shadow: 0 3px 16px 0 rgba(229,185,127,0.25);
  transform: scale(1.12) rotate(-3deg);
}

/* ========================
   GEOMETRIC & BOLD STYLES
======================== */
.card, .testimonial-card {
  border: 2px solid var(--accent);
  border-left-width: 8px;
  border-top: 2px solid var(--secondary);
}
main section:first-child {
  border-bottom: 6px solid var(--primary);
  border-radius: 0 0 32px 32px;
}

/* ========================
   HIGH CONTRAST FOR TESTIMONIALS
======================== */
.testimonial-card {
  background: #fff;
  color: #253B4D;
  border-left: 8px solid var(--secondary);
  box-shadow: 0 2px 10px 0 rgba(27,41,60,0.065);
}
.testimonial-card p {
  color: #253B4D;
}
.testimonial-card span {
  color: var(--secondary);
  font-weight: 800;
}

/* ========================
   MISCELLANEOUS / UTILITIES
======================== */
::-webkit-scrollbar {
  width: 10px;
  background: #eee;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 6px;
}

/* ========================
   PRINT SUPPORT
======================== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  main { background: #fff; }
  body { background: #fff; color: #222; }
}

/* ========================
   ACCESSIBILITY (FOCUS)
======================== */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid var(--secondary);
  background: var(--secondary);
  color: var(--primary);
}

/* ========================
   NO GRID, COLUMNS USED - ONLY FLEX
======================== */
