/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #324161;
  background: #FCF7FB;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #205375;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FEE440;
  text-decoration: underline;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2b364c;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 32px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 24px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 16px; font-weight: 600; }
h4, h5, h6 { font-size: 1.125rem; }
p, ul, ol { font-size: 1rem; margin-bottom: 16px; line-height: 1.75; }
ul, ol { padding-left: 22px; }

/* BRAND COLORS & SOFT PASTEL PALETTE */
:root {
  --brand-primary: #205375;
  --brand-secondary: #FEE440;
  --brand-accent: #FFFFFF;
  --pastel-blue: #B4D4EE;
  --pastel-yellow: #FFF9D6;
  --pastel-pink: #FCE6F5;
  --pastel-mint: #DDF3E4;
  --pastel-lavender: #E3E6F9;
  --input-bg: #f6f7fa;
  --focus-shadow: 0 0 0 2px #FEE44044;
  --shadow-main: 0 8px 24px 0 rgba(227, 230, 249, 0.14),
    0 1.5px 6px 0 rgba(32,83,117,0.08);
  --border-radius-lg: 18px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
}


/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-mint);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-main);
  transition: background 0.25s;
}
section:nth-child(even) .section,
main section:nth-child(even) {
  background: var(--pastel-lavender);
}

/* HEADER */
header {
  width: 100%;
  background: linear-gradient(90deg, #FFF9D6 0%, #B4D4EE 100%);
  box-shadow: 0 1px 8px 0 rgba(32,83,117,0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  padding: 8px 2px;
  border-radius: 4px;
  color: #205375;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #FEE44044;
  color: #205375;
}
.cta.primary {
  background: var(--brand-primary);
  color: var(--brand-accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 30px;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px #20537518;
  transition: background 0.2s, transform 0.12s;
  cursor: pointer;
  margin-left: 12px;
  display: inline-block;
  letter-spacing: 0.025em;
}
.cta.primary:hover, .cta.primary:focus {
  background: #306391;
  transform: translateY(-2px) scale(1.03);
}
.cta {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px #FEE44018;
  padding: 12px 28px;
  transition: background 0.15s, color 0.15s, transform 0.12s;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.01em;
}
.cta:hover, .cta:focus {
  background: #FDE670;
  color: #173042;
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  font-size: 2.1rem;
  background: transparent;
  border: none;
  color: #205375;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: none;
  margin-left: 12px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus {
  background: #FEE44044;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #FCF7FB 40%, #B4D4EE 120%);
  box-shadow: 0 2px 32px #b4d4ee80;
  z-index: 100;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.4,.25,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 24px 24px 24px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #205375;
  cursor: pointer;
  margin-bottom: 20px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #FEE44044;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #205375;
  background: #fff;
  padding: 14px 12px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px #b4d4ee30;
  transition: background 0.20s, color 0.20s;
}
.mobile-nav a:focus,
.mobile-nav a:hover,
.mobile-nav a.active {
  background: #FEE44044;
  color: #205375;
}

/* Hide desktop nav on mobile */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .cta.primary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  header .container {
    gap: 6px;
    min-height: 60px;
  }
}

/* MAIN CONTENT SECTIONS */
main section {
  width: 100%;
}
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius-lg);
}

/* Flex containers per MANDATORY PATTERNS */
.card-container, .card-grid, .service-cards, .service-list, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px 0 #B4D4EE44;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #292d32;
  margin-bottom: 8px;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  background: #e5f1f9;
  box-shadow: 0 4px 18px #B4D4EE55;
}

.card, .service-card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-main);
  padding: 24px 20px 22px 20px;
  min-width: 250px;
  transition: box-shadow 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  flex: 1 1 280px;
  max-width: 340px;
}
.card:hover,
.card:focus-within,
.service-card:hover,
.service-card:focus-within {
  background: var(--pastel-lavender);
  box-shadow: 0 4px 22px #E3E6F977;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid li {
  list-style: none;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-main);
  flex: 1 1 230px;
  padding: 24px 18px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.12s, background 0.16s;
}
.feature-grid li:hover,
.feature-grid li:focus-within {
  background: var(--pastel-mint);
  box-shadow: 0 4px 22px #DDF3E477;
  transform: translateY(-2px) scale(1.015);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

.project-summary {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-main);
  padding: 24px 20px;
  margin-bottom: 20px;
}
.process-steps,
.quality-assurance {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.process-steps ol,
.quality-assurance ul {
  margin-left: 20px;
  margin-bottom: 0;
  color: #2b364c;
}

.text-section {
  margin-bottom: 24px;
}
.contact-details,
.business-hours,
.map-section {
  margin-bottom: 20px;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 20px;
}
.faq-question {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 6px #B4D4EE22;
  padding: 20px 20px 16px 20px;
}

/* FOOTER */
footer {
  width: 100%;
  background: linear-gradient(90deg,#B4D4EE 0%, #FFF9D6 100%);
  font-size: 1rem;
  color: #205375;
  padding: 0;
  box-shadow: 0 -2px 8px #b4d4ee18;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 28px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #205375;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color 0.18s;
  font-size: 1rem;
  padding: 2px 0;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FEE440;
}
.contact-info {
  font-size: 0.99rem;
  color: #205375;
}
.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.social-links a {
  display: inline-flex;
  background: var(--pastel-yellow);
  border-radius: 50%;
  box-shadow: 0 1px 4px #FEE44012;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
}
.social-links a:hover,
.social-links a:focus {
  background: #FEE440;
}

/* BUTTONS FORMS AND STATES */
input,
select,
textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: 1px solid #b2b2b2;
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  background: var(--input-bg);
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.2s, box-shadow 0.18s;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border: 1.5px solid #FEE440;
  box-shadow: var(--focus-shadow);
}
button,
input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  background: var(--brand-primary);
  color: var(--brand-accent);
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 26px;
  cursor: pointer;
  box-shadow: 0 2px 7px #20537518;
  transition: background 0.18s, transform 0.11s;
}
button:hover,
input[type="submit"]:hover {
  background: #306391;
  transform: translateY(-2px) scale(1.02);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, #FFF9D6 10%, #E3E6F9 90%);
  box-shadow: 0 -2px 12px #b4d4ee38;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 16px 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.22s, transform 0.28s cubic-bezier(.81,.16,.18,.96);
}
.cookie-consent-banner.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner-content {
  max-width: 900px;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.cookie-btn {
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 0 1px 5px #e3e6f922;
  transition: background 0.18s, color 0.12s, transform 0.10s;
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #306391;
}
.cookie-btn.reject {
  background: #fff;
  color: #205375;
  border: 1px solid #20537533;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FCE6F5;
  color: #843A5B;
}
.cookie-btn.settings {
  background: var(--brand-secondary);
  color: #205375;
  border: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FDE670;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(180,212,238,0.25);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  padding: 34px 26px 22px 26px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-main);
  min-width: 320px;
  max-width: 90vw;
  max-height: 95vh;
  overflow-y: auto;
  outline: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.24s cubic-bezier(.77,.13,.17,1);
  transform: translateY(60px) scale(0.99);
}
.cookie-modal-overlay.active .cookie-modal {
  transform: translateY(0) scale(1.0);
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cookie-toggle {
  width: 43px;
  height: 24px;
  border-radius: 14px;
  background: #E3E6F9;
  border: none;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle[aria-checked="true"] {
  background: #FEE440;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s;
  box-shadow: 0 1px 2px #20537516;
}
.cookie-toggle[aria-checked="true"]:before {
  left: 22px;
}
.cookie-category-row[data-essential] .cookie-toggle {
  background: #b4d4ee;
  pointer-events: none;
  opacity: 0.8;
}
.cookie-modal .cookie-modal-title {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* --- SPACING/MICRO-INTERACTIONS & TRANSITIONS --- */
.section, main section, .faq-question, .feature-grid li, .service-card, .testimonial-card, .card {
  transition: box-shadow 0.22s, background 0.18s, transform 0.13s;
}
.section:hover, .section:focus-within {
  box-shadow: 0 12px 40px #E3E6F966;
  background: #FCE6F5;
}

/* --- SPACING RULES PER MANDATORY REQUIREMENTS --- */
section, main section, .section, .card, .service-card, .testimonial-card, .feature-grid li {
  margin-bottom: 20px;
}
.card-container,
.service-cards,
.feature-grid,
.content-grid,
.process-steps,
.quality-assurance {
  gap: 20px;
}

/* --- TABLETS & MOBILE RESPONSIVENESS --- */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.39rem; }
  h3 { font-size: 1.10rem; }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section, main section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .content-grid,
  .card-container,
  .feature-grid,
  .service-cards,
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    gap: 12px 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  footer .container {
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 16px;
    flex-direction: column-reverse;
  }
  .social-links {
    margin-top: 0;
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  h2 { font-size: 1.12rem; margin-bottom: 14px; }
  .feature-grid li,
  .card, .service-card {
    padding: 14px 10px;
    min-width: unset;
    max-width: unset;
  }
  .cookie-modal {
    padding: 14px 6px 12px 6px;
    min-width: unset;
  }
}

/* --- Z-INDEX LAYERING --- */
.mobile-menu { z-index: 1000; }
.cookie-consent-banner, .cookie-modal-overlay { z-index: 1200; }
header { z-index: 20; }

/* --- VISUAL HIERARCHY TYPOGRAPHY SCALE --- */
.display-1 { font-size: 3rem; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 700; }
.display-2 { font-size: 2.1rem; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 700; }
.subtitle { font-size: 1.22rem; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 500; letter-spacing: 0.01em; color: #326274; margin-bottom: 8px; }

/* --- VISUAL ORNAMENTS (decorative only) --- */
.decorative-blob {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.12;
}

/* --- ACCESSIBLE FOCUS / CONTRAST for Testimonials, Cards --- */
.testimonial-card,
.card, .service-card, .faq-question, .feature-grid li {
  color: #26272B;
  background: #fff;
}
.testimonial-card strong {
  color: #233250;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card blockquote {
  color: #1d2540;
}

/* --- UTILITIES --- */
.text-center { text-align: center; }
.m-0 { margin: 0!important; }
.mt-1 { margin-top: 8px!important; }
.mt-2 { margin-top: 16px!important; }
.mt-3 { margin-top: 32px!important; }
.mb-1 { margin-bottom: 8px!important; }
.mb-2 { margin-bottom: 16px!important; }
.mb-3 { margin-bottom: 32px!important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; justify-content: space-between; }

/* --- OVERRIDES 
 * Absolutely NO CSS Grid and NO columns used --- */
/* FINISHED: ALL LAYOUTS FLEX ONLY */
