:root {
  --paper: #fbf8f1;
  --white: #ffffff;
  --ink: #191716;
  --muted: #756b61;
  --charcoal: #24201d;
  --gold: #c99b47;
  --gold-soft: #ead9b9;
  --wood: #8d5f3d;
  --line: rgba(25, 23, 22, 0.12);
  --shadow: 0 24px 60px rgba(31, 24, 18, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 248, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--gold);
  box-shadow: 0 12px 24px rgba(201, 155, 71, 0.25);
  flex-shrink: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #403832;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--gold), #f4d992);
  box-shadow: 0 14px 28px rgba(201, 155, 71, 0.26);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
}

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

.section {
  padding: 86px 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.section-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  color: var(--white);
  background: #171412;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 14, 12, 0.82), rgba(17, 14, 12, 0.42), rgba(17, 14, 12, 0.22));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  display: grid;
  align-content: center;
  padding: 80px 0;
}

.hero-kicker {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--gold);
}

.stats-strip {
  background: var(--charcoal);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat {
  padding: 28px;
  background: var(--charcoal);
}

.stat strong {
  display: block;
  color: var(--gold-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(32, 25, 19, 0.06);
}

.service-card {
  padding: 28px;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--charcoal);
  background: var(--gold-soft);
  border-radius: var(--radius);
  font-size: 1.4rem;
}

.service-card h3,
.feature h3,
.project-card h3,
.testimonial h3 {
  margin: 0;
  font-size: 1.18rem;
}

.service-card p,
.feature p,
.project-card p,
.testimonial p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 46px;
  align-items: center;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.wood-panel {
  background:
    linear-gradient(135deg, rgba(141, 95, 61, 0.92), rgba(64, 43, 30, 0.95)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1400&q=80");
  color: var(--white);
}

.wood-panel .section-title,
.wood-panel .section-lead {
  color: var(--white);
}

.model-wrap {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
}

#interior-model {
  width: 100%;
  height: 520px;
}

.comparison {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #ddd0c0;
}

.comparison img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.comparison .after {
  clip-path: inset(0 0 0 50%);
}

.comparison input {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  cursor: ew-resize;
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.02);
}

.compare-line::after {
  content: "Drag";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--charcoal);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.compare-label {
  position: absolute;
  top: 18px;
  z-index: 4;
  padding: 7px 12px;
  border-radius: 99px;
  color: var(--white);
  background: rgba(25, 23, 22, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-label.before {
  left: 18px;
}

.compare-label.after-label {
  right: 18px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-body {
  padding: 20px;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 99px;
  color: #4f351f;
  background: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}

.filter-btn {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.filter-btn.active {
  color: var(--charcoal);
  border-color: var(--gold);
  background: var(--gold-soft);
}

.feature {
  padding: 28px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.74);
}

.testimonial {
  padding: 28px;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.cta {
  padding: 64px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(25, 23, 22, 0.92), rgba(25, 23, 22, 0.65)),
    url("https://images.unsplash.com/photo-1600566753151-384129cf4e3e?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.page-hero {
  padding: 94px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(25, 23, 22, 0.88), rgba(25, 23, 22, 0.46)),
    var(--hero-image) center/cover;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1;
}

.page-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 22px;
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.contact-panel {
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 155, 71, 0.14);
}

.form-status {
  min-height: 24px;
  color: #116a35;
  font-weight: 800;
}

.map {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius);
  filter: saturate(0.88);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-list a,
.contact-list p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.lightbox,
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(12, 10, 9, 0.82);
}

.lightbox.open,
.project-modal.open {
  display: grid;
}

.lightbox img {
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-card {
  width: min(920px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
}

.modal-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.modal-body {
  padding: 28px;
}

.close-modal {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.36);
  cursor: pointer;
  font-size: 1.4rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.35);
  font-weight: 900;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #171412;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding: 60px 0;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
  color: var(--white);
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 10px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .grid-4,
  .grid-3,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 62px 0;
  }

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .portfolio-grid,
  .footer-grid,
  .stats-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 34px 24px;
  }

  .comparison,
  .media-frame img,
  #interior-model,
  .model-wrap {
    height: 390px;
    min-height: 390px;
  }

  .modal-card img {
    height: 280px;
  }
}
