/* === CSS RESET & NORMALIZE (Mobile-first) === */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF9F3;
  color: #1B2838;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  transition: background 0.3s;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #1B2838;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FFD600;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
ul li,
ol li {
  margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
  color: #412500; /* Warm brown for headings */
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.25rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }
p, li, blockquote, cite { font-size: 1rem; }
blockquote {
  font-style: italic;
  color: #7b5724;
  background: #FFFBE9;
  border-left: 4px solid #FFD600;
  padding: 12px 18px;
  margin-bottom: 10px;
  border-radius: 10px;
}
cite {
  display: block;
  color: #412500;
  font-weight: 600;
  margin-top: 7px;
  font-size: 0.98rem;
}
address {
  font-style: normal;
  color: #7b5724;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* === COLOR VARIABLES === */
:root {
  --primary: #1B2838;
  --secondary: #ADB5BD;
  --accent: #FFD600;
  --bg-light: #FFF9F3;
  --surface: #FFFFFF;
  --warm-1: #FFF4D3;
  --warm-2: #FFDDAA;
  --text-dark: #1B2838;
  --text-medium: #412500;
  --shadow: 0 2px 12px 0 rgba(168, 129, 0, 0.09), 0 1.5px 6px 0 rgba(53,32,18,0.09);
  --radius: 18px;
  --cta-font: 'Montserrat', 'Roboto', Arial, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
}

/* === CONTAINER SPACING & STRUCTURE === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.section, main section, .thank-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
@media (max-width: 600px) {
  .section, main section, .thank-section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  .container { padding: 0 8px; }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--surface);
  box-shadow: 0 2px 16px 0 rgba(100,80,3,0.07);
  padding: 0 0 0 0;
  position: relative;
  z-index: 5;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  justify-content: flex-start;
  width: 100%;
}
.main-nav > a {
  font-family: var(--cta-font);
  font-size: 1.06rem;
  font-weight: 500;
  border-radius: 14px;
  padding: 7px 14px;
  transition: background 0.15s, color 0.15s;
}
.main-nav > a:not(.cta-button):hover,
.main-nav > a:not(.cta-button):focus {
  background: var(--warm-2);
  color: var(--primary);
}
.main-nav > a img {
  height: 38px;
  width: auto;
  vertical-align: middle;
  margin-right: 12px;
}
.mobile-menu {
  display: none;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--cta-font);
  font-weight: 600;
  border-radius: 22px;
  padding: 12px 28px;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 12px 0 rgba(237,184,36,0.08);
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.15s, transform 0.11s;
  margin-left: 12px;
}
.cta-button:hover, .cta-button:focus {
  background: #ffc200;
  color: #412500;
  box-shadow: 0 6px 20px 0 rgba(237,184,36,0.17);
  transform: translateY(-1px) scale(1.035);
}

/* HIDE MOBILE BURGER ON DESKTOP */
.mobile-menu-toggle {
  display: none;
}

/* === MOBILE NAVIGATION === */
@media (max-width: 970px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--primary);
    font-size: 2rem;
    border: none;
    border-radius: 40px;
    width: 46px;
    height: 46px;
    position: absolute;
    top: 18px;
    right: 16px;
    z-index: 102;
    box-shadow: 0 1px 10px 0 rgba(100,50,0,0.10);
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.14s;
  }
  .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: #ffc200;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
    background: var(--surface);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 91vw;
    max-width: 400px;
    z-index: 300;
    transform: translateX(-120%);
    transition: transform 0.32s cubic-bezier(0.8,0.05,0.4,1.25);
    box-shadow: 0 6px 40px 2px rgba(33,21,0,0.16);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    margin: 18px 18px 12px 0;
    font-size: 2rem;
    background: var(--warm-1);
    border: none;
    color: var(--primary);
    border-radius: 100px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 rgba(205,131,10,0.08);
    transition: background 0.13s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #FFD600;
    color: #412500;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    margin-left: 22px;
    gap: 20px;
    width: 80%;
    margin-bottom: 40px;
  }
  .mobile-nav a {
    font-family: var(--cta-font);
    font-size: 1.18rem;
    color: var(--primary);
    background: transparent;
    border-radius: 14px;
    padding: 10px 8px;
    transition: background 0.18s, color 0.18s;
    margin-right: 10px;
  }
  .mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--warm-2);
    color: #412500;
  }
}
/* OVERLAY (when mobile menu open) */
.mobile-menu-overlay {
  display: none;
}
.mobile-menu.open ~ .mobile-menu-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(31,20,0, 0.22);
  z-index: 200;
}

/* === HERO === */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  background: linear-gradient(102deg, #FFE9B5 55%, #FFF4D3 100%);
  box-shadow: 0 1.5px 7px 0 #f8b8001c;
  border-radius: var(--radius);
  margin-bottom: 42px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 30px;
  padding: 44px 4vw;
}
.hero h1 {
  color: #412500;
  font-family: var(--cta-font);
  font-size: 2.45rem;
  letter-spacing: 0.01em;
  margin-bottom: 9px;
}
.hero p {
  color: #7B5724;
  font-size: 1.22rem;
  font-weight: 400;
}
.hero .cta-button {
  margin-top: 18px;
}
@media (max-width: 700px) {
  .hero .container {
    padding: 28px 0.5rem 26px 0.5rem;
    gap: 22px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* === FEATURES === */
.features .feature-grid, .service-highlights .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features .feature-grid > div,
.service-highlights .feature-grid > div {
  background: #FFFBE9;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px 0 rgba(210,170,35,0.08);
  padding: 28px 18px 22px 18px;
  flex: 1 1 265px;
  min-width: 225px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, background 0.18s, transform 0.18s;
}
.features .feature-grid > div:hover,
.service-highlights .feature-grid > div:hover {
  box-shadow: 0 7px 34px 0 rgba(200,140,20,0.14);
  background: #FFF6DE;
  transform: translateY(-3px) scale(1.015);
}
.features .feature-grid img,
.service-highlights .feature-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 7px;
  border-radius: 11px;
  background: #FFF4D3;
  box-shadow: 0 2px 10px 0 rgba(255,185,16,0.08);
}

.features .feature-grid h3,
.service-highlights .feature-grid h3 {
  color: #412500;
  font-family: var(--cta-font);
  margin-bottom: 0px;
}
.features .feature-grid p,
.service-highlights .feature-grid p {
  color: #7B5724;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .features .feature-grid,
  .service-highlights .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features .feature-grid > div,
  .service-highlights .feature-grid > div {
    min-width: unset;
    max-width: 98vw;
  }
}

/* === TESTIMONIALS (PREVIEW & FULL) === */
.testimonials-preview, .testimonials {
  background: #FFFBE7;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px 0 rgba(180,130,40,0.08);
  margin-bottom: 45px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 15px;
  padding: 20px 28px 14px 20px;
  box-shadow: 0 2px 7px 0 rgba(193, 127, 0, 0.06);
  position: relative;
  border: 1.5px solid #FFE19D;
  transition: box-shadow 0.16s, border-color 0.16s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(180,100,40,0.18);
  border-color: #FFD600;
  transform: translateY(-2px) scale(1.01);
}
.testimonials-preview .testimonial-card:last-child,
.testimonials .testimonial-card:last-child { margin-bottom: 0; }

.project-success-story {
  background: #FFF4D3;
  border-radius: 13px;
  padding: 20px 20px 14px 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px 0 rgba(200,130,40,0.05);
}
.project-success-story h3 {
  color: #7B5724;
  font-size: 1.12rem;
}
.project-success-story p {
  color: #412500;
}
@media (max-width: 700px) {
  .testimonial-card, .project-success-story {
    padding: 14px 9px 11px 12px;
  }
}

/* === CTA SECTION === */
.cta {
  background: linear-gradient(105deg, #FFF6C3 60%, #FFEAA0 95%);
  border-radius: var(--radius);
  box-shadow: 0 1px 9px 0 rgba(200,159,0,0.10);
}
.cta .content-wrapper {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}
.cta .cta-button {
  margin: 0 auto;
  font-size: 1.18rem;
}

/* === ABOUT / VALUES / SERVICE-LISTS === */
.about-short ul, .values ul, .services-detail ul, .project-types ul, .thank-section ul {
  margin-top: 6px;
  margin-bottom: 18px;
}
.about-short ul li, .values ul li, .services-detail ul li, .project-types ul li, .thank-section ul li {
  margin-bottom: 10px;
  color: #412500;
  font-size: 1rem;
  padding-left: 0.2em;
}
.about-short ul li b, .values ul li b, .services-detail ul li b, .project-types ul li b, .thank-section ul li b {
  color: #7B5724;
  font-weight: 600;
}
.process ol {
  margin: 0 0 13px 1.2em;
}
.process ol li {
  margin-bottom: 12px;
  color: #412500;
  font-size: 1.01rem;
}

/* === CONTACT INFO === */
.contact-info .text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-info .text-section p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #412500;
  font-size: 1.05rem;
}
.contact-info .text-section img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #FFD600;
  padding: 2px;
  box-shadow: 0 1px 4px 0 rgba(210,170,40,0.10);
}

/* === THANK YOU SECTION === */
.thank-section h1 {
  color: #7B5724;
}
.thank-section ul {
  margin-top: 10px;
}

/* === FOOTER === */
footer {
  background: #412500;
  color: var(--bg-light);
  padding: 36px 0 16px 0;
  margin-top: 55px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  margin-bottom: 26px;
}
.footer-nav a {
  color: #FFD600;
  font-family: var(--cta-font);
  font-size: 1.01rem;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 4px 10px 4px 10px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: #412500;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font-size: 1rem;
  margin-bottom: 0;
}
.footer-info img {
  height: 44px;
  border-radius: 13px;
  background: #fff7db;
  box-shadow: 0 1.5px 6px 0 rgba(211,140,10,0.08);
}
.footer-info address {
  color: #FFD600;
  font-size: 0.99rem;
  margin-left: 5px;
}
@media (max-width: 600px) {
  .footer-info {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* === UTILITY FLEXBOX CLASSES === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(210,170,40,0.07);
  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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

/* === LEGAL SECTIONS === */
.legal {
  background: #FFFBE9;
  border-radius: 16px;
  box-shadow: 0 1.5px 10px 0 rgba(253,210,60,0.06);
  margin-bottom: 48px;
  padding: 33px 16px;
}
@media (max-width: 600px) {
  .legal {
    padding: 18px 5px;
  }
}

/* === BUTTON GENERAL === */
button,
input[type="submit"],
input[type="button"] {
  font-family: var(--cta-font);
  font-weight: 600;
  color: var(--primary);
  background: var(--accent);
  border: none;
  border-radius: 22px;
  padding: 12px 28px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(237,184,36,0.10);
  transition: background 0.16s, color 0.14s, box-shadow 0.13s, transform 0.10s;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
input[type="button"]:hover, input[type="button"]:focus {
  background: #ffc200;
  color: #412500;
  box-shadow: 0 5px 18px 0 rgba(237,184,36,0.16);
  transform: translateY(-1px) scale(1.03);
}

/* === FORMS / INTERACTIVE (if present) === */
input, textarea, select {
  font-family: var(--body-font);
  font-size: 1rem;
  border-radius: 12px;
  padding: 11px 13px;
  border: 1.3px solid #FFDDAA;
  transition: border-color 0.13s;
  margin-bottom: 17px;
  background: #FFF9F3;
  color: #1B2838;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFD600;
  outline: none;
}

/* === ANIMATIONS === */
.cta-button, .main-nav a, .mobile-nav a, button, input[type="submit"], input[type="button"], .feature-grid > div, .card, .testimonial-card, .footer-nav a {
  transition: background 0.16s, color 0.14s, box-shadow 0.13s, transform 0.11s;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFF9F0;
  color: #412500;
  box-shadow: 0 -2px 22px 0 rgba(253,210,60,0.07);
  border-radius: 14px 14px 0 0;
  z-index: 1000;
  padding: 24px 14px 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  font-size: 1rem;
  animation: slideUp 0.44s cubic-bezier(0.66,1.22,0.57,1) 1;
}
@keyframes slideUp {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin: 0 7px;
  font-size: 1rem;
  padding: 10px 20px;
}
.cookie-banner .cookie-settings {
  background: var(--warm-2);
  color: #412500;
  font-weight: 500;
  border-radius: 20px;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #FFE19D;
}

/* Cookie Modal Overlay & Preferences */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32,20,0,0.2);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(180,130,40,0.16);
  padding: 28px 16px 22px 16px;
  max-width: 420px;
  width: 95vw;
  min-height: 180px;
  color: #412500;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  animation: slideDown 0.31s cubic-bezier(0.60,1.17,0.37,0.93) 1;
}
@keyframes slideDown {
  0% { transform: translateY(-30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 7px;
  color: #7B5724;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.55rem;
  color: #B29760;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-preference-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 13px;
}
.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-pref-row label {
  color: #412500;
  font-size: 1.04rem;
  font-family: var(--body-font);
}
.cookie-pref-toggle {
  width: 42px;
  height: 26px;
  border-radius: 13px;
  background: #FFDDAA;
  position: relative;
  transition: background 0.12s;
  cursor: pointer;
  display: inline-block;
}
.cookie-pref-toggle input[type='checkbox'] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-pref-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.7px 2px 0 rgba(200,170,0,0.09);
  transition: transform 0.14s;
}
.cookie-pref-toggle input[type='checkbox']:checked + .cookie-pref-slider {
  transform: translateX(16px);
  background: #FFD600;
  border: 1.5px solid #FFD600;
}
.cookie-pref-row[data-essential] label {
  font-weight: 600;
  color: #412500;
}
.cookie-pref-row[data-essential] .cookie-pref-toggle {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .save-cookie-prefs {
  font-size: 1.08rem;
  margin-top: 10px;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 4px 14px 6px;
    font-size: 0.97rem;
  }
  .cookie-banner {
    font-size: 0.95rem;
    padding: 14px 6px 14px 7px;
  }
}

/* ============= RESPONSIVE TYPOGRAPHY ============= */
@media (max-width: 950px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.22rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.04rem; }
}

/* === SCROLLBAR (Modern browsers only) === */
::-webkit-scrollbar {
  width: 10px;
  background: #FFEAA0;
}
::-webkit-scrollbar-thumb {
  background: #FFD600;
  border-radius: 10px;
}

/* === FOCUS VISIBLE IMPROVEMENTS === */
:focus-visible {
  outline: 2px solid #FFD600;
  outline-offset: 2px;
}

/* === MISC FIXES FOR WHITE SPACE === */
main {
  margin-bottom: 90px;
}
@media (max-width: 550px) {
  main {
    margin-bottom: 67px;
  }
}

/* ============= END OF CSS ============= */
