/* RESET & BASELINE */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F7F0E7;
  color: #244139;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #A77B49;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.7,.3,.3,1);
}
a:hover, a:focus {
  color: #356054;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 16px 24px;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #244139;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #A77B49;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
  color: #244139;
}
blockquote {
  border-left: 5px solid #A77B49;
  padding: 12px 24px;
  background: #fffbe7;
  margin-bottom: 12px;
  color: #244139;
  font-style: italic;
  font-size: 1.1rem;
}
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

/* VIBRANT & ENERGETIC COLOR PALETTE */
:root {
  --brand-primary: #356054;
  --brand-secondary: #F7F0E7;
  --brand-accent: #A77B49;
  --brand-dark: #244139;
  --brand-electric: #00C896;
  --brand-magenta: #FF5787;
  --brand-yellow: #FFE277;
  --neutral-white: #ffffff;
  --neutral-light: #faf9f5;
  --neutral-dark: #18191a;
}

/* HEADER & NAVIGATION */
header {
  background: var(--neutral-white);
  box-shadow: 0 2px 16px rgba(53,96,84,0.09);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 16px 14px 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
header nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s cubic-bezier(.7,.3,.3,1);
}
header nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--brand-electric);
  transition: width 0.25s cubic-bezier(.7,.3,.3,1);
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}
header nav a:hover, header nav a:focus {
  color: var(--brand-accent);
}
header .cta-primary {
  margin-left: 16px;
}
header .mobile-menu-toggle {
  display: none;
}

/* HERO & MAIN CTAS */
.hero {
  background: linear-gradient(122deg, #ffe277 0%, #FFF8DE 65%, #A77B49 98%);
  padding: 60px 0 40px 0;
  margin-bottom: 36px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 650px;
  gap: 20px;
}
.hero h1 {
  color: #244139;
  font-size: 2.7rem;
  text-shadow: 0 2px 1px #fffba7;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 5px;
}

/* SECTIONS & FLEX SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--neutral-white);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(53,96,84,0.085);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  flex: 1 1 299px;
  min-width: 280px;
  transition: box-shadow 0.2s cubic-bezier(.7,.3,.3,1), transform 0.2s cubic-bezier(.7,.3,.3,1);
}
.card:hover {
  box-shadow: 0 8px 24px rgba(255,87,135,0.13),0 4px 16px rgba(53,96,84,0.07);
  transform: translateY(-8px) scale(1.02) rotate(-1deg);
  z-index: 2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* FEATURE GRID & SERVICE LIST */
.feature-grid, .service-list, .project-highlights, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
}
.feature-grid > div, .service-list > div, .project-highlights > div, .blog-post-list > div {
  background: var(--neutral-white);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(0,200,150,0.07);
  padding: 24px 18px 20px 18px;
  flex: 1 1 270px;
  min-width: 250px;
  transition: box-shadow 0.21s cubic-bezier(.7,.3,.3,1), transform 0.19s cubic-bezier(.7,.3,.3,1);
  margin-bottom: 20px;
}
.feature-grid > div:hover, .service-list > div:hover, .project-highlights > div:hover {
  box-shadow: 0 6px 20px rgba(255,87,135,0.14), 0 2px 12px rgba(0,200,150,0.09);
  transform: translateY(-5px) rotate(0.5deg);
}
.feature-grid img, .service-list img, .project-highlights img {
  height: 38px;
  width: 38px;
  display: block;
  margin-bottom: 12px;
}

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

.text-section {
  margin-bottom: 20px;
}
.text-section p {
  margin-bottom: 12px;
}

/* TESTIMONIAL STYLES */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px 18px 24px;
  background: #fffbe7;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(167,123,73,0.10);
  margin-bottom: 20px;
  flex: 1 1 310px;
  min-width: 225px;
  color: #244139;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: 4px solid var(--brand-accent);
  color: #244139;
}
.testimonial-card p {
  margin-left: 12px;
  font-size: 1rem;
  font-style: normal;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.contact-details > div {
  background: var(--brand-secondary);
  border-radius: 10px;
  padding: 18px 14px 12px 14px;
  min-width: 190px;
  flex: 1 1 200px;
  color: #356054;
  box-shadow: 0 2px 9px rgba(53,96,84,0.07);
  margin-bottom: 20px;
}
.contact-details img {
  margin-bottom: 8px;
  height: 32px;
  width: 32px;
}

/* BUSINESS HOURS & MAP */
.business-hours, .map-section {
  background: var(--neutral-white);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(36,65,57,0.09);
}
.business-hours ul {
  margin-bottom: 0;
}

/* BLOG LIST */
.blog-post-list > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.featured-articles {
  background: #fffbe7;
  border-left: 5px solid var(--brand-electric);
  margin-bottom: 16px;
  padding: 12px 20px 8px 18px;
  border-radius: 9px;
}

/* FOOTER */
footer {
  background: var(--brand-primary);
  padding: 34px 0 20px 0;
  color: var(--brand-secondary);
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 7px;
}
footer nav a {
  color: #FFE277;
  font-weight: 500;
  letter-spacing: .02em;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  transition: color .18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-magenta);
  text-decoration: underline;
}
footer p {
  margin-top: 6px;
  color: #fffbe7;
  font-size: 0.97rem;
}

/* BUTTONS & CTA */
.cta-primary, .cta-secondary, button, .mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: .035em;
  transition: all 0.21s cubic-bezier(.7,.3,.3,1);
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(36,65,57,0.09);
}
.cta-primary {
  background: linear-gradient(90deg, var(--brand-electric) 30%, var(--brand-magenta) 90%);
  color: #244139;
  padding: 13px 32px;
  font-size: 1.08rem;
  margin-top: 14px;
  box-shadow: 0 4px 16px 0 rgba(255,87,135,0.11);
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--brand-magenta) 20%, var(--brand-electric) 95%);
  color: #18191a;
  transform: scale(1.04) translateY(-2px);
}
.cta-secondary {
  background: var(--brand-accent);
  color: var(--neutral-white);
  padding: 12px 24px;
  font-size: 1.02rem;
  margin-top: 8px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-electric);
  color: var(--neutral-dark);
  transform: translateY(-1px) scale(1.03) rotate(-1.5deg);
}

button, .mobile-menu-close {
  background: var(--brand-magenta);
  color: #fff;
  border-radius: 40px;
  font-size: 1.18rem;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  padding: 8px 18px;
  box-shadow: 0 2px 5px 0 rgba(255,87,135,0.13);
}
button:hover, .mobile-menu-close:hover,
button:focus, .mobile-menu-close:focus {
  background: var(--brand-electric);
  color: #231c17;
  transform: scale(1.05) rotate(-2deg);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  background: var(--brand-electric);
  display: none;
  color: #244139;
  font-size: 2.1rem;
  padding: 8px 16px;
  border-radius: 11px;
  border: none;
  z-index: 101;
  margin-left: 18px;
  box-shadow: 0 2px 7px rgba(0,200,150,0.13);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed !important;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: var(--brand-secondary);
  z-index: 99999;
  transform: translateX(-105vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.7,.3,.3,1), opacity 0.23s cubic-bezier(.7,.3,.3,1);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  right: 19px;
  top: 25px;
  background: var(--brand-magenta);
  border-radius: 12px;
  color: #fff;
  padding: 6px 18px;
  font-size: 2.2rem;
  z-index: 1003;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 70px;
  margin-left: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #244139;
  padding: 8px 0;
  border-radius: 8px;
  background: transparent;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-magenta);
  color: #fff;
}
/* Ensure navigation stacking */
header, .mobile-menu { position: relative; }

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: linear-gradient(90deg, #FFE277 0%, #FF5787 100%);
  box-shadow: 0 -2px 16px rgba(36,65,57,0.12);
  color: #18191a;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 24px 32px 24px;
  z-index: 999999;
  align-items: flex-start;
  font-size: 1.05rem;
  transition: transform 0.32s cubic-bezier(.7,.3,.3,1), opacity 0.25s cubic-bezier(.7,.3,.3,1);
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cookie-consent-banner button {
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 24px;
  padding: 8px 26px;
  box-shadow: 0 1px 4px rgba(167,123,73,0.07);
  margin-right: 8px;
  cursor: pointer;
  background: #356054;
  color: #fff;
  transition: background 0.18s, color 0.18s;
}
.cookie-consent-banner button.accept {
  background: var(--brand-electric);
  color: #18191a;
}
.cookie-consent-banner button.accept:hover, .cookie-consent-banner button.accept:focus {
  background: #FF5787;
  color: #fff;
}
.cookie-consent-banner button.reject {
  background: #E55D5D;
  color: #fff;
}
.cookie-consent-banner button.reject:hover, .cookie-consent-banner button.reject:focus {
  background: #356054;
  color: #fffbe7;
}
.cookie-consent-banner button.settings {
  background: var(--brand-accent);
  color: #fffbe7;
}
.cookie-consent-banner button.settings:hover, .cookie-consent-banner button.settings:focus {
  background: var(--brand-magenta);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1000001;
  transform: translate(-50%,-50%) scale(1);
  background: #fffbe7;
  box-shadow: 0 10px 64px 0 rgba(255,87,135,0.1),0 2px 8px #96703b17;
  border-radius: 20px;
  padding: 38px 34px 30px 34px;
  min-width: 320px;
  max-width: 97vw;
  min-height: 220px;
  transition: opacity 0.2s, transform 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-40%) scale(0.95);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #A77B49;
  text-align: left;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #244139;
}
.cookie-category label {
  font-size: 1.08rem;
}
.cookie-category .toggle {
  width: 46px;
  height: 27px;
  position: relative;
  margin-right: 8px;
}
.cookie-category .toggle input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 46px; height: 27px;
}
.cookie-category .toggle .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #DFDEC9;
  border-radius: 24px;
  transition: background 0.2s;
}
.cookie-category .toggle input[type=checkbox]:checked + .slider {
  background: var(--brand-electric);
}
.cookie-category .toggle .slider:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 2px 6px rgba(53,96,84,0.15);
}
.cookie-category .toggle input[type=checkbox]:checked + .slider:before {
  transform: translateX(19px);
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  background: var(--brand-accent);
  color: #fffbe7;
  padding: 9px 28px;
  font-weight: 700;
}
.cookie-modal-actions button:hover {
  background: var(--brand-electric);
  color: #18191a;
}
.cookie-modal .close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  color: #18191a;
  font-size: 1.65rem;
  border: none;
}
.cookie-modal .close:hover {
  color: var(--brand-magenta);
}

/* UTILITY STYLES */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.rounded {
  border-radius: 12px;
}
.shadow-lg {
  box-shadow: 0 10px 40px rgba(36,65,57,0.13);
}

/* TYPOGRAPHY SCALE (vibrant, bold) */
@media (min-width:768px) {
  h1 {
    font-size: 3.3rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  h3 {
    font-size: 1.42rem;
  }
  .hero {
    padding: 88px 0 54px 0;
  }
}

/* RESPONSIVE DESIGN (MOBILE-FIRST) */
@media (max-width: 1024px) {
  .feature-grid > div, .service-list > div, .project-highlights > div, .blog-post-list > div, .testimonial-card, .contact-details > div {
    min-width: 170px;
    flex: 1 1 48%;
  }
  .content-wrapper {
    gap: 22px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 13px 8px 10px 8px;
  }
  header nav {
    display: none;
  }
  header .cta-primary {
    display: none;
  }
  header .mobile-menu-toggle {
    display: inline-flex;
  }
  .hero .container {
    padding: 0 8px;
  }
  .feature-grid,
  .service-list,
  .project-highlights,
  .blog-post-list,
  .testimonial-slider,
  .contact-details {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-list > div, .project-highlights > div, .blog-post-list > div, .testimonial-card, .contact-details > div {
    min-width: 0;
    width: 100%;
    margin-bottom: 18px;
  }
  .content-grid, .card-container, .testimonial-slider, .contact-details {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section {
    padding: 26px 4px;
    margin-bottom: 34px;
  }
  .business-hours, .map-section {
    padding: 14px 9px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  .hero .content-wrapper {
    padding: 0;
    gap: 14px;
  }
  .cookie-consent-banner {
    padding: 18px 7px 23px 7px;
    font-size: 0.97rem;
    gap: 16px;
  }
  .cookie-modal {
    min-width: 94vw;
    padding: 24px 7vw 16px 6vw;
  }
  .mobile-nav {
    margin-left: 19px;
    gap: 23px;
  }
}

/* SCROLLBAR STYLE */
::-webkit-scrollbar {
  width: 10px;
  background: #F7F0E7;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(123deg, #00c896 60%, #ff5787 100%);
  border-radius: 10px;
}

/* MICRO-INTERACTIONS & SHADOWS */
.card, .feature-grid > div, .service-list > div, .project-highlights > div, .testimonial-card {
  transition: box-shadow 0.22s cubic-bezier(.7,.3,.3,1), transform 0.19s cubic-bezier(.7,.3,.3,1);
}
.card:active, .feature-grid > div:active, .service-list > div:active {
  transform: scale(0.99);
}
.cta-primary, .cta-secondary, button, .mobile-menu-close {
  transition: background 0.15s, color 0.13s, transform 0.13s;
}

/* FORMS (future proof, basic) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.5px solid #d6c3a6;
  padding: 9px 12px;
  margin-bottom: 18px;
  background: #fff;
  outline: none;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-electric);
}

/* Z-INDEX REASSURANCE */
header {
  z-index: 90;
}
.mobile-menu {
  z-index: 99999;
}
.cookie-consent-banner, .cookie-modal {
  z-index: 1000000;
}

/* ENSURE NO OVERLAPPING CONTENT */
main > section, .section, .content-wrapper, .card, .feature-grid > div, .service-list > div, .testimonial-card, .contact-details > div {
  margin-bottom: 20px;
}

/* FONTS IMPORT (for codepen/production drop into HTML HEAD) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
