/* =========================================
   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 { height: 100%; scroll-behavior: smooth; }
body { min-height: 100%; line-height: 1.6; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: 100%; margin: 0; }
button { cursor: pointer; background: none; border: none; }

/* =========================================
   THEME FONTS & COLORS
   ========================================= */
:root {
  --mf-primary: #23293E;
  --mf-secondary: #25A7A1;
  --mf-accent: #FDF6F0;
  --mf-bg: #f5f7fa;
  --mf-text: #23293E;
  --mf-muted: #5b6378;
  --mf-border: #E3E6ED;
  --mf-white: #fff;
  --mf-shadow: 0 2px 16px 0 rgba(35,41,62,0.06);
  --mf-radius: 12px;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--mf-text);
  background: var(--mf-bg);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--mf-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.3rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol { color: var(--mf-muted); margin-bottom: 16px; }
strong, b { color: var(--mf-primary); font-weight: bold; }
a:hover, a:focus, .cta-button:hover, .cta-button:focus { outline: none; }

/* =============================
   LAYOUT STRUCTURE
   ============================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--mf-white);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--mf-white);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(35,41,62,0.12);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F3F6FB;
  border-left: 4px solid var(--mf-secondary);
  border-radius: var(--mf-radius);
  margin-bottom: 20px;
  box-shadow: var(--mf-shadow);
  color: var(--mf-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
}

/* ============== HERO/HEADER ============== */
.hero {
  background: var(--mf-accent);
  padding: 48px 20px 36px 20px;
  border-radius: 0 0 var(--mf-radius) var(--mf-radius);
  margin-bottom: 48px;
}
.hero h1 {
  color: var(--mf-primary);
  font-size: 2.5rem;
}
.hero p {
  color: var(--mf-muted);
}

header {
  background: var(--mf-white);
  box-shadow: 0 2px 10px 0 rgba(35,41,62,0.07);
  padding: 0;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  position: relative;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: var(--mf-primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 6px 0;
  position: relative;
  transition: color .18s;
}
header nav a:hover,
header nav a:focus {
  color: var(--mf-secondary);
}
a.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--mf-secondary);
  color: var(--mf-white) !important;
  border-radius: var(--mf-radius);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 32px;
  margin-left: 40px;
  box-shadow: 0 2px 12px rgba(37,167,161,0.10);
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}
a.cta-button:hover, a.cta-button:focus {
  background: #20938f;
  color: var(--mf-white);
  box-shadow: 0 6px 24px rgba(37,167,161,0.14);
  transform: translateY(-2px) scale(1.03);
}

/* ============== SERVICE LIST ============== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list > div {
  background: var(--mf-white);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow);
  flex: 1 1 260px;
  min-width: 260px;
  padding: 30px 22px 34px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.service-list > div:hover {
  box-shadow: 0 4px 24px 0 rgba(35,41,62,0.12);
}
.service-list h3, .service-list h2 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}
.service-price, .service-list strong {
  color: var(--mf-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  margin-top: 6px;
}

/* ============== FOOTER ============== */
footer {
  background: var(--mf-white);
  border-top: 1px solid var(--mf-border);
  padding: 0;
}
footer .container {
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
footer nav a {
  color: var(--mf-muted);
  font-size: 15px;
  transition: color .16s;
}
footer nav a:hover { color: var(--mf-secondary); }
footer p {
  margin: 0;
  font-size: 14px;
  color: var(--mf-muted);
}

/* ============== UL/OL LISTS ============== */
ul, ol {
  margin-left: 0;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 10px;
  color: var(--mf-muted);
}
ul li::marker, ol li::marker { color: var(--mf-secondary); }

/* ============== TEXT SECTION ============== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.text-section ul { margin-bottom: 0; }
.text-section a {
  color: var(--mf-secondary);
  text-decoration: underline;
  transition: color .17s;
}
.text-section a:hover, .text-section a:focus {
  color: var(--mf-primary);
  text-decoration: none;
}

/* ============== TESTIMONIAL CARD ============== */
.testimonial-card {
  font-style: italic;
  background: #F3F6FB;
  border-left: 4px solid var(--mf-secondary);
  border-radius: var(--mf-radius);
  box-shadow: var(--mf-shadow);
  gap: 20px;
  margin-bottom: 20px;
  color: var(--mf-primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--mf-primary);
}
.testimonial-card strong {
  color: var(--mf-secondary);
  font-size: 0.96rem;
  font-style: normal;
  font-weight: bold;
}

/* ============== FORMS/BUTTONS/FIELDS ============== */
input, select, textarea {
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius);
  padding: 10px 14px;
  font-size: 16px;
  background: var(--mf-white);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid var(--mf-secondary);
  box-shadow: 0 1px 8px rgba(37,167,161,0.10);
}
button, .btn {
  background: var(--mf-primary);
  color: var(--mf-white);
  padding: 11px 28px;
  border: none;
  border-radius: var(--mf-radius);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.19s, box-shadow 0.19s;
  box-shadow: 0 2px 8px rgba(35,41,62,0.07);
  position: relative;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: var(--mf-secondary);
  color: var(--mf-white);
  box-shadow: 0 6px 16px 0 rgba(37,167,161,0.16);
}

/* ============== MOBILE BURGER MENU ============== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.1rem;
  color: var(--mf-secondary);
  z-index: 110;
  background: var(--mf-white);
  border-radius: 8px;
  border: 1px solid var(--mf-border);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.17s;
}
.mobile-menu-toggle:active {
  box-shadow: 0 0 0 2px var(--mf-secondary);
}
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 2500;
  width: 100vw;
  height: 100vh;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--mf-white);
  box-shadow: 0 2px 16px 0 rgba(35,41,62,0.15);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.77,0,.175,1);
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 2.3rem;
  color: var(--mf-secondary);
  z-index: 2510;
  background: none;
  border: none;
  outline: none;
  width: 44px;
  height: 44px;
  transition: background .14s;
  border-radius: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #eff3f7;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 0 36px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.22rem;
  padding: 12px 0;
  color: var(--mf-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 6px;
  width: 100%;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f0fbfa;
  color: var(--mf-secondary);
}

/* Hide desktop nav on mobile, show on desktop */
@media (max-width: 980px) {
  header .container nav, header .container .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============== COOKIE CONSENT ============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--mf-accent);
  color: var(--mf-primary);
  padding: 22px 24px;
  box-shadow: 0 -2px 24px 0 rgba(35,41,62,0.11);
  z-index: 3010;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  width: 100vw;
  transition: transform .3s;
  font-size: 15px;
}
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button, .cookie-banner a {
  border: none;
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.14s, color 0.14s, box-shadow 0.16s;
}
.cookie-accept {
  background: var(--mf-secondary);
  color: var(--mf-white);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #20938f;
}
.cookie-reject {
  background: var(--mf-white);
  color: var(--mf-secondary);
  border: 1px solid var(--mf-secondary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ecfafa;
}
.cookie-settings-btn {
  background: transparent;
  color: var(--mf-primary);
  border: none;
  text-decoration: underline;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  color: var(--mf-secondary);
  text-decoration: none;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3020;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,41,62,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
}
.cookie-modal {
  background: var(--mf-white);
  border-radius: var(--mf-radius);
  box-shadow: 0 4px 32px rgba(35,41,62,0.18);
  max-width: 95vw;
  min-width: 320px;
  width: 390px;
  padding: 36px 28px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookieModalFadeIn .32s cubic-bezier(.61,.01,.29,1.25);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; transform: translateY(40px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 6px;
  color: var(--mf-primary);
}
.cookie-modal ul {
  padding-left: 18px;
  margin-bottom: 15px;
}
.cookie-modal li {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--mf-muted);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-category input[type=checkbox] {
  width: 20px; height: 20px; accent-color: var(--mf-secondary);
}
.cookie-category label {
  font-size: 15px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-reject {
  padding: 10px 21px;
  font-size: 15px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 15px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--mf-secondary);
  border-radius: 8px;
  width: 40px; height: 40px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f0fbfa;
}

/* ============== BREATHING SPACE ============== */
section { margin-bottom: 60px; }
section:last-child { margin-bottom: 0; }

/* ============== RESPONSIVE DESIGN ============== */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .footer .content-wrapper, .service-list
  { flex-direction: column; align-items: flex-start; gap: 24px; }
  .content-grid { flex-direction: column; gap: 20px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.38rem; }
  .hero { padding: 32px 8px 24px 8px; }
  .section, section, .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .container { gap: 0; }
  .content-wrapper { gap: 16px; }
  .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container, .card, .service-list, .content-grid {
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    justify-content: flex-start;
  }
  .service-list > div, .card {
    min-width: 90vw;
    padding: 22px 13px 22px 13px;
  }
  .testimonial-card {
    padding: 17px 10px;
  }
  header .container {
    padding: 12px 8px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 6px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Small mobile breakpoints */
@media (max-width: 500px) {
  .cookie-modal {
    padding: 14px 4vw 10px 4vw;
    width: 96vw;
    min-width: unset;
  }
  .footer .content-wrapper nav {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
  }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; }
}

/* ============== MICRO-INTERACTIONS ============== */
.card, .testimonial-card, .service-list > div, .cta-button, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, background 0.15s, transform .18s;
}
.card:active, .service-list > div:active {
  transform: translateY(1px) scale(0.98);
}
.cta-button:active { transform: scale(.98); }

/* ============== UTILITIES ============== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.row-gap-16 { row-gap: 16px; }
.gap-8 { gap: 8px !important; }

/* ============== SCROLLBAR (modern browsers only) ============== */
::-webkit-scrollbar { width: 10px; background: #f5f7fa; }
::-webkit-scrollbar-thumb { background: #dae0ec; border-radius: 8px; }

/* ============== HIDE ON PRINT ============== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body {
    background: #fff;
    color: #212121;
  }
}
section {
  padding: 20px;
}