/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat-variable.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #96D817;
  --dark-green: #003D35;
  --pale-green: #F1FAE1;
  --text: #1a1a1a;
  --radius: 10px;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green); color: #fff; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--dark-green); border-radius: 6px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dark-green);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 20px; top: 20px; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 1px solid var(--green);
  outline-offset: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 70px 0; }

h1, h2 {
  font-weight: 700;
  color: var(--text);
}

.section h2 {
  font-size: 35px;
  line-height: 40px;
  margin-bottom: 32px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 754px;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 24px 40px 0;
  margin-bottom: 32px;
}

.hero-logo { display: inline-block; margin-top: 40px; margin-bottom: 24px; }
.hero-logo img { height: 90px; width: auto; }

.hero-phone {
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  color: var(--dark-green);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: start;
  gap: 32px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 35px 60px;
}

.hero-text { max-width: 560px; }

.hero-text h1 {
  font-size: 37px;
  line-height: 43px;
  color: var(--dark-green);
  max-width: 480px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 21px;
  margin-bottom: 20px;
  max-width: 480px;
}

.hero-list li {
  position: relative;
  padding-left: 18px;
  font-size: 18px;
  font-weight: 500;
  line-height: 21px;
  margin-bottom: 4px;
}
.hero-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dark-green);
}

/* ---------- Estimation card ---------- */
.estimation-card {
  background: rgba(0, 61, 53, 0.77);
  border-radius: 0;
  outline: 1px solid #fff;
  outline-offset: 0;
  padding: 37px 52px 36px;
  color: #fff;
  width: 100%;
  max-width: 440px;
  min-height: 712px;
  margin-left: auto;
}

.estimation-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  line-height: 35px;
  color: #fff;
  margin-bottom: 14px;
}

.estimation-intro {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  opacity: 0.95;
  margin-bottom: 36px;
}

.step-label {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 16px;
}

.project-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.choice-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-weight: 500;
  font-size: 19px;
  line-height: 1;
  padding: 0 20px;
  border: 2px solid #fff;
  border-radius: 999px;
  height: 62px;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.choice-btn:hover { filter: brightness(1.06); transform: scale(1.02); }
.choice-btn.selected { outline: 3px solid #fff; }

.field-group { margin-bottom: 8px; }
.field-group label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.field-group input {
  width: 100%;
  background: #fff;
  border: 1px solid #cfd8d6;
  border-radius: 4px;
  padding: 15px 16px;
  font-size: 18px;
  font-family: inherit;
  color: var(--text);
  min-height: 52px;
}
.field-group input::placeholder { color: #6b7573; }
.field-group input:invalid.touched { border-color: #d94848; }

.consent-text {
  font-size: 12px;
  text-align: center;
  opacity: 0.9;
  margin: 6px 0 18px;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 229px;
  max-width: 100%;
  height: 62px;
  line-height: 1;
  margin: 0 auto;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  border: 2px solid #fff;
  border-radius: 999px;
  transition: filter 0.15s ease;
}
.submit-btn:hover { filter: brightness(1.06); }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; font-size: 15px; }

.form-success {
  color: #fff;
  text-align: center;
  font-weight: 600;
  padding: 12px 4px;
}

/* ---------- CTA buttons (shared) ---------- */
.cta-block {
  text-align: center;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 488px;
  max-width: 100%;
  height: 62px;
  margin-top: 80px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 25px;
  padding: 0 24px;
  border-radius: 999px;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.cta-btn:hover { filter: brightness(1.06); transform: scale(1.02); }
.cta-phone {
  display: block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  color: var(--dark-green);
}

/* ---------- Expertises grid ---------- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.expertise-tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.expertise-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.expertise-tile:hover img {
  transform: scale(1.08);
}
.tile-band {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 51px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: rgba(0, 61, 53, 0.77);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 17px;
}

@media (min-width: 900px) {
  .tile-band { font-size: 18px; line-height: 19px; }
}

/* ---------- Trust section ---------- */
.trust-intro { margin-bottom: 32px; font-size: 16px; font-weight: 500; }

.trust-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.trust-list img { margin-top: 6px; flex-shrink: 0; }
.trust-list strong { display: block; font-size: 18px; color: var(--dark-green); margin-bottom: 4px; }
.trust-list p { font-size: 16px; font-weight: 500; color: #3a3a3a; }

/* ---------- Quote banner ---------- */
.quote-banner {
  position: relative;
  background: var(--pale-green);
  padding: 110px 0;
  overflow: hidden;
  text-align: center;
}
.quote-bamboo {
  position: absolute;
  right: 60px;
  bottom: -30px;
  width: 220px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.quote-banner .cta-btn {
  position: relative;
  z-index: 1;
}
.quote-banner blockquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 50px;
  line-height: 62px;
}

/* ---------- Reviews ---------- */
.reviews-rating {
  margin-bottom: 32px;
}
.reviews-rating-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.google-logo { width: auto; }
.rating-number { font-weight: 800; font-size: 20px; margin-left: 6px; }
.rating-stars { color: #FBBC05; letter-spacing: 2px; }
.rating-count { display: block; color: #5f6368; font-size: 14px; }

.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
@keyframes reviewFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.review-card, .review-card-all {
  animation: reviewFadeIn 0.35s ease both;
}
.review-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: var(--radius);
  padding: 22px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 14px; }
.review-meta { font-size: 12px; color: #6b6b6b; }
.review-stars { color: #FBBC05; margin-bottom: 10px; letter-spacing: 2px; }
.review-text {
  font-size: 14px;
  color: #3a3a3a;
  white-space: pre-line;
  margin-bottom: 8px;
}
.review-visited {
  display: block;
  color: #9a9a9a;
  font-style: italic;
  font-size: 12px;
}
.review-text.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  min-height: 180px;
  background: #fff;
  border: 1px solid #e6e6e6;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  transition: filter 0.15s ease;
}
.review-card-all:hover { filter: brightness(0.97); }

.reviews-see-more {
  text-align: center;
  margin-top: 24px;
}
.reviews-see-more-btn {
  font-size: 13px;
  font-weight: 500;
  color: #9a9a9a;
  text-decoration: underline;
}

.review-more {
  align-self: flex-start;
  margin-top: auto;
  font-size: 12px;
  font-weight: 500;
  color: #9a9a9a;
  text-decoration: underline;
}

/* ---------- Realisations carousel ---------- */
.carousel {
  position: relative;
}
.carousel-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 40px;
}
@media (max-width: 900px) {
  .carousel-full { padding: 0 20px; }
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 auto;
  width: 460px;
  height: 620px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
@media (max-width: 700px) {
  .carousel-slide { width: 82vw; height: 460px; }
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.carousel-slide:hover img { transform: scale(1.04); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--dark-green);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.carousel-arrow:hover { transform: translateY(-50%) scale(1.07); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  width: 44px;
  height: 44px;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 700px) {
  .lightbox-arrow { width: 44px; height: 44px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 12px; }
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 20px 90px;
  text-align: center;
  border-top: 1px solid #eee;
}
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-legal { font-size: 12px; color: #6b6b6b; }
.footer-legal a { text-decoration: underline; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: #fff;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  display: none;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .cta-btn { width: 100%; margin-top: 0; }

@media (max-width: 900px) {
  .sticky-cta { display: block; }
}

/* ---------- Responsive: tablet (<=1024px) ---------- */
@media (max-width: 1024px) {
  .container, .container-narrow { padding-left: 80px; padding-right: 80px; }
  .hero-topbar { padding-left: 80px; padding-right: 80px; margin-bottom: 0; }
  .hero-phone { display: none; }
  .hero-logo { margin-top: 8px; margin-bottom: 10px; }
  .hero-logo img { height: 60px; }
  .hero-content {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 36px;
    padding-top: 0;
    padding-left: 80px;
    padding-right: 80px;
  }
  .carousel-full { padding: 0 80px; }
  .hero-text { max-width: 100%; }
  .estimation-card { max-width: 500px; height: 712px; min-height: 0; margin: 0 auto; }
  .choice-btn { width: 100%; max-width: 330px; margin-left: auto; margin-right: auto; }
  .field-group input { display: block; width: 100%; max-width: 330px; margin-left: auto; margin-right: auto; }

  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Responsive: tablet/small desktop (<=900px) ---------- */
@media (max-width: 900px) {
  .container, .container-narrow { padding: 0 40px; }

  .section { padding: 48px 0; }
  .section h2 { font-size: 24px; }

  .review-cards { grid-template-columns: repeat(2, 1fr); }

  .quote-banner { padding: 70px 0; }
  .quote-banner blockquote { font-size: 30px; line-height: 1.35; }
  .quote-bamboo { width: 150px; opacity: 0.6; }

  .footer { padding-bottom: 110px; }
}

/* ---------- Responsive: phone (<=600px) ---------- */
@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 36px; }
  .carousel-full { padding: 0 36px; }

  .hero-content { max-width: 90%; min-width: 300px; padding-left: 20px; padding-right: 20px; margin: 0 auto; }
  .hero-text h1 { font-size: 30px; line-height: 34px; }
  .hero-desc, .hero-list li { font-size: 16px; }
  .estimation-title { font-size: 25px; line-height: 30px; margin-bottom: 4px; }
  .estimation-intro { margin-top: -4px; }
  .estimation-intro-long { display: none; }
  .estimation-intro-medium { display: none; }
  .estimation-card { padding-left: 25px; padding-right: 25px; height: 630px; min-height: 0; }

  .section { padding: 40px 0; }
  .section h2 { font-size: 22px; line-height: 1.3; }

  .expertise-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile-band { padding: 0 12px; font-size: 13px; line-height: 14px; height: 44px; }

  .cta-btn { font-size: 17px; line-height: 19px; height: 56px; margin-top: 40px; }

  .review-cards { grid-template-columns: 1fr; }

  .quote-banner blockquote { font-size: 31px; line-height: 1.35; }
  .quote-bamboo { display: none; }

  .carousel-arrow { width: 38px; height: 38px; }

  .footer-logos { gap: 20px; }
  .footer { padding-bottom: 110px; }
}

/* ---------- Responsive: small phone (<=460px) ---------- */
@media (max-width: 460px) {
  .hero-content { width: 90%; min-width: 320px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .estimation-title { font-size: 21px; line-height: 26px; }
  .step-label { font-size: 19px; }
  .choice-btn { font-size: 18px; }
  .hero-logo img { height: 38px; }
  .hero-text h1 { font-size: clamp(24px, 7.2vw, 32px); line-height: 1.15; }
  .cta-btn { height: auto; min-height: 56px; padding: 12px 20px; text-align: center; }
  .trust-list strong { line-height: 1.2; }
}
