/* =============================
    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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
  min-height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: #14526C;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .32s cubic-bezier(.4,1,.7,1.2);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-style: none;
}
ul, ol {
  padding-left: 1.2em;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}
input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  border-radius: 0;
  border: 1px solid #14526C33;
  background: #fff;
  color: #222;
  padding: 10px;
}

/* ===============================
   FONTS & BRAND COLORS
   =============================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
:root {
  --color-primary: #14526C;
  --color-accent: #C94D3F;
  --color-accent-b: #B02B1A;
  --color-secondary: #EEDBCA;
  --color-light: #FFFFFF;
  --color-card-bg: #FAFAFA;
  --color-shadow: 0 4px 24px 0 rgba(20,82,108,.08);
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--color-light);
  color: var(--color-primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--color-primary);
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
  font-weight: 700;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}
p, ul, ol, li, blockquote {
  font-size: 1.08rem;
  margin-bottom: 12px;
}
blockquote {
  background: var(--color-secondary);
  color: #222;
  border-left: 4px solid var(--color-accent);
  margin: 0;
  padding: 14px 18px;
  font-style: italic;
}
strong {
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  background: var(--color-light);
  box-shadow: 0 3px 32px 0 rgba(20,82,108,0.05);
  position: relative;
  z-index: 25;
}
header .container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
  min-width: 115px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 14px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--color-primary);
  padding: 10px 6px;
  border-radius: 7px;
  transition: background .23s, color .23s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-light);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  background: var(--color-accent);
  color: var(--color-light);
  border-radius: 32px;
  border: none;
  min-width: 162px;
  padding: 13px 32px;
  margin-left: 30px;
  box-shadow: 0 3px 12px 0 rgba(201,77,63,0.11);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .23s, box-shadow .22s, transform .1s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-accent-b);
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(201,77,63,0.22);
  transform: translateY(-2px) scale(1.05);
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-light);
  border: none;
  border-radius: 9px;
  padding: 8px 14px;
  font-size: 1.9rem;
  line-height: 1;
  margin-left: auto;
  transition: background .23s;
  z-index: 100;
}
.mobile-menu-toggle:hover {
  background: var(--color-accent);
}

/* ===============================
   MOBILE MENU
   =============================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 90vw;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 40px rgba(20,82,108,0.14);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.75,0,.25,1);
  padding: 36px 28px 24px 24px;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  position: absolute;
  top: 15px;
  right: 16px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(201,77,63,0.07);
  transition: background .22s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent-b);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--color-primary);
  padding: 14px 8px 14px 0;
  border-radius: 7px;
  transition: background .23s, color .23s;
  line-height: 1.2;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--color-accent);
  color: #fff;
}

/* OVERLAY WHEN MENU OPEN (OPTIONAL FOR EFFECT) */
.mobile-menu-overlay {
  content: '';
  background: rgba(20,82,108,.24);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 7777;
  display: none;
}
.mobile-menu.open ~ .mobile-menu-overlay {
  display: block;
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  background: linear-gradient(135deg, #EEDBCA 54%, #FDF0F4 100%);
  padding: 72px 0 40px 0;
  box-shadow: 0 16px 32px -12px rgba(201,77,63,.07);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 610px;
  gap: 8px;
}
.hero h1 {
  color: var(--color-accent);
  font-size: 2.65rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.16rem;
  max-width: 450px;
  margin-bottom: 22px;
  color: #222;
}
.hero .btn-primary {
  font-size: 1.09rem;
  letter-spacing: 1.3px;
  font-weight: 900;
}

/* ===============================
   UTILITY LAYOUTS & CONTENT WRAPPERS
   =============================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 17px;
  box-shadow: 0 2px 16px 0 rgba(20,82,108,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 26px 30px;
  min-width: 270px;
  max-width: 360px;
  transition: box-shadow .18s, transform .17s;
}
.card:hover,
.card:focus {
  box-shadow: 0 8px 36px 0 rgba(201,77,63,0.16);
  transform: translateY(-6px) scale(1.015);
  z-index: 1;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.map-embed-placeholder {
  background: #ffe6e3;
  padding: 26px 22px;
  border-radius: 13px;
  border: 1px dashed var(--color-accent);
  color: #222;
}

/* ===============================
   FEATURE GRID & CARDS
   =============================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--color-card-bg);
  border-radius: 15px;
  box-shadow: 0 2px 18px 0 rgba(20,82,108,0.06);
  padding: 26px 20px 18px 22px;
  width: 230px;
  min-width: 190px;
  max-width: 296px;
  transition: box-shadow .19s, background .18s, transform .11s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  background: #fff6f5;
  box-shadow: 0 14px 34px 0 rgba(201,77,63,0.10);
  transform: scale(1.034);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
.feature-grid h3, .feature-grid h4 {
  margin-bottom: 3px;
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============================
   TESTIMONIAL CARDS
   =============================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 24px 0 rgba(20,82,108,0.13);
  margin-bottom: 18px;
  border-left: 6px solid var(--color-accent);
  transition: box-shadow .15s, transform .14s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px 0 rgba(201,77,63,.17);
  transform: scale(1.019);
}
.testimonial-card blockquote {
  background: none;
  color: #22353c;
  font-size: 1.13rem;
  border-left: none;
  padding: 0;
  margin: 0 0 0 0;
  font-style: italic;
}
.testimonial-card p {
  margin: 0 0 0 10px;
  font-size: 1rem;
  color: #2f2f2f;
}
.testimonial-card strong {
  color: var(--color-accent);
}

/* ===============================
   FOOTER & CONTACT
   =============================== */
footer {
  background: linear-gradient(90deg, var(--color-primary) 62%, var(--color-accent-b) 100%);
  color: #fff;
  padding: 48px 0 32px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 38px;
  align-items: flex-start;
  justify-content: space-between;
}
footer .logo {
  margin-bottom: 13px;
}
footer p, footer li {
  color: #f4f4f4;
  font-size: 0.97rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #fff5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: color .21s;
}
.footer-nav a:focus,
.footer-nav a:hover {
  color: #fff;
}
footer img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  width: 20px;
  height: 20px;
}

/* ===============================
   SPACING & PATTERNS (MANDATORY)
   =============================== */
.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;
}

/* ===============================
   COOKIE CONSENT BANNER
   =============================== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(100%);
  width: 94vw;
  max-width: 480px;
  background: #fff7f2;
  box-shadow: 0 -4px 32px rgba(20,82,108,0.09);
  z-index: 22000;
  border-radius: 19px 19px 0 0;
  padding: 25px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: transform .44s cubic-bezier(.6,1,.1,1.09), opacity .28s;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 17px;
  margin-top: 2px;
}
.cookie-btn {
  appearance: none;
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 1rem;
  border-radius: 13px;
  padding: 8px 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201,77,63,0.10);
  transition: background .19s, color .17s, box-shadow .15s;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--color-accent-b);
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(201,77,63,0.17);
}
.cookie-btn.reject {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #ead7c3;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-secondary);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 48%;
  transform: translate(-50%,-50%) scale(0.89);
  background: #fff;
  border-radius: 19px;
  padding: 38px 32px;
  box-shadow: 0 10px 44px rgba(20,82,108,.21);
  z-index: 22222;
  min-width: 310px;
  max-width: 97vw;
  opacity: 0;
  pointer-events: none;
  transition: transform .34s, opacity .27s;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.cookie-modal.visible {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h3 {
  font-size: 1.32rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 12px;
  background: #f6fafc;
  border-radius: 9px;
  padding: 7px 12px;
}
.cookie-category label {
  font-weight: 700;
  font-size: 1.10rem;
  color: var(--color-accent-b);
}
.cookie-category .cookie-toggle {
  margin-left: auto;
  background: #eee;
  border-radius: 24px;
  width: 40px;
  height: 24px;
  position: relative;
  transition: background .23s;
  display: flex;
  align-items: center;
  padding: 1px;
}
.cookie-category .cookie-toggle input[type=checkbox] {
  display: none;
}
.cookie-category .cookie-toggle .slider {
  position: absolute;
  left: 3px;
  top: 3px;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  transition: left .2s, background .2s;
}
.cookie-category .cookie-toggle input[type=checkbox]:checked + .slider {
  left: 19px;
  background: var(--color-primary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 10px;
}

.cookie-modal .cookie-btn {
  min-width: 86px;
}

/* ===============================
   MEDIA QUERIES (MOBILE FIRST)
   =============================== */
@media (max-width: 1040px) {
  .container { max-width: 97vw; }
  .main-nav { gap: 12px; }
  .footer .content-wrapper { gap: 30px 12px; }
}
@media (max-width: 900px) {
  .feature-grid { gap: 18px; }
  .feature-grid > div { min-width: 170px; width: 47%; max-width: 99vw; }
  .content-grid { gap: 14px; }
  .card-container { gap: 14px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .main-nav { display: none !important; }
  .btn-primary {
    margin-left: 0;
    padding: 13px 16px;
    min-width: 110px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 10px;
    min-height: 60px;
  }
  .hero {
    padding: 38px 0 28px 0;
  }
  .section {
    padding: 22px 4px;
    margin-bottom: 41px;
  }
  .feature-grid {
    gap: 11px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid > div {
    min-width: 90vw;
    width: 95vw;
    max-width: 100vw;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 13px 14px 16px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .content-grid, .card-container {
    gap: 8px;
    flex-direction: column;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  footer {
    padding: 28px 0 17px 0;
  }
}
@media (max-width: 480px) {
  footer {
    font-size: 0.92rem;
    padding: 18px 0 8px 0;
  }
  .footer-nav a, footer p {
    font-size: 0.92rem;
  }
  .hero .container { padding: 0 8px; }
}

/* ===============================
   DYNAMIC/HIGHLIGHT EFFECTS
   =============================== */
.card, .feature-grid > div, .testimonial-card, .btn-primary {
  transition: box-shadow .18s, background .19s, transform .13s, color .14s;
}
.btn-primary, .cookie-btn {
  will-change: transform;
}

/* ===============================
   FORM ELEMENTS (if any in the future)
   =============================== */
input, textarea {
  border: 1.5px solid #ccd3d372;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
}
input:focus, textarea:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
}

/* ===============================
   MISC
   =============================== */
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

@media (max-width:400px) {
  .cookie-banner {
    max-width: 99vw;
    padding: 18px 8px 16px;
  }
  .cookie-modal {
    padding: 21px 6px;
    min-width: 0;
  }
}

/* ======================
      HIGHLIGHT TWEAKS
======================== */
::selection {
  background: var(--color-accent);
  color: #fff;
}

/* ===============================
   HIDE/SHOW UTILITIES
   =============================== */
.hide-on-mobile {
  display: block;
}
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* ===============================
   WHITE SPACE and VISUAL BREATHING
   =============================== */
main > section, .section {
  margin-bottom: 52px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 12px;
}

/* ===============================
   VISUAL ENERGY EFFECTS
   =============================== */
.feature-grid > div, .card, .btn-primary, .testimonial-card {
  box-shadow: 0 3px 16px 0 rgba(20,82,108,0.08);
}
.feature-grid > div:hover, .card:hover, .btn-primary:hover, .testimonial-card:hover, .feature-grid > div:focus {
  box-shadow: 0 11px 36px 0 rgba(201,77,63,0.13);
}

/* ===============================
   BOLD VIBRANT COLORS (FOR HEADERS/ACCENTS)
   =============================== */
h1, h2, h3, h4 {
  color: var(--color-accent);
}
.section h1, .section h2, .section h3, .section h4 {
  color: var(--color-primary);
}

/* Make sure all major components get the 'vibrant energetic' feel */
.section, .hero, .feature-grid > div, .testimonial-card, .cookie-banner, .card {
  /* electric accents */
  border-radius: 17px;
}

/* ===============================
   NO OVERLAPPING - Z-INDEX SAFETY
   =============================== */
.card, .testimonial-card, .feature-grid > div {
  position: relative;
  z-index: 1;
}

/* END CSS */
