/* RESET & BASE STYLES ------------------------------------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #343C47;
  background-color: #F8FAFC;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #f7fafd;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #94B7C4;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3d4c58;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
}
section, main, header, footer {
  width: 100%;
  box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #343C47;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; }

/* SOFT PASTEL COLOR PALETTE ----------------------------------------------------- */
:root {
  --primary: #343C47;
  --secondary: #94B7C4;
  --accent: #F3F0EC;
  --brand-blue: #94B7C4;
  --brand-gray: #F0F5F9;
  --pastel-peach: #FFE7D3;
  --pastel-mint: #D0F3DF;
  --pastel-lavender: #DEE7F2;
  --pastel-pink: #F3DAE7;
  --pastel-yellow: #FFF9D9;
  --text-dark: #343C47;
  --text-mid: #53606C;
  --text-light: #fff;
  --card-shadow: 0 4px 24px 0 rgba(120,140,180,0.08);
  --card-radius: 22px;
}

/* LAYOUT ---------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 28px 22px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 32px 0 rgba(120,140,180,0.18);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: var(--pastel-mint);
  border-radius: var(--card-radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(40,70,100,0.07);
  transition: box-shadow 0.2s, background 0.18s;
  color: var(--text-dark);
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 6px 30px rgba(40,70,100,0.14);
  background: var(--brand-gray);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-peach);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 10px rgba(70,90,120,0.07);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 230px;
  transition: box-shadow .18s, background .15s;
}
.feature-item:hover {
  box-shadow: 0 6px 24px rgba(60,90,140,0.12);
  background: var(--pastel-yellow);
}

/* HERO, HEADINGS, CTA ------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(130deg, var(--pastel-lavender) 60%, var(--pastel-mint) 100%);
  padding: 48px 0 56px 0;
  margin-bottom: 32px;
}
.hero-section h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
  color: var(--primary);
  text-shadow: 0 2px 10px rgba(180,200,250,0.11);
  letter-spacing: 0.03em;
}
.hero-section p {
  max-width: 510px;
  font-size: 1.15rem;
  color: var(--text-mid);
}
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #D0F3DF 0%, #DEE7F2 100%);
  color: #343C47;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.1rem;
  padding: 13px 32px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 2px 14px rgba(60,90,120,0.09);
  margin-top: 12px;
  margin-bottom: 6px;
  cursor: pointer;
  outline: none;
  transition: background .18s, color .15s, box-shadow .20s;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #FFF9D9 0%, #F3DAE7 100%);
  color: #343C47;
  box-shadow: 0 7px 30px rgba(70,110,150,0.21);
}

/* MAIN NAVIGATION ----------------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(100,120,150,0.07);
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary);
  padding: 7px 15px;
  border-radius: 999px;
  transition: background 0.13s, color 0.13s;
  position: relative;
}
.main-nav a:not(.cta-button):hover, .main-nav a:not(.cta-button):focus {
  background: var(--pastel-pink);
  color: #246282;
}
.main-nav .cta-button {
  margin-left: 12px;
}
.main-nav img {
  max-height: 38px;
  margin-right: 10px;
  vertical-align: middle;
}

/* MOBILE NAVIGATION --------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #3d4c58;
  position: absolute;
  right: 16px;
  top: 17px;
  z-index: 120;
  cursor: pointer;
  width: 44px;
  height: 44px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #58bcc3;
  outline: none;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform .33s cubic-bezier(.58,.1,.27,1.03);
  box-shadow: 0 8px 40px 0 rgba(130,170,200,0.07);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #343C47;
  align-self: flex-end;
  margin: 20px 18px 0 0;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #94B7C4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  margin: 40px 32px;
  flex: 1 1 auto;
}
.mobile-nav a {
  color: #343C47;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 6px;
  width: 100%;
  transition: background .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-lavender);
  color: #246282;
}
@media (max-width: 980px) {
  .main-nav {
    gap: 9px;
    padding-left: 12px;
    padding-right: 54px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 2px;
    padding-left: 10px;
    padding-right: 52px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .mobile-menu {
    width: 100vw;
    min-width: 0;
    padding: 0;
  }
}

/* PAGE SECTIONS ------------------------------------------------------------------- */
.features-section, .about-brief-section, .services-overview-section,
.experience-section, .service-details-section, .projects-section,
.process-section, .map-section, .thank-you-section, .contact-section,
.legal-section, .cta-banner-section, .contact-cta-section,.about-section,.leave-review-section, .about-cta-section, .projects-cta-section{
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 18px 0 rgba(100,120,150,0.06);
  margin-bottom: 60px;
  padding: 40px 18px 30px 18px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
  margin-bottom: 12px;
}

.service-detail-grid, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.service-detail-grid > div, .project-list > div {
  flex: 1 1 220px;
  background: var(--pastel-lavender);
  border-radius: var(--card-radius);
  padding: 18px 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px 0 rgba(80,110,130,.08);
  color: #343C47;
}
.service-detail-grid > div:hover, .project-list > div:hover {
  background: var(--pastel-mint);
  box-shadow: 0 7px 28px 0 rgba(80,110,130,.14);
}

.text-section ul, .text-section ol {
  margin-top: 6px;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.63;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
}
.text-section {
  max-width: 760px;
  margin: 0 auto;
}

.address-block {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pastel-peach);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 12px 0 20px 0;
  font-size: 1rem;
}

/* TESTIMONIALS, REVIEWS  --------------------------------------------------------- */
.testimonial-card {
  background: var(--pastel-mint);
  color: #2d353d;
  border-left: 6px solid var(--secondary);
  box-shadow: 0 2px 14px 0 rgba(140,190,170,0.07);
  font-size: 1.12rem;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #44525d;
  margin-left: 12px;
}
.review-summaries {
  background: var(--pastel-yellow);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 18px;
  box-shadow: 0 1px 8px 0 rgba(240,184,120,0.05);
  font-size: 1.08rem;
  display: flex;
  flex-direction: row;
  gap: 34px;
  flex-wrap: wrap;
}

/* FOOTER -------------------------------------------------------------------------- */
footer {
  background: #F3F0EC;
  box-shadow: 0 -2px 18px 0 rgba(140,160,180,0.06);
  padding: 34px 0 20px 0;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #474D54;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #e7ecf2;
}
.footer-contact {
  color: #333f49;
  text-align: center;
  font-size: 0.96rem;
  margin-bottom: 12px;
}
.footer-contact img {
  height: 1em;
  vertical-align: middle;
  margin-right: 2px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
  gap: 7px;
  color: #8a98a4;
  font-size: 0.92rem;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 2px;
}

/* COOKIE BANNER & MODAL ----------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%; z-index: 5000;
  background: var(--pastel-pink);
  color: #343C47;
  box-shadow: 0 -3px 32px rgba(120,120,160,0.10);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 18px 22px 15px 22px;
  font-size: 1rem;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  animation: fadeInUp .7s cubic-bezier(.53,.2,.26,1);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(100px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner button {
  margin-left: 13px;
  margin-right: 3px;
  padding: 8px 19px;
  border-radius: 20px;
  border: none;
  background: var(--pastel-lavender);
  color: #243048;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 rgba(150,170,180,.09);
  transition: background .14s, color .1s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--pastel-mint);
  color: #246282;
}
.cookie-settings-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(56, 67, 70, 0.27);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 375px;
  width: 95%;
  padding: 27px 20px 22px 20px;
  box-shadow: 0 14px 44px 0 rgba(140,160,210,0.13);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: scaleIn .2s;
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-content h3 {
  font-size: 1.2rem;
  margin-bottom: 7px;
}
.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}
.cookie-category-toggle label {
  font-size: 0.97rem;
}
.cookie-switch {
  width: 38px; height: 22px; display: inline-block;
  position: relative;
}
.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(--pastel-lavender);
  border-radius: 22px;
  transition: background .18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--pastel-mint);
}
.cookie-slider:before {
  position: absolute;
  content: '';
  left: 3px; top: 3px;
  width: 16px;height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .15s;
  box-shadow: 0 1px 6px 0 rgba(110,130,200,0.10);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 13px;
  font-size: 1.6rem;
  background: none; border: none;
  color: #343C47;
  cursor: pointer;
}
.cookie-modal-close:hover { color: #94B7C4; }

/* BUTTON, FORMS, MISC ------------------------------------------------------------ */
button:not([class]) {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: #94B7C4;
  color: var(--text-light);
  border-radius: 8px;
  padding: 8px 16px;
  margin: 2px 0;
}
button:not([class]):hover {
  background: #d0f3df;
  color: #343C47;
}

input, textarea, select {
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid #c8e2ef;
  background: #f9fdff;
  color: #343C47;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  border-color: #94B7C4;
  outline: 2px solid #94B7C4;
}

/* VISUAL HIERARCHY: TYPOGRAPHY & SPACING ----------------------------------------- */
.text-section h2, .content-wrapper h2 {
  margin-top: 25px;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #353d49;
}
.text-section h3, .content-wrapper h3 {
  font-size: 1.18rem;
  font-weight: 600;
  color: #3d4c58;
  margin-bottom: 6px;
}
.text-section p, .content-wrapper p {
  margin-bottom: 8px;
  color: #425160;
}
.text-section ul, .text-section ol {
  font-size: 1.02rem;
  color: #4d5769;
}

/* ENSURE FLEXBOX BREAKS ON MOBILE ------------------------------------------------ */
@media (max-width: 1020px) {
  .container {
    max-width: 97vw;
  }
  .feature-grid, .service-detail-grid, .project-list, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-detail-grid, .project-list, .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}
@media (max-width: 890px) {
  .cta-button {
    font-size: 1.01rem;
    padding: 11px 18px;
  }
}
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.1rem;
  }
  .hero-section p {
    font-size: 1.02rem;
  }
  .container {
    max-width: 99vw;
    padding: 0 5vw;
  }
  .section, .features-section, .about-brief-section, .services-overview-section,.contact-section, .projects-section,.legal-section, .thank-you-section {
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .service-detail-grid, .feature-grid, .project-list {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
  }
  .review-summaries {
    flex-direction: column;
    gap: 12px;
    font-size: 1.01rem;
  }
}

/* XTRA SMALL SCREENS ------------------------------------------------------------ */
@media (max-width: 530px) {
  .hero-section h1 {
    font-size: 1.45rem;
  }
  .cta-button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  .section, .features-section, .about-brief-section, .services-overview-section,.contact-section, .projects-section,.legal-section, .thank-you-section {
    padding-left: 2vw;
    padding-right: 2vw;
    margin-bottom: 34px;
  }
}

/* MICRO-ANIMATIONS --------------------------------------------------------------- */
.cta-button, .feature-item, .testimonial-card, .card {
  transition: box-shadow 0.18s, background 0.14s, color 0.13s;
}

/* ACCESSIBILITY HELPERS ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid #94B7C4;
  outline-offset: 1.5px;
}

/* UTILITY CLASSES ----------------------------------------------------------------- */
.hidden {
  display: none !important;
}

/* END ---------------------------------------------------------------------------- */