/* --- 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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #ffffff;
  color: #222;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

html {
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #2a4437;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  margin-bottom: 16px;
  color: #2a4437;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.38rem; line-height: 1.22; }
h4, h5, h6 { font-size: 1.12rem; }
p {
  font-size: 1rem;
  line-height: 1.7;
  color: #31493e;
  margin-bottom: 18px;
}
strong { font-weight: 700; }

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

/* --- UTILITY CONTAINERS & FLEX LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.align-center {
  align-items: center;
  text-align: center;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 20px 0 rgba(43, 84, 51, 0.10);
  transition: transform 0.17s cubic-bezier(.8,.26,.23,1), box-shadow .23s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px 0 rgba(43, 84, 51, 0.17);
}
.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: #F3EEE7;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px 0 rgba(43, 84, 51, 0.05);
  font-size: 1.08rem;
  color: #23220f;
  transition: box-shadow .2s, transform .18s;
}
.testimonial-card p {
  color: #23220f;
}
.testimonial-card span {
  display: block;
  font-weight: bold;
  color: #EB9434;
  font-size: 1rem;
  margin-top: 0.2em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(235, 148, 52, 0.13);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* SPECIFIC COMPONENTS FOR LAYOUTS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 200px;
  min-width: 220px;
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: 0 4px 16px 0 rgba(43, 84, 51, 0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform .18s, box-shadow .18s;
  margin-bottom: 20px;
}
.feature:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(235, 148, 52, 0.08);
}
.feature img {
  height: 48px;
  width: 48px;
  margin-bottom: 8px;
}
.feature h3 {
  font-size: 1.22rem;
  color: #EB9434;
  margin-bottom: 4px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.service-item {
  background: #fff;
  border-radius: 16px;
  padding: 26px 18px;
  box-shadow: 0 2px 16px 0 rgba(43, 84, 51, 0.07);
  flex: 1 1 210px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  transition: transform .13s, box-shadow .19s;
}
.service-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(235, 148, 52, 0.08);
}
.service-item img {
  height: 42px;
  width: 42px;
}
.service-item h3 {
  color: #355648;
  font-size: 1.14rem;
  margin-bottom: 6px;
}

.project-case {
  background: #355648;
  color: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(43, 84, 51, 0.11);
  transition: box-shadow .19s, background .21s;
}
.project-case h3 {
  color: #EB9434;
}
.project-case:hover {
  background: #2a4437;
  box-shadow: 0 8px 30px 0 rgba(43,84,51,.15);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 24px;
}
.blog-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(43,84,51,.05);
  padding: 24px 20px 18px 20px;
  transition: box-shadow .18s;
}
.blog-list li:hover {
  box-shadow: 0 6px 24px 0 rgba(235,148,52,.11);
}
.blog-list h3 {
  color: #2a4437;
  font-size: 1.08rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  color: #31493e;
}
.contact-info img {
  height: 28px;
  width: 28px;
  flex: 0 0 28px;
}

.text-section {
  font-size: 1rem;
  line-height: 1.7;
  color: #32413b;
  margin-bottom: 20px;
}
.footer-legal {
  font-size: 0.92rem;
  color: #aaa;
  margin-top: 24px;
}

/* --- HERO SECTION --- */
.hero {
  background: #355648;
  color: #fff;
  padding: 56px 0 46px 0;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  z-index: 1;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1, .hero h2 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(59,89,56,0.18);
}
.hero p {
  color: #F3EEE7;
  max-width: 570px;
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.hero .cta-btn {
  background: #EB9434;
  color: #fff;
  font-weight: 700;
}
.hero .cta-btn:hover {
  background: #fff;
  color: #EB9434;
}

@media (max-width: 900px) {
  .hero {
    padding: 40px 0 30px 0;
    min-height: 210px;
  }
}

/* --- HEADER & NAV --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(43,84,51,0.05);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #31493e;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  padding: 2px 4px;
  border-bottom: 2px solid transparent;
  transition: color .14s, border .14s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #EB9434;
  border-bottom: 2px solid #EB9434;
}
.cta-btn {
  background: #EB9434;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.04rem;
  padding: 13px 33px;
  border-radius: 38px;
  box-shadow: 0 3px 16px 0 rgba(235,148,52,0.10);
  transition: background .18s, color .18s, box-shadow .18s, transform .18s;
  cursor: pointer;
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 12px;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #355648;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 25px 0 rgba(235,148,52,0.23);
}
.cta-btn.mini {
  font-size: 1rem;
  padding: 9px 22px;
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.4rem;
  background: #355648;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 0 13px 0 13px;
  height: 48px;
  width: 48px;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
  z-index: 502;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EB9434;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(43, 84, 51, 0.91);
  z-index: 500;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.8, .26, .23, 1);
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #fff;
  background: #EB9434;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  cursor: pointer;
  z-index: 502;
  transition: background .18s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #EB9434;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  height: 90%;
  margin-left: 35px;
  margin-top: 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.025em;
  padding: 9px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s, border .18s;
  cursor: pointer;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #EB9434;
  border-bottom: 2px solid #EB9434;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }
  .cta-btn {
    margin-left: 0;
  }
  header .container {
    gap: 8px;
  }
  .features-grid, .services-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .features-grid, .services-list, .content-grid, .card-container {
    gap: 12px;
  }
  .feature, .service-item {
    min-width: 180px;
    padding: 18px 10px;
  }
}

@media (max-width: 768px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .hero .content-wrapper, .content-wrapper {
    align-items: stretch !important;
    padding: 0;
  }
  .hero {
    padding: 32px 0 20px 0;
    min-height: 160px;
    margin-bottom: 28px;
  }
  .features-grid, .services-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .feature, .service-item {
    width: 100%;
    min-width: 0;
  }
  .contact-info {
    flex-direction: column;
    gap: 12px;
  }
  .section {
    margin-bottom: 38px;
    padding: 28px 0 18px 0;
  }
}
@media (max-width: 510px) {
  .container {
    padding: 0 8px;
  }
  .footer-wrapper {
    gap: 14px;
  }
  .hero {
    padding: 17px 0 10px 0;
    min-height: 90px;
  }
}

/* --- FOOTER --- */
footer {
  background: #2a4437;
  color: #fff;
  padding: 36px 0 10px 0;
  margin-top: 45px;
}
.footer-wrapper {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F3EEE7;
  font-size: 0.98rem;
  border-bottom: 1px solid transparent;
  transition: color .11s, border .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #EB9434;
  border-bottom: 1px solid #EB9434;
}
.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-links a img {
  width: 30px;
  height: 30px;
  filter: contrast(1.2) saturate(1.7);
  transition: filter .18s, transform .18s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: brightness(1.5) drop-shadow(0 0 6px #EB9434);
  transform: scale(1.13) rotate(-10deg);
}

/* --- COOKIE CONSENT BANNER --- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1500;
  background: #fff3e0;
  color: #2a4437;
  box-shadow: 0 -4px 22px 0 rgba(235,148,52,0.19);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform .3s cubic-bezier(.8,.26,.23,1);
}
#cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
#cookie-banner-text {
  flex: 1 0 180px;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 19px;
  border-radius: 21px;
  font-weight: 900;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background .15s, color .15s;
  margin: 0 2px;
  background: #fff;
  color: #EB9434;
  border: 2px solid #EB9434;
}
.cookie-btn.accept {
  background: #EB9434;
  color: #fff;
  border: 2px solid #EB9434;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #355648;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #2a4437;
  border: 2px solid #2a4437;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #EB9434;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff3e0;
  color: #EB9434;
  border: 2px solid #EB9434;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EB9434;
  color: #fff;
}

/* COOKIE BANNER MODAL */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(43,84,51,0.91);
  z-index: 1600;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
#cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  color: #222;
  border-radius: 14px;
  padding: 32px 24px 22px 24px;
  box-shadow: 0 12px 40px 0 rgba(43,84,51,0.15);
  min-width: 300px;
  max-width: 95vw;
  max-height: 87vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: fadeIn .36s cubic-bezier(.7,.3,.2,1);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-content h3 {
  color: #2a4437;
  font-size: 1.3rem;
  font-weight: bold;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
  gap: 16px;
}
.cookie-switch {
  appearance: none;
  width: 40px; height: 24px;
  background: #ccc;
  border-radius: 15px; transition: background .19s;
  position: relative;
  cursor: pointer;
  outline: none;
}
.cookie-switch:checked {
  background: #EB9434;
}
.cookie-switch::after {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1px; left: 1px;
  transition: left .17s;
  box-shadow: 0 2px 7px rgba(43,84,51,0.13);
}
.cookie-switch:checked::after {
  left: 17px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
#cookie-modal .cookie-btn {
  padding: 8px 19px;
  font-size: 1.02rem;
}
.cookie-modal-close {
  border: none;
  background: #F3EEE7;
  color: #2a4437;
  border-radius: 50%;
  position: absolute;
  right: 18px; top: 10px;
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 1.4rem;
  z-index: 20;
  transition: background .14s, color .14s;
}
.cookie-modal-close:hover { background: #EB9434; color: #fff; }

@media (max-width: 700px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    font-size: 0.99rem;
    padding: 17px 6px;
  }
  .cookie-actions { gap: 9px; }
  .cookie-modal-content { padding: 16px 5vw; min-width: 0; }
}

/* --- OTHER INTERACTIVE ELEMENTS --- */
a, button, .cookie-btn, .mobile-menu-toggle, .main-nav a, .cta-btn {
  outline: none;
  transition: box-shadow .13s, color .11s, background .11s, border .13s;
}
a:focus, button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus {
  box-shadow: 0 0 0 2px #EB9434, 0 0 11px 2px #EB9434;
}

/* --- ANIMATIONS FOR MICRO-INTERACTIONS --- */
.cta-btn, .feature, .service-item, .testimonial-card, .card {
  will-change: transform, box-shadow;
}

/* --- GLOBAL SPACING --- */
main section {
  margin-bottom: 60px;
  padding: 0px;
}
align-center > * {
  margin-left: auto;
  margin-right: auto;
}

/* --- FORM ELEMENTS --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  border-radius: 8px;
  padding: 10px 15px;
  border: 1.5px solid #d5e1da;
  margin-bottom: 20px;
  width: 100%;
  font-size: 1rem;
  transition: border .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #EB9434;
  box-shadow: 0 0 0 2px #EB94343345;
}
label {
  font-weight: 600;
  color: #31493e;
  margin-bottom: 8px;
  display: block;
}

/* --- Vibrant/Energetic Visual Details --- */
.section, .feature, .service-item, .project-case, .testimonial-card, .card {
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(235,148,52,0.07);
}
.section {
  background: #F3EEE7;
}
.feature, .service-item, .card {
  border: 2.5px solid #F3EEE7;
}
.section:nth-child(even) {
  background: #fff;
}
h1, h2, h3, h4, h5, h6 {
  text-transform: none;
  letter-spacing: 0.03em;
  text-align: left;
  word-break: break-word;
}
h2 {
  color: #EB9434;
}

/* --- CUSTOM SCROLLBAR STYLES FOR VIBRANCE --- */
::-webkit-scrollbar {
  width: 11px;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #EB9434;
  border-radius: 12px;
  border: 3px solid #fff;
}
::-webkit-scrollbar-track {
  background: #F3EEE7;
  border-radius: 12px;
}

/* Highlight color for mobile & selection */
::selection {
  background: #EB9434;
  color: #fff;
}

/* --- END --- */
