/* ==== 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, menu, 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F9FAFD;
  color: #25405A;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #25405A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F1B84B;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}


/* ==== SOFT PASTEL PALETTE ==== */
:root {
  --primary: #25405A;
  --secondary: #E0E6EE;
  --accent: #F1B84B;
  --pastel-pink: #F7D5D9;
  --pastel-blue: #C3DAF9;
  --pastel-yellow: #FFE9B8;
  --pastel-green: #BDE4CF;
  --pastel-mauve: #E3D7F7;
  --white: #fff;
  --dark: #212A33;
  --soft-shadow: 0 6px 32px 0 rgba(45, 50, 65, 0.08);
  --card-radius: 18px;
  --button-radius: 24px;
}


/* ==== TYPOGRAPHY ==== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  color: var(--primary);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 10px;
}

p, .subheadline, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}

.subheadline {
  font-size: 1.18rem;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 24px;
}

.text-section {
  margin-bottom: 24px;
}

strong {
  font-weight: 700;
  color: var(--primary);
}


/* ==== LAYOUT & CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* Section spacing adjustment for first and last */
main > section:first-child {
  margin-top: 32px;
}
main > section:last-child {
  margin-bottom: 0;
}

/* ==== HEADER & NAV ==== */
header {
  background: var(--white);
  box-shadow: 0 4px 18px 0 rgba(45, 50, 65, 0.07);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  gap: 18px;
}
.logo img {
  height: 48px;
  width: auto;
  transition: filter 0.2s;
}
.logo:hover img {
  filter: brightness(0.9) saturate(1.18);
}

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.92;
  border-radius: 8px;
  padding: 7px 12px;
  transition: background 0.17s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  background: var(--secondary);
  opacity: 1;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  color: var(--white);
  background: var(--primary);
  border-radius: var(--button-radius);
  padding: 12px 28px;
  margin-left: 16px;
  box-shadow: 0 2px 8px 0 rgba(241,184,75,0.08);
  transition: background 0.18s, box-shadow 0.22s, color 0.15s;
  letter-spacing: 0.01em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 22px 0 rgba(241,184,75,0.16);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  background: var(--pastel-yellow);
  border-radius: var(--button-radius);
  padding: 11px 24px;
  margin-top: 16px;
  box-shadow: 0 1px 6px 0 rgba(39,55,90,0.06);
  transition: background 0.15s, color 0.15s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--accent);
  color: var(--white);
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  margin-left: 20px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.18s, color 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-pink);
  color: var(--accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(125deg, #F7D5D9 0%, #FFE9B8 100%);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.6,0.1,0.2,1);
  padding: 34px 24px 0 24px;
  box-shadow: 0 8px 40px rgba(39,55,90,0.10);
  overflow-y: auto;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 10px;
  margin-bottom: 16px;
  border: none;
  padding: 8px 16px;
  box-shadow: 0 2px 12px 0 rgba(195,218,249,0.1);
  transition: background 0.17s, color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--pastel-mauve);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding-bottom: 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.26rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  padding: 14px 4px;
  border-radius: 10px;
  transition: background 0.13s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--accent);
}

/* Hide desktop nav, show burger on mobile */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}


/* ==== FLEXBOX-BASED CONTENT LAYOUTS ==== */
.content-grid, .card-container, .feature-grid, .testimonial-list, .team-bios, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--soft-shadow);
  margin-bottom: 20px;
  padding: 24px;
  min-width: 250px;
  flex: 1 1 300px;
  transition: box-shadow 0.15s, transform 0.15s;
  position: relative;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 42px 0 rgba(39,55,90,0.09);
  transform: translateY(-4px) scale(1.02);
}
.feature-grid {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--soft-shadow);
  padding: 24px 20px 22px 24px;
  min-width: 200px;
  flex: 1 1 220px;
  min-height: 220px;
  transition: box-shadow 0.2s, transform 0.16s;
  position: relative;
}
.feature-item img {
  height: 46px;
  margin-bottom: 5px;
  filter: drop-shadow(0 1px 5px rgba(241,184,75,0.08));
}
.feature-item:hover {
  box-shadow: 0 12px 40px 0 rgba(39,55,90,0.13);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-list {
  gap: 32px;
  flex-wrap: wrap;
  align-items: stretch;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 24px rgba(39,55,90,0.11);
  padding: 20px 24px;
  min-width: 250px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 20px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 0;
}
.testimonial-author {
  font-size: 0.96rem;
  color: var(--primary);
  font-weight: 600;
  opacity: 0.78;
}
.testimonial-card:hover {
  box-shadow: 0 12px 44px 0 rgba(241,184,75,0.14);
  transform: translateY(-2px) scale(1.02);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}

.team-bios {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.team-bios .text-section {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--soft-shadow);
  padding: 18px 24px;
  min-width: 220px;
  flex: 1 1 270px;
}
.certifications {
  background: var(--pastel-blue);
  border-radius: var(--card-radius);
  padding: 16px 20px;
  box-shadow: 0 2px 14px 0 rgba(195,218,249,0.08);
  margin-top: 10px;
  margin-bottom: 16px;
}
.certifications h3 {
  margin-bottom: 10px;
}

.faq-list {
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.faq-item {
  background: var(--pastel-blue);
  border-radius: var(--card-radius);
  box-shadow: var(--soft-shadow);
  padding: 20px 16px 18px 22px;
  flex: 1 1 320px;
  min-width: 220px;
  transition: box-shadow 0.16s;
  margin-bottom: 20px;
}
.faq-item h3 {
  font-size: 1.13rem;
}
.faq-item:hover {
  box-shadow: 0 8px 32px 0 rgba(195,218,249,0.16);
}

.service-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
}
.service-list li {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--soft-shadow);
  padding: 20px 14px 18px 22px;
  min-width: 200px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.19s;
}
.service-list li:hover {
  box-shadow: 0 8px 36px 0 rgba(241,184,75,0.09);
  transform: scale(1.018);
}

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  border-radius: var(--card-radius);
  margin-bottom: 32px;
  overflow: hidden;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--secondary);
  text-align: left;
}
.pricing-table th {
  background: var(--pastel-mauve);
  color: var(--primary);
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

.comparison-highlights {
  background: var(--pastel-green);
  padding: 16px 20px;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 8px 0 rgba(189,228,207,0.09);
  margin-bottom: 16px;
}

.process-steps ol, .process-overview ol {
  margin-left: 28px;
  margin-bottom: 0;
}
.process-steps li, .process-overview li {
  font-size: 1rem;
  padding-left: 10px;
  margin-bottom: 11px;
  color: var(--primary);
}
.process-steps li strong {
  color: var(--accent);
}

/* ==== HERO/BANNER ==== */
.hero, .hero-process {
  background: linear-gradient(120deg, var(--pastel-blue) 0%, var(--pastel-pink) 100%);
  padding: 60px 0 56px 0;
  margin-bottom: 40px;
}
.hero h1, .hero-process h1 {
  color: var(--primary);
  margin-bottom: 18px;
}
.hero .cta-primary, .hero-process .cta-primary {
  margin-top: 4px;
}

/* ==== CTA SECTION ==== */
.cta, .contact-cta, .confirmation {
  background: linear-gradient(120deg, #FFE9B8 0%, #E3D7F7 85%);
  border-radius: var(--card-radius);
  box-shadow: 0 6px 26px 0 rgba(39,55,90,0.06);
  padding: 40px;
  margin-bottom: 40px;
}
.cta h2, .contact-cta h2, .confirmation h1 {
  color: var(--primary);
  margin-bottom: 16px;
}

/* ==== FOOTER ==== */
footer {
  background: var(--secondary);
  border-top: 2px solid var(--pastel-mauve);
  padding: 40px 0 24px 0;
  margin-top: 40px;
  color: var(--primary);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  min-width: 210px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.footer-brand img {
  height: 46px;
  width: auto;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: var(--primary);
  font-size: 0.98rem;
  transition: color 0.18s;
  opacity: 0.85;
}
.footer-menu a:hover {
  color: var(--accent);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.97rem;
}
.footer-contact img {
  height: 16px;
  margin-right: 7px;
  opacity: 0.72;
  vertical-align: -2px;
}


/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, var(--pastel-blue) 0%, var(--pastel-pink) 100%);
  color: var(--primary);
  box-shadow: 0 -1px 20px 0 rgba(39,55,90,0.11);
  padding: 20px 16px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-banner .cookie-message {
  text-align: center;
  margin-bottom: 6px;
}
.cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  min-width: 100px;
  border-radius: 18px;
  border: none;
  padding: 10px 18px;
  font-weight: 500;
  background: var(--accent);
  color: var(--primary);
  margin: 0 2px;
  box-shadow: 0 1px 6px 0 rgba(241,184,75,0.08);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.cookie-banner button.cookie-settings {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--pastel-yellow);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 10px 0 rgba(37,64,90,0.12);
}
.cookie-banner button.cookie-settings:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3020;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39,55,90,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 32px 24px 24px 24px;
  box-shadow: 0 12px 40px 0 rgba(241,184,75,0.16);
  width: 90vw;
  max-width: 380px;
  position: relative;
  animation: fadeInScale 0.39s cubic-bezier(0.5,1.5,0.17,0.95);
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.88) translateY(24px); }
  90%{ opacity: 1; transform: scale(1.04) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 12px;
}
.cookie-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.cookie-switch {
  width: 36px;
  height: 20px;
  position: relative;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--secondary);
  border-radius: 12px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--accent);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal button {
  font-size: 1rem;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--pastel-blue);
  color: var(--primary);
  font-size: 1.24rem;
  border-radius: 7px;
  padding: 5px 10px;
}
.cookie-modal .close-cookie-modal:hover {
  background: var(--pastel-pink);
  color: var(--accent);
}

/* ==== MISC ELEMENTS ==== */
.text-section ul, .text-section ol {
  margin-bottom: 8px;
}
.text-section ul li {
  position: relative;
  padding-left: 21px;
  margin-bottom: 8px;
}
.text-section ul li:before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 3px;
  font-size: 1.25em;
  line-height: 1;
}
.text-section a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.15s;
}
.text-section a:hover {
  color: var(--accent);
}

hr {
  border: none;
  borderTop: 1px solid var(--pastel-mauve);
  margin: 17px 0;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1200px) {
  .container { max-width: 990px; }
}
@media (max-width: 980px) {
  .container { max-width: 740px; }
  .content-wrapper {
    gap: 18px;
  }
  .footer-brand { flex-direction: column; gap: 6px; }
  footer .content-wrapper {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.34rem; }
  .container { padding: 0 8px; }
  .feature-grid,
    .testimonial-list,
    .team-bios,
    .service-list,
    .faq-list,
    .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-menu,
    .footer-contact,
    .footer-brand {
    align-items: flex-start;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
  .cta, .contact-cta, .confirmation {
    padding: 32px 8px;
    margin-bottom: 34px;
  }
}
@media (max-width: 600px) {
  .header .container, .footer .container { padding: 0 5px; }
  .feature-item, .card, .testimonial-card, .faq-item, .service-list li, .team-bios .text-section {
    min-width: 100%;
    padding: 16px 10px;
  }
  .pricing-table th, .pricing-table td {
    padding: 10px 6px;
  }
}


/* ==== ANIMATIONS & MICRO-INTERACTIONS ==== */
.cta-primary, .cta-secondary, .main-nav a, .feature-item, .testimonial-card, .faq-item, .service-list li, .card {
  transition-property: background, color, box-shadow, transform, opacity;
  transition-duration: 0.17s, 0.16s, 0.19s, 0.19s, 0.16s;
  transition-timing-function: cubic-bezier(.25,.58,.38,1.09);
}

/* ==== SYSTEM CLASSES ==== */
.hide { display: none !important; }

/* ==== END OF CSS ==== */