@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #1f4f3f;
  --secondary-color: #f6f3ee;
  --accent-color: #a07852;
  --text-color: #1f2523;
  --muted-text: #5d665f;
  --charcoal: #212422;
  --white: #ffffff;
  --border-color: #d9d2c8;
  --heading-font: "Playfair Display", Georgia, serif;
  --body-font: "Inter", Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.08);
  --transition-speed: 0.25s ease;
  --container: min(1120px, 92%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", var(--body-font);
  color: var(--text-color);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

main,
section,
header,
footer,
#site-header,
#site-footer {
  width: 100%;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-family: "Cormorant Garamond", var(--heading-font);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.section-intro {
  color: var(--muted-text);
  max-width: 700px;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform var(--transition-speed), background var(--transition-speed), color var(--transition-speed);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: #173a2f;
}

.btn-secondary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--secondary-color);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ece7df;
}

.nav-wrapper {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
}

.logo span {
  display: block;
  line-height: 1.1;
}

.logo-title {
  font-weight: 700;
}

.logo-tagline {
  color: var(--muted-text);
  font-size: 0.75rem;
}

.nav-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
}

.site-nav {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid #ece7df;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: all var(--transition-speed);
}

.site-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav ul {
  padding: 0.5rem 0.75rem;
  display: grid;
  gap: 0.75rem;
}

.site-nav a {
  font-weight: 500;
}

.hero {
  background: linear-gradient(130deg, rgba(31, 79, 63, 0.95), rgba(30, 36, 33, 0.84)),
    url("https://images.unsplash.com/photo-1565183997392-2f6f122e5912?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
  padding: 6.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.wood-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wood-strip {
  position: absolute;
  height: 110px;
  width: 45%;
  background: linear-gradient(90deg, rgba(160, 120, 82, 0.07), rgba(255, 255, 255, 0.02), rgba(160, 120, 82, 0.07));
  border-radius: 999px;
  transform: rotate(-6deg);
  animation: timberFloat 8s ease-in-out infinite;
}

.wood-strip:nth-child(1) { top: 15%; left: -5%; }
.wood-strip:nth-child(2) { top: 45%; right: -10%; animation-delay: 1.5s; }
.wood-strip:nth-child(3) { bottom: 12%; left: 20%; animation-delay: 3s; }

@keyframes timberFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero h1 {
  font-family: "Cormorant Garamond", var(--heading-font);
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.hero p {
  color: #f0efe9;
  max-width: 620px;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-stats article {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid #efeae2;
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.card p {
  color: var(--muted-text);
}

.service-card .service-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.service-card .service-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf2ee;
  border: 1px solid #d7e6dd;
  font-size: 1rem;
  flex-shrink: 0;
}

.service-card h3 {
  margin-bottom: 0;
}

.bg-soft {
  background: var(--secondary-color);
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.project-grid {
  display: grid;
  gap: 1.1rem;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid #e9e2d8;
  background: var(--white);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.project-content {
  padding: 1rem;
}

.badge {
  display: inline-block;
  background: #eef4f1;
  color: var(--primary-color);
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  margin-bottom: 0.6rem;
}

.before-after {
  display: grid;
  gap: 1rem;
}

.testimonial-slider {
  position: relative;
}

.testimonial-card {
  border: 1px solid #e6ddd2;
  border-radius: var(--radius-md);
  padding: 1.6rem;
  background: var(--white);
  display: none;
}

.testimonial-card.active {
  display: block;
}

.testimonial-controls {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
}

.testimonial-controls button {
  border: 1px solid var(--border-color);
  background: var(--white);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid #ddd4c9;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 0;
  padding: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-item p {
  padding: 0 1rem 1rem;
  color: var(--muted-text);
  display: none;
}

.faq-item.open p {
  display: block;
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.quote-form label {
  font-weight: 600;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 0.35rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #d8d0c4;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.quote-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  font-weight: 600;
}

.form-status.success { color: #1d7d4c; }
.form-status.error { color: #b13737; }

.location-box {
  background: #1f2523;
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.site-footer {
  background: #111413;
  color: #eef3ef;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-grid p {
  color: #c6cec8;
}

.footer-links a:hover {
  color: #ffffff;
}

.copyright {
  border-top: 1px solid #2d3431;
  margin-top: 1.5rem;
  padding-top: 1rem;
  color: #9eaba2;
  font-size: 0.9rem;
}

.call-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  z-index: 998;
  box-shadow: var(--shadow-soft);
}

.page-hero {
  background: linear-gradient(120deg, #1f4f3f, #2d3632);
  color: var(--white);
  padding: 4rem 0;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }

@media (min-width: 768px) {
  .site-nav {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border: 0;
    background: transparent;
  }

  .site-nav ul {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .nav-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
  }

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

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

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

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

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.project-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.project-slider-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.project-slide {
  min-width: 100%;
}

.project-slide .project-card img {
  height: clamp(280px, 40vw, 460px);
}

.project-slider-controls {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.project-slider-buttons {
  display: flex;
  gap: 0.7rem;
}

.project-slider-buttons button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.project-slider-dots {
  display: inline-flex;
  gap: 0.5rem;
}

.project-slider-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #c7beb3;
  cursor: pointer;
}

.project-slider-dots button.active {
  background: var(--primary-color);
}

.sticky-quote-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  width: min(980px, calc(100% - 2rem));
  background: linear-gradient(120deg, #142f26, #1f4f3f 55%, #3a2f25);
  color: var(--white);
  border-radius: 999px;
  padding: 0.7rem 0.9rem 0.7rem 1rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.sticky-quote-bar p {
  font-size: 0.93rem;
}

.sticky-quote-bar .btn {
  white-space: nowrap;
  background: #f2e8dc;
  color: #1a332a;
}

@media (max-width: 767px) {
  .sticky-quote-bar {
    border-radius: 14px;
    width: calc(100% - 1rem);
    left: 0.5rem;
    right: 0.5rem;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.75rem;
  }

  .sticky-quote-bar .btn {
    width: fit-content;
    min-width: 150px;
    max-width: 100%;
    align-self: flex-start;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .site-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0 0.75rem;
    display: none;
    z-index: 1100;
  }

  .site-nav.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav ul {
    width: min(420px, 100%);
    margin: 0 auto;
    padding: 0.5rem !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    background: #ffffff;
    border: 1px solid #e6dfd5;
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.55rem 0.5rem;
    border-radius: 8px;
  }

  .site-nav li .btn {
    width: 100%;
    max-width: none;
    margin: 0.2rem 0 0;
    padding: 0.7rem 1rem;
  }

  .hero-grid,
  .split,
  .card-grid,
  .project-grid,
  .before-after,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4.2rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
}

@media (max-width: 420px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .sticky-quote-bar {
    width: calc(100% - 0.75rem);
    left: 0.375rem;
    right: 0.375rem;
    padding: 0.65rem;
  }

  .sticky-quote-bar p {
    font-size: 0.85rem;
  }
}
