/* RESET & NORMALIZE (Mobile-first) */
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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  background: #F2F7F6;
  color: #29506B;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: background-color 0.3s;
}
img {
  max-width: 100%;
  display: block;
  border-style: none;
}
a {
  color: #3A728A;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #D89033;
  outline: none;
}
ul, ol {
  list-style-position: inside;
  margin-left: 1.5em;
}
h1, h2, h3, h4 {
  color: #29506B;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 12px;
  color: #254158;
  font-size: 1rem;
}
strong {
  color: #29506B;
  font-weight: bold;
}

/* CONTAINER & STRUCTURE */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 40px;
  }
}

/* HEADER */
header {
  background: #ffffffcc;
  box-shadow: 0 2px 8px rgba(68,114,140,0.04);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(4px);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  min-height: 64px;
  gap: 16px;
}
.main-nav {
  display: none;
}
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-left: 30px;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #29506B;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E9F6F4;
  color: #D89033;
}

/* CTA BUTTON */
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F2AA4C;
  color: #29506B;
  padding: 12px 32px;
  border: none;
  border-radius: 24px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px 0 rgba(248,180,115,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  cursor: pointer;
  display: inline-block;
  margin-top: 16px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #D89033;
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(248,180,115,0.15);
  outline: none;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #29506B;
  cursor: pointer;
  margin-left: 8px;
  z-index: 300;
  border-radius: 8px;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
  
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #e9f6f4;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 88vw;
  max-width: 355px;
  height: 100vh;
  background: #fffffffc;
  box-shadow: -4px 0 40px 0 rgba(41,80,107,0.09);
  transform: translateX(-105%);
  transition: transform 0.36s cubic-bezier(.57,.21,.69,1.25);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  padding: 36px 22px 24px 22px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  font-size: 1.8rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 10px;
  color: #29506B;
  cursor: pointer;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E9F6F4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #29506B;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 8px 10px 2px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2F7F6;
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #F2F7F6 70%, #AEE9E1 100%);
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
  box-shadow: 0 2px 28px 0 rgba(41,80,107,0.08);
  margin-bottom: 60px;
  padding: 54px 0 44px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #29506B;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.18rem;
  color: #3A728A;
  margin-bottom: 18px;
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1.22rem;
  }
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* ===== SECTION BASE SPACING ===== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 800px) {
  section {
    margin-bottom: 80px;
    padding: 50px 0;
  }
}

/* FLEXBOX LAYOUTS */
.card-container,
.feature-grid,
.content-grid,
.footer-nav,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/* Feature Grid and Stepper (cards) */
.feature-grid {
  width: 100%;
  justify-content: flex-start;
  align-items: stretch;
  gap: 24px;
}
.feature-item {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px 0 rgba(27, 191, 165, 0.08);
  padding: 24px 18px;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 350px;
  margin-right: 0;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.feature-item h3 {
  font-size: 1.13rem;
  color: #29506B;
  margin-bottom: 3px;
}
.feature-item p,
.feature-item .price {
  margin-bottom: 2px;
  color: #456178;
}
.feature-item .price {
  color: #D89033;
  font-weight: bold;
  font-size: 1.05rem;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 8px 28px 0 rgba(41,80,107,0.13);
  transform: translateY(-6px) scale(1.015);
  outline: none;
}

/* Feature Stepper (for .feature-stepper) */
.feature-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  width: 100%;
}
.step {
  background: #F2F7F6;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(105, 168, 228, 0.06);
  padding: 22px 18px 20px 18px;
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.13s;
}
.step img {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.07rem;
  margin-bottom: 5px;
}
.step p {
  color: #497a8b;
  font-size: 1rem;
  margin-bottom: 0;
}
.step:hover {
  box-shadow: 0 8px 24px 0 rgba(105,168,228,0.12);
  transform: translateY(-4px) scale(1.02);
}


/* TESTIMONIALS SECTION */
.testimonials {
  background: #FAFAFD;
  border-radius: 28px;
  box-shadow: 0 4px 48px 0 rgba(105,168,228,0.10);
}
.testimonials .content-wrapper {
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  color: #29506B;
  border-radius: 17px;
  box-shadow: 0 2px 14px 0 rgba(105, 168, 228, 0.09);
  margin-bottom: 20px;
  padding: 24px;
  flex: 1 1 360px;
  min-width: 220px;
  max-width: 500px;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border-left: 5px solid #AEE9E1;
  transition: box-shadow 0.18s;
}
.testimonial-card strong {
  color: #D89033;
  font-weight: 700;
  font-size: 1.07rem;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 26px 0 rgba(105,168,228,0.18);
}

/* ABOUT, TEXT SECTIONS, LISTS */
.about ul {
  margin-bottom: 12px;
  padding-left: 0.7rem;
}
.about li,
.contact li,
.text-section li {
  margin-bottom: 6px;
  color: #587699;
  font-size: 1rem;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section a {
  color: #29506B;
  border-bottom: 1px dotted #AEE9E1;
}
.text-section a:hover, .text-section a:focus {
  color: #D89033;
  border-bottom: 1px solid #D89033;
}

/* CARDS (shared visual for any .card or .card-container) */
.card-container {
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(68,114,140,0.10);
  padding: 24px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 7px 32px 0 rgba(68,114,140,0.17);
  transform: translateY(-5px);
}

/* SERVICES GRID (for .services) */
.services .feature-grid {
  gap: 32px;
}
.services .feature-item {
  background: #F2F7F6;
  border-radius: 16px;
  box-shadow: 0 1px 6px 0 rgba(105,168,228,0.06);
  border-left: 5px solid #AEE9E1;
  transition: box-shadow 0.19s;
}
.services .feature-item:hover, .services .feature-item:focus-within {
  box-shadow: 0 8px 32px 0 rgba(105,168,228,0.18);
}



/* CONTACT BLOCKS */
.contact .container,
.contact .content-wrapper,
.contact .text-section {
  width: 100%;
}
.contact .text-section ul {
  margin-top: 10px;
  margin-bottom: 12px;
}
.contact .text-section li {
  font-size: 1rem;
  color: #346088;
  margin-bottom: 5px;
}

/* FOOTER */
footer {
  background: #fff;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  box-shadow: 0 -2px 24px 0 rgba(68,114,140,0.06);
  padding: 40px 0 32px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-nav {
  width: 100%;
  justify-content: center;
  gap: 30px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #497a8b;
  font-size: 1rem;
  margin-bottom: 0;
  transition: color 0.19s;
  padding: 4px 8px;
  border-radius: 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D89033;
  background: #F2F7F6;
}
.footer-social {
  gap: 14px;
  margin-bottom: 0;
}
.footer-social a img {
  width: 30px;
  height: 30px;
  filter: grayscale(30%) brightness(1.11);
  transition: filter 0.15s;
  border-radius: 50%;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: none;
}
footer p {
  margin: 0 0 0 0;
  color: #899CB3;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

/* TYPOGRAPHY SCALE */
@media (min-width: 600px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.23rem; }
  
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 1000px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.17rem; }
  .hero h1 { font-size: 3.5rem; }
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1023px) {
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    padding: 10px 26px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .feature-grid, .feature-stepper {
    flex-direction: column !important;
  }
  .feature-item, .step {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 900px) {
  .content-wrapper,
  .card-container,
  .footer-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .hero {
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    padding: 32px 0 28px 0;
  }
  .feature-item, .step {
    padding: 18px 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 1.67rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.07rem; }
  section { padding: 24px 3vw; }
  .hero { padding: 21px 0 14px 0; }
  .feature-item, .step { padding: 13px 7px; }
}
@media (max-width: 520px) {
  .container { padding-left: 7px; padding-right: 7px; }
}

/* MICRO-INTERACTIONS/TRANSITIONS */
.feature-item,
.card,
.step,
.btn-primary,
.testimonial-card,
.menu, .mobile-menu {
  transition: box-shadow 0.16s, transform 0.14s, background 0.18s, color 0.14s;
}

/* FORMS (if any) */
input, textarea, select {
  font-family: inherit;
  border: 1px solid #DAE5ED;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #F2F7F6;
  color: #29506B;
  outline: none;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #AEE9E1;
}

/* ----- COOKIE CONSENT BANNER ----- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  background: #FFFFFFEE;
  box-shadow: 0 -2px 24px 0 rgba(41,80,107,0.07);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  z-index: 15000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 3vw 18px 3vw;
  font-size: 1rem;
  color: #29506B;
  animation: bottomFadeIn 0.7s 0.05s both;
}
@keyframes bottomFadeIn {
  from {transform: translateY(50px); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-consent-banner p {
  color: #29506B;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  background: #F2F7F6;
  color: #29506B;
  font-weight: 600;
  margin-right: 0;
  transition: background 0.19s, color 0.19s;
}
.cookie-btn.accept {
  background: #F2AA4C;
  color: #29506B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #D89033;
  color: #fff;
}
.cookie-btn.reject {
  background: #29506B;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E4722A;
  color: #fff;
}
.cookie-btn.settings {
  background: #AEE9E1;
  color: #29506B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #3A728A;
  color: #fff;
}
/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(154,205,200,0.28);
  z-index: 25000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s cubic-bezier(.72,1.17,.41,1.01) both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 5px 34px 0 rgba(41,80,107,0.18);
  padding: 36px 32px 28px 32px;
  max-width: 92vw;
  width: 390px;
  color: #29506B;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: modalIn 0.37s cubic-bezier(.59,1.45,.27,.92) both;
  position: relative;
}
@keyframes modalIn {
  from {transform: scale(0.85) translateY(40px); opacity:0;}
  to {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin: 0 0 10px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 6px 0;
  border-bottom: 1px solid #F2F7F6;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  color: #29506B;
}
.cookie-toggle {
  appearance: none;
  background: #AEE9E1;
  border-radius: 12px;
  width: 36px;
  height: 21px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
}
.cookie-toggle:checked {
  background: #D89033;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2.3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transfer: box-shadow 0.21s;
  box-shadow: 0 1px 6px 0 rgba(41,80,107,0.10);
  transition: left 0.18s;
}
.cookie-toggle:checked::before {
  left: 17px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  font-size: 1.28rem;
  color: #3A728A;
  cursor: pointer;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E9F6F4;
}

/* ======================= */
/* SOFT PASTEL ENHANCEMENTS */
body {
  background: linear-gradient(135deg, #F2F7F6 90%, #AEE9E1 100%) fixed;
}
.hero, .features, .services, .about, .contact, .testimonials, .footer-nav, .card, .feature-item, .step {
  box-shadow: 0 1px 8px 0 rgba(116, 200, 199, 0.08);
}
.feature-item, .step, .card, .testimonial-card {
  border-radius: 18px;
  background: #fff;
}
.testimonial-card {
  background: #faf9ff;
  border-left: 5px solid #D89033;
  color: #222a33;
}
.testimonial-card p {
  color: #29506B;
  font-size: 1.04rem;
}
/* Misc dreamy decorative highlights */
.about, .contact, .services {
  background: #F7FAFD;
  border-radius: 33px;
}

/* SOFT SHADOWS & DREAMY MOODS */
.card, .feature-item, .testimonial-card, .step {
  box-shadow: 0 2px 14px 0 rgba(111, 181, 169, 0.09);
}

/* Accessibility improvements/testimonial contrast */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #2B3442;
}

/* ======================= */

/* UTILITY */
.hidden {display:none !important;}
.visible {display:block !important;}

/* Selection highlight */
::selection {
  background: #AEE9E1;
  color: #29506B;
}
