/* CSS RESET & BASELINE -------------------------------------------------- */
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;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #174C65;
  min-height: 100vh;
  line-height: 1.5;
  font-size: 16px;
  font-weight: 400;
}

/* BRANDING COLORS AND FONTS -------------------------------------------------- */
:root {
  --primary: #174C65;
  --secondary: #E5E7E1;
  --accent: #F0A830;
  --danger: #d62e21;
  --success: #18bb69;
  --shadow: rgba(23, 76, 101, 0.12);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-md: 24px;
  --transition: 0.22s cubic-bezier(.42,0,.58,1);
}

/* UTILITY CONTAINER AND FLEX PATTERNS ---------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 28px var(--shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px var(--shadow);
  padding: 32px 20px;
  min-width: 220px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 10px 40px rgba(240,168,48,0.08), 0 2px 8px var(--shadow);
  transform: translateY(-5px) scale(1.03);
  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;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 20px 32px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px var(--shadow);
  border-left: 7px solid var(--accent);
  max-width: 500px;
  color: #1e2b34;
  font-size: 18px;
  font-style: italic;
}
.testimonial-card span {
  font-size: 15px;
  color: var(--primary);
  font-style: normal;
}

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

/* GENERAL LAYOUT & SPACING --------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

ul, ol {
  margin-left: 30px;
  margin-bottom: 10px;
  font-size: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
  padding-left: 0.2em;
}

/* TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: bold;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--accent);
}
h4, h5, h6 {
  font-size: 1.08rem;
}
p, ul, ol, li, span, a {
  font-family: var(--font-body);
}
p {
  color: #1e2b34;
  font-size: 17px;
}
strong {
  color: var(--primary);
}

/* BUTTONS & LINKS ------------------------------------------------------- */
.btn-primary, .btn-primary:visited {
  display: inline-block;
  background: var(--accent);
  color: #174C65;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 15px 40px;
  font-size: 1.15rem;
  border-radius: 40px;
  box-shadow: 0 2px 8px rgba(240,168,48,0.20);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  letter-spacing: 0.04em;
  margin-top: 6px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffbb3e;
  color: #132f45;
  box-shadow: 0 8px 22px rgba(240,168,48,0.13);
  transform: translateY(-2px) scale(1.03);
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
  outline: none;
}
a:hover, a:focus {
  color: var(--accent);
  text-decoration: underline;
}

/* FLEX FEATURE CARDS, GRID, & SLIDERS ----------------------------------- */
.feature-grid {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 14px;
  margin-bottom: 24px;
}
.feature-grid > div {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px var(--shadow);
  padding: 32px 22px 24px 22px;
  flex: 1 1 260px;
  min-width: 215px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.feature-grid > div:hover {
  background: #fffde2;
  box-shadow: 0 8px 30px rgba(240,168,48,0.11);
  transform: translateY(-4px) scale(1.025);
  z-index: 1;
}

.feature-grid img {
  width: 38px;
  height: 38px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 12px;
}

/* HEADER, NAVIGATION & BURGER MENU --------------------------------------- */
header {
  background: var(--primary);
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 500;
  box-shadow: 0 2px 18px var(--shadow);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  gap: 26px;
}
header nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 4px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary {
  margin-left: 18px;
  margin-right: 0;
  margin-bottom: 0;
}
header img {
  max-height: 44px;
  width: auto;
}

.mobile-menu-toggle {
  background: var(--accent);
  border: none;
  border-radius: 52px;
  width: 44px;
  height: 44px;
  color: var(--primary);
  font-size: 1.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ffbe45;
  color: #132f45;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: #fff;
  z-index: 2000;
  transform: translateX(-105%);
  transition: transform 0.4s cubic-bezier(.42,0,.58,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 26px;
  box-shadow: 2px 0 40px rgba(23,76,101,0.34);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  position: absolute;
  top: 27px;
  right: 26px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: var(--font-display);
  padding: 14px 0;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:active, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

/* FOOTER ------------------------------------------------------ */
footer {
  background: var(--primary);
  color: #fff;
  padding: 42px 0 22px;
}
footer .container {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 3px;
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: #132f45;
}
footer img {
  max-height: 38px;
  width: auto;
  margin-bottom: 10px;
}
footer p {
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 15px;
  gap: 9px;
  margin-bottom: 6px;
}
footer p img {
  height: 18px;
  width: 18px;
  margin-right: 5px;
}

/* MAP EMBED --------------------------------------------------- */
.map-embed {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.map-embed img {
  height: 34px;
  width: 34px;
}

/* TEXT-SECTION, TEXT-IMAGE-SECTION ------------------------------ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* COOKIE CONSENT --------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 4000;
  width: 100vw;
  background: #fff;
  color: #1e2b34;
  box-shadow: 0 -2px 30px var(--shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 34px;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  animation: cookiefadein 0.6s;
}
@keyframes cookiefadein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #1e2b34;
  font-size: 1rem;
  max-width: 640px;
  margin: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  padding: 10px 27px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 4px rgba(23,76,101,0.08);
}
.cookie-banner .accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #ffbe45;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--danger);
  border: 2px solid #e85e4b;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ffeaea;
}
.cookie-banner .settings {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #e6f3ff;
}

/* COOKIE MODAL --------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(23,76,101,0.65);
  z-index: 4010;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadein 0.4s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(23,76,101,0.18);
  width: 94vw;
  max-width: 460px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  text-align: left;
  animation: cookiepopin 0.45s;
}
@keyframes cookiepopin {
  from { transform: translateY(80px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7e1;
  padding: 12px 0;
}
.cookie-category label {
  color: #2a3740;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
  margin-right: 4px;
  margin-left: 4px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  padding: 10px 28px;
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(23,76,101,0.07);
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .save {
  background: var(--accent);
  color: var(--primary);
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #ffbe45;
}
.cookie-modal .close {
  background: #fff;
  color: #d62e21;
  border: 2px solid #e85e4b;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #ffeaea;
}

/* FORMS -------------------------------------------------- */
input, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 16px;
  border: 1.5px solid var(--secondary);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 15px;
  width: 100%;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 3px 16px rgba(240,168,48,0.12);
}
label {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}

/* ICONS --------------------------------------------------- */
img[src*="/icon-"], img[src$=".svg"] {
  vertical-align: middle;
  display: inline-block;
}

/* MICRO-INTERACTIONS & EFFECTS --------------------------- */
.button-glow:focus-visible {
  outline: 2px solid #F0A830;
  box-shadow: 0 0 0 6px rgba(240,168,48,0.22);
}

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

hr {
  border: none;
  border-top: 1px solid var(--secondary);
  margin: 24px 0;
}

/* RESPONSIVENESS & MEDIA QUERIES --------------------------- */
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 22px;
    justify-content: center;
  }
  .testimonial-slider {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .footer .content-wrapper, .content-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  footer .content-wrapper {
    gap: 30px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  section, .section {
    padding: 26px 4vw;
  }
  .content-grid, .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
    align-items: flex-start !important;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 10px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    min-width: 95vw;
    padding: 22px 14px;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 6px;
    width: 100%;
    text-align: center;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    padding-top: 44px;
    padding-left: 12vw;
    padding-right: 12vw;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  header .container {
    flex-direction: row;
    gap: 4px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  section, .section {
    padding: 16px 0 0 0;
    margin-bottom: 28px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .map-embed {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer .content-wrapper, footer .content-wrapper {
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 13px 10px;
    align-items: flex-start;
  }
  .cookie-modal {
    padding: 23px 6vw;
  }
}

/* VIBRANT/ENERGETIC STYLE EMPHASIS ------------------------------------ */
body {
  background: linear-gradient(120deg, #fffbf2 0%, #e5e7e1 100%);
}
.section {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 28px var(--shadow), 0 1px 12px #f0a83011;
}
h1, h2, h3, h4 {
  text-transform: none;
  letter-spacing: -0.01em;
}
h1, h2 {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 900;
}
h1 {
  background: linear-gradient(90deg, #F0A830 25%, #174C65 70%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}
h2 {
  color: #F0A830;
}
h3 {
  color: #174C65;
}

.feature-grid > div {
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-md);
  background: #f9faf7;
}
.feature-grid > div:hover {
  background: #fffbe1;
  border-color: #ffbb3e;
}

.testimonial-card {
  border-left: 6px solid #F0A830;
  background: #fff;
  color: #174C65;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 2px 10px var(--shadow), 0 2px 14px #f0a83011;
  font-family: var(--font-body);
}
.testimonial-card p {
  color: #174C65;
}
.testimonial-card strong {
  color: #F0A830;
  font-weight: bold;
}
.testimonial-card span:last-child {
  font-size: 1.32em;
  letter-spacing: 0.14em;
  color: #efc17d;
}

/***********************
   VIBRANT MICRO EFFECTS
***********************/
.feature-grid > div:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -14px;
  left: 24px;
  width: 24px;
  height: 6px;
  background: var(--accent);
  border-radius: 14px;
  opacity: 0.13;
  pointer-events: none;
}
.feature-grid > div:hover:after {
  opacity: 0.24;
}

@media (max-width: 500px) {
  .feature-grid > div:after {
    left: 10px;
    width: 20px;
    bottom: -11px;
  }
}

.btn-primary {
  box-shadow: 0 2px 12px rgba(240,168,48,0.16), 0 2px 8px var(--shadow);
  animation: glow-btn 2s infinite alternate;
}
@keyframes glow-btn {
  0% { box-shadow: 0 2px 18px 0 rgba(240,168,48,0.11); }
  100% { box-shadow: 0 0 30px 3px rgba(240,168,48,0.27); }
}

/***********************
   ANIMATION SLIDE FOR MOBILE MENU & COOKIE BANNER
***********************/
.mobile-menu {
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
}
.mobile-menu.open {
  transform: translateX(0);
}

/***********************
   Z-INDEX
***********************/
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 500;
}

/***********************
   REMOVE DEFAULT APPEARANCE
***********************/
button, input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  background: none;
}

/* SCROLLBAR STYLING -------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #eee;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: var(--radius-md);
}
::-webkit-scrollbar-thumb:hover {
  background: #cccac2;
}

/* ENSURE GAP FOR BOTTOM FIXED COOKIE BANNER */
body.has-cookie-banner {
  padding-bottom: 94px;
}
