/* =====================================================
   CSS RESET & NORMALIZE (Meyerweb v2 + tweaks)
   ===================================================== */
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;
  -webkit-tap-highlight-color: transparent;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #FFFFFF;
  color: #26505D;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  outline: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #26505D;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; font-weight: 600; }
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { font-weight: 600; }
em { font-style: italic; }
hr { border: none; border-top: 1px solid #eee; margin: 32px 0; }

/* ======================
   BRAND COLORS AS CSS VARIABLES
   ====================== */
:root {
  --primary: #26505D; /* Brand Primary (Deep blue-green) */
  --primary-medium: #326273; /* Lighter for hovers */
  --secondary: #F7ECCA; /* Brand light beige */
  --accent: #FFB02E;    /* Brand Accent */
  --background: #FFFFFF; /* White */
  --text: #26505D;
  --muted: #7094A0;
  --card-bg: #FFFFFF;
  --card-border: #E6E8EA;
  --shadow: 0px 4px 24px 0px rgba(38,80,93,0.08);
  --radius: 14px;
  --radius-small: 8px;
  --transition: 0.16s cubic-bezier(.63,.04,.38,.97);
  --focus-outline: 2px solid var(--accent);
}

@media (prefers-color-scheme: dark) {
  body {
    background: #26505D;
    color: #fff;
  }
  :root {
    --background: #1e3841;
    --card-bg: #294855;
    --card-border: #18343d;
    --text: #f6f6f6;
    --muted: #d3e1ee;
  }
}

/* ======================
   GENERAL LAYOUT CONTAINERS & SPACING
   ====================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ======================
   HEADER/NAVIGATION
   ====================== */
header {
  background: var(--background);
  border-bottom: 1px solid #eaeaea;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo img {
  height: 48px;
  width: auto;
  transition: filter 0.2s;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-small);
  transition: background 0.16s, color 0.16s;
}
.main-nav a:focus {
  outline: var(--focus-outline);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--secondary);
  color: var(--primary-medium);
}

.cta-button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(50,98,115,0.05);
  cursor: pointer;
  transition: background var(--transition), transform 0.16s;
  margin-left: 10px;
  display: inline-block;
  letter-spacing: 0.01rem;
}
.cta-button:hover, .cta-button:focus {
  background: var(--accent);
  color: var(--primary);
  outline: none;
  transform: translateY(-2px) scale(1.03);
}

.mini-cta-button {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-small);
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: inline-block;
}
.mini-cta-button:hover, .mini-cta-button:focus {
  background: var(--accent);
  color: var(--primary);
}

/* MOBILE MENU (BURGER NAVIGATION) */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  margin: 0 0 0 10px;
  z-index: 201;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,80,93,0.95);
  z-index: 9999;
  transition: transform 0.45s cubic-bezier(.23,.91,.37,.99);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 30px 0 0;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 10001;
  border-radius: 999px;
  padding: 6px 13px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  margin: 40px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #fff;
  padding: 8px 6px;
  border-radius: var(--radius);
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:focus {
  outline: var(--focus-outline);
  background: var(--accent);
  color: var(--primary);
}
.mobile-nav a:hover {
  background: var(--accent);
  color: var(--primary);
}

/* HIDE ON DESKTOP, SHOW ON MOBILE */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 0 8px;
    min-height: 56px;
  }
  .logo img {
    height: 40px;
  }
}

/* ======================
   HERO / PAGE MAIN HEADERS
   ====================== */
.hero {
  background: var(--secondary);
  padding: 64px 0 56px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  padding: 0;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.6rem;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.hero .subheadline {
  color: var(--primary-medium);
  font-size: 1.32rem;
  margin-bottom: 12px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
@media (max-width: 768px) {
  .hero {
    padding: 30px 0 18px 0;
  }
  .hero .content-wrapper {
    gap: 8px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero .subheadline {
    font-size: 1.05rem;
  }
}

/* ======================
   FLEX LAYOUTS FOR CARDS, FEATURED ITEMS, TESTIMONIALS
   ====================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 8px;
  justify-content: space-between;
  align-items: stretch;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 26px 22px;
  min-width: 220px;
  flex: 1 1 210px;
  max-width: 300px;
  transition: box-shadow 0.2s, transform 0.13s;
  margin-bottom: 20px;
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
}
.feature h3 {
  font-size: 1.08rem;
  color: var(--primary-medium);
  margin-bottom: 4px;
}
.feature:hover {
  box-shadow: 0 6px 30px rgba(120,155,170,0.18);
  transform: translateY(-3px) scale(1.025);
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 20px;
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature {
    min-width: unset;
    max-width: 100%;
  }
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
  justify-content: space-between;
}
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  padding: 30px 24px 24px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 312px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  flex: 1 1 212px;
  transition: box-shadow 0.22s, transform 0.14s;
}
.service-card:hover {
  box-shadow: 0 10px 32px rgba(38,80,93,0.12);
  transform: translateY(-3px) scale(1.017);
}
.price-badge {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  border-radius: var(--radius-small);
  padding: 5px 14px;
  align-self: flex-start;
  margin: 10px 0 8px;
}
.service-card h3, .service-card h2 {
  font-size: 1.16rem;
  color: var(--primary-medium);
}

.activity-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.activity-grid > div {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  padding: 18px 18px 8px;
  flex: 1 1 205px;
  min-width: 190px;
  max-width: 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.activity-grid > div:hover {
  box-shadow: 0 6px 28px rgba(120,155,170,0.19);
  transform: translateY(-3px);
}
@media (max-width: 900px) {
  .service-list, .activity-grid {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .service-list, .activity-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.text-image-section, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.text-image-section {
  align-items: center;
  gap: 30px;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px 20px;
  margin-bottom: 20px;
  min-width: 200px;
  flex: 1 1 170px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.11s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(38,80,93,0.10);
  transform: translateY(-3px) scale(1.017);
}

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

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(38,80,93,0.08);
  gap: 20px;
  padding: 20px 20px 18px;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.10s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(38,80,93,0.14);
  transform: translateY(-2.5px);
}
.stars {
  color: var(--accent);
  font-size: 1.18rem;
  margin-bottom: 2px;
  letter-spacing: 0.07em;
}
.testimonial-author {
  color: var(--muted);
  font-size: 0.97rem;
  font-style: italic;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .testimonial-list {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 100%;
  }
}

/* ======================
   BUTTONS & INTERACTIVE ESSENTIALS
   ====================== */
button, .cta-button, .mini-cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.16s, color 0.16s, transform 0.12s;
}
button:focus, .cta-button:focus, .mini-cta-button:focus {
  outline: var(--focus-outline);
}
a.cta-button:focus, a.mini-cta-button:focus {
  outline: var(--focus-outline);
}

/* Links inside content */
.content-wrapper a {
  color: var(--primary-medium);
  text-decoration: underline;
  transition: color 0.14s;
}
.content-wrapper a:hover, .content-wrapper a:focus {
  color: var(--accent);
  text-decoration: underline;
}

/* ======================
   LISTS & TYPOGRAPHY REFINEMENTS
   ====================== */
ul, ol {
  list-style: disc inside;
  margin-bottom: 16px;
  padding-left: 1.15em;
}
ul li, ol li {
  margin-bottom: 7px;
  font-size: 1rem;
  color: var(--primary-medium);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
strong { color: var(--primary); }

/* ======================
   FOOTER (Brand, Nav, CTA)
   ====================== */
footer {
  background: var(--secondary);
  border-top: 1px solid #eaeaea;
  padding: 0;
  margin-top: 50px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 24px 0;
}
.footer-content > a img {
  height: 48px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 0.85;
  transition: color 0.16s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  opacity: 1;
  outline: none;
}
@media (max-width: 800px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ======================
   OTHER PAGE/UTILITY CLASSES
   ====================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 60vh;
  justify-content: center;
}
@media (max-width: 600px) {
  .thank-you {
    min-height: 45vh;
  }
}

/* =========================
   Cookie Consent Banner & Modal
   ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: var(--background);
  box-shadow: 0 -4px 20px rgba(38,80,93,0.08);
  border-top: 1px solid var(--card-border);
  z-index: 99999;
  padding: 18px 20px 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: cookieSlideIn 0.55s cubic-bezier(.4,.4,0,1.0);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: var(--text);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  max-width: 670px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-accept,
.cookie-reject,
.cookie-settings {
  padding: 8px 18px;
  border-radius: var(--radius-small);
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.18s;
}
.cookie-accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--primary);
  color: #FFF;
}
.cookie-reject {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--primary-medium);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 12px 8px 12px 10px;
    align-items: flex-start;
  }
}

.cookie-modal__overlay {
  background: rgba(38,80,93,0.65);
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal__overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(38,80,93,0.20);
  max-width: 420px;
  width: 96vw;
  padding: 34px 22px 22px 28px;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalSlideIn .42s cubic-bezier(.47,.96,.36,.97);
}
@keyframes modalSlideIn {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.28rem;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--text);
  font-weight: 500;
  font-size: 0.99rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 19px;
  height: 19px;
  cursor: pointer;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  top: 12px; right: 11px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
  padding: 6px 8px; border-radius: 100%;
  transition: color 0.18s;
  z-index: 100005;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--primary);
}

@media (max-width: 540px) {
  .cookie-modal {
    padding: 18px 3vw 10px 3vw;
    max-width: 97vw;
  }
}

/* =========================
   UTILITIES & ANIMATIONS
   ========================= */
::-webkit-scrollbar {
  width: 8px;
  background: #ecf7f7;
}
::-webkit-scrollbar-thumb {
  background: #ced9de;
  border-radius: 4px;
}
::-webkit-input-placeholder { color: #a2b6bf; }
::-moz-placeholder { color: #a2b6bf; }
:-ms-input-placeholder { color: #a2b6bf; }
::placeholder { color: #a2b6bf; }

.fade-in {
  animation: fadeInFrame 0.8s;
}
@keyframes fadeInFrame {
  from { opacity: 0; transform: translateY(13px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   ACCESSIBLE FOCUS
   ========================= */
:focus {
  outline: var(--focus-outline);
}

/* =========================
   MEDIA QUERIES (Responsive)
   ========================= */
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.05rem; }
  h3 { font-size: 0.95rem; }
  h4 { font-size: 0.88rem; }
  .content-wrapper { gap: 12px; }
}

/* =========================
   Z-INDEX & PREVENT OVERLAP
   ========================= */
header, .mobile-menu, .cookie-banner, .cookie-modal__overlay {
  z-index: 10000;
}

/* =========================
   PRINT STYLES
   ========================= */
@media print {
  .main-nav, .mobile-menu-toggle, .cta-button, .mini-cta-button, .footer-nav, .mobile-menu, .cookie-banner, .cookie-modal__overlay {
    display: none !important;
  }
  body, .section, .container {
    background: #fff !important;
    color: #111 !important;
  }
}
