/* ============================================================================
   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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF;
  color: #182419;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
  outline: none;
  background: none;
  border: none;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* ============================================================================
   BRAND COLOR VARIABLES & FONTS
============================================================================ */
:root {
  --primary: #27583A;
  --primary-rgb: 39,88,58;
  --secondary: #9BB29B;
  --accent: #F7F5E8;
  --white: #FFF;
  --black: #161616;
  --grey: #f0f0ef;
  --light-grey: #EFF1EC;
  --warning: #b85a3f;

  --font-display: 'EB Garamond', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  src: local('EB Garamond Bold'), local('EB-Garamond-Bold');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  src: local('EB Garamond Regular'), local('EB-Garamond-Regular');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular');
}

/* ============================================================================
   TYPOGRAPHY - Modern Bold
============================================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 {
  font-size: 2.6rem;
  margin-top: 0;
}
h2 {
  font-size: 2rem;
  margin-top: 0;
}
h3 {
  font-size: 1.325rem;
}
h4, h5 {
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

body, p, ul, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #26372B;
  font-weight: 400;
}
strong, b {
  font-weight: 700;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--secondary);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 18px;
}

.cta-link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 8px;
  display: inline-block;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.cta-link:hover, .cta-link:focus {
  color: var(--secondary);
  text-decoration-color: var(--secondary);
}

/* ============================================================================
   MAIN CONTAINER & SPACING (Modern Bold, Flex)
============================================================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(39,88,58,0.07);
  display: flex;
  flex-direction: column;
}

/* ============================================================================
   HEADER & MAIN NAV STYLE
============================================================================ */
header {
  width: 100%;
  background: var(--accent);
  padding: 0;
  box-shadow: 0 4px 18px 0 rgba(39,88,58,0.06);
  position: sticky;
  top: 0;
  z-index: 11;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px;
}
header img {
  max-height: 48px;
  min-width: 46px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary);
  color: var(--accent);
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: var(--accent);
  border-radius: 32px;
  padding: 12px 36px;
  font-weight: 700;
  font-size: 1.15rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(39, 88, 58, 0.16);
  border: none;
  outline: none;
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.16s;
  margin-left: 18px;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 32px rgba(39,88,58,0.18);
}

.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--accent);
  font-size: 2.1rem;
  padding: 4px 16px;
  border-radius: 8px;
  border: none;
  margin-left: 12px;
  z-index: 21;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
@media (max-width: 968px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============================================================================
   MOBILE MENU STYLES & ANIMATION (slide-in, full overlay)
============================================================================ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,88,58,0.97);
  z-index: 3000;
  transform: translateX(-100vw);
  transition: transform 0.31s cubic-bezier(0.66,0.04,0.25,1);
  will-change: transform;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--accent);
  color: var(--primary);
  font-size: 2.2rem;
  padding: 10px 24px;
  margin: 24px 20px 0 0;
  border-radius: 10px;
  z-index: 3100;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover {
  background: var(--secondary);
  color: var(--black);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 60px 32px 0 32px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-display);
  padding: 10px 0;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--primary);
  background: var(--accent);
}

/* ============================================================================
   MAIN SECTIONS, FLEXBOX UTILITIES & CONTAINERS
============================================================================ */
.section, .about-preview, .inspiration-preview, .contact-cta, .newsletter-signup, .services-overview, .service-cta,
.project-showcase, .statistics, .thank-you, .cookie-policy, .privacy-policy, .gdpr-information, .terms-conditions, .how-to-guides, .map-section, .contact-details, .contact-intro, .blog-overview, .about-mission, .about-team, .about-values, .unique-approach, .feature-card  {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(39,88,58,0.07);
  background: var(--accent);
  display: flex;
  flex-direction: column;
}

.card-container, .features-grid, .services-list, .featured-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card, .case-study, .feature-card, .service-card, .blog-post {
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(39,88,58,0.07);
  padding: 28px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 220px;
  flex: 1 1 275px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover, .case-study:hover, .feature-card:hover, .service-card:hover, .blog-post:hover {
  box-shadow: 0 6px 36px rgba(39,88,58,0.18);
  transform: translateY(-3px) scale(1.02);
}
.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 32px 20px 32px;
  background: var(--white);
  box-shadow: 0 2px 18px rgba(39,88,58,.10);
  border-radius: 20px;
  border-left: 6px solid var(--primary);
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #303B2F;
  font-family: var(--font-body);
  word-break: break-word;
}
.testimonial-card p {
  margin-bottom: 4px;
  color: #303B2F;
  font-weight: 600;
}
.client-name {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: bold;
  font-size: 1rem;
  margin-left: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .features-grid, .card-container, .content-grid, .services-list, .featured-articles {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================================================
   HERO SECTION
============================================================================ */
.hero {
  background: linear-gradient(90deg, var(--primary), var(--secondary) 90%);
  color: var(--accent);
  min-height: 350px;
  display: flex;
  padding: 0;
  margin-bottom: 50px;
}
.hero .container {
  justify-content: flex-start;
  min-height: 350px;
  align-items: stretch;
  padding: 40px 20px 32px 20px;
}
.hero .content-wrapper {
  color: var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
  gap: 22px;
}
.hero h1, .hero .subheadline {
  color: var(--accent);
}
.hero .cta-button {
  background: var(--accent);
  color: var(--primary);
  margin-top: 16px;
  font-size: 1.19rem;
  border: none;
  box-shadow: 0 4px 32px rgba(247,245,232,0.18);
  transition: background 0.16s, color 0.16s, transform 0.14s;
}
.hero .cta-button:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 768px) {
  .hero {
    padding: 0;
    min-height: 240px;
  }
  .hero .container {
    min-height: 180px;
    padding: 24px 6px 24px 6px;
  }
  .hero .content-wrapper {
    gap: 10px;
  }
}

/* ============================================================================
  FEATURES / SERVICES CARDS
============================================================================ */
.feature-card, .service-card {
  background: var(--white);
  color: var(--primary);
  border-radius: 16px;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 2px 12px rgba(39,88,58,0.07);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.17s;
  min-width: 240px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  position: relative;
  border-left: 4px solid var(--secondary);
}
.feature-card img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}
.feature-card h3, .service-card h2 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  margin-bottom: 10px;
  color: var(--primary);
}
.feature-card p, .service-card p {
  color: #2d4230;
  font-size: 1.01rem;
  margin-bottom: 6px;
  line-height: 1.5;
}
.feature-card:hover, .service-card:hover {
  box-shadow: 0 8px 28px rgba(39,88,58,0.14);
  transform: translateY(-2px) scale(1.03);
  border-left: 6px solid var(--primary);
}

/* ============================================================================
  LISTS & CHECKMARKS
============================================================================ */
ul, ol {
  margin-bottom: 1em;
  padding-left: 22px;
}
ul li {
  position: relative;
  margin-bottom: 0.3em;
  padding-left: 1.1em;
}
ul li::before {
  content: "\2714";
  color: var(--primary);
  font-weight: bold;
  font-size: 0.98em;
  position: absolute;
  left: 0;
}
.about-preview ul li::before, .inspiration-preview ul li::before, 
.statistics ul li::before, .about-team ul li::before, .about-values ul li::before, .unique-approach ul li::before {
  content: '';
}
.categories-list ul li::before {
  content: '';
}

/* ============================================================================
  SPECIAL - CATEGORIES & SEARCH
============================================================================ */
.categories-list {
  margin-top: 32px;
  margin-bottom: 14px;
}
.categories-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2px;
  margin-bottom: 0;
  padding-left: 0;
}
.categories-list li {
  margin-bottom: 0;
  padding-left: 0;
  font-size: 1rem;
}
.categories-list a {
  display: inline-block;
  padding: 6px 18px;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  border-radius: 99px;
  transition: background 0.18s, color 0.16s;
}
.categories-list a:hover {
  background: var(--primary);
}

.search-function {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  margin-bottom: 20px;
}
.search-function input[type="search"] {
  padding: 10px 16px;
  border-radius: 10px;
  border: 2px solid var(--secondary);
  font-size: 1rem;
  background: var(--light-grey);
  color: var(--primary);
}
.search-function button {
  background: var(--primary);
  color: var(--accent);
  border-radius: 10px;
  padding: 10px 26px;
  font-weight: 700;
  letter-spacing: 0.00em;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: background 0.12s, color 0.12s;
}
.search-function button:hover {
  background: var(--secondary);
  color: var(--white);
}

/* ============================================================================
   FORMS & INPUTS
============================================================================ */
input[type="email"], input[type="text"], input[type="search"] {
  border: 2px solid var(--secondary);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--light-grey);
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1rem;
  width: 76%;
  max-width: 340px;
  transition: border-color 0.13s;
}
input[type="email"]:focus, input[type="search"]:focus, input[type="text"]:focus {
  border-color: var(--primary);
  outline: none;
}
form button, .newsletter-signup button {
  background: var(--primary);
  color: var(--accent);
  border-radius: 20px;
  padding: 10px 28px;
  font-weight: bold;
  font-family: var(--font-display);
  font-size: 1.09rem;
  border: none;
  margin-left: 8px;
  transition: background 0.14s, color 0.14s, transform 0.13s;
  box-shadow: 0 1px 8px rgba(39,88,58,0.06);
}
form button:hover, .newsletter-signup button:hover {
  background: var(--secondary);
  color: var(--white);
  transform: scale(1.03);
}

/* ============================================================================
   FOOTER
============================================================================ */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 36px 0 20px 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 940px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: underline dotted 1.5px;
  transition: color 0.15s, text-decoration-color 0.14s;
}
footer p {
  color: white;
}
.footer-nav a:hover {
  color: var(--secondary);
}
footer p {
  margin-top: 12px;
  font-size: 0.99rem;
}

/* ============================================================================
   COOKIE CONSENT BANNER & MODAL
============================================================================ */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  border-top: 3px solid var(--primary);
  box-shadow: 0 -2px 18px rgba(39,88,58,0.09);
  z-index: 6500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px 20px 16px;
  gap: 12px;
  font-size: 1.05rem;
  animation: slideUp 0.7s cubic-bezier(.51,1.12,.48,.99);
}
@keyframes slideUp {
  from { transform: translateY(60px); opacity:0; } 
  to { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-consent-banner button {
  border-radius: 18px;
  padding: 10px 26px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: none;
  margin-left: 0;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 1px 6px rgba(39,88,58,0.09);
  font-weight: 700;
}
.cookie-consent-banner .accept {
  background: var(--primary);
  color: var(--accent);
}
.cookie-consent-banner .accept:hover {  background: var(--secondary); }
.cookie-consent-banner .reject {
  background: #eaeeeb;
  color: var(--primary);
}
.cookie-consent-banner .reject:hover {  background: var(--warning); color:var(--white);}
.cookie-consent-banner .settings {
  background: var(--secondary);
  color: var(--white);
}
.cookie-consent-banner .settings:hover {
  background: var(--primary);
  color: var(--accent);
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-54%) scale(0.96);
  width: 98vw;
  max-width: 430px;
  background: var(--accent);
  border-radius: 20px;
  box-shadow: 0 10px 60px rgba(39,88,58,0.18);
  z-index: 7500;
  padding: 32px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.43s cubic-bezier(.65,1.14,.49,.97);
}
@keyframes modalIn {
  from { opacity:0; transform: translate(-50%,-54%) scale(0.85);} 
  to { opacity:1; transform: translate(-50%,-54%) scale(1);}
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  font-family: var(--font-body);
  color: var(--primary);
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}
.cookie-modal button {
  border-radius: 14px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: none;
  background: var(--secondary);
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 1px 8px rgba(39,88,58,0.08);
  transition: background 0.13s, color 0.13s;
}
.cookie-modal button.save {
  background: var(--primary);
  color: var(--accent);
}
.cookie-modal button.save:hover {
  background: var(--secondary);
  color: var(--white);
}
.cookie-modal button.close {
  background: #e1e6df;
  color: var(--primary);
}
.cookie-modal button.close:hover {
  background: var(--warning);
  color: var(--white);
}

.cookie-modal input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  border-radius: 3px;
  margin-right: 8px;
}

/* Ensures banner is hidden by default: toggle with .visible */
.cookie-consent-banner {
  display: none;
}
.cookie-consent-banner.visible {
  display: flex;
}
.cookie-modal {
  display: none;
}
.cookie-modal.visible {
  display: flex;
}

/* ============================================================================
   RESPONSIVE & MOBILE
============================================================================ */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .section, .about-preview, .inspiration-preview, .contact-cta, .newsletter-signup,
  .services-overview, .service-cta, .project-showcase, .statistics, .thank-you, 
  .how-to-guides, .map-section, .contact-details, .contact-intro, .blog-overview, 
  .about-mission, .about-team, .about-values, .unique-approach, .feature-card, 
  .privacy-policy, .gdpr-information, .terms-conditions {
    padding: 26px 6px 30px 6px;
    margin-bottom: 34px;
    border-radius: 10px;
  }
  .card, .case-study, .feature-card, .service-card, .blog-post {
    padding: 16px 8px 18px 13px;
    min-width: 0;
    border-radius: 7px;
  }
  .footer-nav {
    gap: 16px;
  }
  .hero .content-wrapper {
    max-width: 99vw;
  }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 18px 8px 16px 8px;
    font-size: 0.99rem;
    gap: 8px;
  }
  .cookie-consent-banner .cookie-buttons {
    gap: 10px;
  }
  .cookie-modal {
    width: 96vw;
    padding: 16px 4vw 20px 4vw;
  }
}

/* ============================================================================
   UTILITY / MISC CLASSES
============================================================================ */
.text-center { text-align: center; }
.hide { display: none !important; }

/* ============================================================================
   PREVENT GRID/COLUMNS USAGE
============================================================================ */
/* 
NO grid, NO columns properties ANYWHERE
*/
