/* ================================================== */
/*             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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background-color: #F7F5F1;
  color: #23211F;
  line-height: 1.5;
  font-family: "Roboto", Georgia, serif;
  min-height: 100vh;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus {
  outline: 2px solid #15596B;
  outline-offset: 2px;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border-radius: 0;
  border: none;
}

/* Hide scrollbars for mobile menu etc. */
::-webkit-scrollbar { width: 8px; background: #eee; }
::-webkit-scrollbar-thumb { background: #d5d5d5; border-radius: 4px; }

/* ================================================== */
/*            COLOR VARIABLES & FONT STACKS           */
/* ================================================== */
:root {
  --primary: #15596B;
  --primary-dark: #114655;
  --secondary: #33A1B2;
  --accent: #F2F2F2;
  --bg-main: #F7F5F1;
  --text-main: #23211F;
  --text-muted: #76726E;
  --border-card: #e4e0da;
  --shadow: 0px 4px 24px 0px rgba(50, 70, 100, 0.035);
  --radius: 14px;
  --hero-banner: #f0eddc;
  --btn-hover: #1e7287;
  --font-display: "Georgia", 'Times New Roman', Times, serif;
  --font-body: "Roboto", Arial, sans-serif;
}

/* ================================================== */
/*                  TYPOGRAPHY                        */
/* ================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 28px;
  margin-top: 0;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 26px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 18px;
}
h4 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}
p, ul, ol {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--text-main);
  font-family: var(--font-body);
}
p + p {
  margin-top: 12px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
.text-section ul {
  margin: 16px 0 20px 24px;
  padding: 0;
  list-style: disc inside;
  color: var(--primary);
}
.text-section ul li {
  margin-bottom: 9px;
  color: var(--text-main);
}
.text-section {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ================================================== */
/*                CONTAINER & SPACING                 */
/* ================================================== */
.container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 30px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

@media (max-width: 700px) {
  .content-wrapper {
    padding: 21px 10px;
    margin-bottom: 20px;
    gap: 18px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 32px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ================================================== */
/*                    HEADER & NAV                    */
/* ================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(19,30,60,0.045);
  padding: 0;
  border-bottom: 1px solid var(--border-card);
  z-index: 40;
  min-height: 78px;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  padding: 9px 6px;
  font-size: 1.04rem;
  color: var(--primary-dark);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 7px;
  transition: color .16s, background .16s;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  background: #EBF4F6;
}
header img {
  max-height: 48px;
  margin: 10px 0 10px 0;
}
.cta.primary, .cta.secondary {
  display: inline-block;
  padding: 13px 32px;
  font-size: 1.13rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  margin-left: 20px;
  letter-spacing: 0.015em;
  margin-top: 0;
}
.cta.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 18px 0 rgba(21,89,107,0.09);
  border: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--secondary);
  box-shadow: 0 4px 22px 0 rgba(51,161,178,0.13);
}
.cta.secondary {
  background: var(--accent);
  color: var(--primary-dark);
  border: 1px solid var(--primary);
  margin-left: 0;
  margin-top: 22px;
}
.cta.secondary:hover, .cta.secondary:focus {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* MOBILE HEADER/BURGER */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--accent);
  color: var(--primary);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background 0.15s;
  z-index: 115;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e2eaea;
  color: var(--secondary);
}

@media (max-width: 980px) {
  .cta.primary {
    font-size: 1rem;
    padding: 11px 21px;
    margin-left: 8px;
  }
  header nav a { font-size: 0.96rem; }
}
@media (max-width: 840px) {
  header .cta.primary { display: none; }
  header nav { gap: 12px; }
}
@media (max-width: 768px) {
  header .container {
    gap: 10px;
    flex-wrap: wrap;
  }
  header nav {
    display: none;
  }
  .cta.primary { display: none; }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ================================================== */
/*                 MOBILE MENU                        */
/* ================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,245,241,0.98);
  z-index: 2000;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(0.5,0.1,0.35,1), opacity 0.25s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 36px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 36px;
  margin-bottom: 12px;
  font-size: 2.2rem;
  color: var(--primary);
  background: var(--accent);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  transition: background 0.13s, color 0.13s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2020;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e2eaea;
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  margin-top: 12px;
}
.mobile-nav a {
  display: block;
  padding: 20px 34px;
  font-size: 1.18rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 500;
  border-bottom: 1px solid #ece8e2;
  line-height: 1.2;
  letter-spacing: 0.03em;
  width: 100%;
  background: none;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EBF4F6;
  color: var(--secondary);
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ================================================== */
/*                 HERO/BANNER SECTION                */
/* ================================================== */
.hero {
  background: var(--hero-banner);
  padding: 54px 0 38px 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 48px;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 44px;
}
.hero .text-section {
  align-items: flex-start;
  text-align: left;
  gap: 10px;
}
.hero h1 {
  color: var(--primary-dark);
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.hero h2 {
  color: var(--text-muted);
  font-size: 1.23rem;
  font-family: var(--font-body);
  font-weight: 400;
}
.hero .cta.primary {
  margin-top: 30px;
}
@media (max-width: 900px) {
  .hero .container { gap: 12px; }
}
@media (max-width: 700px) {
  .hero {
    padding: 32px 0 18px 0;
    min-height: 180px;
    margin-bottom: 18px;
  }
  .hero h1 { font-size: 1.55rem; }
  .hero h2 { font-size: 1rem; }
  .hero .cta.primary { margin-top: 19px; }
}

/* ================================================== */
/*                      FEATURES                      */
/* ================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  width: 100%;
}
.feature-grid li {
  flex: 1 1 250px;
  background: var(--accent);
  border-radius: var(--radius);
  border: 1px solid var(--border-card);
  min-width: 220px;
  max-width: 285px;
  padding: 25px 20px 21px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.13s;
}
.feature-grid li img {
  width: 46px;
  height: 46px;
  margin-bottom: 2px;
}
.feature-grid strong {
  font-family: var(--font-display);
  font-size: 1.13rem;
  color: var(--primary-dark);
}
.feature-grid span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  margin-top: 8px;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 4px 30px 0 rgba(21,89,107,0.10);
  transform: translateY(-2px) scale(1.016);
}

@media (max-width: 1000px) {
  .feature-grid {
    gap: 17px;
  }
  .feature-grid li {
    max-width: 49%;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 17px;
  }
  .feature-grid li {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: 14px;
    padding: 17px 9px 18px 12px;
  }
}

/* PATTERNS FOR CRITICAL FLEXBOX CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.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;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  margin-top: 0;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 700px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* ================================================== */
/*                    TESTIMONIALS                    */
/* ================================================== */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-card);
  color: var(--primary-dark);
  font-size: 1.14rem;
  line-height: 1.6;
  padding: 20px 28px;
  box-shadow: 0 3px 26px 0 rgba(51,161,178,0.08);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.13s, border-color 0.12s;
}
.testimonial-card:before {
  content: '“';
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 2.7rem;
  font-weight: 600;
  margin-right: 13px;
  opacity: 0.34;
}
.testimonial-card p {
  flex: 1;
  color: #23211F;
  margin-right: 18px;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1.02rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  margin-left: auto;
}
.testimonial-card strong {
  color: var(--primary-dark);
  font-weight: 700;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 6px 44px rgba(51,161,178,0.13);
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 13px 11px;
    font-size: 0.97rem;
  }
  .testimonial-card:before {
    font-size: 2rem;
    margin-right: 6px;
  }
}

/* ================================================== */
/*                      FOOTER                        */
/* ================================================== */
footer {
  background: #fff;
  border-top: 1px solid var(--border-card);
  box-shadow: 0 -2px 14px 0 rgba(51,161,178,0.04);
  padding: 28px 0 12px 0;
  z-index: 10;
}
footer .container {
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1.02rem;
}
footer nav a {
  color: var(--primary-dark);
  font-family: var(--font-body);
  font-weight: 400;
  border-radius: 6px;
  padding: 4px 9px;
  transition: background 0.12s;
}
footer nav a:hover, footer nav a:focus {
  background: #EBF4F6;
  color: var(--secondary);
}
footer .text-section {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-top: 0;
}
@media (max-width: 700px) {
  footer {
    padding: 13px 0 9px 0;
  }
  footer nav {
    gap: 9px;
    font-size: 0.97rem;
  }
}

/* ================================================== */
/*                   COOKIE BANNER                    */
/* ================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff5e7;
  color: var(--primary-dark);
  box-shadow: 0 -3px 22px 0 rgba(51,161,178,0.06);
  border-top: 1px solid #EEE1D1;
  width: 100vw;
  padding: 22px 19px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: center;
  z-index: 3000;
  transition: transform 0.30s cubic-bezier(0.4,0.4,0,1), opacity 0.21s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner span {
  font-size: 1.01rem;
  color: var(--primary-dark);
}
.cookie-banner .cookie-btn {
  min-width: 130px;
  padding: 10px 19px;
  margin-left: 7px;
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  transition: background 0.15s, box-shadow 0.13s;
  box-shadow: 0 2px 8px rgba(21,89,107,0.05);
  margin-right: 4px;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--secondary);
}
.cookie-banner .cookie-btn.reject {
  background: #EADCBF;
  color: var(--primary-dark);
  border: 1px solid #d9c7a2;
  margin-left: 0;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #ded1b0;
  color: var(--primary-dark);
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid var(--primary);
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  color: #fff;
  background: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 14px 5px;
  }
  .cookie-banner .cookie-btn { width: 100%; margin: 6px 0 0 0; }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,32,42,0.47);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  padding: 30px 28px 20px 28px;
  border-radius: 18px;
  box-shadow: 0 6px 44px 0 rgba(21,89,107,0.17);
  min-width: 290px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 4200;
}
.cookie-modal-content h2 {
  font-size: 1.27rem;
  color: var(--primary-dark);
  font-family: var(--font-display);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 11px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.01rem;
  gap: 16px;
}
.cookie-category .toggle {
  width: 42px;
  height: 26px;
  border-radius: 13px;
  background: #e6e6e6;
  position: relative;
  flex-shrink: 0;
}
.cookie-category .toggle[data-enabled="true"] {
  background: var(--primary);
}
.cookie-category .toggle-switch {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s, background 0.12s;
}
.cookie-category .toggle[data-enabled="true"] .toggle-switch {
  left: 19px;
  background: #EBF4F6;
}
.cookie-category[data-essential="true"] .toggle {
  background: #ded1b0;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 9px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  padding: 10px 24px;
  margin: 0;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 19px;
  font-size: 1.7rem;
  background: #f9fafb;
  color: var(--primary);
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e2eaea;
  color: var(--secondary);
}
@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 15px 6px 12px 10px;
    border-radius: 11px;
    min-width: 85vw;
    font-size: 0.99rem;
  }
  .cookie-modal-close { top: 7px; right: 7px; font-size: 1.2rem; }
}

/* ================================================== */
/*                  RESPONSIVE RULES                  */
/* ================================================== */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
  .content-wrapper { padding-left: 11px; padding-right: 11px; }
}
@media (max-width: 500px) {
  html { font-size: 15px; }
  .container { padding-left: 4px; padding-right: 4px; }
}

/* ================================================== */
/*                 SMALL UI ELEMENTS                  */
/* ================================================== */
::-moz-selection { background: #EADCBF; color: #23211F; }
::selection      { background: #EADCBF; color: #23211F; }
hr {
  border: none; border-top: 1px solid #EBE8E2; margin: 24px 0;
}

/* Cards for possible additional uses */
.card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 19px;
  margin-bottom: 16px;
}

/* Forms, if any, gracefully */
form input, form textarea, form select {
  width: 100%;
  border: 1px solid #d7d2cb;
  background: #F7F5F1;
  border-radius: 7px;
  padding: 14px 11px;
  margin-bottom: 15px;
  font-size: 1.04rem;
  color: var(--primary-dark);
  transition: border 0.13s;
}
form input:focus, form textarea:focus, form select:focus {
  border: 1.5px solid var(--secondary);
  outline: none;
}
form label {
  font-family: var(--font-display);
  color: var(--primary-dark);
  margin-bottom: 9px;
}

/* Subtle hover for all buttons */
button, .cta.primary, .cta.secondary, .cookie-btn {
  transition: background 0.16s, color 0.14s, box-shadow 0.15s;
}

/* ==================== UTILS ==================== */
.mt-2 { margin-top: 16px !important; }
.mt-4 { margin-top: 32px !important; }
.ml-2 { margin-left: 16px !important; }
.mr-2 { margin-right: 16px !important; }

/* ================= ELEGANT CLASSIC EFFECTS =================== */
/* Subtle shadow and radius for cards, elegant card hover effect already included on feature-grid */

/* ENFORCED SPACING PATTERNS */
.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; }

/* NO GRID LAYOUTS ANYWHERE! */
