:root {
  --color-primary: #c73436;
  --color-secondary: #776b5b;
  --color-dark: #585857;
  --color-black: #191919;
  --color-light: #f5f2ed;
  --color-white: #ffffff;
  --color-border: rgba(88, 88, 87, 0.18);
  --color-overlay: rgba(25, 25, 25, 0.52);
  --color-overlay-strong: rgba(25, 25, 25, 0.72);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.08);
  --transition-fast: 220ms ease;
  --header-height: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--color-dark);
  background: var(--color-white);
  text-rendering: optimizeLegibility;
}
body.is-lightbox-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(88, 88, 87, 0.1);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); }
.navbar { min-height: var(--header-height); padding: 0.85rem 0; }
.brand-logo { width: 220px; max-width: 44vw; }
.nav-link {
  position: relative; color: var(--color-dark); font-size: 0.94rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.9rem 1rem !important;
}
.nav-link::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0.5rem; height: 1px;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform var(--transition-fast);
}
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.custom-toggler { border: 0; padding: 0; box-shadow: none !important; }
.custom-toggler span { display: block; width: 28px; height: 2px; background: var(--color-dark); margin: 6px 0; }

.hero-section, .section-contact, .section-dark { color: var(--color-white); }
.section { position: relative; padding: 110px 0; }
.section-light { background: var(--color-light); }
.parallax-section { position: relative; overflow: hidden; isolation: isolate; }
.parallax-bg, .hero-overlay, .section-overlay { position: absolute; inset: 0; }
.parallax-bg {
  z-index: 0;
  width: 100%;
  height: 100%;
  background-position: center center; background-repeat: no-repeat; background-size: cover;
  transform: none; will-change: auto;
}
.parallax-bg-hero {
  background-image: linear-gradient(rgba(25,25,25,0.1), rgba(25,25,25,0.15)), url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1800&q=80");
}
.parallax-bg-services {
  background-image:
    linear-gradient(rgba(25, 25, 25, 0.35), rgba(25, 25, 25, 0.45)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=80");
}

.parallax-bg-contact {
  background-image: linear-gradient(rgba(25,25,25,0.12), rgba(25,25,25,0.18)), url("https://images.unsplash.com/photo-1523413651479-597eb2da0ad6?auto=format&fit=crop&w=1800&q=80");
}
.hero-overlay, .section-overlay { background: var(--color-overlay); }
.section-overlay.dark-strong { background: var(--color-overlay-strong); }
.section-overlay { z-index: 1; }
.parallax-section > .container,
.parallax-section > .container.position-relative { position: relative; z-index: 2; }
#services {
  position: relative;
  background-image:
    linear-gradient(rgba(25, 25, 25, 0.35), rgba(25, 25, 25, 0.45)),
    url("../img/w-01.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: transparent;
}

#services .parallax-bg-services {
  display: none;
}

#services .section-overlay {
  background: rgba(25, 25, 25, 0.18);
}

#contact {
  position: relative;
  background-image:
    linear-gradient(rgba(25, 25, 25, 0.62), rgba(25, 25, 25, 0.72)),
    url("../img/w-07.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: transparent;
}

#contact .parallax-bg-contact {
  display: none;
}

#contact .section-overlay {
  background: rgba(25, 25, 25, 0.16);
}


.eyebrow, .section-label {
  margin-bottom: 1rem; color: var(--color-primary); font-size: 0.84rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.section-label.light { color: #f0cfcf; }
h1, .section-title { margin: 0; line-height: 0.98; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.9rem); max-width: 11ch; }
.hero-text, .section-intro, .content-panel p, .service-card p, .metric-box p, .process-step p, .contact-card, .site-footer p, .compare-copy p {
  font-size: 1.04rem; line-height: 1.8;
}
.hero-text { max-width: 700px; margin: 1.5rem 0 2rem; color: rgba(255,255,255,0.88); }
.btn {
  border-radius: 0; padding: 0.95rem 1.4rem; font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; transition: all var(--transition-fast);
}
.btn-main { border: 1px solid var(--color-primary); background: var(--color-primary); color: var(--color-white); }
.btn-main:hover { background: transparent; color: var(--color-white); }
.btn-outline-custom { border: 1px solid rgba(255,255,255,0.65); color: var(--color-white); }
.btn-outline-custom:hover { background: var(--color-white); color: var(--color-black); }

.intro-strip { background: var(--color-white); margin-top: -72px; z-index: 4; position: relative; padding-top: 100px; padding-bottom: 100px; }
.metric-box, .service-card, .content-panel, .contact-card, .compare-card {
  height: 100%; background: var(--color-white); border: 1px solid var(--color-border); padding: 2rem; box-shadow: var(--shadow-soft);
}
.metric-icon, .service-icon {
  width: 48px; height: 48px; border: 1px solid rgba(199,52,54,0.22); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.metric-icon svg, .service-icon svg, .mobile-call-btn svg { width: 24px; height: 24px; fill: var(--color-primary); }
.metric-box h3, .service-card h3, .process-step h3, .compare-copy h3 { margin: 0 0 0.75rem; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.section-title { font-size: clamp(2rem, 4vw, 3.7rem); max-width: 13ch; }
.section-title.light, .light, .light-soft { color: var(--color-white); }
.section-intro { max-width: 760px; margin: 1.25rem 0 0; color: rgba(88,88,87,0.8); }
.light-soft { color: rgba(255,255,255,0.8); }
.section-heading { margin-bottom: 3rem; }
.section-heading.text-center .section-title, .section-heading.text-center .section-intro { margin-left: auto; margin-right: auto; }
.content-panel { border-left: 3px solid var(--color-primary); }
.section-with-divider::before, .process-section::before, .section-contact::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 70px; background: rgba(255,255,255,0.25); transform: translateX(-50%);
}
.services-grid .service-card { background: rgba(255,255,255,0.96); color: var(--color-dark); }

.gallery-item {
  display: block; position: relative; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-white); cursor: zoom-in;
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 400ms ease; }
.gallery-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem; background: linear-gradient(to top, rgba(25,25,25,0.82), rgba(25,25,25,0));
  color: var(--color-white); font-size: 0.92rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.gallery-item:hover img { transform: scale(1.06); }

.before-after-section { background: #fff; }
.compare-card { padding: 0; overflow: hidden; position: relative; }
.compare-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.compare-copy { padding: 1.6rem 1.7rem 1.8rem; }
.compare-tag {
  position: absolute; top: 18px; left: 18px; background: rgba(25,25,25,0.82); color: #fff; padding: 0.7rem 0.9rem;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; z-index: 2;
}
.compare-tag-after { background: var(--color-primary); }

.process-section { background: linear-gradient(180deg, rgba(245,242,237,1) 0%, rgba(255,255,255,1) 100%); }
.process-timeline { border-top: 1px solid var(--color-border); }
.process-step { display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--color-border); }
.process-step strong { color: var(--color-primary); font-size: 1.45rem; font-weight: 800; }

.contact-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(10px);
  color: var(--color-white); box-shadow: none;
}
.contact-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.contact-line:last-child { border-bottom: 0; }
.contact-line span { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; opacity: 0.72; }
.contact-line strong { text-align: right; font-size: 0.98rem; }
.site-footer { padding: 1.1rem 0; background: var(--color-black); color: rgba(255,255,255,0.7); border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer p { margin: 0; font-size: 0.9rem; line-height: 1.5; }

.mobile-call-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; display: none; align-items: center; gap: 0.65rem;
  background: #fff; color: var(--color-dark); border: 1px solid rgba(88,88,87,0.15); padding: 0.9rem 1rem; box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}
.mobile-call-btn span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }

.lightbox {
  position: fixed; inset: 0; background: rgba(10,10,10,0.92); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 220ms ease; z-index: 1055; padding: 2rem;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { margin: 0; max-width: min(1200px, 92vw); }
.lightbox-image { max-height: 78vh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox-caption { color: rgba(255,255,255,0.82); margin-top: 1rem; text-align: center; font-size: 0.95rem; letter-spacing: 0.03em; }
.lightbox-close, .lightbox-nav {
  position: absolute; border: 0; background: rgba(255,255,255,0.08); color: #fff; width: 52px; height: 52px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; line-height: 1;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

.reveal-up { opacity: 0; transform: translateY(20px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

@media (max-width: 991.98px) {
  :root { --header-height: 82px; }
  #services { background-attachment: scroll; }
  .navbar-collapse { background: rgba(255,255,255,0.98); margin-top: 1rem; border: 1px solid var(--color-border); padding: 0.6rem; }
  .intro-strip { margin-top: 0; padding-top: 80px; }
  .section { padding: 88px 0; }
  .contact-line { flex-direction: column; }
  .contact-line strong { text-align: left; }
}
@media (max-width: 767.98px) {
  .mobile-call-btn { display: inline-flex; }
}
@media (max-width: 575.98px) {
  .brand-logo { width: 180px; }
  .metric-box, .service-card, .content-panel, .contact-card, .compare-copy { padding: 1.5rem; }
  .hero-actions .btn { width: 100%; }
  .lightbox { padding: 1rem; }
  .lightbox-close, .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .parallax-bg, .gallery-item img, .reveal-up { transition: none !important; transform: none !important; }
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out, transform 6.5s linear;
  transform: scale(1.02);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(16, 16, 16, 0.72), rgba(16, 16, 16, 0.38)),
    linear-gradient(to top, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #ffffff;
  padding-top: 120px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero-content h1 {
  max-width: 920px;
  margin: 0 0 1.2rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero-content p {
  max-width: 700px;
  margin: 0 0 2rem;
  font-size: 1.04rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

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

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.45rem;
  border-radius: 0;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.79rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-primary {
  background: #b33a2f;
  border-color: #b33a2f;
  color: #ffffff;
}

.btn-hero-primary:hover {
  background: #992f26;
  border-color: #992f26;
  color: #ffffff;
}

.btn-hero-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 48px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

.hero-scroll-indicator span {
  width: 2px;
  height: 10px;
  margin-top: 10px;
  background: #ffffff;
  animation: heroScroll 1.8s infinite;
}

@keyframes heroScroll {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 991.98px) {
  .hero-content {
    padding-top: 105px;
  }

  .hero-content h1 {
    font-size: clamp(2.1rem, 8vw, 3.4rem);
  }

  .hero-content p {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

@media (max-width: 575.98px) {

  .hero-slider {
    min-height: 92vh;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .btn-hero {
    flex: 1;
    width: auto;
    min-height: 50px;
    padding: 0.9rem 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }
}

/* V3 refinements */
.section {
  scroll-margin-top: calc(var(--header-height) + 0);
}

.intro-strip {
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.05);
}

.metric-box, .service-card, .content-panel, .contact-card, .compare-card {
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.metric-box:hover,
.service-card:hover,
.compare-card:hover,
.gallery-item:hover {
  transform: translateY(-4px);
}

.service-card {
  backdrop-filter: blur(4px);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,0.16), rgba(15,15,15,0));
  opacity: 0;
  transition: opacity 260ms ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.process-step {
  transition: transform 220ms ease, border-color 220ms ease;
}

.process-step:hover {
  transform: translateX(6px);
  border-color: rgba(199,52,54,0.25);
}

.contact-card a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

.hero-slider::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(to top, rgba(17,17,17,0.28), rgba(17,17,17,0));
  z-index: 1;
}

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

.hero-dot {
  width: 38px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,0.28);
  transition: background 220ms ease, transform 220ms ease;
}

.hero-dot.is-active {
  background: var(--color-primary);
  transform: scaleX(1.08);
}

.hero-dot:hover {
  background: rgba(255,255,255,0.7);
}

.site-footer {
  position: relative;
  z-index: 3;
}

@media (max-width: 991.98px) {
  .hero-pagination {
    bottom: 82px;
  }
}

@media (max-width: 575.98px) {
  .hero-pagination {
    gap: 8px;
    bottom: 78px;
  }

  .hero-dot {
    width: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .metric-box, .service-card, .content-panel, .contact-card, .compare-card, .gallery-item, .process-step, .mobile-call-btn, .hero-dot {
    transition: none !important;
  }

  .gallery-item::after,
  .hero-slider::after {
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}