/* =========================
   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, 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: #23313b;
  background: #F7F9FA;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #385C3C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #274929;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}

/* =======================
   Variables and Palettes
   ======================= */
:root {
  --brand-primary: #385C3C;
  --brand-secondary: #A2C49B;
  --brand-accent: #E4EDEF;
  --neutral-100: #F7F9FA;
  --neutral-200: #E4EDEF;
  --neutral-300: #D0D8DE;
  --neutral-900: #23313b;
  --action-blue: #4176B8;
  --danger: #AF3C3C;
  --focus: #4176B8;
  --shadow-soft: 0 2px 10px 0 rgba(44,73,86,0.08);
  --shadow-medium: 0 2px 18px 0 rgba(44,73,86,0.13);
  --radius-sm: 6px;
  --radius-md: 12px;
}

/* ====================
   Typography
   ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  margin-bottom: 18px;
  color: var(--brand-primary);
  letter-spacing: .015em;
  font-weight: 700;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.22;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
}
p, li, td, th {
  font-size: 1rem;
  color: var(--neutral-900);
  line-height: 1.6;
}
p.subheadline {
  font-size: 1.18rem;
  color: var(--brand-secondary);
  font-weight: 500;
  margin-bottom: 32px;
}
strong {
  font-weight: 700;
  color: var(--brand-primary);
}
ub {
  text-decoration: underline;
}

/* =============================
   Layout & Container Patterns
   ============================= */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 28px 22px;
  position: relative;
}
.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-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: var(--brand-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  min-width: 310px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: var(--shadow-medium);
}
.testimonial-card p {
  color: var(--neutral-900);
  font-size: 1.07rem;
  font-style: italic;
}
.testimonial-author {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: .01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
   Header and Navigation
   ======================== */
header {
  background: #fff;
  border-bottom: 1px solid var(--neutral-200);
  box-shadow: 0 2px 8px 0 rgba(44,73,86,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  min-height: 64px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav ul li a {
  color: var(--neutral-900);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 10px;
  transition: color 0.19s, background 0.18s;
  border-radius: var(--radius-sm);
}
nav ul li a:hover, nav ul li a:focus {
  color: var(--brand-primary);
  background: var(--brand-accent);
  outline: none;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 11px 34px;
  margin-left: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  letter-spacing: .02em;
  border: none;
  transition: background 0.23s, box-shadow 0.16s, transform 0.21s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px) scale(1.03);
}

/* ================================
   MOBILE MENU - Hamburger & Nav
   ================================ */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--brand-primary);
  background: transparent;
  border: none;
  padding: 6px 14px;
  z-index: 201;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--brand-secondary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.42,.32,.25,1);
  box-shadow: 0 4px 32px rgba(44,73,86,0.11);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--brand-primary);
  margin: 18px 22px 10px 0;
  background: transparent;
  border: none;
  padding: 0;
  transition: color 0.16s;
  z-index: 205;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--danger);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 24px 32px 56px 32px;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  padding: 12px 0;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--action-blue);
  outline: none;
}

@media (max-width: 1023px) {
  nav ul {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }
}
@media (max-width: 1023px) {
  .mobile-menu {
    display: flex;
  }
}

/* Main > Hero Section */
.hero {
  background: linear-gradient(127deg, var(--brand-accent) 70%, #F7F9FA 100%);
  padding: 66px 0 54px 0;
  min-height: 350px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 26px;
  text-align: center;
}

/* Features / Service Cards / Project Cards */
.features-grid, .services-list, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card, .service-card, .project-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 30px 26px 35px 26px;
  flex: 1 1 270px;
  max-width: 350px;
  min-width: 250px;
  transition: box-shadow 0.18s, transform 0.21s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-card:hover, .service-card:hover, .project-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px) scale(1.01);
}
.feature-card img, .service-card img, .project-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  filter: none;
}
.feature-card h3, .service-card h2, .project-card h2 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.project-card .client-feedback {
  display: block;
  font-size: 1.01rem;
  font-style: italic;
  margin-top: 10px;
  color: var(--brand-secondary);
}

/* CTAs, Info Bars */
.cta-bar {
  background: var(--brand-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin: 40px 0 60px 0;
  padding: 24px 0 18px 0;
}
.cta-bar .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-bar h3 {
  margin-bottom: 0;
}
.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.contact-direct p {
  font-size: 1rem;
  color: var(--brand-primary);
}

/* Tables */
.price-table {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin: 18px 0 28px 0;
  width: 100%;
  overflow: hidden;
}
.price-table th {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}
.price-table tr { border-bottom: 1px solid var(--neutral-200); }
.price-table tr:last-child { border-bottom: none; }

/***** USP LISTS ******/
.usp-list,
.price-notes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 10px 0 18px 0;
  padding: 0;
}
.usp-list li, .price-notes ul li {
  background: var(--brand-accent);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 500;
  min-width: 200px;
  margin-bottom: 6px;
}

/***** Footer *****/
footer {
  background: var(--neutral-200);
  margin-top: 60px;
  box-shadow: 0 -2px 13px 0 rgba(44,73,86,0.05);
}
footer .container {
  padding-top: 28px;
  padding-bottom: 28px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-weight: 500;
  font-size: 0.97rem;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--action-blue);
}
.footer-legal {
  color: var(--neutral-900);
  font-size: 0.97rem;
  text-align: center;
  align-self: flex-end;
}
.social-media-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-media-icons img {
  width: 27px;
  height: 27px;
  filter: grayscale(.18); /* professional touch */
  opacity: 0.85;
  transition: opacity 0.13s, filter 0.14s;
}
.social-media-icons img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ==============================
 Responsive Layout Adjustments
 ============================== */
@media (max-width: 1023px) {
  .section,
  .cta-bar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .cta-bar .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero {
    padding: 40px 0 30px 0;
    min-height: 190px;
  }
  .features-grid, .services-list, .project-list, .testimonials-list {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-card, .service-card, .project-card, .testimonial-card {
    min-width: unset;
    max-width: unset;
    width: 100%;
    align-items: flex-start;
  }
  .cta-bar .content-wrapper, .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
  }
  .section {
    padding: 26px 5px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    text-align: left;
  }
}

/* =============================
   Contact Details, Map Block
   ============================= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}
.map-snippet {
  margin: 16px 0 27px 0;
  max-width: 380px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* Contact/Urgent Contact blocks */
.contact-form-block, .urgent-contact {
  margin: 16px 0 32px 0;
  background: var(--brand-accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}
.form-info {
  margin-top: 9px;
  margin-bottom: 0;
  color: var(--brand-primary);
}
.urgent-contact h2 {
  margin-bottom: 7px;
  color: var(--danger);
}
.urgent-contact span {
  color: var(--danger);
  font-weight: 600;
}

/* ========= Cookie Consent Banner ========= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9001;
  background: #fff;
  box-shadow: 0 -2px 13px 0 rgba(44,73,86,0.12);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 5vw 20px 5vw;
  gap: 30px;
  min-height: 68px;
  width: 100vw;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(.42,.28,.38,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 0px;
  color: var(--neutral-900);
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 1rem;
  margin: 0 2px;
  transition: background 0.16s, color 0.15s;
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-btn.reject {
  background: #e9ecef;
  color: var(--danger);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f7d5d5;
  color: var(--danger);
}
.cookie-btn.settings {
  background: var(--neutral-200);
  color: var(--brand-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,49,59,0.17);
  z-index: 9100;
  justify-content: center;
  align-items: center;
  transition: background 0.19s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 400px;
  width: 90vw;
  box-shadow: 0 8px 36px rgba(44,73,86,0.16);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal-content h3 {
  margin-bottom: 8px;
  color: var(--brand-primary);
  font-size: 1.17rem;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-primary);
  width: 19px;
  height: 19px;
  margin: 0;
}
.cookie-category .always-on {
  font-size: 0.97rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 9px;
}

/* ====================
   Miscellaneous
   ==================== */
.mission-statement {
  background: var(--brand-accent);
  border-radius: var(--radius-md);
  padding: 20px 23px;
  box-shadow: var(--shadow-soft);
}
.price-notes {
  background: var(--brand-accent);
  border-radius: var(--radius-sm);
  padding: 17px 20px;
  box-shadow: var(--shadow-soft);
  margin: 22px 0 11px 0;
}

/***** THANK YOU page CTA style *****/
.thank-you .cta-btn {
  margin-top: 27px;
  display: inline-flex;
}

/***** Focus Ring *****/
:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/***** Hide elements visually but keep for screen readers *****/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/***** Animations *****/
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu,
  .cookie-banner,
  .cookie-modal {
    transition: transform 0.34s cubic-bezier(.15,.5,.47,1), opacity 0.22s, background 0.18s;
  }
  .feature-card, .service-card, .project-card, .testimonial-card {
    transition: box-shadow 0.18s, transform 0.21s;
  }
}
