/* =========================================================================
   Survey Techies Engineering Service — style.css
   Design system: logo-driven deep teal + survey orange, serif/sans pairing
   ========================================================================= */

:root {
  /* Brand colours sampled from the client logo */
  --teal: #1b3941;
  --teal-800: #163037;
  --teal-dark: #12262c;
  --teal-soft: #24474f;
  --orange: #e26a39;
  --orange-dark: #c9531f;
  --orange-tint: #fbeee7;

  --white: #ffffff;
  --ivory: #f7f5f1;
  --body: #29424a;
  --muted: #5d7078;
  --border: #dfe7e5;

  --font-display: "Cinzel", "Times New Roman", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --topbar-h: 38px;
  --header-h: 92px;
  --sticky-offset: calc(var(--topbar-h) + var(--header-h));
  /* Anchor scroll offset: the sticky header alone, plus a little breathing room */
  --scroll-offset: calc(var(--header-h) + 10px);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(18, 38, 44, 0.06);
  --shadow-md: 0 12px 34px rgba(18, 38, 44, 0.12);
  --shadow-lg: 0 22px 60px rgba(18, 38, 44, 0.22);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.55s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* `clip` (not `hidden`) trims the horizontal overflow caused by the
     .reveal--right pre-animation transform WITHOUT creating a scroll
     container — so `position: sticky` on the header keeps working. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal);
  line-height: 1.18;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1rem; }

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

/* ---------- Utilities ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 3000;
  background: var(--orange);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

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

/* ---------- Section scaffolding ---------- */
.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  scroll-margin-top: var(--scroll-offset);
}
.section--ivory { background: var(--ivory); }

.section__head {
  max-width: 780px;
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin: 0 0 0.9rem;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px; height: 2px;
  background: var(--orange);
  opacity: 0.6;
}

.section__title {
  font-size: clamp(1.7rem, 1.1rem + 2.1vw, 2.7rem);
  margin-bottom: 0.75rem;
}

.section__lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
  color: var(--muted);
  margin: 0 auto;
  max-width: 62ch;
}

/* Survey grid / contour backdrop */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(27, 57, 65, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 57, 65, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
}
.section > .container { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
  box-shadow: 0 8px 20px rgba(226, 106, 57, 0.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(226, 106, 57, 0.36); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--teal);
  border-color: var(--teal);
  box-shadow: none;
}
.btn--ghost:hover {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  box-shadow: 0 12px 26px rgba(27, 57, 65, 0.25);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--teal); border-color: #fff; }

.btn--wa {
  --btn-bg: #1fa855;
  --btn-fg: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 168, 85, 0.26);
}
.btn--wa:hover { box-shadow: 0 12px 26px rgba(31, 168, 85, 0.34); --btn-fg: #1a1a1a; color: var(--btn-fg); }

.btn--sm { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 0.9rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.83rem;
  position: relative;
  z-index: 60;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topbar-h);
  flex-wrap: wrap;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}
.topbar__item svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.topbar__item:hover { color: #fff; }
.topbar__item span { white-space: nowrap; }
.topbar__hours { color: rgba(255, 255, 255, 0.72); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 22px rgba(18, 38, 44, 0.1); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex: none;
}
.brand__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: none;
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: #193b44;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px #193b44;
  white-space: nowrap;
}
.brand__tag {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e7662b;
  white-space: nowrap;
  text-align : center;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.2vw, 1rem);
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.6rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.7rem; right: 0.7rem;
  bottom: 0.28rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--orange-dark); }

.nav__cta { margin-left: 0.6rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--teal);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 22px; height: 14px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Lock scrolling behind the mobile drawer. The lock must go on <html> (the
   real scroll container) — NOT on <body>. Setting overflow:hidden on <body>
   turns it into a scroll container, which detaches the sticky header from the
   viewport scroll and flings it off-screen. Locking <html> and keeping <body>
   as a non-scroll container blocks the page scroll AND keeps the sticky
   header pinned at the top. JS adds .nav-open to both <html> and <body>. */
html.nav-open { overflow: hidden; }

/* ---------- Hero carousel ---------- */
.hero {
  position: relative;
  background: var(--teal-dark);
  isolation: isolate;
}
.hero__viewport {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 78svh, 760px);
}
.hero__track {
  display: flex;
  height: 100%;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.hero__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos, 50% 45%);
}

/* Per-slide focal points keep surveyors and equipment in frame.
   Desktop (16:9 crops) and mobile (portrait crops) are set separately. */
.hero__slide:nth-child(1) { --hero-pos: 50% 45%; --hero-pos-m: 50% 38%; }
.hero__slide:nth-child(2) { --hero-pos: 50% 45%; --hero-pos-m: 50% 38%; }
.hero__slide:nth-child(3) { --hero-pos: 50% 48%; --hero-pos-m: 50% 40%; }
.hero__slide:nth-child(4) { --hero-pos: 50% 45%; --hero-pos-m: 50% 36%; }
.hero__slide:nth-child(5) { --hero-pos: 50% 45%; --hero-pos-m: 50% 38%; }
.hero__slide:nth-child(6) { --hero-pos: 50% 50%; --hero-pos-m: 50% 42%; }
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(520px, 78svh, 760px);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
/* Floating translucent panel on the right — the photograph stays sharp and
   completely visible through it (no backdrop blur, no image filter). */
.hero__content {
  position: relative;
  margin-left: auto;
  max-width: 520px;
  color: #fff;
  background: linear-gradient(118deg,
    rgba(9, 22, 28, 0.66) 0%,
    rgba(9, 22, 28, 0.5) 58%,
    rgba(9, 22, 28, 0.36) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: clamp(1.5rem, 2.1vw, 2rem);
  box-shadow: 0 24px 60px rgba(6, 16, 20, 0.28);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* Keeps the copy crisp over bright sky without darkening the panel further */
.hero__content .hero__kicker,
.hero__content .hero__title,
.hero__content .hero__text {
  text-shadow: 0 2px 14px rgba(4, 12, 16, 0.5);
}
.hero__content .btn--outline-light { background-color: rgba(9, 22, 28, 0.32); }
/* Hover stays white with teal text — never green */
.hero__content .btn--outline-light:hover,
.hero__content .btn--outline-light:focus-visible {
  background-color: #fff;
  border-color: #fff;
  color: var(--teal);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 1rem;
}
.hero__kicker::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--orange);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.35rem);
  line-height: 1.14;
  color: #fff;
  margin: 0 0 0.85rem;
  min-height: calc(3 * 1.14em);
  display: flex;
  align-items: center;
}
.hero__text {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
  margin: 0 0 1.5rem;
  min-height: calc(2 * 1.6em);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.75rem; }

/* Gentle fade-up for the panel content each time a slide becomes active */
.hero__slide .hero__kicker,
.hero__slide .hero__title,
.hero__slide .hero__text,
.hero__slide .hero__actions { opacity: 0; }
.hero__slide:not([aria-hidden="true"]) .hero__kicker {
  animation: hero-rise 0.6s var(--ease) 0.05s both;
}
.hero__slide:not([aria-hidden="true"]) .hero__title {
  animation: hero-rise 0.65s var(--ease) 0.12s both;
}
.hero__slide:not([aria-hidden="true"]) .hero__text {
  animation: hero-rise 0.65s var(--ease) 0.2s both;
}
.hero__slide:not([aria-hidden="true"]) .hero__actions {
  animation: hero-rise 0.65s var(--ease) 0.28s both;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide .hero__kicker,
  .hero__slide .hero__title,
  .hero__slide .hero__text,
  .hero__slide .hero__actions {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* controls */
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(18, 38, 44, 0.42);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero__nav:hover { background: var(--orange); border-color: var(--orange); }
.hero__nav svg { width: 20px; height: 20px; }
.hero__nav--prev { left: clamp(0.5rem, 2vw, 1.75rem); }
.hero__nav--next { right: clamp(0.5rem, 2vw, 1.75rem); }

.hero__dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 1.4rem;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding-inline: 1rem;
}
.hero__dot {
  width: 34px; height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), width 0.25s var(--ease);
}
.hero__dot[aria-selected="true"] { background: var(--orange); width: 54px; }

.hero__counter {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 1.3rem;
  z-index: 4;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Value proposition strip ---------- */
.valueprop {
  background: var(--teal);
  color: #fff;
  position: relative;
  z-index: 2;
}
.valueprop__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
}
.valueprop__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.valueprop__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(226, 106, 57, 0.16);
  color: var(--orange);
}
.valueprop__icon svg { width: 22px; height: 22px; }
.valueprop__title {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.15rem;
}
.valueprop__text {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

/* ---------- Service preview band ---------- */
.previews__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}
.preview-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.1rem 0.75rem;
  text-align: center;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.3;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.preview-chip svg { width: 26px; height: 26px; color: var(--orange); }
.preview-chip:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

/* ---------- "What We Do" motion layer ---------- */
/* The generic .reveal on this head is neutralised so its children can
   animate individually (label fades, heading rises, rules expand). */
.overview .section__head.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.overview .section__head .eyebrow,
.overview .section__head .section__title {
  opacity: 0;
}
.overview .section__head .eyebrow { transform: translateY(10px); }
.overview .section__head .section__title { transform: translateY(26px); }
.overview .section__head.is-visible .eyebrow,
.overview .section__head.is-visible .section__title {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.overview .section__head.is-visible .section__title { transition-delay: 0.08s; }
.overview .eyebrow::before,
.overview .eyebrow::after {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.65s var(--ease) 0.1s;
}
.overview .section__head.is-visible .eyebrow::before,
.overview .section__head.is-visible .eyebrow::after { transform: scaleX(1); }

/* Cards enter left to right, once, as the grid scrolls into view */
.overview .previews__grid .preview-chip {
  position: relative;
  overflow: hidden;
}
.overview .previews__grid .preview-chip:nth-child(1) { --chip-i: 0; }
.overview .previews__grid .preview-chip:nth-child(2) { --chip-i: 1; }
.overview .previews__grid .preview-chip:nth-child(3) { --chip-i: 2; }
.overview .previews__grid .preview-chip:nth-child(4) { --chip-i: 3; }
.overview .previews__grid .preview-chip:nth-child(5) { --chip-i: 4; }
.overview .previews__grid .preview-chip:nth-child(6) { --chip-i: 5; }
.overview .previews__grid .preview-chip.reveal.is-visible {
  animation: chip-enter 0.7s var(--ease) backwards;
  animation-delay: calc(var(--chip-i, 0) * 100ms);
}
@keyframes chip-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Continuous, gentle icon motion (transform only) */
.overview .preview-chip svg { animation: icon-drift 4.4s ease-in-out infinite; }
.overview .preview-chip:nth-child(2) svg { animation-name: icon-flow; animation-duration: 4s; }
.overview .preview-chip:nth-child(3) svg { animation-name: icon-pulse; animation-duration: 3.6s; }
.overview .preview-chip:nth-child(4) svg { animation-name: icon-wave; animation-duration: 4.8s; }
.overview .preview-chip:nth-child(5) svg { animation-name: icon-rise; animation-duration: 4.2s; }
.overview .preview-chip:nth-child(6) svg { animation-name: icon-glow; animation-duration: 4.6s; }
@keyframes icon-drift {
  0%, 100% { transform: translateX(-1.5px); }
  50% { transform: translateX(1.5px); }
}
@keyframes icon-flow {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}
@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes icon-wave {
  0%, 100% { transform: translateY(-2.5px); }
  50% { transform: translateY(2.5px); }
}
@keyframes icon-rise {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-2px); }
}
@keyframes icon-glow {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.04); opacity: 1; }
}

/* Low-intensity scanning accent on alternating card borders */
.overview .preview-chip::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(226, 106, 57, 0.55), transparent);
  transform: translateX(-130%);
  pointer-events: none;
}
.overview .preview-chip:nth-child(1)::after,
.overview .preview-chip:nth-child(3)::after,
.overview .preview-chip:nth-child(5)::after {
  animation: chip-scan 6s linear infinite;
}
.overview .preview-chip:nth-child(3)::after { animation-delay: 1.6s; }
.overview .preview-chip:nth-child(5)::after { animation-delay: 3.2s; }
@keyframes chip-scan {
  0% { transform: translateX(-130%); }
  60%, 100% { transform: translateX(320%); }
}

/* Premium hover: lift, orange border, icon emphasis (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
  .overview .preview-chip:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange);
  }
  .overview .preview-chip svg {
    scale: 1.12;
    transition: scale 0.3s var(--ease);
  }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__media { position: relative; max-width: 460px; }
.about__img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
}
.about__detail {
  position: absolute;
  left: -18px;
  bottom: -34px;
  width: 40%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 30%;
  border: 5px solid var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.about__badge {
  position: absolute;
  right: -14px;
  bottom: 26px;
  background: var(--orange);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  max-width: 210px;
}
.about__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}
.about__badge span { font-size: 0.8rem; opacity: 0.95; }

.about__body p { color: var(--muted); }
.about__points {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 1.8rem;
}
.about__point {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 600;
  color: var(--teal);
}
.about__point svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 2px; }

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}
.vm-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}
.vm-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.vm-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card__media { position: relative; overflow: hidden; aspect-ratio: 19 / 14; }
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.service-card:hover .service-card__media::after { transform: scaleX(1); }

.service-card__icon {
  position: absolute;
  top: 1rem; left: 1rem;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.service-card__icon svg { width: 24px; height: 24px; }

.service-card__body {
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.service-card__text { color: var(--muted); font-size: 0.95rem; flex: 1; }
.service-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Process: survey traverse timeline ---------- */
.traverse {
  counter-reset: station;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Connecting "traverse line" between the station nodes */
.traverse::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 11%;
  right: 11%;
  height: 2px;
  background-image: linear-gradient(to right, var(--orange) 55%, transparent 55%);
  background-size: 12px 2px;
  opacity: 0.55;
}

.traverse__step {
  position: relative;
  text-align: center;
  padding-top: 0.25rem;
}

/* Station node: compass-style ring with icon */
.traverse__node {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange);
  color: var(--teal);
  box-shadow: 0 0 0 6px var(--ivory), var(--shadow-sm);
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease), color 0.28s var(--ease);
}
/* Compass ticks around the node */
.traverse__node::before,
.traverse__node::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(27, 57, 65, 0.28);
}
.traverse__node::after {
  inset: -14px;
  border-style: solid;
  border-color: transparent;
}
.traverse__node svg { width: 27px; height: 27px; }

.traverse__step:hover .traverse__node {
  transform: scale(1.07);
  background: var(--orange);
  color: #fff;
}

.traverse__num {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 0.35rem;
}
.traverse__title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.traverse__text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  max-width: 30ch;
  margin-inline: auto;
}

/* ---------- Gallery ---------- */
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.filter-btn {
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange-dark); }
.filter-btn[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.15rem);
}
.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  display: block;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 0.9rem 0.8rem;
  background: linear-gradient(to top, rgba(18, 38, 44, 0.9), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover .gallery-item__cap,
.gallery-item:focus-visible .gallery-item__cap { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }


/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  background: rgba(10, 22, 26, 0.94);
}
.lightbox.is-open { display: flex; }
.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lightbox__img {
  max-width: 100%;
  max-height: 78svh;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
}
.lightbox__cap { color: rgba(255, 255, 255, 0.9); text-align: center; font-size: 0.92rem; }
.lightbox__btn {
  position: absolute;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.lightbox__btn:hover { background: var(--orange); border-color: var(--orange); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem); }
.lightbox__prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }

/* ---------- Reviews carousel ---------- */
.rvw {
  position: relative;
  max-width: 1160px;
  margin-inline: auto;
}
.rvw__viewport {
  overflow: hidden;
  /* Mask edges so cards fade rather than clip */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.rvw__track {
  display: flex;
  gap: clamp(0.85rem, 1.8vw, 1.4rem);
  transition: transform 0.55s var(--ease);
  will-change: transform;
  list-style: none;
  margin: 0;
  padding: 4px;
}
.rvw-card {
  flex: 0 0 calc((100% - (clamp(0.85rem, 1.8vw, 1.4rem) * 2)) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.rvw-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(226, 106, 57, 0.45);
}
.rvw-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.rvw-card__quote {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.7;
  color: var(--orange);
  opacity: 0.85;
}
.rvw-card__stars { display: inline-flex; gap: 2px; }
.rvw-card__stars svg.is-on { color: var(--orange); }
.rvw-card__stars svg.is-off { color: #d9d3c8; }
.rvw-card__text {
  margin: 0 0 1.25rem;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--body);
  font-family: 'Poppins', sans-serif;
  flex: 1;
}
.rvw-card__foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.rvw-card__avatar {
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.rvw-card__who { display: flex; flex-direction: column; min-width: 0; }
.rvw-card__name {
  font-family: "Montserrat", var(--font-sans);
  font-style: normal;
  font-weight: 800;
  font-size: 0.97rem;
  color: var(--teal);
}
.rvw-card__meta {
  font-size: 0.8rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rvw__ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.rvw__nav {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.rvw__nav svg { width: 20px; height: 20px; }
.rvw__nav:hover:not(:disabled) {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.rvw__nav:disabled { opacity: 0.4; cursor: not-allowed; }
.rvw__dots { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.rvw__dot {
  width: 10px; height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d3d9d7;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), width 0.25s var(--ease);
}
.rvw__dot[aria-selected="true"] {
  background: var(--orange);
  width: 26px;
  border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq__banner {
  max-width: 980px;
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.faq__banner img {
  display: block;
  width: 100%;
  height: clamp(180px, 24vw, 280px);
  object-fit: cover;
  object-position: center 45%;
}
.faq__list { max-width: 860px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: none;
  border: 0;
  text-align: left;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--teal);
  cursor: pointer;
}
.faq__q:hover { color: var(--orange-dark); }
.faq__icon {
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-dark);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.faq__icon svg { width: 16px; height: 16px; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq__a {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}
.faq__a p { margin: 0; }

/* ---------- Enquiry CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--teal);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/cta/enquiry-banner.jpg");
  background-size: cover;
  background-position: center 45%;
  opacity: 0.72;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(18, 38, 44, 0.88) 0%, rgba(18, 38, 44, 0.74) 42%, rgba(18, 38, 44, 0.52) 72%, rgba(18, 38, 44, 0.34) 100%),
    radial-gradient(circle at 12% 20%, rgba(226, 106, 57, 0.16), transparent 42%);
}
.cta-band__inner {
  position: relative;
  z-index: 2; /* keep the copy and buttons above the photo overlay */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.cta-band__text { max-width: 620px; }
.cta-band__text h2 {
  color: #fff;
  font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.4rem);
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 14px rgba(9, 21, 25, 0.35);
}
.cta-band__text p { color: rgba(255, 255, 255, 0.94); margin: 0; text-shadow: 0 1px 8px rgba(9, 21, 25, 0.3); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.cta-band .btn--outline-light { background-color: rgba(9, 22, 28, 0.34); }
.cta-band .btn--outline-light:hover,
.cta-band .btn--outline-light:focus-visible {
  background-color: #fff;
  border-color: #fff;
  color: var(--teal);
}

/* ---------- Contact ---------- */
.contact__banner {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact__banner img {
  display: block;
  width: 100%;
  height: clamp(180px, 26vw, 320px);
  object-fit: cover;
  object-position: center 35%;
}
.contact__grid {
  display: grid;
  /* minmax(0, …) lets the tracks shrink below their content's min-content
     width, which stops the grid from overflowing its container on phones. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}
.contact__grid > * { min-width: 0; }
.contact__list { display: grid; gap: 1rem; margin: 1.5rem 0 0; }
.contact__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
a.contact__item:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.contact__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--orange-tint);
  color: var(--orange-dark);
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.contact__value { font-weight: 700; color: var(--teal); }
.contact__value small { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }

.contact__form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.form__title { font-size: 1.35rem; margin-bottom: 0.35rem; }
.form__intro { color: var(--muted); font-size: 0.93rem; margin-bottom: 1.4rem; }

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form__field { display: flex; flex-direction: column; gap: 0.35rem; }
.form__field--full { grid-column: 1 / -1; }
.form__label { font-size: 0.86rem; font-weight: 700; color: var(--teal); }
.form__label .req { color: var(--orange-dark); }
.form__control {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--body);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea.form__control { min-height: 118px; resize: vertical; }
.form__control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(226, 106, 57, 0.18);
}
.form__control[aria-invalid="true"] { border-color: #c0392b; }
.form__error {
  font-size: 0.82rem;
  font-weight: 600;
  color: #c0392b;
  min-height: 1.1em;
}
.form__hint { font-size: 0.8rem; color: var(--muted); }

.form__consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--muted);
}
.form__consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--orange); }

.form__honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 0.35rem;
}

.form__alert {
  grid-column: 1 / -1;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}
.form__alert.is-success {
  display: block;
  background: #e9f7ef;
  border: 1px solid #b7e0c6;
  color: #1c6b3d;
}
.form__alert.is-error {
  display: block;
  background: #fdedec;
  border: 1px solid #f2b8b0;
  color: #96271b;
}
.form__alert a { color: inherit; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__brand { display: flex; gap: 0.85rem; align-items: center; }
.footer__logo { width: 72px; height: 72px; object-fit: contain; flex: none; }
.footer__brand-text { display: flex; flex-direction: column; }
.footer__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 1.75vw, 24px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.footer__tag {
  font-family: "Montserrat", var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 5px 0 0;
  text-align : center;
}
.footer__blurb { margin: 0.85rem 0 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); }
.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  transition: color 0.2s var(--ease);
}
.footer__links a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.footer__links a:hover { color: var(--orange); }
.footer__contact { display: grid; gap: 0.75rem; }
.footer__contact a,
.footer__contact span {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.footer__contact svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 3px; }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.75); }
.footer__bottom a:hover { color: var(--orange); }
.footer__credits { max-width: 62ch; line-height: 1.5; }
.footer__powered { color: var(--orange); font-weight: 700; }

/* ---------- Floating actions ---------- */
.float-actions {
  position: fixed;
  right: clamp(0.85rem, 2vw, 1.5rem);
  bottom: calc(clamp(0.85rem, 2vw, 1.5rem) + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}
.float-btn {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.25s var(--ease);
}
.float-btn:hover { transform: translateY(-3px) scale(1.04); }
.float-btn svg { width: 28px; height: 28px; }
.float-btn--wa { background: #1fa855; }
.float-btn--top {
  background: var(--teal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-btn--top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-26px); }
.reveal--right { transform: translateX(26px); }

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