/* ---------------------------
 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, 
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F8F6F2;
  color: #234C5E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  display: block;
}
a {
  color: #234C5E;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus {
  outline: 2px dashed #F6CB63;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
strong { font-weight: bold; }

/*----------
  BRAND FONTS
------------*/
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
}
h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 16px; }
h2 { font-size: 1.75rem; font-weight: 600; margin-bottom: 12px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
h4 { font-size: 1.125rem; font-weight: 400; margin-bottom: 8px; }

@media (min-width: 769px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.125rem; }
}

p, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #234C5E;
  line-height: 1.7;
}

/*---------
 COLOR PALETTE & ORGANIC EFFECTS
---------*/
:root {
  --primary: #234C5E;
  --secondary: #BCB8B1;
  --accent: #F6CB63;
  --bg: #F8F6F2;
  --brown: #886A53;
  --green: #648A64;
  --light-green: #e6f0e7;
  --light-brown: #EFE9E2;
  --shadow: 0 2px 12px rgba(35,76,94,.08);
  --radius-main: 22px;
  --radius-sm: 12px;
}

body {
  background-color: var(--bg);
  color: var(--primary);
}

/*-----------
   CONTAINER
------------*/
.container {
  width: 100%;
  max-width: 1220px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

/*-----------
   HEADER & NAV
------------*/
header {
  background: var(--light-green);
  box-shadow: var(--shadow);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--accent);
  color: #23160E;
}
.main-nav .cta-primary {
  background: var(--accent);
  color: #234C5E;
  font-weight: bold;
  padding: 10px 24px;
  margin-left: 10px;
  border-radius: var(--radius-main);
  transition: box-shadow 0.2s, background 0.22s;
  box-shadow: 0 2px 8px rgba(246,203,99,0.08);
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: #FFD980;
  color: #164036;
  box-shadow: 0 4px 16px rgba(246,203,99,0.16);
}

.mobile-menu-toggle {
  display: inline-flex;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-left: 18px;
  transition: background 0.15s;
  z-index: 1003;
  border: 2px solid #fff2;
  box-shadow: 0 1px 10px rgba(35,76,94,0.07);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FBE7B1; 
}
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.main-nav {
  display: none;
}
@media (min-width: 1025px) {
  .main-nav {
    display: flex;
  }
}

/*----------
    MOBILE MENU
-----------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(244,248,242,.98);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 32px 32px 20px;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.62,.02,.27,1);
  box-shadow: 0 3px 30px rgba(100,138,100,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  font-size: 2.25rem;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 28px;
  width: 100%;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 4px;
  border-radius: 14px;
  font-weight: 500;
  transition: background .17s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #164036;
}
@media (min-width:1025px) {
  .mobile-menu { display: none; }
}


/*-----------------------
  SECTIONS & LAYOUTS
-----------------------*/
.section, .hero, .features, .services-overview, .about-preview, .cta, .testimonials, .service-list, .process, .team, .values, .contact-details, .gallery_descriptions, .project-highlights, .blog-list, .legal, .thank_you {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-main);
  background-color: #fff;
  box-shadow: var(--shadow);
}
@media (min-width: 769px) {
  .section, .hero, .features, .services-overview, .about-preview, .cta, .testimonials, .service-list, .process, .team, .values, .contact-details, .gallery_descriptions, .project-highlights, .blog-list, .legal, .thank_you {
    padding: 56px 32px;
  }
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
/* For sections using only text (no images) in columns */
.text-section {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  min-width: 220px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .22s, transform .19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px rgba(35,76,94,0.09);
  transform: translateY(-2px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul, ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
ol {
  list-style: decimal inside;
  padding-left: 18px;
}
ol li { padding-left: 0; }
ul li img {
  height: 26px;
  width: 26px;
  margin-right: 9px;
  vertical-align: middle;
  display: inline-block;
}
ul li {
  display: flex;
  align-items: center;
}

/* TESTIMONIALS */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 240px;
  background: var(--light-brown);
  border-radius: 19px;
  box-shadow: 0 2px 18px rgba(100,138,100,0.05);
  margin-bottom: 20px;
  color: #234C5E;
  border-left: 6px solid var(--green);
  font-style: italic;
  font-size: 1.08em;
}
.testimonial-card strong {
  color: var(--primary);
  font-style: normal;
}
.testimonial-card span {
  font-size: 0.97em;
  color: var(--brown);
}
@media (max-width: 967px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

/* Hero / cta banners */
.hero {
  background: linear-gradient(90deg, #E8EEE8 60%, #FAF4E9 100%);
  box-shadow: 0 1.5px 22px rgba(100,138,100,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px 32px 28px 28px / 21px 42px 34px 16px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: var(--primary);
}
.hero .subheadline {
  color: var(--green);
  font-size: 1.13em;
  margin-bottom: 12px;
}
.cta {
  background: var(--green);
  color: #fff;
  border-radius: 32px 8px 28px 44px / 22px 42px 38px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* Feature Lists/Service Lists */
.features ul,
.services-overview ul,
.service-list ul,
.team ul,
.values ul,
.process ul,
.gallery_descriptions ul,
.project-highlights ul,
.blog-list ul,
.legal ul {
  gap: 14px;
  margin-bottom: 8px;
}
.service-list ul span {
  font-size: 0.96em;
  font-style: italic;
  color: #648A64;
}
.service-list ul strong {
  color: var(--green);
}
.process ol {
  gap: 11px;
  margin-bottom: 18px;
  color: var(--primary);
}
.process ul { margin-bottom: 0; }

/* THANK YOU PAGE */
.thank_you .content-wrapper {
  align-items: center;
  text-align: center;
  justify-content: center;
}

/*------------------------
    BUTTONS & LINKS
------------------------*/
.cta-primary, .cta-secondary, button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-main);
  padding: 13px 34px;
  font-size: 1.08rem;
  box-shadow: 0 4px 20px rgba(100,138,100,0.06);
  transition: background 0.19s, color 0.19s, box-shadow 0.21s, transform 0.16s;
  outline: none;
  cursor: pointer;
  text-align: center;
  margin-top: 12px;
  white-space: nowrap;
  margin-right: 8px;
  margin-bottom: 8px;
  display: inline-block;
}
.cta-primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 16px rgba(246,203,99,0.10);
  border: 2px solid #f6cb6355;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #ffd980;
  color: #164036;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 26px rgba(246,203,99,0.17);
}
.cta-secondary {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid #E8EEE8;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #648A64;
  color: #fff;
}

.button {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 22px;
  border: 1px solid var(--green);
  font-size: 1rem;
  box-shadow: 0 1.5px 14px rgba(100,138,100,0.07);
}
.button:hover, .button:focus {
  background: #e6f0e7;
  color: #234C5E;
}
@media (max-width: 769px) {
  .cta-primary, .cta-secondary, button, .button {
    width: 100%;
    margin-right: 0;
  }
}

/*-------------------
       FOOTER
-------------------*/
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 0 0;
}
footer .container {
  padding-left: 20px;
  padding-right: 20px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
}
.footer-columns > div {
  flex: 1 1 200px;
  min-width: 160px;
  margin-bottom: 18px;
  max-width: 285px;
}
footer a {
  color: #eee;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  transition: color 0.17s;
}
footer a:hover,footer a:focus { color: var(--accent); }
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.small-print {
  border-top: 1px solid #f6cb6378;
  padding: 16px 0;
  text-align: center;
  color: var(--secondary);
  font-size: 0.98em;
}
footer img {
  height: 36px;
  margin-bottom: 15px;
}
footer ul li {
  color: #fff8;
  font-size: 0.97em;
  margin-bottom: 4px;
  display: block;
}
@media (max-width: 950px) {
  .footer-columns {
    flex-direction: column;
    gap: 14px;
  }
}

/*-----------
   LEGAL PAGE TEXTS
------------*/
.legal > .container > * {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.legal h1, .legal h2, .legal h3 { color: var(--primary); }
.legal h1 { margin-bottom: 18px; }
.legal h2 { margin-bottom: 9px; }
.legal h3 { margin-bottom: 7px; font-size: 1.12em; }
.legal p, .legal li {
  color: #234C5E;
}

/*-------------
 RESPONSIVE SPACING/PATTERNS
--------------*/
@media (max-width: 768px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .section, .hero, .features, .services-overview, .about-preview, .cta, .testimonials, .service-list, .process, .team, .values, .contact-details, .gallery_descriptions, .project-highlights, .blog-list, .legal, .thank_you {
    padding: 22px 5px;
    margin-bottom: 36px;
  }
}

/*--------------------
   COOKIE CONSENT BANNER
---------------------*/
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px 24px 14px 24px;
  background: #fffbe9;
  color: #234C5E;
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(246,203,99,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1004;
  gap: 22px;
  transition: transform 0.31s cubic-bezier(.7,.08,.22,1), opacity 0.3s;
  font-size: 1em;
  max-width: 430px;
}
.cookie-banner.hide {
  transform: translateY(80px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner strong {
  color: var(--primary);
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.cookie-banner .button,
.cookie-banner button {
  min-width: 120px;
  border-radius: 18px;
  font-size: 1em;
  padding: 9px 20px;
  margin: 0;
  box-shadow: 0 1px 8px rgba(100,138,100,.08);
}
.accept-cookies {
  background: var(--green);
  color: #fff;
  border: none;
}
.accept-cookies:hover, .accept-cookies:focus {
  background: #234c5e;
}
.reject-cookies {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.reject-cookies:hover, .reject-cookies:focus {
  background: var(--light-green);
}
.cookie-settings {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--brown);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #ffe29a;
}
@media (max-width:520px) {
  .cookie-banner {
    left: 4px; right: 4px; bottom: 4px;
    padding: 12px 6px 10px 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(41,63,56,0.33);
  z-index: 1005;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .27s;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fffbe9;
  border-radius: 28px;
  max-width: 420px;
  width: 96vw;
  padding: 34px 28px 28px 28px;
  box-shadow: 0 4px 36px rgba(246,203,99,0.17);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 18px;
  background: none;
  color: var(--primary);
  font-size: 2em;
  border: none;
  opacity: 0.77;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-weight: 500;
  color: var(--brown);
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--green);
  width: 22px;
  height: 22px;
}
.cookie-category .essential {
  color: var(--green);
  font-weight: bold;
  font-size: 1em;
}

@media (max-width: 440px) {
  .cookie-modal-content {
    padding: 11px 5px 18px 8px;
    max-width: 99vw;
  }
}

/*------------------
   MICRO-ANIMATIONS
-------------------*/
.card, .testimonial-card, .cta-primary, .cta-secondary, .button, .mobile-menu, .cookie-banner, .cookie-modal-content {
  transition: 
    box-shadow 0.20s,
    background 0.21s,
    color 0.18s,
    transform 0.20s;
}
.card:active, .cta-primary:active, .cta-secondary:active, .button:active {
  transform: scale(0.98);
}

/* Organic SHAPES/texture subtlety */
.hero,
.cta,
.section,
.card,
.testimonial-card,
.cookie-banner, 
.cookie-modal-content {
  /* Subtle organic border radii */
  border-radius: 44px 21px 34px 18px/31px 42px 14px 36px;
}

/*------------------
    MISC
-------------------*/
::-webkit-input-placeholder { color: #BCB8B1 }
::-moz-placeholder { color: #BCB8B1 }
:-ms-input-placeholder { color: #BCB8B1 }
::placeholder { color: #BCB8B1 }

/* Remove focus outline on mouse, restore for tab */
:focus:not(:focus-visible) { outline: none; }

/*------------------
      UTILITIES
------------------*/
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }

/*------------------
   ACCESSIBILITY
------------------*/
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/*------------------
   PRINT STYLES
------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body, html { background: #fff; }
}
