:root {
  --bg: #faf9f7;
  --bg-alt: #f0ede7;
  --bg-dark: #0c0a09;
  --text: #171412;
  --muted: #6b6259;
  --accent: #a16207;
  --accent-soft: rgba(161, 98, 7, 0.16);
  --accent-dark: #7c4a05;
  --navy: #1c1917;
  --navy-soft: rgba(28, 25, 23, 0.08);
  --white: #ffffff;
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.12);
  --radius: 14px;
  --max-width: 1180px;
  --transition: 0.3s ease;
  --section-gap: clamp(3.5rem, 6vw, 6rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Josefin Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.container {
  width: min(90%, var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--accent-dark);
  margin-bottom: 0.9rem;
}

h1, h2, h3, h4 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

p {
  color: var(--muted);
}

.section {
  padding: var(--section-gap) 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.section-light {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-dark p,
.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-heading p {
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e5b262);
  color: #2b2212;
  box-shadow: 0 12px 30px rgba(161, 98, 7, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(161, 98, 7, 0.35);
}

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

.btn-secondary:hover {
  background: #0f0f0f;
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  border-color: rgba(23, 22, 21, 0.4);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(23, 22, 21, 0.2);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.hero-stats-bar .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.hero-stats-bar .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.88);
  backdrop-filter: blur(14px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(23, 22, 21, 0.08);
}

.site-header.scrolled {
  background: rgba(250, 249, 247, 0.96);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.35rem, 2vw, 2.4rem);
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.logo-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  padding: 0.2rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(161, 98, 7, 0.18), rgba(28, 25, 23, 0.12));
  border: 1px solid rgba(28, 25, 23, 0.1);
  box-shadow: 0 12px 24px rgba(28, 25, 23, 0.08);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.logo-lockup {
  display: grid;
  gap: 0.12rem;
  min-width: max-content;
}

.logo-text {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.logo-subtext {
  font-size: 0.64rem;
  line-height: 1;
  color: var(--accent-dark);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: clamp(0.75rem, 1.15vw, 1.25rem);
  font-size: 0.95rem;
  flex: 1 1 auto;
  justify-content: flex-start;
  margin-left: clamp(0.5rem, 1.2vw, 1.4rem);
  min-width: 0;
}

.nav-links a {
  color: var(--muted);
  position: relative;
  white-space: nowrap;
  line-height: 1;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0;
  flex-shrink: 0;
  white-space: nowrap;
  padding-inline: 1.6rem;
}

.lang-switcher {
  position: relative;
  margin-left: 0.45rem;
  flex-shrink: 0;
}

.lang-button {
  border: 1px solid rgba(23, 22, 21, 0.3);
  background: var(--white);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.lang-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: none;
  flex-direction: column;
  overflow: hidden;
  min-width: 140px;
  z-index: 10;
}

.lang-menu button {
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.lang-menu button:hover {
  background: rgba(161, 98, 7, 0.12);
}

.lang-switcher.open .lang-menu {
  display: flex;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: none;
  border: none;
}

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

.scroll-video-hero {
  position: relative;
  height: 380vh;
  background: var(--bg-dark);
}

.scroll-video-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.scroll-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 10, 9, 0.6) 0%,
    rgba(12, 10, 9, 0.15) 35%,
    rgba(12, 10, 9, 0.15) 60%,
    rgba(12, 10, 9, 0.78) 100%
  );
  pointer-events: none;
}

.scroll-video-copy {
  position: relative;
  z-index: 2;
  width: min(90%, 760px);
  height: 60vh;
  max-height: 420px;
}

.scroll-video-line {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.scroll-video-line.is-active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-video-line .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.scroll-video-line h1,
.scroll-video-line h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  max-width: 640px;
  line-height: 1.6;
  margin: 0 auto;
}

.scroll-video-line:nth-child(1) h1 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
}

.scroll-video-line:nth-child(2) h2 {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  line-height: 1.35;
}

.scroll-video-line:nth-child(3) h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
}

.scroll-video-line.is-active .btn {
  pointer-events: auto;
}

.mobile-video-toggle,
.mobile-hero-cta {
  display: none;
}

.mobile-whatsapp-icon svg {
  width: 26px;
  height: 26px;
}

.scroll-video-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  transition: opacity 0.4s ease;
}

.scroll-video-hint-arrow {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.scroll-video-hint-arrow::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollHintMove 1.6s ease-in-out infinite;
}

@keyframes scrollHintMove {
  0% {
    top: -100%;
  }
  60% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

.scroll-video-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-video-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.scroll-video-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
}

.hero-stats-bar {
  padding: 2.4rem 0;
  background: linear-gradient(90deg, #0c0a09, #1c1917, #0c0a09);
  color: rgba(255, 255, 255, 0.85);
}

.hero-stats-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}

.hero-stats-grid {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats-grid div {
  display: grid;
  gap: 0.3rem;
}

.hero-stats-grid strong {
  font-size: 1.2rem;
  color: var(--white);
}

.hero-stats-grid span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.hero-stats-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.trust-bar {
  padding: 1.8rem 0;
  background: linear-gradient(90deg, #0c0a09, #1c1917, #0c0a09);
  color: rgba(255, 255, 255, 0.8);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
  font-weight: 500;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: grid;
  gap: 1rem;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(161, 98, 7, 0.4);
}

.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
  opacity: 0.6;
  transition: var(--transition);
}

.service-card:hover .media-frame img,
.contact-visual:hover .media-frame img {
  transform: scale(1.04);
}

.service-card:hover .media-overlay,
.contact-visual:hover .media-overlay {
  opacity: 0.8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.project-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.project-type-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(161, 98, 7, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86));
  padding: clamp(1.45rem, 2.4vw, 1.9rem);
  border-radius: 24px;
  border: 1px solid rgba(28, 25, 23, 0.08);
  box-shadow: var(--shadow-sm);
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.95rem;
  min-height: 245px;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-type-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  border: 1px solid rgba(28, 25, 23, 0.04);
  pointer-events: none;
}

.project-type-card h3,
.project-type-card p {
  position: relative;
  z-index: 1;
}

.project-type-card:hover {
  transform: translateY(-8px);
  border-color: rgba(161, 98, 7, 0.32);
  box-shadow: 0 24px 56px rgba(12, 10, 9, 0.12);
}

.project-type-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-type-link::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease;
}

.project-type-card:hover .project-type-link::after {
  transform: translateX(5px);
}

.project-type-visual {
  position: relative;
  z-index: 1;
  width: 82px;
  height: 82px;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(161, 98, 7, 0.18), rgba(28, 25, 23, 0.08)),
    var(--white);
  border: 1px solid rgba(28, 25, 23, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 24px rgba(12, 10, 9, 0.08);
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.project-type-visual::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 13px;
  height: 3px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.17);
}

.project-type-card:hover .project-type-visual {
  transform: translateY(-3px) rotate(-1deg);
  background:
    linear-gradient(135deg, rgba(161, 98, 7, 0.24), rgba(28, 25, 23, 0.11)),
    var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 18px 32px rgba(12, 10, 9, 0.12);
}

.project-type-visual .visual-shape,
.project-type-visual .visual-shape::before,
.project-type-visual .visual-shape::after {
  position: absolute;
  display: block;
  content: "";
}

.visual-apartment .visual-shape {
  left: 19px;
  bottom: 16px;
  width: 28px;
  height: 45px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--navy), #100e0c);
  box-shadow: 0 8px 16px rgba(12, 10, 9, 0.16);
}

.visual-apartment .visual-shape::before {
  inset: 8px 6px 7px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) 0 0 / 6px 5px,
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) 100% 0 / 6px 5px,
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) 0 50% / 6px 5px,
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) 100% 50% / 6px 5px,
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) 0 100% / 6px 5px,
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)) 100% 100% / 6px 5px;
  background-repeat: no-repeat;
}

.visual-apartment .visual-shape::after {
  left: 31px;
  bottom: 0;
  width: 20px;
  height: 31px;
  border-radius: 7px 7px 4px 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.visual-house .visual-shape {
  left: 22px;
  bottom: 18px;
  width: 39px;
  height: 31px;
  border-radius: 6px 6px 5px 5px;
  background: linear-gradient(180deg, var(--navy), #120f0c);
  box-shadow: 0 8px 16px rgba(12, 10, 9, 0.15);
}

.visual-house .visual-shape::before {
  left: 2px;
  top: -16px;
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: rotate(45deg);
  transform-origin: center;
}

.visual-house .visual-shape::after {
  left: 14px;
  bottom: 0;
  width: 11px;
  height: 18px;
  border-radius: 5px 5px 2px 2px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: -13px -10px 0 -4px rgba(255, 255, 255, 0.74), 14px -10px 0 -4px rgba(255, 255, 255, 0.74);
}

.visual-commercial .visual-shape {
  left: 18px;
  bottom: 18px;
  width: 47px;
  height: 34px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--navy), #120f0c);
  box-shadow: 0 8px 16px rgba(12, 10, 9, 0.15);
}

.visual-commercial .visual-shape::before {
  left: -3px;
  top: -15px;
  width: 53px;
  height: 18px;
  border-radius: 10px 10px 6px 6px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 10px, rgba(255, 255, 255, 0.92) 10px 19px);
  border: 1px solid rgba(28, 25, 23, 0.08);
}

.visual-commercial .visual-shape::after {
  left: 8px;
  bottom: 8px;
  width: 31px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 -7px 0 -4px rgba(255, 255, 255, 0.7);
}

.visual-renovation .visual-shape {
  left: 18px;
  bottom: 17px;
  width: 46px;
  height: 39px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px) 0 0 / 10px 10px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px) 0 0 / 10px 10px,
    linear-gradient(180deg, var(--navy), #120f0c);
  box-shadow: 0 8px 16px rgba(12, 10, 9, 0.15);
}

.visual-renovation .visual-shape::before {
  right: -4px;
  top: -10px;
  width: 27px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: rotate(-18deg);
  box-shadow: -10px 18px 0 -2px rgba(255, 255, 255, 0.86);
}

.visual-renovation .visual-shape::after {
  right: 6px;
  top: 4px;
  width: 4px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  transform: rotate(-18deg);
}

.detail-main {
  overflow: hidden;
}

.detail-section {
  padding: var(--section-gap) 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.detail-copy {
  display: grid;
  gap: 1.2rem;
}

.detail-copy h2 {
  margin-bottom: 0.2rem;
}

.detail-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin-top: 0.5rem;
}

.detail-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(161, 98, 7, 0.12);
}

.detail-panel {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 8%, rgba(161, 98, 7, 0.16), transparent 36%),
    var(--white);
  border: 1px solid rgba(28, 25, 23, 0.08);
  box-shadow: var(--shadow-md);
}

.detail-panel img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-panel h3 {
  margin-bottom: 0;
}

.detail-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.detail-calculator {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 32px;
  border: 1px solid rgba(28, 25, 23, 0.08);
  box-shadow: var(--shadow-md);
}

.calculator-field-hidden {
  display: none;
}

.calculator-locked-type {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(161, 98, 7, 0.12);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-locked-type::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(161, 98, 7, 0.14);
}

.detail-highlight {
  padding: 1.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(28, 25, 23, 0.08);
  box-shadow: var(--shadow-sm);
}

.detail-highlight strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.detail-cta {
  margin-top: var(--section-gap);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(12, 10, 9, 0.94), rgba(28, 25, 23, 0.9)),
    radial-gradient(circle at 20% 20%, rgba(161, 98, 7, 0.18), transparent 35%);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.detail-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.process-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.8rem;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0.9rem;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(161, 98, 7, 0.35);
}

.process-step {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(161, 98, 7, 0.14);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.comparison {
  --comparison-position: 55%;
  background: var(--white);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 1.5rem;
}

.comparison-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.comparison-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  width: 0;
  pointer-events: none;
}

.comparison-handle::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
}

.comparison-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  background: transparent;
  cursor: pointer;
}

.comparison-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    #d9a84c var(--comparison-position),
    #dad6d0 var(--comparison-position),
    #dad6d0 100%
  );
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.comparison-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -10px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: linear-gradient(180deg, #d59c31, #b7781a);
  box-shadow: 0 8px 18px rgba(151, 96, 11, 0.28);
}

.comparison-range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #dad6d0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.comparison-range::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #d9a84c);
}

.comparison-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: linear-gradient(180deg, #d59c31, #b7781a);
  box-shadow: 0 8px 18px rgba(151, 96, 11, 0.28);
}

.comparison-labels {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
}

.gallery-showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.4rem;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 320px;
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.gallery-tile .media-frame {
  height: 100%;
  aspect-ratio: auto;
  min-height: 320px;
  border-radius: 26px;
}

.gallery-tile-large {
  grid-row: span 2;
  min-height: 660px;
}

.gallery-tile-large .media-frame {
  min-height: 660px;
}

.gallery-tile-wide {
  grid-column: span 2;
  min-height: 360px;
}

.gallery-tile-wide .media-frame {
  min-height: 360px;
}

.gallery-tile:hover .media-frame img {
  transform: scale(1.05);
}

.gallery-tile:hover .media-overlay {
  opacity: 0.86;
}

.gallery-caption {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
}

.gallery-caption span {
  width: fit-content;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-caption h3 {
  color: var(--white);
  max-width: 24rem;
  margin-bottom: 0;
}

.finished-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.35rem 0;
}

.finished-marquee::before,
.finished-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.finished-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(250, 249, 247, 0));
}

.finished-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(250, 249, 247, 0));
}

.finished-track {
  display: flex;
  gap: 1.6rem;
  width: max-content;
  animation: finishedMarquee 28s linear infinite;
  will-change: transform;
}

.finished-card {
  background: var(--white);
  padding: 1.4rem;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
  transition: var(--transition);
  width: min(31vw, 360px);
  min-width: 280px;
}

.finished-card:hover {
  transform: translateY(-6px);
  border-color: rgba(161, 98, 7, 0.4);
}

.finished-card .media-frame {
  aspect-ratio: 4 / 4.5;
}

.finished-card:hover .media-frame img {
  transform: scale(1.04);
}

.finished-card:hover .media-overlay {
  opacity: 0.8;
}

@keyframes finishedMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.8rem));
  }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.why-card {
  background: var(--white);
  padding: 2.2rem;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(161, 98, 7, 0.35);
}

#areas {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 24%, rgba(161, 98, 7, 0.08) 0 6px, transparent 7px),
    radial-gradient(circle at 30% 72%, rgba(161, 98, 7, 0.07) 0 5px, transparent 6px),
    radial-gradient(circle at 57% 18%, rgba(161, 98, 7, 0.08) 0 6px, transparent 7px),
    radial-gradient(circle at 76% 62%, rgba(161, 98, 7, 0.08) 0 5px, transparent 6px),
    radial-gradient(circle at 88% 28%, rgba(161, 98, 7, 0.07) 0 4px, transparent 5px),
    linear-gradient(180deg, #efe9e0, #ece5dc);
}

#areas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='700' viewBox='0 0 1600 700'%3E%3Cg fill='none' stroke='%23d2c1a8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' stroke-dasharray='7 13' opacity='.6'%3E%3Cpath d='M-40 160 C120 110 230 250 390 210 S670 80 860 150 1130 290 1320 210 1510 95 1660 155'/%3E%3Cpath d='M-20 470 C130 420 260 560 420 505 S710 355 900 430 1160 600 1370 520 1540 430 1650 455'/%3E%3Cpath d='M180 -10 C300 90 420 40 520 130 S760 250 910 190 1120 60 1320 115 1490 260 1640 210'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  animation: routeDrift 18s linear infinite;
}

.areas-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
}

.areas-card::before,
.areas-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.areas-card::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(161, 98, 7, 0.1) 0 6px, transparent 7px),
    radial-gradient(circle at 34% 58%, rgba(161, 98, 7, 0.12) 0 5px, transparent 6px),
    radial-gradient(circle at 57% 30%, rgba(161, 98, 7, 0.1) 0 6px, transparent 7px),
    radial-gradient(circle at 74% 64%, rgba(161, 98, 7, 0.13) 0 5px, transparent 6px),
    radial-gradient(circle at 86% 24%, rgba(161, 98, 7, 0.08) 0 4px, transparent 5px);
  opacity: 0.85;
}

.areas-card::after {
  inset: 1.1rem;
  border-radius: 18px;
  border: 1px dashed rgba(161, 98, 7, 0.12);
}

.areas-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.areas-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(161, 98, 7, 0.12);
  color: var(--text);
  font-weight: 500;
  border: 1px solid rgba(161, 98, 7, 0.18);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

@keyframes routeDrift {
  0% {
    transform: translateX(0);
    background-position: 0 0;
  }

  100% {
    transform: translateX(0);
    background-position: 180px 0;
  }
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.review-open-button { margin-top: 1.5rem; }
.review-carousel { position: relative; display: flex; align-items: center; gap: 1rem; }
.review-carousel-track { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); grid-template-columns: none; gap: 1rem; overflow: hidden; scroll-behavior: smooth; }
.review-carousel-track .testimonial-card { min-width: 0; }
.review-carousel-button { flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(213,156,49,.5); border-radius: 50%; background: rgba(213,156,49,.12); color: #d59c31; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.review-carousel-button:hover { background: #d59c31; color: #171412; transform: scale(1.05); }
.review-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; }
.review-modal.is-hidden { display: none; }
.review-modal-backdrop { position: absolute; inset: 0; background: rgba(12, 10, 9, .72); backdrop-filter: blur(5px); }
.review-modal-card { position: relative; z-index: 1; width: min(100%, 560px); max-height: min(720px, 92vh); overflow: auto; padding: 2rem; border-radius: 24px; background: #fff; color: var(--navy); box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.review-modal-card h3 { margin: 0 0 1.25rem; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.review-modal-close { position: absolute; top: .75rem; right: 1rem; border: 0; background: transparent; color: inherit; font-size: 2rem; line-height: 1; cursor: pointer; }
.review-form { display: grid; gap: 1rem; }
.review-form label, .review-stars-fieldset { display: grid; gap: .45rem; border: 0; padding: 0; margin: 0; }
.review-form input[type="text"], .review-form textarea, .review-form input[type="file"] { width: 100%; box-sizing: border-box; padding: .8rem .9rem; border: 1px solid rgba(12,10,9,.16); border-radius: 12px; font: inherit; background: #faf9f7; }
.review-stars-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; }
.review-stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.review-stars-input label { display: block; color: #c8c3bc; font-size: 2.1rem; line-height: 1; cursor: pointer; transition: color .2s ease, transform .2s ease; }
.review-stars-input label:hover, .review-stars-input label:hover ~ label, .review-stars-input input:checked ~ label { color: #d59c31; transform: scale(1.05); }
.review-form-status { min-height: 1.4em; margin: 0; color: #8b5d16; }
@media (max-width: 900px) { .review-carousel-track { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (max-width: 620px) { .review-carousel { gap: .5rem; } .review-carousel-track { grid-auto-columns: 100%; } .review-carousel-button { flex-basis: 2.35rem; width: 2.35rem; height: 2.35rem; } }
@media (max-width: 620px) { .review-open-button { display: block; margin: 1.5rem auto 0; } }

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  display: grid;
  gap: 1rem;
  align-content: start;
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.85);
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.testimonial-badge {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(161, 98, 7, 0.16);
  color: #f2d29a;
  border: 1px solid rgba(242, 210, 154, 0.18);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-rating {
  color: #d6a44b;
  letter-spacing: 0.22em;
  font-size: 0.92rem;
}

.testimonial-meta {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-meta span {
  color: rgba(255, 255, 255, 0.68);
}

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

.faq-item {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.4rem;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(161, 98, 7, 0.3);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.9rem;
  max-width: 820px;
}

.price-calculator-section {
  position: relative;
  overflow: hidden;
}

.price-calculator-section::after {
  content: "";
  position: absolute;
  inset: 6% -10% auto auto;
  width: 44vw;
  height: 44vw;
  min-width: 360px;
  min-height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161, 98, 7, 0.16), transparent 62%);
  pointer-events: none;
}

.calculator-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.calculator-copy {
  max-width: 540px;
}

.calculator-note {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(28, 25, 23, 0.08);
  box-shadow: var(--shadow-sm);
}

.calculator-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.calculator-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at top right, rgba(161, 98, 7, 0.18), transparent 34%);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  counter-reset: calc-step;
}

.calculator-field {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.calculator-field:not(.calculator-field-hidden) {
  counter-increment: calc-step;
}

.calculator-field label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--navy);
}

.calculator-field:not(.calculator-field-hidden) label::before {
  content: counter(calc-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 1.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
}

.calculator-field-hint {
  margin: -0.25rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.calculator-field input,
.calculator-field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(28, 25, 23, 0.14);
  background: #fbfaf8;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.calculator-field input:focus,
.calculator-field select:focus {
  outline: 2px solid rgba(161, 98, 7, 0.28);
  border-color: rgba(161, 98, 7, 0.58);
  box-shadow: 0 0 0 4px rgba(161, 98, 7, 0.1);
  background: var(--white);
}

.calculator-field input::placeholder {
  color: #78716c;
  opacity: 1;
}

.calculator-field select:invalid {
  color: #78716c;
}

.calculator-field select option:not([disabled]) {
  color: var(--text);
}

.calculator-result {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.25rem;
  padding: 1.4rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #0c0a09, #1c1917);
  color: var(--white);
  margin-top: 0.35rem;
}

.calculator-result span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.calculator-result strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.calculator-result small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.calculator-result-note {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.calculator-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.calculator-calculate {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.35rem;
}

.calculator-result-placeholder {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.4rem;
  border-radius: 22px;
  border: 1px dashed rgba(28, 25, 23, 0.22);
  background: rgba(28, 25, 23, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.calculator-result.is-hidden,
.calculator-actions.is-hidden,
.calculator-result-placeholder.is-hidden {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.contact-form {
  background: var(--white);
  padding: 2.2rem;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1rem;
}

.contact-visual {
  display: grid;
  align-items: center;
}

.contact-visual .media-frame {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(23, 22, 21, 0.15);
  font-family: inherit;
  transition: var(--transition);
  background: #fbfaf8;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(161, 98, 7, 0.35);
  border-color: rgba(161, 98, 7, 0.6);
  box-shadow: 0 0 0 4px rgba(161, 98, 7, 0.12);
  background: var(--white);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-status.is-success {
  color: #2f6b39;
}

.form-status.is-error {
  color: #9f2d2d;
}

.contact-trust {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-trust span {
  background: rgba(0, 0, 0, 0.04);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.trust-badges {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(161, 98, 7, 0.18);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
  font-size: 0.88rem;
  color: var(--text);
}

.trust-badges span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d59c31, #b7781a);
  box-shadow: 0 0 0 4px rgba(213, 156, 49, 0.12);
}

.footer {
  background: linear-gradient(180deg, #171412, #0c0a09);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer .logo-text {
  color: var(--white);
}

.footer .logo-subtext {
  color: rgba(161, 98, 7, 0.95);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 0.7rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.mobile-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.94);
  color: var(--white);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.final-cta {
  padding-top: 1rem;
}

.final-cta-card {
  background:
    radial-gradient(circle at top right, rgba(161, 98, 7, 0.22), transparent 28%),
    linear-gradient(135deg, #151515, #23201c);
  color: var(--white);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.final-cta-card p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 760px;
}

.final-cta-card h2 {
  color: var(--white);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}

.final-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.final-cta .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-whatsapp-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #3dd16c, #168a43);
  font-weight: 700;
  font-size: 0.9rem;
}

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

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

@media (max-width: 1220px) {
  .logo-subtext {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .nav-links {
    gap: 0.95rem;
    font-size: 0.9rem;
  }

  .nav-cta {
    padding-inline: 1.35rem;
  }
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 5%;
    background: var(--white);
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    display: none;
    margin-left: 0;
  }

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

  .nav-cta {
    display: none;
  }

  .lang-switcher {
    margin-left: 0;
  }

  .nav-toggle {
    display: flex;
  }

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

  .detail-layout,
  .detail-cta {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: relative;
    top: auto;
  }

  .detail-highlights {
    grid-template-columns: 1fr;
  }

  .scroll-video-hero {
    height: 320vh;
  }

  .contact-visual {
    order: 3;
  }
}

@media (max-width: 680px), (max-height: 500px) and (pointer: coarse) {
  html {
    scroll-padding-top: 84px;
  }

  .container {
    width: calc(100% - 36px);
  }

  h2 {
    font-size: clamp(1.65rem, 6.8vw, 2.1rem);
    line-height: 1.25;
    text-wrap: balance;
  }

  .section-heading {
    margin-bottom: 1.5rem;
  }

  .section-heading p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .section-heading .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.65rem;
  }

  .nav {
    gap: 0.5rem;
    padding: 0.65rem 0;
  }

  .logo {
    gap: 0.5rem;
    flex-shrink: 1;
    min-width: 0;
  }

  .logo-lockup {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .lang-switcher {
    margin-left: auto;
  }

  .lang-button, .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    max-height: calc(100svh - 100px);
    overflow-y: auto;
    gap: 0;
    padding: 0.75rem;
  }

  .lang-menu button {
    min-height: 44px;
  }

  .nav-links a {
    padding: 0.65rem 0.75rem;
    min-height: 44px;
  }

  /* The portrait film stays in view while the page controls its timeline. */
  .scroll-video-hero {
    height: 300svh;
  }

  .scroll-video-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
  }

  .scroll-video-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    height: 100%;
    object-position: center;
  }

  .scroll-video-scrim {
    display: block;
    background: linear-gradient(180deg, rgba(12,10,9,.18), rgba(12,10,9,.42) 50%, rgba(12,10,9,.3));
  }

  .scroll-video-hint,
  .scroll-video-progress {
    display: flex;
  }

  .scroll-video-copy {
    width: calc(100% - 48px);
    height: 55svh;
    max-height: none;
    padding: 0;
    background: none;
  }

  .scroll-video-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
    text-shadow: 0 2px 24px rgba(0,0,0,.55);
  }

  .scroll-video-line .eyebrow {
    margin: 0;
    font-size: 0.67rem;
    letter-spacing: 0.16em;
    color: #e5bd7a;
  }

  .scroll-video-line h1,
  .scroll-video-line h2 {
    font-size: clamp(1.8rem, 7.6vw, 2.8rem);
    line-height: 1.3;
    text-wrap: balance;
    margin: 0;
  }

  .mobile-hero-cta {
    display: none;
    min-height: 48px;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }

  .mobile-video-toggle {
    position: relative;
    grid-area: 1 / 1;
    justify-self: end;
    align-self: end;
    z-index: 3;
    display: none;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    margin: 12px;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(12, 10, 9, 0.85);
    color: white;
    font: 500 0.85rem "Josefin Sans", sans-serif;
    cursor: pointer;
  }

  .mobile-video-toggle svg {
    width: 20px;
    height: 20px;
  }

  .mobile-video-toggle .video-pause-icon,
  .mobile-video-toggle .video-pause-label,
  .mobile-video-toggle.is-playing .video-play-icon,
  .mobile-video-toggle.is-playing .video-play-label {
    display: none;
  }

  .mobile-video-toggle.is-playing .video-pause-icon,
  .mobile-video-toggle.is-playing .video-pause-label {
    display: inline;
  }

  .comparison {
    padding: 8px 8px 16px;
    gap: 8px;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.08);
  }

  .comparison-frame {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .comparison-image {
    border-radius: 0;
    object-position: 45% center;
  }

  .comparison-range {
    width: calc(100% - 24px);
    margin-inline: 12px;
    height: 44px;
  }

  .comparison-labels {
    padding-inline: 12px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .hero-stats-bar {
    padding: 1.5rem 0;
  }

  .hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr));
    width: 100%;
    gap: 1rem;
  }

  .hero-stats-grid strong {
    font-size: 1rem;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
  }

  .hero-stats-grid span {
    font-size: 0.78rem;
  }

  .hero-stats-actions {
    display: none;
  }

  .hero-stats-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-subtext {
    display: none;
  }

  .gallery-showcase {
    grid-template-columns: 1fr;
  }

  .gallery-tile,
  .gallery-tile-large,
  .gallery-tile-wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 0;
    border-radius: 18px;
  }

  .gallery-tile .media-frame {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .gallery-tile .media-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(12, 10, 9, 0.85));
    opacity: 1;
  }

  .gallery-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    gap: 0.4rem;
  }

  .gallery-caption h3 {
    font-size: 1.08rem;
    line-height: 1.35;
  }

  .mobile-whatsapp {
    display: inline-flex;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    background: #128c46;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
  }

  .mobile-whatsapp > [data-i18n] {
    display: none;
  }

  .mobile-whatsapp-icon {
    background: none;
  }

  .footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  .finished-marquee::before,
  .finished-marquee::after {
    width: 40px;
  }

  .finished-track {
    animation-duration: 22s;
  }

  .finished-card {
    width: 78vw;
    min-width: 260px;
  }

  .section {
    padding: 3rem 0;
    content-visibility: visible;
    contain-intrinsic-size: none;
  }

  .testimonial-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
    overflow-wrap: anywhere;
  }

  .testimonial-top {
    flex-wrap: wrap;
  }

  .calculator-card {
    grid-template-columns: 1fr;
    min-width: 0;
    padding: 20px 16px;
    gap: 1.25rem;
  }

  .calculator-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .calculator-field,
  .calculator-field input,
  .calculator-field select {
    min-width: 0;
  }

  .detail-calculator {
    padding: 20px 12px;
    border-radius: 22px;
  }

  .detail-section {
    padding: 2rem 0 3rem;
  }

  .detail-panel, .detail-cta, .detail-highlight {
    padding: 20px;
  }

  .detail-copy h2, .calculator-copy h2, .detail-cta h2 {
    font-size: clamp(1.5rem, 6.2vw, 2rem);
    line-height: 1.3;
    overflow-wrap: break-word;
  }

  .btn {
    min-height: 48px;
    white-space: normal;
    text-align: center;
  }

  .reveal, .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .finished-marquee {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .finished-marquee::before, .finished-marquee::after {
    display: none;
  }

  .finished-track {
    animation: none;
  }

  .finished-card {
    scroll-snap-align: start;
    min-width: min(260px, 82vw);
  }

  .finished-card:nth-child(n + 4) {
    display: none;
  }

  .calculator-actions .btn {
    width: 100%;
  }
}

@media (max-height: 500px) and (pointer: coarse) and (orientation: landscape) {
  .scroll-video-media {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-video-toggle {
    display: inline-flex;
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 3;
  }
  .scroll-video-hero {
    height: auto;
  }

  .scroll-video-sticky {
    position: relative;
  }

  .scroll-video-hint,
  .scroll-video-progress {
    display: none;
  }

  .scroll-video-line {
    display: none;
  }

  .scroll-video-line:first-child {
    display: flex;
    opacity: 1;
    transform: none;
  }

  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .finished-track {
    animation: none;
  }
}
