/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #22243A;
  background: #F4EFE6;
  line-height: 1.6;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}
a {
  color: #005fa3;
  text-decoration: none;
  transition: color .18s;
}
a:hover,
a:focus {
  color: #FFB700;
  outline: none;
}
input, button, textarea, select {
  font-family: inherit;
}

/* --- BRAND COLORS & FONTS --- */
:root {
  --primary: #22243A;
  --secondary: #96B2C6;
  --accent: #F4EFE6;
  --brand-yellow: #FFB700;
  --brand-pink: #FF61A6;
  --brand-blue: #64ADE8;
  --shadow: 0 4px 18px 0 rgba(150, 178, 198, 0.13);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: all 0.22s cubic-bezier(0.45,1,0.98,0.6);
}

/* Montserrat font for display, Roboto for body */
h1, h2, h3, .cta-primary, .cta-secondary, nav, .btn, .mobile-menu-toggle {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; color: var(--brand-pink); margin-bottom: 18px; line-height: 1.1; }
h2 { font-size: 2rem; color: var(--brand-blue); margin-bottom: 20px; line-height: 1.14; }
h3 { font-size: 1.26rem; color: var(--primary); margin-bottom: 12px; line-height: 1.18; }

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.35rem; }
}
@media (min-width: 960px) {
  h1 { font-size: 3.6rem; }
  h2 { font-size: 2.66rem; }
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* --- FLEXBOX MANDATORY LAYOUTS --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature {
  background: var(--secondary);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 14px rgba(150,178,198,0.09);
  padding: 28px 24px 20px 24px;
  flex: 1 1 240px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  animation: popIn .7s cubic-bezier(.25,1.3,.7,1.07);
}
.feature img {
  width: 46px; height: 46px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 7px rgba(255,97,166,0.10));
}
@keyframes popIn {
  from {transform: scale(.90) translateY(15px); opacity: 0.2;}
  to { transform: scale(1) translateY(0); opacity: 1;}
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 18px rgba(150,178,198,0.08);
  padding: 26px 20px 16px 20px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
  transition: box-shadow .18s, transform .18s;
  border-left: 6px solid var(--brand-blue);
  animation: fadeInUp .7s cubic-bezier(.17,.67,.80,1.23);
}
.service-card:hover { box-shadow: 0 8px 36px var(--brand-blue,.17); transform: translateY(-5px) scale(1.03); }
.service-card h2, .service-card h3 {
  color: var(--brand-pink);
  margin-bottom: 9px;
}
.service-price {
  color: var(--brand-yellow);
  font-weight: bold;
  font-size: 1.08rem;
  letter-spacing: .03em;
}

@keyframes fadeInUp {
  from {transform: translateY(24px); opacity: 0.2;}
  to {transform: translateY(0); opacity: 1;}
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 18px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
}
.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;
}
.testimonials-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 23px rgba(150,178,198,0.13);
  min-width: 250px;
  max-width: 42ch;
  margin-bottom: 20px;
  border-left: 5px solid var(--brand-pink);
  animation: popIn .55s cubic-bezier(.45,1.07,.91,1.28);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.07rem;
  font-style: italic;
}
.testimonial-author {
  color: var(--brand-blue);
  font-size: 1rem;
  font-weight: bold;
}
.testimonial-rating {
  color: var(--brand-yellow);
  font-size: 1.25rem;
  font-weight: bold;
}

/* --- UTILITY FLEX CLASSES --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO --- */
.hero-section {
  background: linear-gradient(105deg, #96B2C6 45%, #FF61A6 95%);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 56px 18px 42px 18px;
  box-shadow: 0 4px 32px 0 rgba(34,36,58,0.09);
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: heroPop .9s cubic-bezier(.42,.75,.80,1.21);
}
.hero-section h1 {
  color: #fff;
  text-shadow: 0 2px 22px rgba(255,97,166,0.26);
}
.subheadline {
  font-size: 1.22rem;
  margin-bottom: 28px;
  color: #fff;
  font-weight: 400;
  letter-spacing: .01em;
}
@keyframes heroPop {
  from { opacity: 0; transform: scale(.96) translateY(34px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- BUTTONS & CTAs --- */
.cta-primary, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-yellow);
  color: var(--primary);
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  border-radius: 40px;
  cursor: pointer;
  padding: 12px 36px;
  margin: 8px 0;
  box-shadow: 0 3px 18px 0 rgba(255,183,0,0.10);
  text-shadow: 0 1px 3px rgba(255,255,255,0.13);
  transition: background .18s, color .18s, box-shadow .22s;
}
.cta-primary:hover, .cta-primary:focus,
.btn-primary:hover, .btn-primary:focus {
  background: #fff3c7;
  color: var(--brand-pink);
  box-shadow: 0 6px 22px 0 rgba(255,183,0,0.19);
}

.cta-secondary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-pink);
  color: #fff;
  border: none;
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 32px;
  margin-top: 14px;
  box-shadow: 0 2px 12px 0 rgba(255,97,166,0.10);
  transition: background .18s, color .18s;
}
.cta-secondary:hover, .cta-secondary:focus,
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-blue);
  color: var(--primary);
}

.btn {
  min-width: 120px;
  min-height: 42px;
  border-radius: 30px;
  padding: 11px 30px;
  font-weight: 700;
  font-size: 1rem;
}

/* --- NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 0 18px 0 rgba(150,178,198,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 66px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  min-height: 66px;
}
header img {
  height: 42px;
  margin-right: 20px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: var(--primary);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 18px;
  letter-spacing: 0.01em;
  transition: background .13s, color .15s;
}
nav a:hover, nav a.active {
  background: var(--brand-pink);
  color: #fff;
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 2.1rem;
  color: var(--brand-blue);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background .18s, color .15s;
  margin-left: 10px;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-blue);
  color: #fff;
}

@media (max-width: 1020px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1020px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none!important;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,245,249,0.93);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.5rem;
  color: var(--brand-pink);
  background: none;
  border: none;
  margin: 22px 26px 0 0;
  cursor: pointer;
  z-index: 10001;
  border-radius: 50%;
  min-width: 44px;
  min-height: 44px;
  align-self: flex-end;
  transition: background .21s, color .12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-pink);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 50px 34px;
}
.mobile-nav a {
  font-size: 1.21rem;
  color: var(--primary);
  background: none;
  padding: 15px 0;
  border-radius: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  width: 100%;
  transition: color .18s, background .14s;
}
.mobile-nav a:hover, .mobile-nav a:active {
  color: var(--brand-pink);
  background: #fff;
}

/* --- MAIN & SECTIONS --- */
main, section {
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 0px;
}

.text-section ul, .text-section ol, ul, ol {
  margin: 0 0 24px 24px;
  padding: 0 0 0 12px;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.65;
}
.text-section li strong {
  color: var(--brand-blue);
}
.text-section h2, .text-section h3 {
  margin-top: 18px;
}

/* --- TABLES & PRICING --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  font-size: 1rem;
}
thead {
  background: var(--brand-blue);
  color: #fff;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #ececec;
}
th {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
tbody tr:hover {
  background: var(--brand-yellow);
  color: var(--primary);
  transition: background .13s, color .13s;
}

/* --- BADGES --- */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 18px;
}
.badges span {
  background: var(--brand-blue);
  color: #fff;
  border-radius: 30px;
  padding: 6px 18px;
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 9px rgba(100,173,232,0.07);
  animation: popIn .6s;
}

/* --- BLOG LIST & SEARCH --- */
.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-post-list article {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 9px 0 rgba(34,36,58,0.06);
  padding: 20px 18px;
  margin-bottom: 12px;
  transition: box-shadow .16s, background .18s;
  border-left: 4px solid var(--brand-yellow);
}
.blog-post-list article h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--brand-pink);
}
.blog-post-list article a {
  color: var(--brand-blue);
  text-decoration: underline dotted var(--brand-blue);
  transition: color .15s;
}
.blog-post-list article a:hover { color: var(--brand-pink); }
.search-bar {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.search-bar input {
  border: 1.5px solid var(--brand-blue);
  border-radius: var(--radius-md);
  padding: 9px 14px;
  font-size: 1rem;
  background: #fff;
}
.search-bar input[disabled] {
  background: #f7f7f9;
  color: #bbb;
  cursor: not-allowed;
}

/* --- AUTHOR BIO --- */
.author-bio {
  background: var(--secondary);
  padding: 26px 22px;
  border-radius: var(--radius-md);
  margin-top: 15px;
  font-size: 1rem;
  box-shadow: 0 2px 7px rgba(150,178,198,0.11);
}
.author-bio ul {
  margin: 16px 0 0 14px;
}
.author-bio h3 {
  color: var(--brand-yellow);
  margin-top: 22px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 22px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-menu a {
  color: #fff;
  font-size: .98rem;
  transition: color .11s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--brand-yellow);
}
.brand-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}
.brand-info img {
  height: 34px;
  border-radius: 0;
}
.contact-short {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .97rem;
  opacity: .94;
  margin-bottom: 13px;
}

/* --- MAP PLACEHOLDER --- */
.map-placeholder {
  background: var(--brand-blue);
  color: #fff;
  padding: 28px 22px;
  border-radius: var(--radius-md);
  font-weight: 500;
  box-shadow: 0 1px 18px rgba(100,173,232,0.09);
  margin-bottom: 22px;
  animation: popIn .7s;
}

/* --- RESPONSIVE (Mobile-first) --- */
@media (max-width: 1020px) {
  .features-grid, .service-list, .card-container, .content-grid {
    gap: 16px;
    flex-wrap: wrap;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.82rem; }
  h2 { font-size: 1.29rem; }
  h3 { font-size: 1.09rem; }
  .features-grid, .service-list, .card-container, .content-grid, .badges {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .service-card, .card {
    min-width: 0;
    width: 100%;
  }
  .hero-section {
    padding: 32px 10px 28px 10px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-bottom: 32px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 21px;
    align-items: flex-start;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .container { padding: 0 6px; }
  .service-card, .feature, .testimonial-card, .map-placeholder, .author-bio {
    padding-left: 12px !important; padding-right: 12px !important;
  }
  .mobile-nav { margin: 50px 8px; }
}

/* --- ANIMATIONS / MICRO-INTERACTIONS --- */
.card, .feature, .service-card, .testimonial-card, .blog-post-list article {
  transition: box-shadow .18s, transform .13s, border-color .2s;
}
.card:hover, .feature:hover, .service-card:hover, .testimonial-card:hover, .blog-post-list article:hover {
  box-shadow: 0 6px 28px rgba(255,97,166,0.12);
  transform: translateY(-5px) scale(1.04);
  border-left-color: var(--brand-pink);
}

.cta-primary, .cta-secondary, .btn-primary, .btn-secondary {
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.cta-primary::after, .cta-secondary::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0; left: 0;
  height: 3px;
  background: var(--brand-blue);
  opacity: 0;
  transition: opacity .15s;
}
.cta-primary:hover::after, .cta-secondary:hover::after {
  opacity: .45;
}

/* --- FAQ LINKS --- */
.faq-links {
  margin-top: 28px;
  font-size: 1.11rem;
  color: var(--brand-pink);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-links a {
  color: var(--brand-blue);
  text-decoration: underline wavy var(--brand-blue);
  font-weight: 600;
  transition: color .15s;
}
.faq-links a:hover { color: var(--brand-pink); }

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--primary);
  border-top: 3px solid var(--brand-blue);
  box-shadow: 0 -2px 18px rgba(100,173,232,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 14px;
  gap: 24px;
  z-index: 99999;
  font-size: .97rem;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s cubic-bezier(.21,1.4,.85,.94), opacity .35s;
}
.cookie-consent-banner.active {
  transform: translateY(0);
  opacity: 1; visibility: visible;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-consent-banner button {
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(100,173,232,0.090);
  transition: background .15s, color .12s;
}
.cookie-consent-banner .cookie-accept { background: var(--brand-yellow); color: var(--primary); }
.cookie-consent-banner .cookie-accept:hover { background: #ffe7a1; color: var(--brand-pink); }
.cookie-consent-banner .cookie-reject {
  background: var(--brand-pink); color: #fff;
}
.cookie-consent-banner .cookie-reject:hover { background: var(--brand-blue); color: #fff; }
.cookie-consent-banner .cookie-settings {
  background: #fff; color: var(--brand-blue); border: 2px dashed var(--brand-blue); box-shadow: none;
}
.cookie-consent-banner .cookie-settings:hover { background: var(--brand-blue); color: #fff; }

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    padding: 17px 8px;
    font-size: .95rem;
  }
  .cookie-consent-banner .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,36,58,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .29s ease;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  min-width: 290px;
  max-width: 98vw;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 60px rgba(34,36,58,0.21);
  padding: 38px 25px 32px 25px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: popIn .36s;
}
.cookie-modal h3 {
  color: var(--brand-blue);
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-pink);
  cursor: pointer;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: var(--brand-pink);
  width: 22px; height: 22px;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 17px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  border: none;
  background: var(--brand-blue);
  color: #fff;
  font-weight: bold;
  padding: 9px 20px;
  border-radius: 33px;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal .modal-close:hover { background: var(--brand-pink); color: #fff; }

/* --- CONTACT PAGE & THANK YOU --- */
.contact-details, .contact-brief {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 1.02rem;
}
.contact-details strong {
  color: var(--brand-blue);
}

/* --- ACCENTUATION & HIGHLIGHT UTILS --- */
.highlight {
  background: var(--brand-yellow);
  color: var(--primary);
  border-radius: 13px;
  padding: 0 7px;
  font-weight: bold;
}

/* --- MISC --- */
::-webkit-scrollbar {
  background: #F4EFE6;
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--brand-pink);
  border-radius: 20px;
}

/* --- Selection color for playfulness --- */
::selection {
  background: var(--brand-blue);
  color: #fff;
}

/* --- FORBIDDEN: NO DISPLAY: GRID! --- */