/* ---------- Tokens ---------- */
:root {
  --void: #0b0b0c;
  --charcoal: #17181a;
  --panel: #1e1f22;
  --panel-2: #232427;
  --hairline: #2f3033;
  --hairline-soft: #26272a;
  --bone: #f3f2ee;
  --bone-dim: #c9c8c3;
  --fog: #9ea1a6;
  --fog-dim: #75787d;
  --sheen-a: #6b6d70;
  --sheen-b: #e9eaec;
  --sheen: linear-gradient(115deg, var(--sheen-a) 0%, var(--sheen-b) 48%, var(--sheen-a) 100%);
  --radius-s: 2px;
  --radius-m: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --fs-h1: clamp(2.5rem, 5.4vw + 1rem, 6.25rem);
  --fs-h2: clamp(2rem, 2.6vw + 1rem, 3.5rem);
  --fs-h3: clamp(1.25rem, 1vw + 1rem, 1.75rem);
  --fs-lead: clamp(1.05rem, .5vw + 1rem, 1.3rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-micro: .72rem;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
  --mdt-red: #E41915;
  --mdt-red-hover: #C11310;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

::selection {
  background: var(--bone);
  color: var(--void);
}

:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--bone);
  color: var(--void);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-m);
  z-index: 1000;
  font-size: var(--fs-small);
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fog);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--sheen);
  flex: none;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head h2 {
  margin-top: .9rem;
}

.section-head p {
  margin-top: 1rem;
  color: var(--fog);
  font-size: var(--fs-lead);
  max-width: 38rem;
}

section {
  position: relative;
}

.pad-y {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.line-top {
  border-top: 1px solid var(--hairline);
}

.bg-charcoal {
  background: var(--charcoal);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

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

.reveal-stagger>* {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius-m);
  white-space: nowrap;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}

.btn-primary {
  background: var(--mdt-red);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(11, 11, 12, .18) 50%, transparent 80%);
  transform: translateX(-120%);
}

.btn-primary:hover::after {
  transform: translateX(120%);
  transition: transform .7s var(--ease);
}

.btn-primary:hover {
  background: var(--mdt-red-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--hairline);
  color: var(--bone);
}

.btn-ghost:hover {
  border-color: var(--fog);
  background: rgba(243, 242, 238, .04);
}

.btn-arrow {
  transition: transform .3s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-wa {
  background: #25D366;
  color: #0b0b0c;
  font-weight: 700;
}

.btn-wa:hover {
  background: #1fb457;
  transform: translateY(-2px);
}

.btn-wa svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* ---------- Placeholder frame system ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  --ph-a: #202124;
  --ph-b: #0d0e10;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at var(--ph-pos, 30% 20%), rgba(233, 234, 236, .10), transparent 55%),
    linear-gradient(155deg, var(--ph-a), var(--ph-b));
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .25;
  mask-image: radial-gradient(120% 100% at 50% 50%, #000 40%, transparent 100%);
}

.ph img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
}

.ph .ph-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--fog-dim);
  opacity: .7;
  z-index: 2;
}

.ph .ph-corner.tl {
  top: 14px;
  left: 14px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.ph .ph-corner.br {
  bottom: 14px;
  right: 14px;
  border-bottom: 1px solid;
  border-right: 1px solid;
}

.ph figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fog-dim);
  background: rgba(11, 11, 12, .55);
  backdrop-filter: blur(2px);
  padding: .35rem .6rem;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-s);
}

.ph.sheen {
  cursor: default;
}

.ph.sheen .ph-sweep {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .10) 50%, transparent 60%);
  transform: translateX(-140%);
}

.ph.sheen:hover .ph-sweep {
  transform: translateX(140%);
  transition: transform 1.1s var(--ease);
}

.ph.has-img::before,
.ph.has-img::after {
  content: none;
}

.ph.has-img img {
  opacity: 1;
}

/* ---------- Services image hover zoom ---------- */
.flagship .ph img,
.service-card .ph img {
  transition: transform .6s var(--ease);
  will-change: transform;
}

.flagship .ph:hover img {
  transform: scale(1.06);
}

.service-card:hover .ph img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {

  .flagship .ph:hover img,
  .service-card:hover .ph img {
    transform: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding-block: 1.35rem;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: .85rem;
  background: rgba(11, 11, 12, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex: none;
}

.brand svg {
  height: 42px;
  width: auto;
}

.brand-word {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fog);
}

.brand-word b {
  color: var(--bone);
  font-weight: 600;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 2.1rem;
}

.main-nav a {
  font-size: var(--fs-small);
  color: var(--bone-dim);
  position: relative;
  padding-block: .3rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--bone);
  transition: right .35s var(--ease);
}

.main-nav a:hover {
  color: var(--bone);
}

.main-nav a:hover::after {
  right: 0;
}

.header-cta {
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

body.past-hero .header-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-toggle {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  flex: none;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--bone);
  display: block;
  transition: transform .3s var(--ease), opacity .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);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 2rem var(--gutter);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu a {
  font-size: 2rem;
  font-weight: 600;
}

.mobile-menu .btn {
  align-self: flex-start;
  margin-top: 1rem;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width:900px) {
  .main-nav {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 11, 12, .35) 0%, rgba(11, 11, 12, .2) 38%, rgba(11, 11, 12, .92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 14vh, 9rem) clamp(3rem, 7vh, 5rem);
  width: 100%;
}

.hero-inner .eyebrow {
  margin-bottom: 1.4rem;
  color: var(--bone-dim);
}

.hero h1 {
  font-size: var(--fs-h1);
  max-width: 20ch;
}

.hero-lead {
  margin-top: 1.6rem;
  max-width: 38rem;
  font-size: var(--fs-lead);
  color: var(--bone-dim);
}

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 6.5rem;
  z-index: 2;
  display: none;
  align-items: center;
  gap: .6rem;
  color: var(--fog);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-scroll .line {
  width: 1px;
  height: 34px;
  background: var(--fog-dim);
  position: relative;
  overflow: hidden;
}

.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bone);
  animation: scrollDrop 2.2s var(--ease) infinite;
}

@keyframes scrollDrop {
  0% {
    top: -100%;
  }

  60%,
  100% {
    top: 100%;
  }
}

@media (min-width:700px) {
  .hero-scroll {
    display: flex;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--sheen-b);
  border-block: 1px solid #d6d7da;
  padding-block: 1.4rem;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.marquee-track span {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--void);
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "◆";
  color: var(--mdt-red);
  font-size: .55rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Services ---------- */
.flagship {
  display: grid;
  gap: 2.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.flagship .ph {
  aspect-ratio: 4/3;
  border-radius: var(--radius-m);
}

.flagship-copy .index {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--fog);
  letter-spacing: .14em;
}

.flagship-copy h3 {
  font-size: var(--fs-h3);
  margin-top: .6rem;
}

.flagship-copy p {
  margin-top: 1rem;
  color: var(--fog);
  max-width: 34rem;
}

.benefit-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.benefit-list li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  font-size: var(--fs-small);
  color: var(--bone-dim);
}

.benefit-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sheen);
  flex: none;
  transform: translateY(-1px);
}

.flagship-copy .btn {
  margin-top: 1.75rem;
}

@media (min-width:860px) {
  .flagship {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 4rem;
  }

  .flagship.rev {
    grid-template-columns: 1fr 1.1fr;
  }

  .flagship.rev .flagship-media {
    order: 2;
  }
}

.service-grid {
  display: grid;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-top: 1rem;
}

.service-card {
  background: var(--void);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.service-card .ph {
  aspect-ratio: 16/10;
  border-radius: var(--radius-s);
  margin-bottom: 1.4rem;
}

.service-card h4 {
  font-size: 1.15rem;
}

.service-card p {
  margin-top: .6rem;
  color: var(--fog);
  font-size: var(--fs-small);
}

.service-card .benefit-list {
  margin-top: 1.1rem;
  flex: 1;
}

.service-card .btn {
  margin-top: 1.4rem;
  align-self: flex-start;
  font-size: .8rem;
  padding: .7rem 1.2rem;
}

@media (min-width:640px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:1040px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Before / After ---------- */
.compare {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--panel);
  touch-action: pan-y;
}

.compare .ph {
  position: absolute;
  inset: 0;
}

.compare .ph.after-layer {
  clip-path: inset(0 0 0 var(--pos, 50%));
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--bone);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 3;
}

.compare-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bone);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}

.compare-handle::after {
  content: "◂ ▸";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--void);
}

.compare-tag {
  position: absolute;
  top: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(11, 11, 12, .6);
  border: 1px solid var(--hairline-soft);
  padding: .35rem .65rem;
  border-radius: var(--radius-s);
  color: var(--fog);
}

.compare-tag.before {
  left: 16px;
}

.compare-tag.after {
  right: 16px;
}

.compare-caption {
  margin-top: 1rem;
  color: var(--fog);
  font-size: var(--fs-small);
}

.compare-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width:900px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Why choose us (data plate) ---------- */
.plate-wrap {
  display: grid;
  gap: 3rem;
}

.plate {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.plate-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  padding: 1.6rem clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--hairline);
}

.plate-row:last-child {
  border-bottom: 0;
}

.plate-row .tag {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--fog-dim);
  padding-top: .2rem;
}

.plate-row h4 {
  font-size: 1.1rem;
}

.plate-row p {
  margin-top: .4rem;
  color: var(--fog);
  font-size: var(--fs-small);
  max-width: 34rem;
}

.plate-media {
  display: none;
}

@media (min-width:900px) {
  .plate-wrap {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .plate-media {
    display: block;
  }

  .plate-media .ph {
    height: 100%;
    border-radius: var(--radius-m);
  }
}

/* ---------- Quiénes somos (founders) ---------- */
.founders-grid {
  display: grid;
  gap: 3rem;
}

.founder-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-m);
}

.founder-copy {
  margin-top: 1.5rem;
}

.founder-copy h3 {
  font-size: var(--fs-h3);
}

.founder-role {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fog);
  margin-top: .5rem;
}

.founder-copy p:last-child {
  margin-top: 1rem;
  color: var(--fog);
  max-width: 32rem;
}

@media (min-width:600px) {
  .founders-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Process ---------- */
.process-list {
  border-top: 1px solid var(--hairline);
}

.process-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding-block: 2.1rem;
  border-bottom: 1px solid var(--hairline);
}

.process-item .num {
  font-family: var(--mono);
  font-size: 1rem;
  background: var(--sheen);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-item h4 {
  font-size: 1.2rem;
}

.process-item p {
  margin-top: .5rem;
  color: var(--fog);
  max-width: 40rem;
}

@media (min-width:760px) {
  .process-item {
    grid-template-columns: 5rem 1fr;
  }
}

/* ---------- Gallery living wall ---------- */
.wall {
  position: relative;
  overflow: hidden;
  height: 70vh;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  --wall-speed: 1.35;
}

.wall-col:nth-child(3),
.wall-col:nth-child(4),
.wall-col:nth-child(5) {
  display: none;
}

@media (min-width:768px) {
  .wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .wall-col:nth-child(3) {
    display: block;
  }
}

@media (min-width:1200px) {
  .wall {
    height: 80vh;
    grid-template-columns: repeat(5, 1fr);
    gap: .75rem;
    --wall-speed: 1;
  }

  .wall-col:nth-child(4),
  .wall-col:nth-child(5) {
    display: block;
  }
}

.wall-col {
  position: relative;
  overflow: hidden;
}

.wall-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  will-change: transform;
  animation-name: wallScroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: calc(var(--wall-duration, 50s) * var(--wall-speed, 1));
}

.wall-col--down .wall-track {
  animation-direction: reverse;
}

.wall-set {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wall a {
  position: relative;
  display: block;
  flex: none;
  aspect-ratio: 3/4;
  border-radius: var(--radius-m);
  overflow: hidden;
}

.wall a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes wallScroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wall {
    height: auto;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .wall-col {
    display: contents !important;
  }

  .wall-track {
    display: contents;
    animation: none !important;
    transform: none !important;
  }

  .wall-set {
    display: contents;
  }

  .wall-set[aria-hidden="true"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width:640px) {
  .wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Testimonials ---------- */
.testi-wrap {
  display: grid;
  gap: 3rem;
}

.testi-feature blockquote {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.testi-feature cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  color: var(--fog);
  font-size: var(--fs-small);
}

.testi-feature cite b {
  color: var(--bone-dim);
  font-weight: 600;
}

.testi-side {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.75rem;
}

.testi-side blockquote {
  color: var(--bone-dim);
  font-size: .98rem;
}

.testi-side cite {
  display: block;
  margin-top: .75rem;
  font-style: normal;
  color: var(--fog);
  font-size: var(--fs-small);
}

@media (min-width:900px) {
  .testi-wrap {
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
  }

  .testi-side {
    border-top: 0;
    border-left: 1px solid var(--hairline);
    padding-top: 0;
    padding-left: 2.5rem;
  }
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
}

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

.faq-item summary .plus {
  font-family: var(--mono);
  color: var(--fog);
  flex: none;
  transition: transform .3s var(--ease);
}

.faq-item[open] summary .plus {
  transform: rotate(45deg);
}

.faq-item .faq-a {
  padding-bottom: 1.6rem;
  color: var(--fog);
  max-width: 36rem;
  font-size: var(--fs-small);
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(233, 234, 236, .06), transparent 70%);
}

.final-cta h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
  max-width: 20ch;
}

.final-cta p {
  margin-top: 1.25rem;
  color: var(--fog);
  font-size: var(--fs-lead);
  max-width: 34rem;
}

.final-cta .btn {
  margin-top: 2.25rem;
}

.final-divider {
  height: 1px;
  background: var(--sheen);
  width: 100%;
  margin-top: clamp(3rem, 6vw, 5rem);
  opacity: .6;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 1.75rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-card {
  border-top: 1px solid var(--hairline);
  padding-top: 1.2rem;
}

.contact-card .tag {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fog-dim);
}

.contact-card p,
.contact-card a {
  margin-top: .5rem;
  font-size: var(--fs-lead);
  color: var(--bone);
}

.contact-card a:hover {
  color: var(--fog);
}

.map-embed {
  aspect-ratio: 4/3;
  border-radius: var(--radius-m);
  margin-top: .5rem;
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.field label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fog);
}

.field input,
.field select,
.field textarea {
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-s);
  padding: .85rem 1rem;
  color: var(--bone);
  font-family: var(--sans);
  font-size: .95rem;
  transition: border-color .3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--fog);
}

.field textarea {
  resize: vertical;
  min-height: 6rem;
}

.field select {
  background-color: var(--panel);
}

.field select option {
  background: var(--panel);
  color: var(--bone);
}

.field-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width:540px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-note {
  font-size: .78rem;
  color: var(--fog-dim);
  margin-top: .25rem;
}

.form-success {
  display: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  padding: 1.5rem;
  color: var(--bone-dim);
  font-size: var(--fs-small);
}

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

@media (min-width:900px) {
  .contact-grid {
    grid-template-columns: .9fr 1.1fr;
  }
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding-block: 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand svg {
  height: 34px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: var(--fs-small);
  color: var(--fog);
}

.footer-nav a:hover {
  color: var(--bone);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fog);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

.footer-social a:hover {
  border-color: var(--fog);
  color: var(--bone);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
  font-size: .78rem;
  color: var(--fog-dim);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  z-index: 500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .3s var(--ease);
}

body.past-hero .wa-float {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .4);
}

/* ---------- Misc responsive type helpers ---------- */
h2 {
  font-size: var(--fs-h2);
}