/* ============================================================
   PEAKCRAFT CONSTRUCTION — PREMIUM SITE STYLES
   Palette: charcoal, blue-black, graphite, white, silver
   ============================================================ */

:root {
  --ink: #080B0E;
  --ink-2: #10171C;
  --graphite: #20282E;
  --white: #F5F7F8;
  --silver: #AEB7BD;
  --line: rgba(245, 247, 248, 0.1);
  --line-strong: rgba(245, 247, 248, 0.2);
  --glass: rgba(16, 23, 28, 0.62);
  --glass-soft: rgba(32, 40, 46, 0.5);
  --whatsapp: #25D366;
  --danger: #ff9b9b;
  --success: #9be3b0;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1240px;
  --nav-h: 80px;
  --ease: cubic-bezier(0.22, 0.75, 0.22, 1);
  --nav-blur: 8px;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

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

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--white);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0;
  scroll-margin-top: calc(var(--nav-h) + 18px);
}

section[id] {
  scroll-margin-top: calc(var(--nav-h) + 18px);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 62px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-title {
  margin-top: 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.section-lead {
  max-width: 650px;
  margin-top: 18px;
  color: var(--silver);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.section-head--center .section-lead {
  margin-inline: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.btn .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s var(--ease);
}

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

.btn:hover .icon {
  transform: translate(2px, -2px);
}

.btn-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: rgba(245, 247, 248, 0.7);
  box-shadow: none;
}

.btn-ghost {
  background: rgba(245, 247, 248, 0.04);
  border-color: rgba(245, 247, 248, 0.24);
  color: var(--white);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(245, 247, 248, 0.12);
  border-color: rgba(245, 247, 248, 0.5);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link .icon {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.3s var(--ease);
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.glass-panel {
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(8, 11, 14, 0.26);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(var(--nav-blur)) saturate(120%);
  backdrop-filter: blur(var(--nav-blur)) saturate(120%);
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.navbar.is-scrolled {
  background: rgba(8, 11, 14, 0.82);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand-logo {
  width: auto;
  height: 50px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.navbar.is-scrolled .brand-logo {
  transform: scale(0.92);
}

.brand:hover .brand-logo {
  opacity: 0.85;
}

.nav-desktop {
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 32px);
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: rgba(245, 247, 248, 0.72);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

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

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

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

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

.nav-cta {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.7rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(245, 247, 248, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background-color 0.25s var(--ease);
}

.nav-toggle:hover {
  background: rgba(245, 247, 248, 0.1);
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: calc(var(--nav-h) + 8px);
  right: 12px;
  left: 12px;
  z-index: 999;
  max-height: calc(100svh - var(--nav-h) - 24px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080B0E;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.28s var(--ease),
    visibility 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu ul {
  display: grid;
}

.mobile-menu li + li {
  border-top: 1px solid var(--line);
}

.mobile-menu li a {
  display: block;
  padding: 14px 4px;
  color: rgba(245, 247, 248, 0.82);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.mobile-menu li a:hover {
  padding-left: 8px;
  color: var(--white);
}

.mobile-cta {
  width: 100%;
  margin-top: 18px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 56px) 0 160px;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  will-change: opacity, transform;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  animation: heroZoom 14s var(--ease) both;
}

.hero-slide--vertical {
  object-position: center 60%;
}

.hero-slides,
.hero-slide,
.hero-overlay,
.hero-glow {
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: -18%;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 34%, rgba(245, 247, 248, 0.16), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(32, 40, 46, 0.55), transparent 42%);
  filter: blur(48px);
  opacity: 0.7;
  pointer-events: none;
  animation: heroGlowDrift 16s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 14, 0.96) 0%, rgba(8, 11, 14, 0.78) 42%, rgba(8, 11, 14, 0.24) 100%),
    linear-gradient(0deg, rgba(8, 11, 14, 0.98) 0%, rgba(8, 11, 14, 0.16) 48%, rgba(8, 11, 14, 0.34) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(245, 247, 248, 0.76);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.9s 0.1s var(--ease) forwards;
}

.eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero h1 {
  max-width: 900px;
  margin-top: 22px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.2vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.93;
  text-transform: uppercase;
  text-wrap: balance;
  opacity: 0;
  animation: fadeUp 0.95s 0.2s var(--ease) forwards;
}

.hero h1 span {
  display: block;
  color: var(--silver);
}

.hero-subtitle {
  max-width: 640px;
  margin-top: 28px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  font-weight: 300;
  line-height: 1.45;
  opacity: 0;
  animation: fadeUp 0.95s 0.32s var(--ease) forwards;
}

.hero-description {
  max-width: 590px;
  margin-top: 16px;
  color: var(--silver);
  font-size: clamp(0.94rem, 1.2vw, 1.02rem);
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.95s 0.44s var(--ease) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp 0.95s 0.56s var(--ease) forwards;
}

.hero-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  border-top: 1px solid rgba(245, 247, 248, 0.12);
  background: rgba(8, 11, 14, 0.4);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-meta-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  padding: 18px 0;
}

.hero-indicator {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(245, 247, 248, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-dots {
  position: absolute;
  left: max(24px, calc((100% - var(--container)) / 2));
  bottom: 88px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.hero-dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hero-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 248, 0.55);
  background: transparent;
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hero-dot.is-active::before {
  width: 24px;
  background: var(--white);
  border-color: var(--white);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-radius: 4px;
}

.hero-indicator .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--silver);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background:
    radial-gradient(circle at 12% 8%, rgba(32, 40, 46, 0.5), transparent 38%),
    var(--ink);
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 23, 28, 0.58);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--graphite);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease), filter 0.5s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.055);
  filter: brightness(1.04);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 11, 14, 0.72) 100%);
  pointer-events: none;
}

.service-icon {
  position: absolute;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(245, 247, 248, 0.2);
  border-radius: 14px;
  background: rgba(8, 11, 14, 0.5);
  color: var(--white);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.service-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.service-body h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.service-body p {
  margin-top: 10px;
  margin-bottom: 20px;
  color: var(--silver);
  font-size: 0.88rem;
  line-height: 1.65;
}

.service-body .text-link {
  margin-top: auto;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--ink-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.about-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  aspect-ratio: 5 / 4;
  background: var(--graphite);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 11, 14, 0.48) 100%);
  pointer-events: none;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.about-media:hover img {
  transform: scale(1.035);
}

.about-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.about-badge .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--silver);
}

.about-copy .section-title {
  max-width: 620px;
}

.about-copy .section-lead {
  margin-bottom: 28px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  background: var(--ink);
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.gallery-head .section-head {
  margin-bottom: 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 6px;
}

.filter-btn {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 247, 248, 0.03);
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--line-strong);
  color: var(--white);
}

.filter-btn.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

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

.gallery-card {
  position: relative;
  display: block;
  grid-column: span 6;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  aspect-ratio: 16 / 11;
  text-align: left;
  transition:
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(4) {
  grid-column: span 7;
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(3) {
  grid-column: span 5;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.45s var(--ease);
}

.gallery-card:hover img {
  transform: scale(1.055);
  filter: brightness(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 11, 14, 0.8) 100%);
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(4px);
  transition: transform 0.35s var(--ease);
}

.gallery-card:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption .icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.75;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why {
  background:
    radial-gradient(circle at 82% 20%, rgba(32, 40, 46, 0.55), transparent 42%),
    var(--ink-2);
}

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

.why-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius);
}

.why-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -52px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(245, 247, 248, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.why-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(245, 247, 248, 0.04);
  color: var(--white);
}

.why-icon .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.why-index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(245, 247, 248, 0.18);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.why-card h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.why-card p {
  margin-top: 10px;
  color: var(--silver);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ============================================================
   TRUST PANEL (Services & Coverage)
   ============================================================ */
.trust-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
}

.trust-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.trust-block .eyebrow {
  margin-bottom: 2px;
}

.trust-services {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--silver);
  font-size: 0.86rem;
  line-height: 1.55;
}

.trust-services li {
  min-width: 0;
  word-break: break-word;
}

.trust-area {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 100%;
}

.trust-area .icon {
  width: 1rem;
  height: 1rem;
  color: var(--silver);
  flex: none;
}

.trust-note {
  margin: 0;
  color: var(--silver);
  font-size: 0.86rem;
  line-height: 1.65;
  max-width: 42ch;
}

.trust-block .areas-list {
  margin-top: 6px;
}

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--white);
}

.review-stars .icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  stroke: none;
}

.review-text {
  margin: 0;
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.65;
}

.review-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-name {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.review-meta {
  margin: 0;
  color: rgba(245, 247, 248, 0.62);
  font-size: 0.78rem;
  line-height: 1.5;
}

.reviews-more {
  margin-top: clamp(24px, 4vw, 40px);
  text-align: center;
}

/* ============================================================
   FREE ESTIMATE CTA
   ============================================================ */
.estimate-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 12vw, 156px) 0;
  isolation: isolate;
}

.estimate-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.estimate-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 14, 0.94) 0%, rgba(8, 11, 14, 0.72) 48%, rgba(8, 11, 14, 0.3) 100%),
    linear-gradient(0deg, rgba(8, 11, 14, 0.7), rgba(8, 11, 14, 0.2));
}

.estimate-panel {
  max-width: 680px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
}

.estimate-panel .section-title {
  max-width: 540px;
}

.estimate-note {
  margin-top: 12px;
  color: rgba(245, 247, 248, 0.72);
  font-size: 0.9rem;
}

.estimate-panel .btn {
  margin-top: 28px;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas {
  background: var(--ink);
}

.areas-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-lg);
}

.areas-copy {
  padding: clamp(28px, 5vw, 58px);
}

.areas-copy .section-title {
  max-width: 560px;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.areas-list span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--silver);
  font-size: 0.74rem;
}

.areas-map {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
}

.areas-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (min-width: 921px) {
  .areas-map {
    aspect-ratio: 16 / 10;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--ink-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--silver);
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}

a.contact-detail:hover {
  color: var(--white);
}

.contact-detail .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--silver);
}

.contact-note {
  max-width: 430px;
  margin-top: 26px;
  color: rgba(174, 183, 189, 0.72);
  font-size: 0.82rem;
  line-height: 1.7;
}

.contact-form-panel {
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
}

/* ============================================================
   FORM STEPPER
   ============================================================ */
.form-stepper {
  margin-bottom: 24px;
}

.form-stepper-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--silver);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.form-step-indicator.is-active {
  color: var(--white);
  opacity: 1;
}

.form-step-number {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.7rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.form-step-indicator.is-active .form-step-number {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.form-progress {
  height: 2px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(245, 247, 248, 0.08);
  overflow: hidden;
}

.form-progress span {
  display: block;
  height: 100%;
  width: 33.333%;
  border-radius: 999px;
  background: var(--white);
  transition: width 0.4s var(--ease);
}

.form-step-head {
  margin-bottom: 20px;
}

.form-step-head h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.form-step-head p {
  margin-top: 8px;
  color: var(--silver);
  font-size: 0.86rem;
  line-height: 1.6;
}

.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.form-nav > .btn {
  min-width: 140px;
}

.form-review {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(8, 11, 14, 0.42);
}

.form-review > div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 8px;
  align-items: start;
}

.form-review dt {
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-review dd {
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}

.form-review-full {
  grid-column: 1 / -1;
}

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

.form-field {
  display: flex;
  flex-direction: column;
}

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

.form-field label {
  margin-bottom: 8px;
  color: rgba(245, 247, 248, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field label span[aria-hidden="true"] {
  color: var(--silver);
}

.form-field .optional {
  color: rgba(174, 183, 189, 0.55);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(245, 247, 248, 0.13);
  border-radius: var(--radius-sm);
  background: rgba(8, 11, 14, 0.55);
  color: var(--white);
  font-size: 0.9rem;
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(174, 183, 189, 0.48);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23AEB7BD' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}

.form-field select option {
  background: var(--ink-2);
  color: var(--white);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(245, 247, 248, 0.24);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(245, 247, 248, 0.5);
  background: rgba(8, 11, 14, 0.78);
  box-shadow: 0 0 0 3px rgba(245, 247, 248, 0.08);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: rgba(255, 120, 120, 0.7);
}

.field-error {
  min-height: 1.1em;
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.74rem;
  line-height: 1.4;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  width: 100%;
  margin-top: 22px;
}

.form-submit.is-loading {
  pointer-events: none;
  opacity: 0.7;
}

.form-submit.is-loading .icon {
  animation: spin 0.9s linear infinite;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  line-height: 1.6;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border: 1px solid rgba(255, 120, 120, 0.26);
  background: rgba(255, 120, 120, 0.08);
  color: #ffc3c3;
}

.form-status.is-success {
  border: 1px solid rgba(155, 227, 176, 0.26);
  background: rgba(155, 227, 176, 0.08);
  color: var(--success);
}

.form-status.is-info {
  border: 1px solid var(--line-strong);
  background: rgba(245, 247, 248, 0.05);
  color: var(--silver);
}

.form-status a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy {
  margin-top: 12px;
  color: rgba(174, 183, 189, 0.6);
  font-size: 0.72rem;
  line-height: 1.55;
}

/* ------------------------------------------------------------
   SEND OPTIONS PANEL (shown when no form endpoint is configured)
------------------------------------------------------------ */
.form-send-options {
  margin-top: 20px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(8, 11, 14, 0.42);
}

.form-send-title {
  margin: 0;
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.form-send-note {
  margin: 8px 0 0;
  color: var(--silver);
  font-size: 0.84rem;
  line-height: 1.6;
}

.form-send-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.form-send-buttons .form-send-btn {
  width: 100%;
  margin: 0;
}

.form-send-hint {
  margin: 14px 0 0;
  color: var(--success);
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-send-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.form-send-alt {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-send-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.form-send-copy:hover {
  border-color: var(--line-strong);
  background: rgba(245, 247, 248, 0.08);
  color: var(--white);
}

@media (max-width: 640px) {
  .form-send-buttons {
    grid-template-columns: 1fr;
  }

  .form-send-extras {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ============================================================
   COMMITMENT
   ============================================================ */
.commitment {
  padding: clamp(70px, 10vw, 112px) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 40, 46, 0.55), transparent 48%),
    var(--ink);
  text-align: center;
}

.commitment-inner {
  max-width: 800px;
  margin-inline: auto;
}

.commitment-inner .section-title {
  margin-top: 14px;
}

.commitment-text {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--silver);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 300;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
  ============================================================ */
.footer {
  padding: clamp(58px, 8vw, 92px) 0 28px;
  border-top: 1px solid var(--line);
  background: #050709;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.15fr;
  gap: clamp(30px, 4vw, 54px);
}

.footer-logo {
  width: auto;
  height: 62px;
  margin-bottom: 20px;
}

.footer-description {
  max-width: 300px;
  color: var(--silver);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-tagline {
  max-width: 300px;
  margin-top: 8px;
  color: rgba(174, 183, 189, 0.62);
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--silver);
  font-size: 0.84rem;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-links a:hover {
  padding-left: 4px;
  color: var(--white);
}

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--silver);
  font-size: 0.84rem;
  line-height: 1.5;
  transition: color 0.25s var(--ease);
}

a.footer-contact-line:hover {
  color: var(--white);
}

.footer-contact-line .icon {
  width: 1rem;
  height: 1rem;
  margin-top: 2px;
}

.footer-cta {
  margin-top: 18px;
  padding: 10px 16px;
  font-size: 0.68rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(245, 247, 248, 0.04);
  color: var(--white);
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(245, 247, 248, 0.12);
}

.social-link .icon {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(42px, 6vw, 70px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(174, 183, 189, 0.58);
  font-size: 0.74rem;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
}

.whatsapp-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.whatsapp-btn {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: var(--whatsapp);
  color: #07130b;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.3);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  animation: whatsappIn 0.65s 0.9s var(--ease) forwards;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    filter 0.28s var(--ease);
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.42);
  filter: brightness(1.05);
}

.whatsapp-btn .icon {
  width: 30px;
  height: 30px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 11, 14, 0.92);
  color: var(--white);
  font-size: 0.74rem;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-btn:focus-visible + .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   DIALOG
   ============================================================ */
.site-dialog {
  width: min(92vw, 440px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
}

.site-dialog::backdrop {
  background: rgba(3, 5, 7, 0.76);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.dialog-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.dialog-card h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.dialog-card p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.7;
}

.dialog-card .btn {
  margin-top: 22px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--silver);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.dialog-close:hover {
  background: rgba(245, 247, 248, 0.08);
  color: var(--white);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 56px 72px;
  background: rgba(3, 5, 7, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

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

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  transform: scale(0.96) translateY(8px);
  opacity: 0;
  transition:
    transform 0.4s var(--ease),
    opacity 0.35s var(--ease);
}

.lightbox.is-open .lightbox-figure {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100svh - 160px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--ink-2);
  transition: opacity 0.25s var(--ease);
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
}

.lightbox-counter {
  margin-top: 5px;
  color: var(--silver);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(16, 23, 28, 0.72);
  color: var(--white);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(245, 247, 248, 0.14);
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease),
    filter 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

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

@keyframes heroZoom {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}

@keyframes heroGlowDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.06);
  }
}

@keyframes whatsappIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   BLUR FALLBACKS
   ============================================================ */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navbar,
  .navbar.is-scrolled,
  .mobile-menu,
  .service-card,
  .glass-panel,
  .why-card,
  .contact-form-panel,
  .estimate-panel,
  .areas-card,
  .site-dialog::backdrop,
  .lightbox {
    background-color: rgba(8, 11, 14, 0.96);
  }

  .btn-ghost,
  .nav-toggle,
  .service-icon,
  .about-badge,
  .lightbox-close,
  .lightbox-nav,
  .dialog-close,
  .social-link,
  .whatsapp-tooltip {
    background-color: rgba(16, 23, 28, 0.96);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .footer-column:last-child {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    padding-top: 8px;
  }

  .footer-column:last-child h3 {
    width: 100%;
    margin-bottom: 0;
  }

  .footer-column:last-child .footer-contact-line {
    margin-bottom: 0;
  }

  .footer-column:last-child .footer-cta {
    margin-top: 0;
  }
}

@media (max-width: 920px) {
  :root {
    --nav-h: 72px;
  }

  .container {
    width: min(100% - 36px, var(--container));
  }

  .nav-desktop,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .brand-logo {
    height: 42px;
  }

  .hero {
    min-height: 92svh;
    padding-top: calc(var(--nav-h) + 44px);
    padding-bottom: 190px;
  }

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

  .hero-meta-inner {
    gap: 16px 28px;
    flex-wrap: wrap;
    padding: 15px 0;
  }

  .about-grid,
  .contact-grid,
  .areas-card {
    grid-template-columns: 1fr;
  }

  .trust-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .about-media {
    aspect-ratio: 16 / 10;
  }

  .contact-copy {
    position: static;
  }

  .areas-map {
    min-height: 240px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: var(--radius-lg);
  }

  .gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-filters {
    padding-bottom: 0;
  }

  .gallery-card,
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4) {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
    display: block;
    padding-top: 0;
  }

  .footer-column:last-child h3 {
    margin-bottom: 18px;
  }

  .footer-column:last-child .footer-contact-line {
    margin-bottom: 10px;
  }

  .footer-column:last-child .footer-cta {
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 220px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12.2vw, 4rem);
    line-height: 0.96;
  }

  .hero-subtitle {
    margin-top: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-meta-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px 0;
  }

  .hero-indicator {
    font-size: 0.68rem;
  }

  .services-grid,
  .why-grid,
  .gallery-card,
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4) {
    grid-template-columns: 1fr;
    grid-column: span 12;
  }

  .gallery-card {
    aspect-ratio: 4 / 3;
  }

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

  .contact-form-panel {
    padding-bottom: 96px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-panel {
    gap: 24px;
    padding: clamp(22px, 6vw, 36px);
  }

  .trust-services {
    gap: 8px;
  }

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

  .trust-note {
    max-width: none;
  }

  .whatsapp-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .whatsapp-btn {
    width: 56px;
    height: 56px;
  }

  .whatsapp-btn .icon {
    width: 27px;
    height: 27px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .lightbox {
    padding: 64px 16px;
  }

  .lightbox-image {
    max-height: calc(100svh - 190px);
  }

  .lightbox-nav {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .lightbox-nav:hover {
    transform: scale(1.05);
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  .lightbox-caption {
    padding: 0 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .brand-logo {
    height: 34px;
  }

  .btn {
    padding-inline: 16px;
    font-size: 0.72rem;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero-eyebrow,
  .hero h1,
  .hero-subtitle,
  .hero-description,
  .hero-actions {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    transition: none;
    animation: none;
    transform: none;
  }

  .whatsapp-btn {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* End of stylesheet */
