/* --- CSS RESET & BASE --- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #154252;
  background: linear-gradient(135deg, #f4f2ed 0%, #e8eaee 100%);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #A37738; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #154252; text-decoration: underline; outline: none; }
ul, ol { padding-left: 24px; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #154252;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 16px; font-size: 1rem; color: #154252; }
li { font-size: 1rem; margin-bottom: 12px; }
strong { color: #A37738; }

/* --- HEADER & NAVIGATION --- */
header {
  background: #154252;
  padding: 0;
  position: relative;
  z-index: 100;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 0;
}

header img { height: 38px; margin-right: 18px; }

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-shrink: 1;
}
.main-nav a {
  color: #F4F2ED;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1px;
  padding: 8px 0;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #A37738;
}

.btn-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: linear-gradient(95deg, #A37738 20%, #154252 98%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 28px;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 16px 0 rgba(21,66,82,0.08);
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(95deg, #154252 20%, #A37738 98%);
  box-shadow: 0 6px 24px 0 rgba(21,66,82,0.13);
  transform: translateY(-1px) scale(1.025);
  color: #fff;
}

.btn-secondary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: 2px solid #A37738;
  color: #A37738;
  background: #fff;
  padding: 11px 26px;
  border-radius: 28px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: border 0.22s, background 0.22s, color 0.18s;
  margin-top: 10px;
  outline: none;
  box-shadow: 0 2px 10px 0 rgba(21,66,82,0.06);
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #A37738;
  color: #fff;
  border: 2px solid #A37738;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #F4F2ED;
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 1201;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #A37738;
  outline: 2px solid #A37738;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: linear-gradient(125deg, #f4f2ed 65%, #154252 100%);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.69,0,.27,1.09);
  box-shadow: -8px 0 30px 0 rgba(21,66,82,.17);
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #154252;
  align-self: flex-end;
  margin: 22px 28px 6px 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1210;
}
.mobile-menu-close:focus {
  color: #A37738;
  outline: 2px solid #A37738;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding: 34px 36px 36px 32px;
  margin: 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #154252;
  background: transparent;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 16px 0 12px 12px;
  margin: 0;
  border-bottom: 1px solid #e7e2d3;
  transition: background 0.22s, color 0.17s;
  border-radius: 4px;
  text-align: left;
}
.mobile-nav a:last-child { border: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e4e1dc;
  color: #A37738;
}

/* --- CONTENT STRUCTURE --- */
main {
  min-height: 68vh;
  background: transparent;
  padding-bottom: 40px;
}
.content-wrapper {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(21,66,82,0.08);
  padding: 32px 26px 32px 26px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cta-banner {
  background: linear-gradient(96deg, #A37738 30%, #154252 84%);
  color: #fff !important;
  gap: 20px;
  align-items: center;
  box-shadow: 0 4px 24px 0 rgba(21,66,82,0.14);
  border-radius: 30px;
  text-align: center;
}
.cta-banner h2, .cta-banner h1 {
  color: #fff;
}
.cta-banner a.btn-primary {
  background: #fff;
  color: #154252;
  font-weight: 900;
  border: 0;
  box-shadow: none;
  margin-top: 5px;
}
.cta-banner a.btn-primary:hover {
  background: #A37738;
  color: #fff;
}

/* ------ CARD, FLEX, LAYOUTS ------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 rgba(21,66,82,0.08);
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.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;
  margin-bottom: 20px;
  background: #f4f2ed;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(21,66,82,0.06);
  color: #154252;
  flex-direction: column;
  position: relative;
}
.testimonial-card p {
  color: #154252;
  font-size: 1.08rem;
  margin-bottom: 7px;
  line-height: 1.65;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #154252;
  opacity: 0.84;
  font-style: italic;
}

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

/* Section spacing for all <section> */
section { margin-bottom: 60px; padding: 40px 20px; }

/* --- SERVICES, PROJECTS, FAQ --- */
.service-block, .project-block, .faq-item {
  background: #f4f2ed;
  padding: 24px 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(21,66,82,0.04);
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
}
.stats-grid li {
  flex: 1 1 220px;
  min-width: 180px;
  background: #fff;
  padding: 19px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  box-shadow: 0 2px 10px 0 rgba(21,66,82,0.06);
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4f2ed;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px 0 rgba(21,66,82,0.04);
  margin-top: 8px;
}
.reviews-summary img { height: 32px; margin-right: 8px; }

ul li img, .stats-grid li img, .content-wrapper ul li img { height: 24px; width: 24px; margin-right: 10px; vertical-align: middle; display: inline-block; }

/* --- FOOTER --- */
footer {
  background: #154252;
  color: #fff;
  padding: 0 0 16px 0;
  margin-top: 30px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 16px;
}
.footer-flex > div:first-child { max-width: 340px; }
.footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1rem;
}
.footer-flex p{
  color: #fff;
}
.footer-links a {
  color: #fff;
  opacity: 0.82;
  transition: color 0.17s;
  font-size: 1rem;
}
.footer-links a:hover, .footer-links a:focus { color: #A37738; opacity: 1; text-decoration: underline; }
footer img { height: 30px; margin-bottom: 10px; }
footer p, .footer-links { margin-bottom: 9px; }
footer .copyright {
  text-align: center;
  color: #d4dfe6;
  font-size: 0.98rem;
  letter-spacing: 0.3px;
  margin-top: 4px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: linear-gradient(90deg, #A37738 15%, #154252 96%);
  color: #fff;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 -2px 18px 0 rgba(21,66,82,0.11);
  animation: cookieSlideUp 0.45s cubic-bezier(.69,0,.27,1.09) 1;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.07rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.cookie-btn {
  background: #fff;
  color: #154252;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  font-weight: 700;
  box-shadow: 0 0 8px 0 rgba(21,66,82,0.07);
}
.cookie-btn.accept {
  background: #A37738;
  color: #fff;
  border: none;
}
.cookie-btn.reject {
  background: #fff;
  color: #A37738;
  border: 2px solid #A37738;
}
.cookie-btn.settings {
  background: #154252;
  color: #fff;
  border: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 0 14px 0 rgba(21,66,82,0.14);
  filter: brightness(0.96);
}
/* Cookie banner modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(21,66,82,0.78);
  z-index: 3200;
  align-items: center;
  justify-content: center;
  animation: fadein 0.32s ease;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadein { from {opacity: 0;} to {opacity:1;} }
.cookie-modal {
  background: #fff;
  max-width: 420px;
  width: 90%;
  color: #154252;
  border-radius: 20px;
  padding: 32px 22px 24px 22px;
  box-shadow: 0 10px 44px 0 rgba(21,66,82,0.32);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: moveUp 0.44s cubic-bezier(.62, 0, .48,1.08);
}
@keyframes moveUp { from{transform: translateY(60px); opacity:0;} to{transform: translateY(0); opacity:1;} }
.cookie-modal h2 { font-size: 1.28rem; margin-bottom: 6px; }
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal-category label {
  font-weight: 500;
}
.cookie-modal-category input[type=checkbox] {
  width: 21px; height: 21px;
  accent-color: #A37738;
}
.cookie-modal .modal-close {
  position: absolute; top: 16px; right: 22px;
  background: none; border: none;
  font-size: 1.7rem; color: #A37738; cursor: pointer;
}
.cookie-modal .modal-close:focus { color: #154252; outline: 2px solid #154252; }

/* --- MISC & MICRO-INTERACTIONS --- */
.content-wrapper ul, .content-wrapper ol {
  margin: 0; padding: 0 0 0 28px; list-style: disc;
}
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.content-wrapper ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: decimal;
}

/* Ensure clickable area for phone/email links */
a[href^="tel:"], a[href^="mailto:"] {
  color: #A37738;
  font-weight: 600;
  word-break: break-all;
}
a[href^="tel:"]:hover, a[href^="mailto:"]:hover {
  color: #154252;
}

/* FAQ Toggle Style (if script is added in the future) */
.faq-item h2 {
  cursor: pointer;
  font-size: 1.12rem;
  position: relative;
}
.faq-item h2::after {
  content: '+';
  position: absolute;
  right: 0; top: 2px;
  color: #A37738;
}
.faq-item.open h2::after { content: '-'; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
  .header-flex {
    gap: 15px;
  }
  .footer-flex { flex-direction: column; gap: 30px; align-items: flex-start; }
}

@media (max-width: 768px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .cta-banner, .card {
    padding: 22px 8px 22px 8px;
    border-radius: 16px;
  }
  .footer-flex {
    flex-direction: column;
    gap: 26px;
    padding: 26px 8px;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
}
@media (max-width: 640px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.22rem; }
  .cookie-modal { padding: 19px 8px 14px 8px; min-width: 0; }
}
@media (max-width: 520px) {
  .stats-grid { gap: 8px; }
  .stats-grid li { padding: 12px 8px; font-size: 0.95rem; }
  .footer-links { flex-direction: column; gap: 6px; }
}
@media (max-width:550px) {
  .content-grid, .card-container, .section {
    flex-direction: column !important;
    gap: 14px;
  }
  .cta-banner { border-radius: 16px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

/* Extra spacing between cards/sections */
.section > *, .content-wrapper > *, .card-container > *, .content-grid > *, .feature-item > *, .footer-flex > * {
  margin-bottom: 20px;
}
.section > *:last-child, .content-wrapper > *:last-child, .card-container > *:last-child, .content-grid > *:last-child, .feature-item > *:last-child, .footer-flex > *:last-child {
  margin-bottom: 0;
}

/* --- ACCESSIBILITY --- */
:focus { outline: 2px solid #A37738; outline-offset: 2px; }

/* Hide scrollbar for mobile menu on iOS */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #A37738 #d4dfe6;
}
.mobile-menu::-webkit-scrollbar { width: 6px; background: #F4F2ED; }
.mobile-menu::-webkit-scrollbar-thumb { background: #A37738; border-radius: 4px; }

/* Utility .sr-only */
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; border: 0!important; }

/* --- END --- */
