/* ==== 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, 
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f7f9fa;
  color: #222;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  box-sizing: border-box;
}

/* ==== BRAND COLOR & TYPOGRAPHY VARIABLES ==== */
:root {
  --primary: #25636b;
  --secondary: #f2be5c;
  --accent: #ffffff;
  --bg: #f7f9fa;
  --text: #212428;
  --muted: #82949e;
  --danger: #be3125;

  --border-radius: 14px;
  --radius-sharp: 6px;
  --radius-full: 50vw;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 12px; }
h3 { font-size: 1.4rem; margin-top: 8px; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

body, p, ul, li, ol, dl, dt, dd, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  font-weight: 400;
}
p, ul, ol, dl, blockquote {
  margin-bottom: 18px;
}
blockquote {
  border-left: 4px solid var(--secondary);
  background: #fff8ec;
  color: var(--primary);
  padding: 16px 20px;
  font-style: italic;
  border-radius: var(--border-radius);
  margin-top: 12px;
  margin-bottom: 18px;
}
strong, b {
  font-weight: 600;
  color: var(--primary);
}

/* Geometric, angular headline accents */
h1, h2 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-variant: all-small-caps;
}

/* ==== CONTAINERS & LAYOUT ==== */
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(37,99,107,0.06);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sharp);
  padding: 7px 20px;
  transition: background 0.22s, color 0.18s, box-shadow 0.16s;
  position: relative;
}
header nav a:not(.cta-primary):hover {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(37,99,107,0.08);
}

.cta-primary {
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-sharp);
  padding: 10px 32px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(37,99,107,0.08);
  transition: background 0.2s, box-shadow 0.22s, transform 0.13s;
  border: none;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: var(--primary) !important;
  transform: translateY(-1px) scale(1.035);
  box-shadow: 0 8px 20px rgba(37,99,107,0.10);
}

/* Hide burger on desktop */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  display: none;
  padding: 6px;
  cursor: pointer;
  z-index: 51;
  border-radius: var(--radius-sharp);
  transition: background 0.19s;
}
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: #fff;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.71,.11,.29,.99);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
  padding-left: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 30px 0 0;
  cursor: pointer;
  border-radius: var(--radius-sharp);
  padding: 8px 12px;
  transition: background 0.18s;
  z-index: 101;
}
.mobile-menu-close:hover {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  margin-top: 12px;
  padding-left: 42px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sharp);
  padding: 12px 18px;
  font-weight: 700;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* ==== HERO, FEATURES, CARDS ==== */
.feature-grid, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 30px;
}
.feature-grid > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 6px 22px rgba(37,99,107,0.07);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 240px;
  transition: box-shadow 0.23s, transform 0.2s;
  border: 2.5px solid var(--secondary);
}
.feature-grid > div:hover {
  box-shadow: 0 16px 32px rgba(37,99,107,0.13);
  transform: translateY(-3px) scale(1.018);
}
.feature-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 18px rgba(37,99,107,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.20s, transform 0.14s;
  min-width: 250px;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(37,99,107,0.17);
  transform: translateY(-6px) scale(1.03);
}

/* Content grid pattern */
.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-list {
  gap: 24px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: #fff;
  color: #212428;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 20px rgba(37,99,107,0.09);
  min-width: 280px;
  border: 2px solid var(--primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: border-color 0.17s, box-shadow 0.22s;
}
.testimonial-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 12px 24px rgba(37,99,107,0.16);
}
.testimonial-card .testimonial-meta {
  font-size: .97rem;
  color: var(--muted);
  font-style: italic;
  text-align: right;
  width: 100%;
}

/* ==== STRUCTURED FLEX PATTERNS FOR INFO ==== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-bottom: 20px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius-sharp);
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(37,99,107,0.04);
  color: var(--primary);
}
.contact-info img {
  width: 20px;
  height: 20px;
}

.privacy-note p {
  background: #faf7e7;
  border-radius: var(--radius-sharp);
  padding: 16px 18px;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0;
  display: inline-block;
}

/* Cards & Features */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Table Styling (pricing) */
table {
  width: 100%;
  margin: 20px 0;
  background: #fff;
  border-radius: var(--radius-sharp);
  box-shadow: 0 2px 18px rgba(37,99,107,0.07);
  overflow: hidden;
  table-layout: fixed;
}
thead {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.07rem;
  text-transform: uppercase;
}
th, td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #e3e7ea;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* Map embed placeholder */
.map-placeholder {
  height: 180px;
  border: 2.5px dashed var(--secondary);
  border-radius: var(--border-radius);
  background: #fff8ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 10px;
  margin-bottom: 24px;
}

/* Text sections for privacy, gdpr, etc. */
.text-section {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 28px 22px;
  box-shadow: 0 1px 16px rgba(37,99,107,0.06);
  margin-bottom: 30px;
  color: var(--text);
}

/* ==== LISTS, DL/DT ==== */
ul, ol {
  list-style: square inside;
  margin-left: 18px;
  margin-bottom: 16px;
}
ul li, ol li {
  padding-left: 4px;
  margin-bottom: 7px;
}
dl dt {
  font-weight: 700;
  color: var(--primary);
  margin-top: 14px;
}
dl dd {
  margin-bottom: 10px;
  margin-left: 18px;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 46px 0 22px 0;
  position: relative;
  margin-top: 80px;
  border-top-left-radius: 46px;
  border-top-right-radius: 46px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 2px 12px;
  opacity: 0.85;
  border-radius: var(--radius-sharp);
  transition: background 0.17s, color 0.14s;
  font-weight: 600;
}
footer nav a:hover {
  background: var(--secondary);
  color: var(--primary);
  opacity: 1;
}
.footer-contact {
  font-size: 0.96rem;
  font-family: var(--font-body);
  opacity: 0.83;
}

/* ==== BUTTONS & LINKS ==== */
button, .cta-primary {
  font-family: var(--font-display);
  border: none;
  border-radius: var(--radius-sharp);
  outline: none;
  cursor: pointer;
  transition: background 0.17s, color 0.16s, box-shadow 0.18s, transform 0.10s;
}
button:active, .cta-primary:active {
  transform: scale(0.97);
}

/* All links */
a {
  color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: color 0.15s, background 0.14s;
}
a:hover, a:focus {
  color: var(--secondary);
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe6;
  color: var(--text);
  box-shadow: 0 -2px 20px rgba(37,99,107,0.11);
  border-top: 3px solid var(--secondary);
  padding: 22px 20px 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  z-index: 1100;
  font-size: 1.07rem;
  transition: transform 0.28s, opacity 0.19s;
  flex-wrap: wrap;
  min-height: 66px;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-left: 20px;
}
.cookie-banner button {
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sharp);
  background: var(--primary);
  color: #fff;
  margin-right: 4px;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
  box-shadow: 0 1px 6px rgba(37,99,107,0.08);
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner button.cookie-settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner button:focus, .cookie-banner button:hover {
  filter: brightness(0.97);
  background: var(--secondary);
  color: var(--primary);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0; width: 100vw; height:100vh;
  background: rgba(37,99,107,0.21);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 38px 30px 32px 30px;
  max-width: 410px;
  width: 92vw;
  box-shadow: 0 8px 60px rgba(37,99,107,0.19), 0 1.5px 11px rgba(37,99,107,0.08);
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  animation: popIn .38s cubic-bezier(.47,1.64,.41,.9);
  z-index: 1203;
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.95) translateY(40px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-header {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex; flex-direction: row; align-items: center; gap: 14px; margin-bottom: 9px;
}
.cookie-category.essential label {
  font-weight: 600;
  color: var(--primary);
  opacity: 0.8;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 19px; height: 19px;
}
.cookie-category input[disabled] {
  opacity: 0.3;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal button {
  padding: 9px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sharp);
  font-size: 1rem;
  font-weight: 600;
  border: none;
}
.cookie-modal button:focus, .cookie-modal button:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 14px;
  background: none;
  border: none;
  font-size: 1.44rem;
  color: var(--muted);
  cursor: pointer;
  z-index: 1205;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: var(--primary);
}

/* =========== RESPONSIVE =========== */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding-left: 10px; padding-right: 10px;
  }
  header .container {
    padding-left: 4px; padding-right: 4px;
  }
}
@media (max-width: 880px) {
  .feature-grid, .testimonial-list, .contact-info {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
  .feature-grid > div, .card, .testimonial-card {
    min-width: unset;
    width: 100%;
    margin: 0 auto 18px auto;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 10px;
  }
}
@media (max-width: 768px) {
  /* Header: show burger, hide full nav */
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
    margin-right: 4px;
  }
  .container {
    max-width: 96vw;
    padding-left: 6px; padding-right: 6px;
  }
  .section {
    padding: 32px 7px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.27rem; margin-bottom: 14px; }
  .content-wrapper {
    gap: 7px;
  }
  .feature-grid, .testimonial-list, .contact-info {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card {
    min-width: unset;
    width: 100%;
    padding: 24px 10px;
  }
  .testimonial-card {
    min-width: unset;
    width: 100%;
    padding: 16px 10px;
  }
  .map-placeholder {
    height: 110px;
    font-size: .96rem;
    padding: 6px;
  }
  table {
    font-size: 0.97rem;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.41rem; }
  h2 { font-size: 1.08rem; }
  header .container {
    height: 58px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    font-size: 0.97rem;
    padding: 12px 10px 16px 10px;
    min-height: 44px;
  }
  .cookie-banner .cookie-actions{
    margin-left:0;
    gap: 10px;
  }
}

/* ========== GEOMETRIC STRUCTURED DECORATIVE ELEMENTS (only for accent shapes) ========== */
.geometric-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
}

/* == UTILITY CLASSES == */
.text-center { text-align: center !important; }
.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }

/* ========== HIDE/SHOW FOR A11Y ========== */
.sr-only { position: absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* === ANIMATIONS FOR MICRO-INTERACTIONS === */
.card, .feature-grid > div, .testimonial-card, .cta-primary {
  will-change: transform, box-shadow;
}

/* == FOCUS STATES FOR A11Y == */
a:focus, button:focus, .cta-primary:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 3px;
}

/* === PRINT === */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .container { max-width: 100vw !important; }
}
