﻿:root {
  --ivory: #f7f3ed;
  --white: #ffffff;
  --charcoal: #242424;
  --ink: #171717;
  --wood: #8a6746;
  --beige: #d8c7b3;
  --gold: #b89b72;
  --sage: #7d8773;
  --muted: #6f685f;
  --line: rgba(36, 36, 36, .13);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
}

body.menu-open,
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
img[data-protected-image],
.project-card img,
.project-modal-media img,
.project-thumb img,
.detail-hero-image img,
.detail-gallery-item img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(184, 155, 114, .55); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 0 4.5vw;
  background: rgba(23, 23, 23, .86);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: min-height .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(20, 20, 20, .94);
  border-bottom-color: rgba(184, 155, 114, .26);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
}

.site-header.is-scrolled .nav a {
  padding-top: 22px;
  padding-bottom: 22px;
}

.site-header.is-scrolled .nav a::after {
  bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(184, 155, 114, .75);
  border-radius: 50%;
  padding: 3px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font: 700 13px var(--serif);
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 4px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: #d8c7b3;
  font-size: 10px;
  letter-spacing: 1.2px;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 28px 0;
  color: rgba(255, 255, 255, .82);
  transition: color .2s ease, padding .28s ease;
}

.nav a:hover,
.nav a.active { color: var(--white); }

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  height: 1px;
  transform: scaleX(0);
  background: var(--gold);
  transition: transform .25s ease, bottom .28s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang-toggle,
.menu-toggle {
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: var(--white);
}

.lang-toggle {
  min-width: 72px;
  height: 42px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transform-origin: center;
  transition: transform .28s ease, opacity .2s ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  border-color: rgba(184, 155, 114, .8);
  background: rgba(184, 155, 114, .12);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  overflow: hidden;
  transition: transform .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary { background: var(--gold); color: #17130f; }
.btn-primary:hover { background: #c9ad83; }
.btn-ghost { border-color: rgba(255, 255, 255, .65); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--charcoal); }

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -65%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .36), transparent);
  transform: skewX(-18deg);
  transition: left .58s ease;
}

.btn-primary:hover::after {
  left: 122%;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media,
.hero-shade,
.cta-media {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("../images/optimized/content/POST 2 LIVING ROOM/POST 2 LIVING ROOM - 4.jpg") center / cover;
  transform: scale(1.02);
  animation: heroSlowZoom 18s ease-out forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 19, 17, .92) 0%, rgba(28, 26, 23, .65) 45%, rgba(28, 26, 23, .16) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 92vw);
  padding: 14vh 4.5vw 120px;
  color: var(--white);
}

.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
}

.hero-content.visible > * {
  animation: heroTextReveal .78s cubic-bezier(.2, .8, .2, 1) forwards;
}

.hero-content.visible > :nth-child(1) { animation-delay: .08s; }
.hero-content.visible > :nth-child(2) { animation-delay: .2s; }
.hero-content.visible > :nth-child(3) { animation-delay: .32s; }
.hero-content.visible > :nth-child(4) { animation-delay: .44s; }

.eyebrow {
  margin: 0 0 18px;
  color: #d9bc8f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--wood); }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font: 600 clamp(48px, 7vw, 92px) / .98 var(--serif);
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-strip {
  position: absolute;
  z-index: 3;
  left: 4.5vw;
  right: 4.5vw;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: var(--white);
}

.hero-strip span {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(0);
  transition: background .24s ease, color .24s ease, transform .24s ease;
}

.hero-strip span:hover {
  background: rgba(184, 155, 114, .16);
  color: #f1d6aa;
  transform: translateY(-2px);
}

.hero-strip span:last-child { border-right: 0; }
.section { padding: 90px 4.5vw; }
.section.dark { background: var(--charcoal); color: var(--white); }
.section.light { background: var(--ivory); }

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 680px) minmax(220px, 420px);
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}

.section-head.compact { grid-template-columns: minmax(260px, 820px); }
.section-head h1,
.section-head h2 {
  margin: 0;
  font: 600 clamp(32px, 4vw, 54px) / 1.12 var(--serif);
}

.section-head p:not(.eyebrow),
.about-copy p,
.contact-intro p {
  color: var(--muted);
  line-height: 1.75;
}

.dark .section-head p:not(.eyebrow),
.dark .about-copy p,
.dark .contact-intro p { color: rgba(255, 255, 255, .72); }

.feature-grid,
.service-grid,
.pricing-grid,
.testimonial-grid,
.article-grid {
  display: grid;
  gap: 18px;
}

.feature-grid { grid-template-columns: repeat(4, 1fr); }
.feature,
.service-card,
.price-card,
.article-card,
.faq-list details,
.consult-form,
.estimator,
.testimonial-grid blockquote {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
}

.feature {
  padding: 28px;
}

.feature span,
.step span {
  color: var(--wood);
  font: 700 15px var(--serif);
}

.feature h3,
.step h3,
.service-card h3,
.price-card h3,
.article-card h3 {
  margin: 18px 0 10px;
  font: 600 22px / 1.22 var(--serif);
}

.feature p,
.service-card p,
.step p,
.price-card p,
.article-card p,
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
}

.about {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 0;
  padding: 0;
}

.about-photo {
  min-height: 640px;
  background: url("../images/optimized/content/POST 7 KAMAR MANDI/Enscape_2026-01-14-14-19-10.jpg") center / cover;
}

.about-copy { padding: 90px 7vw; }
.about-copy h1,
.about-copy h2 {
  margin-bottom: 24px;
  font: 600 clamp(32px, 4vw, 56px) / 1.12 var(--serif);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 36px 0;
}

.stats strong {
  display: block;
  color: #d9bc8f;
  font: 600 34px var(--serif);
}

.stats span {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.text-link {
  color: var(--wood);
  font-weight: 800;
}

.light-link { color: #d9bc8f; }

.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card { overflow: hidden; }
.service-card img,
.article-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--beige);
}

.service-card h3,
.service-card p,
.service-card a,
.article-card h3,
.article-card p,
.article-card a,
.article-card span { margin-left: 22px; margin-right: 22px; }
.service-card h3 { margin-top: 22px; }
.service-card a,
.article-card a {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--wood);
  font-size: 13px;
  font-weight: 800;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter,
.style-chip {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: currentColor;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 700;
}

.filter.active,
.filter:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130f;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #191919;
  cursor: pointer;
  transition: transform .38s cubic-bezier(.2, .8, .2, 1), box-shadow .38s ease;
}

.project-card.featured { grid-column: 1 / -1; }
.project-card.tall { grid-row: span 2; }
.project-card img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: .82;
  pointer-events: none;
  transition: transform .62s cubic-bezier(.2, .8, .2, 1), opacity .3s ease, filter .3s ease;
}

.project-card::after {
  content: "KDS";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  color: rgba(255, 255, 255, .48);
  font: 800 12px var(--serif);
  letter-spacing: 4px;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.project-card:hover img {
  transform: scale(1.055);
  opacity: .68;
  filter: saturate(1.05) contrast(1.03);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 68px rgba(0, 0, 0, .32);
}

.project-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px 24px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, 0));
  transform: translateY(10px);
  transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}

.project-card:hover div { transform: translateY(0); }

.project-card span,
.article-card span {
  display: block;
  color: #d9bc8f;
  font-size: 12px;
  font-weight: 800;
}

.project-card h3 { margin: 10px 0 6px; font: 600 28px var(--serif); }
.project-card p { margin: 0; max-width: 640px; color: rgba(255, 255, 255, .78); }
.project-card small {
  display: inline-flex;
  margin-top: 16px;
  color: #f1d6aa;
  font-size: 12px;
  font-weight: 800;
}

.project-badges,
.project-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.project-status-badges {
  margin-top: 12px;
}

.project-badges b,
.project-status-badges b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 800;
}

.project-badges b:first-child,
.project-status-badges b:first-child {
  background: rgba(184, 155, 114, .92);
  border-color: rgba(184, 155, 114, .95);
  color: #17130f;
}
.project-card.is-hidden { display: none; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-card {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  background: #191919;
  cursor: zoom-in;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .14) 42%, rgba(255, 255, 255, .04) 80%);
  background-size: 220% 100%;
  animation: shimmer 1.35s ease-in-out infinite;
  pointer-events: none;
}

.gallery-card:nth-child(7n + 1),
.gallery-card:nth-child(7n + 5) {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 576px;
}

.gallery-card img {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  pointer-events: none;
  transition: transform .35s ease, opacity .25s ease;
}

.gallery-card.is-loading img {
  opacity: .16;
}

.gallery-card:not(.is-loading)::before {
  display: none;
}

.gallery-card:hover img {
  transform: scale(1.035);
  opacity: .82;
}

.gallery-modal .project-modal-panel {
  width: min(1320px, 96vw);
  grid-template-columns: minmax(0, 1fr);
}

.gallery-modal .project-modal-media {
  min-height: min(78vh, 760px);
}

.gallery-modal .project-modal-media img {
  height: min(78vh, 760px);
  max-height: none;
}

.gallery-modal .project-modal-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 88px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  padding: 72px 24px 20px;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.gallery-modal .project-modal-info p {
  display: none;
}

.gallery-modal .project-modal-info h3 {
  margin-bottom: 6px;
  font-size: 30px;
}

.gallery-modal .project-modal-info small {
  grid-column: 1;
}

.gallery-modal .project-modal-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
  pointer-events: auto;
}

.gallery-modal .project-modal-actions .btn {
  white-space: nowrap;
}

.gallery-filters {
  margin-bottom: 28px;
}

.gallery-load-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.gallery-load-more [hidden] {
  display: none;
}

.gallery-card figcaption {
  z-index: 2;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 6px;
  padding: 70px 18px 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0));
  color: var(--white);
}

.gallery-card span {
  color: #d9bc8f;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-card strong {
  font: 600 22px / 1.15 var(--serif);
}

.gallery-card small {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: rgba(255, 255, 255, .52);
  font-weight: 900;
}

.project-modal[hidden] { display: none; }
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .36s ease;
}

.project-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 12, 12, .82);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .3s ease;
}

.project-modal.is-open .project-modal-backdrop { opacity: 1; }

.project-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 96vw);
  max-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  overflow: hidden;
  background: #191919;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity .42s ease, transform .42s cubic-bezier(.2, .8, .2, 1);
}

.project-modal.is-open .project-modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-modal-close,
.project-modal-nav,
.project-thumb {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(23, 23, 23, .72);
  color: var(--white);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
}

.project-modal-close:hover,
.project-modal-nav:hover {
  background: rgba(184, 155, 114, .92);
  border-color: var(--gold);
  color: #17130f;
}

.project-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  font-size: 20px;
  font-weight: 800;
}

.project-modal-media {
  position: relative;
  min-height: 560px;
  background: #101010;
  touch-action: pan-y;
}

.project-modal-media::after,
.detail-hero-image::after,
.detail-gallery-item::after {
  content: "KDS";
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: rgba(255, 255, 255, .42);
  font: 800 13px var(--serif);
  letter-spacing: 4px;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.project-modal-media img {
  width: 100%;
  height: 100%;
  max-height: 72vh;
  object-fit: contain;
  opacity: 1;
  pointer-events: none;
  transform: scale(1);
  transition: opacity .3s ease, transform .3s ease;
}

.project-modal-media img.is-loading,
.detail-hero-image img.is-loading,
.detail-gallery-item img.is-loading {
  opacity: .18;
}

.project-modal-media img.is-switching {
  opacity: 0;
  transform: scale(.995);
}

.project-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 58px;
  transform: translateY(-50%);
  font-size: 36px;
  line-height: 1;
}

.project-modal-nav.prev { left: 16px; }
.project-modal-nav.next { right: 16px; }
.project-modal-nav.prev:hover { transform: translateY(-50%) translateX(-2px); }
.project-modal-nav.next:hover { transform: translateY(-50%) translateX(2px); }

.project-modal-info {
  padding: 56px 28px 22px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.project-modal-info span {
  display: block;
  color: #d9bc8f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-modal-info h3 {
  margin: 14px 0;
  font: 600 34px / 1.12 var(--serif);
}

.project-modal-info p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .76);
  line-height: 1.75;
}

.project-modal-info small {
  color: rgba(255, 255, 255, .64);
  font-weight: 800;
}

.project-modal-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.detail-project-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.detail-project-nav a {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.detail-project-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 155, 114, .65);
  background: rgba(255, 255, 255, .11);
}

.detail-project-nav span {
  display: block;
  color: #d9bc8f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-project-nav strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .92);
  font: 600 20px / 1.15 var(--serif);
}

.project-modal-thumbs {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.project-thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  opacity: .58;
}

.project-thumb.active,
.project-thumb:hover {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.project-thumb.active {
  box-shadow: 0 0 0 2px rgba(184, 155, 114, .2);
}

.project-thumb img {
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.detail-page {
  background: var(--charcoal);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  min-height: calc(100vh - 76px);
  background: var(--charcoal);
  color: var(--white);
}

.detail-hero-image {
  position: relative;
  min-height: 620px;
  background: #101010;
}

.detail-hero-image img {
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.detail-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw 5vw;
}

.detail-hero-copy .text-link {
  width: fit-content;
  margin-bottom: 34px;
  font-size: 13px;
}

.detail-hero-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 5vw, 72px);
}

.detail-hero-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, .76);
  font-size: 17px;
  line-height: 1.8;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

.detail-story h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font: 600 clamp(32px, 4vw, 54px) / 1.12 var(--serif);
}

.detail-story p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.detail-challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.detail-challenge-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .78);
}

.detail-challenge-grid span {
  display: block;
  color: var(--wood);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-challenge-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.detail-spec-card,
.detail-insight,
.detail-scope-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .78);
}

.detail-spec-card {
  position: sticky;
  top: 96px;
  padding: 26px;
}

.detail-spec-card h3 {
  margin: 0 0 18px;
  font: 600 24px var(--serif);
}

.detail-spec-card dl {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.detail-spec-card dl div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-spec-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-spec-card dd {
  margin: 5px 0 0;
  color: var(--charcoal);
  font-weight: 800;
}

.detail-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.detail-insight {
  padding: 24px;
}

.detail-insight span {
  color: var(--wood);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-insight p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.detail-gallery-item {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  background: var(--beige);
}

.project-modal-media::before,
.detail-hero-image::before,
.detail-gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .14) 42%, rgba(255, 255, 255, .04) 80%);
  background-size: 220% 100%;
  animation: shimmer 1.35s ease-in-out infinite;
  pointer-events: none;
}

.project-modal-media:has(img:not(.is-loading))::before,
.detail-hero-image:has(img:not(.is-loading))::before,
.detail-gallery-item:has(img:not(.is-loading))::before {
  display: none;
}

.project-modal-media img,
.detail-hero-image img,
.detail-gallery-item img {
  position: relative;
  z-index: 1;
}

@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

.detail-gallery-item:nth-child(5n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.detail-gallery-item img {
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  pointer-events: none;
  transition: transform .35s ease;
}

.detail-gallery-item:hover img {
  transform: scale(1.035);
}

.detail-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.detail-consult-section .feature {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
}

.detail-consult-section .feature p {
  color: rgba(255, 255, 255, .7);
}

.detail-scope-card {
  margin-top: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
}

.detail-scope-card ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-scope-card li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.detail-bottom-cta {
  margin-top: 28px;
}

.portfolio-consult {
  border-top: 1px solid var(--line);
}

.style-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.style-chip {
  border-color: var(--line);
  background: var(--white);
  color: var(--charcoal);
}

.style-chip.active,
.style-chip:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.area-chip {
  cursor: default;
}

.area-chip:hover {
  background: var(--white);
  border-color: var(--line);
  color: var(--charcoal);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step {
  min-height: 214px;
  padding: 24px;
  border-left: 1px solid var(--beige);
  background: rgba(255, 255, 255, .42);
}

.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.price-card {
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}

.price-card.featured {
  background: rgba(184, 155, 114, .14);
  border-color: var(--gold);
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  background: var(--gold);
  color: #17130f;
  font-size: 11px;
  font-weight: 800;
}

.price-card strong {
  display: block;
  margin: 18px 0;
  color: #d9bc8f;
  font: 600 24px var(--serif);
}

.price-card ul {
  min-height: 230px;
  margin: 0 0 26px;
  padding-left: 19px;
  color: rgba(255, 255, 255, .76);
  line-height: 1.9;
}

.estimator {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  padding: 12px 13px;
  font-size: 16px;
  resize: vertical;
}

.estimate-result {
  grid-column: span 2;
  padding: 22px;
  background: var(--charcoal);
  color: var(--white);
}

.estimate-result span { color: #d9bc8f; font-size: 12px; font-weight: 800; }
.estimate-result strong {
  display: block;
  margin: 10px 0;
  font: 600 30px var(--serif);
}
.estimate-result p { color: rgba(255, 255, 255, .72); line-height: 1.65; }

.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid blockquote {
  margin: 0;
  padding: 28px;
}

.stars {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--sage);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  border-radius: 50%;
}

.testimonial-grid cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-weight: 800;
}

.testimonial-grid cite span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.article-grid { grid-template-columns: repeat(3, 1fr); }
.article-card { overflow: hidden; }
.article-card span { margin-top: 20px; color: var(--wood); }

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details { padding: 20px 24px; }
.faq-list summary {
  font-weight: 800;
  cursor: pointer;
}

.faq-list p { margin: 14px 0 0; }

.cta-section {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: center;
  padding: 80px 4.5vw;
  color: var(--white);
  overflow: hidden;
}

.cta-media {
  background:
    linear-gradient(90deg, rgba(23, 23, 23, .92), rgba(23, 23, 23, .38)),
    url("../images/optimized/content/POST 2 LIVING ROOM/POST 2 LIVING ROOM - 5.jpg") center / cover;
}

.cta-content {
  position: relative;
  max-width: 710px;
}

.cta-content h2 {
  margin-bottom: 18px;
  font: 600 clamp(34px, 5vw, 64px) / 1.05 var(--serif);
}

.cta-content p {
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-list span {
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, .72);
}

.contact-list b { color: var(--white); }
.map-box {
  display: grid;
  gap: 12px;
  min-height: 170px;
  margin-top: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .66);
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  filter: grayscale(.25) contrast(.95);
}

.map-box a {
  display: inline-flex;
  margin: 0 18px 18px;
  color: #d9bc8f;
  font-weight: 800;
}

.map-box a:hover {
  color: var(--white);
}

@media (min-width: 861px) {
  .contact-section {
    align-items: stretch;
  }

  .contact-intro {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .map-box {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
  }

  .map-box iframe {
    flex: 1;
    min-height: 0;
    height: 100%;
  }
}

.consult-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 28px;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}

.consult-form h3,
.wide { grid-column: 1 / -1; }

.consult-form h3 {
  margin: 0 0 8px;
  color: var(--white);
  font: 600 28px var(--serif);
}

.consult-form label { color: var(--white); }
.consult-form input,
.consult-form select,
.consult-form textarea {
  background: #191919;
  border-color: rgba(255, 255, 255, .16);
  color: var(--white);
}

.consult-form input,
.consult-form select {
  min-height: 50px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .78);
  font-weight: 500;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1f9f55;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .25);
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
  animation: whatsappBreath 3.8s ease-in-out infinite;
}

.float-wa:hover {
  background: #23ad5e;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .3);
}

.float-wa img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 32px;
  padding: 56px 4.5vw 24px;
  background: #141414;
  color: rgba(255, 255, 255, .7);
}

.footer .brand-logo {
  width: 116px;
  height: 116px;
}

.footer .brand {
  display: grid;
  grid-template-columns: 116px minmax(180px, 1fr);
  align-items: center;
  gap: 22px;
  width: min(390px, 100%);
  min-width: 320px;
  text-align: left;
}

.footer .brand span {
  padding-top: 0;
}

.footer .brand strong {
  font-size: 22px;
  line-height: 1;
  letter-spacing: 5px;
}

.footer .brand small {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 1.4px;
  color: #f1d6aa;
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin: 10px 0;
}

.footer .social-links a,
.footer .footer-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .82);
}

.footer .social-links a::before {
  content: "";
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  background: url("../images/instagram.svg") center / contain no-repeat;
}

.footer .social-links a:hover,
.footer .footer-inline-link:hover {
  color: #f1d6aa;
}

.footer p {
  line-height: 1.7;
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h2 {
  margin: 34px 0 10px;
  font: 600 28px / 1.2 var(--serif);
}

.legal-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.footer > div:first-child > p {
  max-width: 380px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.85;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform;
}

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

.feature-grid .reveal:nth-child(2),
.service-grid .reveal:nth-child(2),
.portfolio-grid .reveal:nth-child(2),
.testimonial-grid .reveal:nth-child(2),
.article-grid .reveal:nth-child(2) { transition-delay: .08s; }

.feature-grid .reveal:nth-child(3),
.service-grid .reveal:nth-child(3),
.portfolio-grid .reveal:nth-child(3),
.testimonial-grid .reveal:nth-child(3),
.article-grid .reveal:nth-child(3) { transition-delay: .16s; }

.feature-grid .reveal:nth-child(4),
.service-grid .reveal:nth-child(4),
.portfolio-grid .reveal:nth-child(4),
.article-grid .reveal:nth-child(4) { transition-delay: .24s; }

@keyframes heroSlowZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.095);
  }
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whatsappBreath {
  0%, 100% {
    box-shadow: 0 18px 42px rgba(0, 0, 0, .25), 0 0 0 0 rgba(31, 159, 85, .22);
  }
  50% {
    box-shadow: 0 18px 42px rgba(0, 0, 0, .25), 0 0 0 11px rgba(31, 159, 85, 0);
  }
}

@media (max-width: 1180px) {
  .header-cta { display: none; }
  .nav { gap: 18px; font-size: 13px; }
  .site-header { min-height: 68px; padding: 0 28px; }
  .site-header.is-scrolled { min-height: 62px; }
  .brand { min-width: auto; }
  .brand small { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 28px 26px;
    background:
      linear-gradient(135deg, rgba(184, 155, 114, .16), transparent 42%),
      rgba(23, 23, 23, .98);
    border-bottom: 1px solid rgba(184, 155, 114, .42);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px) scaleY(.96);
    transform-origin: top;
    transition: opacity .28s ease, transform .34s cubic-bezier(.2, .8, .2, 1);
    backdrop-filter: blur(18px);
    overflow: hidden;
  }
  .site-header.is-scrolled .nav {
    inset: 62px 0 auto;
  }
  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scaleY(1);
  }
  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    opacity: 0;
    transform: translateX(-14px);
    transition: color .2s ease, opacity .28s ease, transform .28s ease, padding-left .2s ease;
  }
  .nav.open a {
    opacity: 1;
    transform: translateX(0);
  }
  .nav.open a:nth-child(1) { transition-delay: .04s; }
  .nav.open a:nth-child(2) { transition-delay: .07s; }
  .nav.open a:nth-child(3) { transition-delay: .1s; }
  .nav.open a:nth-child(4) { transition-delay: .13s; }
  .nav.open a:nth-child(5) { transition-delay: .16s; }
  .nav.open a:nth-child(6) { transition-delay: .19s; }
  .nav.open a:nth-child(7) { transition-delay: .22s; }
  .nav.open a:nth-child(8) { transition-delay: .25s; }
  .nav a:hover,
  .nav a.active {
    padding-left: 10px;
  }
  .nav a::after { display: none; }
  .service-grid,
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .estimator { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .site-header { min-height: 68px; padding: 0 20px; }
  .site-header.is-scrolled { min-height: 62px; }
  .brand { min-width: auto; }
  .brand small { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 22px 26px;
    background:
      linear-gradient(135deg, rgba(184, 155, 114, .16), transparent 42%),
      rgba(23, 23, 23, .98);
    border-bottom: 1px solid rgba(184, 155, 114, .42);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px) scaleY(.96);
    transform-origin: top;
    transition: opacity .28s ease, transform .34s cubic-bezier(.2, .8, .2, 1);
    backdrop-filter: blur(18px);
    overflow: hidden;
  }
  .site-header.is-scrolled .nav {
    inset: 62px 0 auto;
  }
  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scaleY(1);
  }
  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    opacity: 0;
    transform: translateX(-14px);
    transition: color .2s ease, opacity .28s ease, transform .28s ease, padding-left .2s ease;
  }
  .nav.open a {
    opacity: 1;
    transform: translateX(0);
  }
  .nav.open a:nth-child(1) { transition-delay: .04s; }
  .nav.open a:nth-child(2) { transition-delay: .07s; }
  .nav.open a:nth-child(3) { transition-delay: .1s; }
  .nav.open a:nth-child(4) { transition-delay: .13s; }
  .nav.open a:nth-child(5) { transition-delay: .16s; }
  .nav.open a:nth-child(6) { transition-delay: .19s; }
  .nav.open a:nth-child(7) { transition-delay: .22s; }
  .nav.open a:nth-child(8) { transition-delay: .25s; }
  .nav a:hover,
  .nav a.active {
    padding-left: 10px;
  }
  .nav a::after { display: none; }
  .hero { min-height: 720px; }
  .hero-content { padding: 96px 22px 128px; }
  .hero-strip {
    left: 22px;
    right: 22px;
    grid-template-columns: 1fr;
  }
  .hero-strip span {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }
  .section { padding: 68px 22px; }
  .section-head,
  .about,
  .contact-section,
  .detail-hero {
    grid-template-columns: 1fr;
  }
  .detail-hero { min-height: auto; }
  .detail-hero-image { min-height: 420px; }
  .detail-hero-copy { padding: 54px 22px 68px; }
  .detail-gallery,
  .detail-benefits,
  .detail-overview,
  .detail-insight-grid,
  .detail-challenge-grid,
  .detail-scope-card ul,
  .detail-project-nav {
    grid-template-columns: 1fr;
  }
  .detail-spec-card { position: static; }
  .detail-gallery-item:nth-child(5n + 1) {
    grid-column: auto;
    grid-row: auto;
  }
  .about-photo { min-height: 360px; }
  .about-copy { padding: 68px 22px; }
  .stats,
  .pricing-grid,
  .testimonial-grid,
  .article-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .project-card.tall { grid-row: auto; }
  .project-card,
  .project-card img { min-height: 340px; }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .gallery-card {
    min-height: 220px;
  }
  .gallery-card:nth-child(7n + 1),
  .gallery-card:nth-child(7n + 5) {
    grid-column: span 2;
    grid-row: auto;
    min-height: 360px;
  }
  .gallery-card:nth-child(7n + 3),
  .gallery-card:nth-child(7n + 6) {
    min-height: 300px;
  }
  .project-modal {
    align-items: stretch;
    justify-items: stretch;
    padding: 0;
  }
  .project-modal-panel {
    grid-template-columns: 1fr;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    overflow-y: auto;
    border: 0;
    transform: translateY(10px);
  }
  .project-modal-close {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 46px;
    height: 46px;
  }
  .project-modal-media {
    min-height: 0;
    height: min(56vh, 520px);
    height: min(56dvh, 520px);
  }
  .project-modal-media img {
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
  .project-modal-media img.is-switching {
    transform: none;
  }
  .btn:hover {
    transform: none;
    box-shadow: none;
  }
  .btn:active {
    transform: scale(.985);
  }
  .project-modal-nav {
    background: rgba(23, 23, 23, .82);
  }
  .project-modal-nav.prev { left: 10px; }
  .project-modal-nav.next { right: 10px; }
  .project-modal-info {
    padding: 24px 20px 18px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .project-modal-info p {
    display: none;
  }
  .project-modal-info h3 { font-size: 28px; }
  .gallery-modal .project-modal-info {
    position: relative;
    bottom: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 18px 18px;
    background: #191919;
    pointer-events: auto;
  }
  .gallery-modal .project-modal-info h3 {
    font-size: 26px;
  }
  .gallery-modal .project-modal-actions {
    grid-column: 1;
    grid-row: auto;
  }
  .consult-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .footer { grid-template-columns: 1fr; }
  .footer .brand-logo {
    width: 104px;
    height: 104px;
  }
  .footer .brand {
    display: grid;
    grid-template-columns: 104px minmax(150px, 1fr);
    align-items: center;
    text-align: left;
  }
  .footer .brand span {
    padding-top: 0;
  }
  .footer .brand small {
    display: block;
  }
}

@media (max-width: 560px) {
  .brand-logo,
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: 16px; }
  .lang-toggle { min-width: 66px; height: 38px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .feature-grid,
  .service-grid,
  .timeline,
  .estimator {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .gallery-card {
    min-height: 190px;
  }
  .gallery-card:nth-child(7n + 1),
  .gallery-card:nth-child(7n + 5) {
    grid-column: span 2;
    min-height: 300px;
  }
  .gallery-card:nth-child(7n + 3),
  .gallery-card:nth-child(7n + 6) {
    min-height: 250px;
  }
  .gallery-card figcaption {
    padding: 54px 12px 12px;
  }
  .gallery-card strong {
    font-size: 18px;
  }
  .gallery-card span {
    font-size: 10px;
  }
  .gallery-card small {
    right: 12px;
    bottom: 12px;
  }
  .gallery-modal .project-modal-media,
  .gallery-modal .project-modal-media img {
    min-height: 0;
    height: 58vh;
    height: 58dvh;
  }
  .gallery-modal .project-modal-info h3 {
    font-size: 22px;
  }
  .gallery-modal .project-modal-actions .btn {
    width: 100%;
  }
  .consult-form {
    gap: 12px;
    padding: 20px;
  }
  .consult-form h3 {
    font-size: 24px;
  }
  .consult-form input,
  .consult-form select,
  .consult-form textarea {
    min-height: 52px;
  }
  .check {
    align-items: flex-start;
    line-height: 1.55;
  }
  .project-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .project-modal-actions .btn {
    width: 100%;
  }
  .estimate-result { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .float-wa {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
  .project-modal-nav {
    width: 38px;
    height: 50px;
    font-size: 30px;
  }
  .project-modal-nav.prev { left: 6px; }
  .project-modal-nav.next { right: 6px; }
  .project-thumb {
    flex-basis: 74px;
    width: 74px;
    height: 54px;
  }
  .footer .brand {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
  }
  .footer .brand-logo {
    width: 92px;
    height: 92px;
  }
  .footer .brand strong {
    font-size: 19px;
    letter-spacing: 4px;
  }
  .footer .brand small {
    font-size: 11px;
    letter-spacing: 1.2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .project-card:hover,
  .project-card:hover img,
  .project-card:hover div,
  .project-modal-panel,
  .project-modal-media img,
  .hero-media,
  .hero-content > *,
  .float-wa {
    transform: none !important;
    animation: none !important;
  }
}
