/* ========================
   AquaPrécis Soft Pastel Theme (mobile-first, flexbox layouts)
   ========================= */
/* 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,
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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F5FBFF; /* pastel blue-tinted white */
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #254273;
  line-height: 1.6;
  accent-color: #A8DADC; /* fallback pastel accent */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:root {
  --primary: #254273;
  --secondary: #55A3B3;
  --accent: #F7F7F7;
  --pastel-blue: #CBD8F3;
  --pastel-cyan: #C5F1EF;
  --pastel-mint: #E3FBF4;
  --pastel-yellow: #FDF9D8;
  --pastel-pink: #FDE7EF;
  --pastel-purple: #E9E5F8;
  --pastel-green: #E2FDF4;
  --shadow-soft: 0 4px 24px 0 rgba(145, 200, 210, 0.13);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

img {max-width: 100%;height: auto;display: block;}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 12px; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
h4 { font-size: 1rem; }
p, ul li { font-size: 1rem; color: #385586; }
strong { color: var(--primary); font-weight: 700; }
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #2d5f7c; text-decoration: underline; }
input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
}

/* ========== LAYOUT FLEX CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  min-width: 240px;
}
.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;
}
.text-section {display: flex; flex-direction: column; gap: 16px;}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: linear-gradient(120deg, #E9E5F8 0%, #FDE7EF 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FBFCFD;
  gap: 15px;
  border-radius: var(--radius-md);
  padding: 28px 20px 24px 20px;
  min-width: 224px;
  box-shadow: var(--shadow-soft);
}
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F5FCFF;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(170,190,200,0.08);
  padding: 24px 18px 18px 18px;
  min-width: 240px;
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(110deg, #E3FBF4 0%, #CBD8F3 100%);
  padding: 52px 0 36px 0;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 4px 32px rgba(90, 173, 221, 0.10);
  margin-bottom: 38px;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
}
.hero p {
  color: #387383;
  font-size: 1.2rem;
  margin-bottom: 22px;
}
.hero .cta-btn {
  font-size: 1.12rem;
  padding: 16px 38px;
}

/* ========== MAIN NAV ========== */
header {
  background: #F9FAFF;
  box-shadow: 0 2px 8px rgba(145, 192, 210, 0.07);
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.cta-btn {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(156, 192, 238, 0.21);
  padding: 9px 22px;
  margin-left: 12px;
  border-radius: 22px;
  transition: background 0.18s, transform 0.18s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #398ba0;
  transform: translateY(-1px) scale(1.03);
}
.main-nav a:hover, .main-nav a:focus {background: #E3FBF4; color: var(--secondary);}
.main-nav img {height: 40px; margin-right: 10px;}

/* ===== MOBILE MENU/BURGER ===== */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 24px;
  top: 18px;
  padding: 6px 12px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  z-index: 90;
  border-radius: 10px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: #e2fdf4; color: #328780; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(238, 248, 254, 0.98);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 28px;
  box-sizing: border-box;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  margin-top: 16px;
  align-self: flex-end;
  background: #ffe2fa;
  border: none;
  color: #c0589d;
  font-size: 2.4rem;
  padding: 4px 18px;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 100;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { background: #f9d1e7; color: #8a4171; }
.mobile-nav {
  margin-top: 26px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: var(--primary);
  background: #fff9fb;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(120,180,190,0.10);
  margin-bottom: 8px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: #FDE7EF; color: var(--secondary);}

/* Hide nav in mobile: show burger */
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
}

/* ========== CARDS & SECTIONS STYLES ========== */
/* Cards */
.card, .feature-item, .testimonial-card, .service-item {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  background: #fff;
  margin-bottom: 20px;
}
.testimonial-card {
  background: linear-gradient(120deg, #E9E5F8 0%, #FDE7EF 100%);
  color: #21325f;
  border: 1px solid #e6e6f7;
}
.testimonial-card p {
  color: #21325f;
  font-size: 1.08rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.testimonial-card span {
  font-size: 0.99rem;
  font-style: italic;
  color: #385586;
  letter-spacing: 0.01em;
}

.feature-item > img {
  width: 38px;
  min-height: 38px;
  margin-bottom: 6px;
}
.service-item > img {
  width: 36px; margin-bottom: 4px;
}
.service-item strong, .service-item span {
  color: var(--secondary);
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

ul {
  list-style: disc inside;
  margin-top: 2px;
  margin-bottom: 16px;
  padding-left: 22px;
}
li {
  margin-bottom: 9px;
  font-size: 1rem;
}

/* ===== CTA Buttons ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(98deg, #55A3B3 50%, #9de8e8 100%);
  color: #fff;
  padding: 13px 32px;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.10rem;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(85,163,179,0.17), 0 0px 0px #fff;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.16s;
  will-change: background, transform;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(98deg, #328fa8 20%, #5dd3cf 100%);
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(85,163,179,0.16);
  transform: translateY(-2px) scale(1.04);
}

button {
  outline: none;
}
button:focus-visible {
  outline: 2px solid #A8DADC;
}

/* ======= FOOTER ======= */
footer {
  background: #F9FAFF;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 16px 0 rgba(145,192,210,0.07);
  margin-top: 48px;
  padding: 36px 0 18px 0;
  font-size: 0.93rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6f88a8;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--secondary);
  opacity: 0.85;
  transition: color 0.18s;
  font-size: 0.98rem;
}
.footer-links a:hover, .footer-links a:focus { color: var(--primary); }
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin: 8px 0 8px 0;
}
.footer-social img {
  width: 32px; height: 32px; border-radius: 8px; background: #f8fafc;
  box-shadow: 0 3px 9px 0 rgba(85,163,179,0.10);
  padding: 4px;
}
.footer-copy {
  text-align: center;
  color: #a4acc4;
  font-size: 0.97rem;
  margin-top: 6px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: linear-gradient(92deg, #fdf9d8 50%, #e3fbf4 100%);
  color: #254273;
  box-shadow: 0 0 24px 2px rgba(230, 200, 170, 0.25);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 14px 16px 14px;
  border-radius: 26px 26px 0 0;
  opacity: 1;
  transform: translateY(0%);
  visibility: visible;
  transition: opacity 0.35s, transform 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  visibility: hidden;
}
.cookie-banner p {
  text-align: center;
  color: #254273;
  font-size: 1rem;
  margin-bottom: 6px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cookie-banner .cookie-btn {
  padding: 10px 22px;
  margin: 0 4px;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--primary);
  color: #fff;
  transition: background 0.16s, color 0.16s, transform 0.12s;
  cursor: pointer;
}
.cookie-banner .cookie-btn.settings {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus
{ background: #398ba0; color: #fff; transform: scale(1.04); }
.cookie-banner .cookie-btn.settings:hover {background: #71d8dd; color: #fff;}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right:0; bottom: 0;
  z-index: 2100;
  background: rgba(230,238,242,0.89);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity:1;
  visibility: visible;
  transition: opacity 0.28s, visibility 0.28s;
}
.cookie-modal.hide {
  opacity: 0;
  visibility: hidden;
}
.cookie-modal .modal-content {
  background: linear-gradient(123deg, #e9e5f8 0%, #e3fbf4 100%);
  padding: 36px 28px 24px 28px;
  border-radius: 26px;
  box-shadow: 0 4px 36px rgba(145, 192, 210, 0.14);
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h3 {
  font-size: 1.33rem;
  margin-bottom: 2px;
  color: var(--primary);
  font-weight: 600;
}
.cookie-modal label.category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #dbeafe;
  font-size: 1.07rem;
  color: var(--primary);
}
.cookie-modal .category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal .btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 44px;
  top: 20px;
  background: #ffe2fa;
  border-radius: 13px;
  border: none;
  color: #be87b8;
  font-size: 2rem;
  padding: 2px 15px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.cookie-modal .modal-close:focus, .cookie-modal .modal-close:hover { background: #fbc3e5; color: #91337e;}
.cookie-modal .note {font-size: 0.93rem; color: #575A9E; margin-top: 6px;}
.cookie-modal label.disabled {
  pointer-events: none;
  color: #a2adc9;
  opacity: 0.87;
}

/* ========== SPACING & MEDIA QUERIES ========== */
.section, .container, .content-wrapper, .card-container, .card, .feature-grid, .service-list, .testimonial-card, .footer-links, .footer-social, .text-image-section {
  margin-right: 0;
  margin-left: 0;
}
/* Ensure enough whitespace */
main > section, .section { margin-bottom: 48px; }
main > section:last-child, .section:last-child { margin-bottom: 0; }

/* Responsive: stack cards, columns, etc. */
@media (max-width: 1023px) {
  .feature-grid, .service-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
  }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .section {
    margin-bottom: 38px;
    padding: 28px 6px;
  }
  .card, .testimonial-card, .feature-item, .service-item {
    padding: 18px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero {
    padding: 40px 0 24px 0;
    border-radius: 0 0 32px 32px;
    margin-bottom: 26px;
  }
  .main-nav .cta-btn { margin-left: 0; }
}
@media (max-width: 475px) {
  html { font-size: 15px; }
  .hero h1 { font-size: 1.33rem; }
}

/* ========== FORM ELEMENTS ========== */
input, textarea, select {
  border: 1.5px solid #b8d0ed;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fdfdff;
  color: #254273;
  outline: none;
  transition: border 0.18s, box-shadow 0.18s;
  margin-bottom: 8px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #55A3B3;
  box-shadow: 0 0 0 2px #e3fbf4;
}
label { font-size: 1rem; color: #254273; margin-bottom: 4px; }

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .main-nav a, .service-item, .feature-item, .card, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.16s, background 0.15s, color 0.15s;
}
.card:hover, .feature-item:hover, .service-item:hover,
.testimonial-card:hover {
  box-shadow: 0 8px 40px rgba(80,180,220,0.17);
  transform: translateY(-4px) scale(1.012);
}

/* ========== SCROLLBAR & SELECTION ========== */
*::-webkit-scrollbar {
  width: 10px; background: #F3F8FF;
}
*::-webkit-scrollbar-thumb {
  background: #c2ddf9; border-radius: 12px;
}
::selection {
  background: #CDEAEF; color: #254273;
}

/* ========== ACCESSIBILITY ========== */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ========== UTILITY CLASSES ========== */
.mt-0 { margin-top:0 !important; }
.mb-0 { margin-bottom:0 !important; }
.mb-16 { margin-bottom:16px !important; }
.mb-20 { margin-bottom:20px !important; }
.text-center { text-align:center !important; }

/* ========== PRINT ========== */
@media print {
  .main-nav, .mobile-menu-toggle, footer, .cookie-banner, .cookie-modal { display: none !important; }
}
