/* =============================
   CSS RESET & NORMALIZATION
   ============================= */
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, menu, 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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #FAFAF7;
  color: #232B34;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, picture, object, embed, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #70A1B5;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #232B34;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
  list-style-position: outside;
}
li {
  margin-bottom: 8px;
}
th, td {
  padding: 8px 16px;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 0 2px 6px rgba(35,43,52,0.05);
}
th {
  text-align: left;
  background: #F4E4DD;
  color: #232B34;
  font-weight: 600;
}
td {
  border-bottom: 1px solid #F4E4DD;
}
::-webkit-input-placeholder { color: #929292; }
:-moz-placeholder { color: #929292; }
::-moz-placeholder { color: #929292; }
:-ms-input-placeholder { color: #929292; }

/* =============================
   BRAND TYPOGRAPHY
   ============================= */
@import url('https://fonts.googleapis.com/css?family=Raleway:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, .hero h1 {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #232B34;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h2 {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #232B34;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
h3 {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #232B34;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  color: #232B34;
}
strong { font-weight: 600; color: #232B34; }
em { color: #70A1B5; font-style: italic; }
p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #232B34;
}

/* =============================
   BASICS, CONTAINERS & UTILITIES
   ============================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 40px;
  }
}

.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(35,43,52,0.06);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.19s;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 20px rgba(35,80,112,0.14);
  transform: translateY(-2px) scale(1.012);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-top: 10px;
  margin-bottom: 10px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4e4dd48;
  border-radius: 10px;
  padding: 22px 0;
  color: #929292;
  font-style: italic;
  margin-top: 12px;
  min-height: 70px;
}

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

@media (max-width: 850px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(35,43,52,0.07);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 16px;
  position: relative;
}
.logo {
  min-width: 110px;
  max-width: 135px;
  display: flex;
  align-items: center;
}
.logo img {
  max-height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 24px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #232B34;
  font-weight: 500;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: border 0.18s, color 0.18s;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  color: #70A1B5;
  border-bottom: 2px solid #70A1B5;
}
.primary-cta {
  background: #70A1B5;
  color: #fff;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(112,161,181,0.10);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.17s;
  display: inline-block;
  text-align: center;
}
.primary-cta:hover, .primary-cta:focus {
  background: #232B34;
  color: #fff;
  box-shadow: 0 4px 20px rgba(112,161,181,0.16);
  transform: translateY(-1.5px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #232B34;
  cursor: pointer;
  outline: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  border-radius: 50%;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #F4E4DD;
  color: #70A1B5;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =============================
   MOBILE MENU SLIDEOVER
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,43,52, 0.54);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.28s cubic-bezier(.45,.05,.13,1.04);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #fff;
  position: absolute;
  top: 26px;
  right: 36px;
  z-index: 1001;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.19s, color 0.17s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4E4DD;
  color: #232B34;
}
.mobile-nav {
  background: #fff;
  min-width: 250px;
  max-width: 97vw;
  height: 100vh;
  padding: 50px 36px 24px 28px;
  border-radius: 0 32px 32px 0;
  box-shadow: 4px 0 12px rgba(35,43,52,0.13);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.mobile-nav a {
  color: #232B34;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 0 14px 6px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4E4DD;
  color: #70A1B5;
}
@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
}

/* =============================
   HERO SECTION
   ============================= */
.hero {
  background: #F4E4DD;
  padding: 64px 0 48px 0;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 36px -22px #232B3410;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  min-height: 285px;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  color: #232B34;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.18rem;
  color: #232B34;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .hero {
    padding: 40px 0 24px 0;
    border-radius: 0 0 22px 22px;
    min-height: 180px;
    margin-bottom: 36px;
  }
  .hero .container {
    padding: 0 10px;
  }
}

/* =============================
   FEATURES / SERVICES OVERVIEW
   ============================= */
.features-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(35,43,52,0.08);
  padding: 28px 20px 18px 28px;
  min-width: 250px;
  flex: 1 1 250px;
  margin-bottom: 8px;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.features-grid > div:hover, .features-grid > div:focus {
  box-shadow: 0 4px 24px rgba(112,161,181,0.18);
  transform: translateY(-2px) scale(1.013);
}
.features-grid h3 { margin-bottom: 5px; }
.features-grid p { color: #232B34; font-size: 1rem; }
.features-grid strong { color: #70A1B5; }
@media (max-width: 850px) {
  .features-grid > div {
    min-width: 90%;
    margin-bottom: 12px;
    padding: 24px 14px 14px 20px;
  }
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonials {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(35,43,52,0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2 {
  margin-bottom: 26px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #F4E4DD;
  color: #232B34;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.06rem;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 8px rgba(35,43,52,0.045);
  margin-bottom: 20px;
  max-width: 520px;
  border-left: 5px solid #70A1B5;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card p {
  color: #232B34;
  font-size: 1.13rem;
  font-style: italic;
  line-height: 1.6;
}
.testimonial-card span {
  color: #232B34;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.8;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 3px 20px rgba(112,161,181,0.15);
  transform: scale(1.015) translateY(-2px);
}
@media (max-width: 900px) {
  .testimonial-card { max-width: 99vw; }
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #F4E4DD;
  border-top: 1px solid #EBD4C4;
  border-radius: 22px 22px 0 0;
  padding: 32px 0 12px 0;
  margin-top: 50px;
  font-size: 1rem;
  color: #232B34;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 5px;
}
.footer-nav a {
  color: #232B34;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.7;
  transition: opacity 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: #70A1B5;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  color: #232B34;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 0.9;
}
.footer-brand img {
  height: 30px;
  width: auto;
  filter: grayscale(30%);
  opacity: 0.93;
}

/* =============================
   FORMS & TABLES
   ============================= */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 1px solid #E5E5E5;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  background: #fff;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #70A1B5;
  outline: none;
}
button, .button {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  background: #70A1B5;
  color: #fff;
  padding: 11px 28px;
  border: none;
  border-radius: 26px;
  box-shadow: 0 1px 7px rgba(112,161,181,0.11);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  font-size: 1rem;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #232B34;
  color: #fff;
  transform: scale(1.03);
}

/* =============================
   COOKIE BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #232B34;
  box-shadow: 0 -2px 16px rgba(35,43,52,0.09);
  padding: 20px 16px;
  z-index: 10001;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  animation: cookiefadein 0.38s;
}
@keyframes cookiefadein {
  0% { transform: translateY(60%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1;
  font-size: 1rem;
  color: #232B34;
  margin-right: 18px;
  min-width: 0;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn, .cookie-settings-btn {
  background: #70A1B5;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, transform .14s;
}
.cookie-btn.reject {
  background: #f3b3a8;
  color: #232B34;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #232B34;
  color: #fff;
  transform: scale(1.03);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #cc7666;
  color: #fff;
}
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0;left: 0;right: 0;bottom: 0;
  background: rgba(35,43,52,0.45);
  z-index: 10002;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .28s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 94vw;
  box-shadow: 0 6px 36px rgba(112,161,181,0.16);
  padding: 38px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: appear .31s ease;
}
@keyframes appear {
  0% { transform: scale(.9) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 12px;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.35rem;
  color: #232B34;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F4E4DD;
  font-size: 1rem;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  color: #232B34;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  margin-right: 14px;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-switch input { display:none; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #EBD4C4;
  border-radius: 16px;
  transition: background 0.19s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #70A1B5;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #232B34;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #70A1B5;
}
@media (max-width: 400px) {
  .cookie-modal {
    padding: 20px 6px 12px 6px;
  }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* =============================
   MISC / SECTIONS / ELEMENTS
   ============================= */
hr {
  border: none;
  border-bottom: 1.2px solid #EBD4C4;
  margin: 28px 0;
}
.section em {
  font-size: 1.02rem;
  color: #70A1B5;
  margin: 10px 0 0 0;
}
.secondary, .secondary-text {
  color: #70A1B5;
}
.bg-accent {
  background: #F4E4DD !important;
}
.bg-primary {
  background: #232B34 !important;
  color: #fff;
}
.shadow {
  box-shadow: 0 3px 18px rgba(35,43,52,0.08);
}
.rounded {
  border-radius: 12px;
}

/* =============================
   RESPONSIVE: GENERAL
   ============================= */
@media (max-width: 700px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  h1, .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.09rem; }
  .footer-nav {
    gap: 12px;
    font-size: 0.99rem;
  }
}
@media (max-width: 500px) {
  .footer-brand span {
    font-size: 0.95rem;
  }
  .testimonial-card { padding: 14px; }
}

/* =============================
   SPACING & FLEXBOX RULES
   ============================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============================
   VISUAL HIERARCHY & INTERACTIONS
   ============================= */
.card, .features-grid > div, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.17s;
}
.card:focus-visible, .features-grid > div:focus-visible, .testimonial-card:focus-visible {
  outline: 2px solid #70A1B5;
  outline-offset: 2px;
}

/* =============================
   PRINT STYLES
   ============================= */
@media print {
  body, html { background: #fff !important; color: #000 !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
