/* ==========================================================================
   SAWBLADE PTY LTD — sawblade.co.za
   Palette: #FFFFFF · #000000 · #FF4A00 (alpha variants of black only)
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --black: #000000;
  --orange: #FF4A00;
  --ink-60: #000000;
  --ink-40: #000000;
  --line: rgba(0, 0, 0, 0.1);
  --line-soft: rgba(0, 0, 0, 0.07);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", var(--font-body);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--orange);
  color: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); max-width: 21ch; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--black);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

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

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tight { padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }

.section-head {
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
}
.section-head h2 {
  margin-bottom: 0.3em;
  margin-inline: auto;
}
.section-note {
  font-size: 0.85rem;
  color: var(--ink-60);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-block;
  padding: 4px 14px;
  margin-top: 0.6rem;
}

.label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  color: var(--ink-60);
}
.label span { color: var(--orange); margin: 0 0.35em; }
.label--orange {
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.label--orange::before,
.label--orange::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 1em 1.9em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--black); }
.btn--outline { border-color: var(--black); color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--block { width: 100%; }
.btn--nav { padding: 0.72em 1.4em; font-size: 0.78rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
  position: relative;
  padding-bottom: 3px;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.text-link:hover::after { transform: scaleX(1); }
.text-link svg { transition: transform 0.3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

.icon-accent { stroke: var(--orange); }

/* ---------- Navigation ---------- */
.nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 200;
  padding-inline: max(1rem, calc((100% - 1180px) / 2));
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.nav-wrap.is-hidden {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0.65rem 0 1.1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__brand img {
  width: 46px;
  height: 46px;
  transition: transform 0.35s var(--ease);
}
.nav__brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.6vw, 1.4rem);
}
.nav__link {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5em 0.35em;
  position: relative;
  color: var(--ink-60);
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.35em;
  right: 0.35em;
  bottom: 0.15em;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--black); }
.nav__link.is-active { color: var(--black); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 88svh, 820px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 14px + clamp(2.5rem, 7vw, 5.5rem));
  padding-bottom: clamp(4rem, 8vw, 6rem);
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.5)),
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42) 68%),
    url("../img/hero-carpenter-planing.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
}
.hero__content {
  max-width: 900px;
  margin-inline: auto;
}
.hero .label { color: rgba(255, 255, 255, 0.82); }
.hero__title em {
  font-style: normal;
  color: var(--orange);
}
.hero__copy {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.hero__call {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.25s var(--ease);
}
.hero__call:hover { color: var(--orange); }
.hero__call svg { color: var(--orange); }
.hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}
.hero .btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

/* ---------- Trust strip ---------- */
.trust {
  border-top: 1px solid var(--line-soft);
  padding: 1.9rem 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.trust__item svg {
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.trust__item:hover svg { transform: translateY(-3px) scale(1.1); }
.trust__item p {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about { overflow: hidden; }
.about__stage {
  position: relative;
  padding: clamp(1rem, 3vw, 2.5rem) 0;
}
.about__content {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.about__content p {
  color: var(--ink-60);
  max-width: 56ch;
  margin-inline: auto;
}
.about__content h2 { margin-bottom: 0.8em; margin-inline: auto; }
.about__content h2 em { font-style: normal; color: var(--orange); }
.about__content .label--orange { justify-content: center; }
.about__content .text-link { margin-top: 1.2rem; }
ul.about__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1.6rem 0 1.8rem;
  gap: 0.7rem 1.6rem;
}
.about__points li { text-align: left; }
.about__reg {
  margin: 2rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* Floating service chips around the heading */
.about__floaters { position: absolute; inset: 0; pointer-events: none; }
.chip svg {
  color: var(--orange);
  flex-shrink: 0;
}
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6em 1.2em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
  animation: chip-float 5.6s ease-in-out infinite alternate;
}
.chip--1 { top: 6%; left: 3%; animation-duration: 5.2s; }
.chip--2 { top: 44%; left: 0; animation-delay: -1.4s; animation-duration: 6.4s; }
.chip--3 { bottom: 8%; left: 8%; animation-delay: -2.6s; animation-duration: 5.8s; }
.chip--4 { top: 8%; right: 4%; animation-delay: -0.8s; animation-duration: 6s; }
.chip--5 { top: 46%; right: 0; animation-delay: -3.2s; animation-duration: 5.4s; }
.chip--6 { bottom: 6%; right: 7%; animation-delay: -2s; animation-duration: 6.6s; }
@keyframes chip-float {
  from { transform: translateY(-9px) rotate(-2deg); }
  to { transform: translateY(11px) rotate(2deg); }
}

/* ---------- Services accordion ---------- */
.accordion {
  border-top: 1px solid var(--line);
}
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__heading { margin: 0; font-size: inherit; }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 0.3rem;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
  transition: color 0.25s var(--ease);
}
.accordion__trigger:hover { color: var(--orange); }
.accordion__num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.08em;
  min-width: 2.2em;
}
.accordion__chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
  color: var(--ink-40);
}
.accordion__item.is-open .accordion__chevron { transform: rotate(180deg); color: var(--orange); }
.accordion__panel { overflow: hidden; }
.accordion__body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 0.4rem 0.3rem 2.2rem calc(2.2em + 1.2rem);
  align-items: start;
}
.accordion__text > p { color: var(--ink-60); max-width: 52ch; }
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  margin: 1.2rem 0 1.6rem;
}
.check-list li {
  position: relative;
  padding-left: 1.5em;
  font-weight: 500;
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.62em;
  height: 0.34em;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.accordion__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  max-height: 380px;
}
.accordion__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Projects gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
}
.filter {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.62em 1.4em;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-60);
  transition: all 0.25s var(--ease);
}
.filter:hover { border-color: var(--black); color: var(--black); }
.filter.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.gallery {
  columns: 3;
  column-gap: 1.1rem;
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  transition: opacity 0.35s var(--ease);
}
.gallery__item.is-filtered-out { display: none; }
.gallery__card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  padding: 0;
}
.gallery__card img {
  width: 100%;
  transition: transform 0.7s var(--ease);
}
.gallery__card:hover img,
.gallery__card:focus-visible img { transform: scale(1.045); }
.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  text-align: left;
}
.gallery__card:hover .gallery__overlay,
.gallery__card:focus-visible .gallery__overlay { opacity: 1; }
.gallery__cat {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--black);
  padding: 0.35em 0.9em;
  border-radius: 999px;
}
.gallery__title {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
}

.gallery__more {
  text-align: center;
  margin-top: 1.8rem;
}
.gallery__more[hidden] { display: none; }

/* ---------- Scroll cue ---------- */
/* Equal air above and below every arrow: the section's own bottom padding
   is collapsed to the same gap the arrow carries on top. */
.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: clamp(2.2rem, 4.5vw, 3rem) auto 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--black);
  animation: cue-float 2.4s var(--ease) infinite;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
section:has(> .scroll-cue) {
  padding-bottom: clamp(2.2rem, 4.5vw, 3rem);
}
section:has(> .scroll-cue) + section {
  padding-top: 0;
}
.scroll-cue:hover {
  border-color: var(--orange);
  color: var(--orange);
  animation-play-state: paused;
}
@keyframes cue-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
}

/* ---------- Why us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.why__card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.why__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.why__card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
}
.why__card:hover::after { transform: scaleX(1); }
.why__card svg {
  margin-bottom: 1.1rem;
  transition: transform 0.35s var(--ease);
}
.why__card:hover svg { transform: translateY(-3px) rotate(-5deg); }
.why__card h3 { margin-bottom: 0.45em; }
.why__card p { margin: 0; color: var(--ink-60); font-size: 0.98rem; }

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
  counter-reset: step;
  position: relative;
}
.step { position: relative; padding-top: 1.6rem; }
.step::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 52px;
  right: -1.6rem;
  height: 2px;
  background: linear-gradient(to right, var(--orange), rgba(255, 74, 0, 0.15));
}
.step:last-child::before { display: none; }
.step__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover .step__num,
.step.is-active .step__num { background: var(--orange); transform: scale(1.12); }
.step h3 { transition: color 0.3s var(--ease); }
.step.is-active h3 { color: var(--orange); }
.step h3 { font-size: 1.02rem; margin: 2.2rem 0 0.4em; }
.step p { margin: 0; color: var(--ink-60); font-size: 0.92rem; }

/* ---------- Clients ---------- */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
.clients__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.1rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.clients__item:hover {
  border-color: var(--black);
  transform: translateY(-4px);
}
.clients__avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.clients__item:hover .clients__avatar { background: var(--orange); transform: scale(1.08); }
.clients__item p {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

.steps-wrap { position: relative; }
.steps__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--black);
  box-shadow: 0 0 0 4px var(--white);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}
.steps-wrap.is-active .steps__dot { opacity: 1; }

/* ---------- Testimonials: dual floating marquee ---------- */
.testimonials { overflow: hidden; }
.marquee {
  position: relative;
  margin-top: 1.2rem;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 9vw, 160px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white), rgba(255, 255, 255, 0));
}
.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white), rgba(255, 255, 255, 0));
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-left 48s linear infinite;
}
.marquee--reverse .marquee__track { animation-name: marquee-right; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  gap: 1.1rem;
  padding: 0.4rem 0.55rem;
}
@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.t-card {
  width: min(420px, 82vw);
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.t-card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
}
.t-card blockquote { margin: 0; flex: 1; }
.t-card blockquote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}
.t-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
}
.t-card figcaption strong {
  display: block;
  font-family: var(--font-head);
  letter-spacing: 0.01em;
}
.t-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--white);
  outline: 2px solid var(--orange);
}
.t-card__meta { display: block; font-size: 0.8rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  overflow: hidden;
}
.cta__geometry {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent calc(50% + 210px), rgba(255, 74, 0, 0.14) calc(50% + 210px), rgba(255, 74, 0, 0.14) calc(50% + 260px), transparent calc(50% + 260px)),
    linear-gradient(118deg, transparent calc(50% + 300px), rgba(255, 74, 0, 0.07) calc(50% + 300px), rgba(255, 74, 0, 0.07) calc(50% + 420px), transparent calc(50% + 420px)),
    linear-gradient(-62deg, transparent calc(50% + 330px), rgba(255, 74, 0, 0.1) calc(50% + 330px), rgba(255, 74, 0, 0.1) calc(50% + 380px), transparent calc(50% + 380px));
}
.cta__inner { position: relative; text-align: center; }
.cta__inner h2 { margin-inline: auto; }
.cta__inner p {
  color: var(--white);
  max-width: 46ch;
  margin: 0 auto 2.2rem;
  font-size: 1.08rem;
}
.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2.5rem, 5.5vw, 4.5rem);
  align-items: stretch;
}
.contact__info {
  display: flex;
  flex-direction: column;
}
.contact__list {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.2rem;
}
.contact__list li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.contact__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact__label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.contact__list a,
.contact__list li > span:not(.contact__label) {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
}
.contact__list a { transition: color 0.25s var(--ease); }
.contact__list a:hover { color: var(--orange); }

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  flex: 1;
  min-height: 300px;
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* ---------- Form ---------- */
.form {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.form__intro {
  font-size: 0.95rem;
  color: var(--ink-60);
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.2rem;
}
.form__field { margin-bottom: 1.1rem; display: block; }
.form__field label,
.form__fieldset legend {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
}
.req { color: var(--orange); }
.form__optional { color: var(--ink-40); font-weight: 500; }
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8em 1em;
  transition: border-color 0.25s var(--ease);
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--ink-40); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form input[type="file"] {
  font-size: 0.92rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8em 1em;
  width: 100%;
  color: var(--ink-60);
}
.form input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 600;
  border: 0;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  padding: 0.45em 1.2em;
  margin-right: 1em;
  cursor: pointer;
}
.form__field.has-error input,
.form__field.has-error select,
.form__field.has-error textarea { border-color: var(--orange); }
.form__error {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.4rem 0 0;
}
.form__hint {
  font-size: 0.82rem;
  color: var(--ink-40);
  margin: 0.45rem 0 0;
}
.form__photo-note {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.88rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8em 1em;
  margin: 0 0 1.1rem;
}
.form__photo-note svg { flex-shrink: 0; color: var(--orange); }
.form__fieldset { border: 0; padding: 0; margin: 0 0 1.15rem; }
.form__radios { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.radio:hover { border-color: var(--black); }
.radio:has(input:checked) { border-color: var(--orange); }
.radio input { accent-color: var(--orange); margin: 0; }
.form__status {
  margin: 1rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.form__status.is-success { color: var(--black); }
.form__status.is-error { color: var(--orange); }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1fr 1.2fr;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  padding-bottom: clamp(2.6rem, 5vw, 3.8rem);
  text-align: center;
  justify-items: center;
}
.footer__grid > * {
  width: 100%;
  position: relative;
}
.footer__grid > *:not(:first-child)::before {
  content: "";
  position: absolute;
  left: calc(-0.5 * clamp(1.6rem, 3vw, 2.6rem));
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 58%;
  background: var(--white);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__logo-tile {
  display: inline-block;
  background: var(--white);
  border-radius: 22px;
  padding: 12px;
  margin-bottom: 1rem;
}
.footer__logo-tile img { width: 150px; height: 150px; }
.footer__reg {
  font-size: 0.78rem;
  color: var(--white);
  margin: 0;
}
.footer__desc {
  font-size: 0.92rem;
  color: var(--white);
  max-width: 34ch;
  margin: 0 auto;
}
.footer__col h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a, .footer__col li {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--white);
}
.footer__col a {
  display: inline-block;
  transition: color 0.25s var(--ease);
}
.footer__col a:hover { color: var(--orange); }
.footer__terms {
  font-size: 0.85rem;
  color: var(--white);
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--orange);
  transition: color 0.25s var(--ease);
}
.footer__terms:hover { color: var(--orange); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--white);
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.footer__bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--white);
}
.footer__bottom a:hover { color: var(--orange); }
.footer__credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
}
.footer__credit span {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer__credit a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color 0.25s var(--ease);
}

/* ---------- Terms & Conditions modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.modal[hidden] { display: none; }
.modal__panel {
  position: relative;
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  max-width: 760px;
  width: 100%;
  max-height: min(86vh, 900px);
  overflow-y: auto;
  padding: clamp(1.8rem, 4.5vw, 3rem);
}
.modal__panel h2 { margin-bottom: 0.2em; }
.modal__panel h3 {
  font-size: 1.02rem;
  margin: 1.8em 0 0.4em;
}
.modal__panel p {
  font-size: 0.95rem;
  margin-bottom: 0.6em;
}
.modal__panel a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--orange);
}
.modal__updated {
  font-size: 0.82rem;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 1.2rem;
}
.modal__note {
  margin-top: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
}
.modal__close {
  position: sticky;
  top: 0;
  float: right;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  place-items: center;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.modal__close:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Free quote popup ---------- */
.modal__panel--promo:focus { outline: none; }
.modal__panel--promo {
  max-width: 430px;
  text-align: center;
  padding: 2.6rem 2.2rem 2.2rem;
  animation: promo-pop 0.5s var(--ease);
}
@keyframes promo-pop {
  from {
    transform: scale(0.92) translateY(16px);
    opacity: 0;
  }
}
.modal__close--promo {
  position: absolute;
  top: 14px;
  right: 14px;
  float: none;
}
.promo__mark {
  margin: 0 auto 1.1rem;
}
.promo__label { justify-content: center; margin-bottom: 0.8rem; }
.modal__panel--promo h2 {
  max-width: none;
  margin-bottom: 0.4em;
}
.promo__copy {
  max-width: 32ch;
  margin: 0 auto 1.6rem;
  font-size: 0.98rem;
}
.promo__later {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--orange);
  transition: color 0.25s var(--ease);
}
.promo__later:hover { color: var(--orange); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-3px); background: var(--black); }
.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.5em 1em;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
@media (hover: hover) {
  .whatsapp-float:hover .whatsapp-float__tooltip,
  .whatsapp-float:focus-visible .whatsapp-float__tooltip { opacity: 1; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  max-width: min(860px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.lightbox__figure img {
  max-height: min(74vh, 900px);
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.lightbox__figure figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.lightbox__cat {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  padding: 0.3em 0.9em;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--white);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Loading screen ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--white);
  display: grid;
  place-items: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__ring {
  position: relative;
  width: 122px;
  height: 122px;
  display: grid;
  place-items: center;
}
.preloader__ring img { width: 64px; height: 64px; }
.preloader__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--orange);
  animation: preloader-spin 0.9s linear infinite;
}
@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}
.no-js .preloader { display: none; }

/* ---------- Custom cursor (desktop only, added by JS) ---------- */
.cursor-arrow,
.cursor-ripple {
  display: none;
}
@media (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor label {
    cursor: none;
  }
  html.has-custom-cursor .cursor-arrow,
  html.has-custom-cursor .cursor-ripple {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 600;
    pointer-events: none;
  }
  html.has-custom-cursor .cursor-arrow { opacity: 0; }
  html.has-custom-cursor.cursor-visible .cursor-arrow { opacity: 1; }
  .cursor-arrow { margin: -2px 0 0 -4px; }
  .cursor-arrow svg {
    display: block;
    width: 27px;
    height: 27px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.28));
    transform-origin: 6px 4px;
    transition: transform 0.16s var(--ease);
  }
  .cursor-arrow svg path {
    fill: var(--black);
    stroke: var(--white);
    stroke-width: 1.6;
    stroke-linejoin: round;
    transition: fill 0.2s var(--ease);
  }
  .cursor-arrow.is-hover svg { transform: scale(1.18) rotate(-8deg); }
  .cursor-arrow.is-hover svg path { fill: var(--orange); }
  .cursor-arrow.is-down svg { transform: scale(0.78) rotate(-15deg); }
  .cursor-ripple {
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    animation: cursor-ripple 0.5s ease-out forwards;
  }
  @keyframes cursor-ripple {
    to {
      transform: scale(5);
      opacity: 0;
    }
  }
}

/* ---------- Touch: replay hover states when cards scroll into view ---------- */
@media (hover: none) {
  .why__card.is-inview { border-color: var(--black); transform: translateY(-4px); }
  .why__card.is-inview::after { transform: scaleX(1); }
  .why__card.is-inview svg { transform: translateY(-3px) rotate(-5deg); }
  .trust__item.is-inview svg { transform: translateY(-3px) scale(1.1); }
  .t-card.is-inview { border-color: var(--black); }
  .clients__item.is-inview { border-color: var(--black); transform: translateY(-4px); }
  .clients__item.is-inview .clients__avatar { background: var(--orange); transform: scale(1.08); }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal--delay-1.in-view { transition-delay: 0.08s; }
.reveal--delay-2.in-view { transition-delay: 0.16s; }
.reveal--delay-3.in-view { transition-delay: 0.24s; }
.reveal--delay-4.in-view { transition-delay: 0.32s; }

/* Fallback when JS is disabled */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track {
    animation: none !important;
    width: 100%;
    flex-wrap: wrap;
  }
  .marquee__group { flex-wrap: wrap; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .preloader { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .gallery { columns: 2; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.6rem; }
  .step:nth-child(3)::before { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > *:not(:first-child) {
    padding-top: clamp(1.6rem, 3vw, 2.2rem);
  }
  .footer__grid > *:not(:first-child)::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 44%;
    height: 1px;
  }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 0.9rem;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__link {
    display: block;
    padding: 0.7em 1em;
    border-radius: 12px;
    font-size: 1rem;
  }
  .nav__link.is-active { background: rgba(0, 0, 0, 0.05); }
  .nav__link::after { display: none; }
  .nav__toggle { display: flex; }
  .nav-wrap { padding-inline: 0.9rem; }

  .hero__grid { grid-template-columns: 1fr; }
  .about__floaters { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1.6rem; }
  .chip { position: static; animation: none; box-shadow: none; font-size: 0.8rem; }
  .accordion__body {
    grid-template-columns: 1fr;
    padding-left: 0.3rem;
  }
  .accordion__media { max-height: 300px; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .btn--nav { padding: 0.7em 1.05em; font-size: 0.7rem; letter-spacing: 0.06em; }
  .nav { padding-left: 0.85rem; }
  .nav__brand img { width: 40px; height: 40px; }
  .hero {
    min-height: 720px;
    padding-top: calc(var(--nav-h) + 14px + 2.2rem);
    background-position: 58% center;
  }
  .trust__grid { grid-template-columns: 1fr; gap: 0; }
  .trust__item {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .trust__item:last-child { border-bottom: 0; }
  .trust__item svg { flex-shrink: 0; }
  .check-list { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .why__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    padding: 0 0 2rem 64px;
  }
  .step::before {
    top: 44px;
    left: 21px;
    right: auto;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, var(--orange), rgba(255, 74, 0, 0.15));
  }
  .step:last-child { padding-bottom: 0; }
  .step h3 { margin-top: 0.4rem; }
  .form__row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; justify-content: center; text-align: center; gap: 0.9rem; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}
