/* ==========================================================================
   Sobremesa Studio — sitios web para restaurantes
   Visual language: Nino (bright + warm accent, bold type, rounded cards)
   ========================================================================== */

:root {
  --bg: #f7f5f0;
  --bg-alt: #efece3;
  --paper: #ffffff;
  --ink: #16130f;
  --ink-soft: #4f4a42;
  --ink-muted: #8b8378;
  --line: #e4dfd4;
  --accent: #f0532b;
  --accent-deep: #d33f19;
  --accent-soft: #ffe9df;
  --gold: #e7a733;
  --green: #3f6a45;

  --ff-display: "Bricolage Grotesque", "Fraunces", Georgia, serif;
  --ff-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --step--1: clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.1vw, 2.3rem);
  --step-3: clamp(2.2rem, 1.7rem + 2.4vw, 3.6rem);
  --step-4: clamp(2.8rem, 2rem + 4vw, 5.5rem);
  --step-5: clamp(3.4rem, 2.2rem + 6vw, 7.5rem);

  --maxw: 1260px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --header-h: 86px;
  --radius: 28px;
  --radius-sm: 18px;
  --radius-pill: 100px;
  --shadow: 0 24px 60px -34px rgba(22, 19, 15, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--accent);
  color: #fff;
}

/* Language visibility ----------------------------------------------------- */
[data-es],
[data-en] {
  display: none;
}
html[lang="es"] [data-es] {
  display: revert;
}
html[lang="en"] [data-en] {
  display: revert;
}

/* Layout ------------------------------------------------------------------ */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}
.section {
  padding-block: clamp(4rem, 8vw, 8rem);
  position: relative;
}

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--accent-soft);
  padding: 0.55em 1.1em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  max-width: 100%;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.display {
  font-size: var(--step-5);
}
.h-xl {
  font-size: var(--step-4);
}
.h-lg {
  font-size: var(--step-3);
}
.h-md {
  font-size: var(--step-2);
}

em,
.italic {
  font-style: italic;
  color: var(--accent);
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.15ch;
}
.brand span {
  color: var(--accent);
}
.brand small {
  font-family: var(--ff-body);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-left: 0.5ch;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding-block: 0.4rem;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.lang-toggle {
  display: inline-flex;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  padding: 3px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.lang-toggle button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  color: var(--ink-muted);
  font: inherit;
  border-radius: var(--radius-pill);
  transition: color 0.3s, background 0.3s;
}
.lang-toggle button.active {
  background: var(--ink);
  color: #fff;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.35s var(--ease), border-color 0.35s var(--ease);
  background: none;
  color: var(--ink);
}
.btn .arrow {
  transition: transform 0.35s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn--fill {
  background: var(--ink);
  color: #fff;
}
.btn--fill:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn--terra {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--terra:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}
.link-arrow .arrow {
  transition: transform 0.35s var(--ease);
  color: var(--accent);
}
.link-arrow:hover .arrow {
  transform: translateX(5px);
}

/* Hero -------------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(128px, 15vh, 190px);
  padding-bottom: clamp(2rem, 4vh, 3.5rem);
  position: relative;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  z-index: 0;
  width: 55vw;
  height: 55vw;
  max-width: 640px;
  max-height: 640px;
  top: -10%;
  right: -6%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 26%, transparent),
    transparent 70%
  );
  filter: blur(10px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: clamp(0.6rem, 1.2vh, 0.9rem) 0 clamp(1rem, 2vh, 1.5rem);
  text-wrap: balance;
}
.hero__aside p {
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: clamp(1.4rem, 3vh, 2rem);
}
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: clamp(1.2rem, 2.6vh, 1.8rem);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-soft);
}
.hero__trust li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78em;
  font-weight: 800;
  flex-shrink: 0;
}
.hero__portrait {
  position: relative;
}
.hero__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 74vh;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem 1rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 300px;
}
.hero__badge .dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero__badge b {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  display: block;
  line-height: 1.1;
}
.hero__badge span[data-es],
.hero__badge span[data-en] {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

/* Stats ------------------------------------------------------------------- */
.hero__meta {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 3;
}
.hero__meta .stat b {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--step-3);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.hero__meta .stat span {
  font-size: var(--step--1);
  color: var(--ink-soft);
  font-weight: 600;
}

/* Marquee ----------------------------------------------------------------- */
.marquee {
  padding-block: 1.2rem;
  overflow: hidden;
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
}
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  animation: slide 34s linear infinite;
}
.marquee__track span {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--step-2);
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee__track span::after {
  content: "●";
  color: var(--accent);
  font-size: 0.5em;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* Section head ------------------------------------------------------------ */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head__lead {
  color: var(--ink-soft);
  font-size: var(--step-1);
  max-width: 46ch;
}
.section-head p {
  color: var(--ink-soft);
  max-width: 46ch;
}
.section-head .eyebrow {
  margin-bottom: 1.2rem;
}

/* Service list ------------------------------------------------------------ */
.svc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.svc__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.svc__row:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.svc__num {
  font-family: var(--ff-display);
  font-weight: 800;
  color: var(--accent);
  font-size: var(--step-1);
  background: var(--accent-soft);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.svc__row h3 {
  font-size: var(--step-1);
  margin-bottom: 0.4rem;
}
.svc__row p {
  color: var(--ink-soft);
  font-size: var(--step-0);
}
.svc__row .plus {
  font-size: 1.4rem;
  color: var(--ink-muted);
  transition: transform 0.4s var(--ease), color 0.4s;
}
.svc__row:hover .plus {
  transform: rotate(90deg);
  color: var(--accent);
}

/* Service overview cards -------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.svc-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.svc-card:hover::before {
  transform: scaleX(1);
}
.svc-card__icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
}
.svc-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.svc-card h3 {
  font-size: var(--step-1);
}
.svc-card p {
  color: var(--ink-soft);
  font-size: var(--step-0);
  flex-grow: 1;
}
.svc-card__price {
  align-self: flex-start;
  margin-top: 0.6rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
}

/* Filter tabs ------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter-btn {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6em 1.3em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Cards / cases ----------------------------------------------------------- */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
}
.case {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.4rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    opacity 0.4s var(--ease);
}
.case:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.case.is-hidden {
  display: none;
}
.case__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  position: relative;
}
.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.case:hover .case__media img {
  transform: scale(1.06);
}
.case__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0.45em 0.9em;
  border-radius: var(--radius-pill);
}
.case__body {
  padding: 1.3rem 0.6rem 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.case__body h3 {
  font-size: var(--step-1);
}
.case__body .place {
  font-size: var(--step--1);
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}
.case__desc {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-top: 0.4rem;
}

/* Feature split ----------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split__media {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__body h2 {
  margin-bottom: 1.4rem;
}
.split__body p {
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.tick-list {
  list-style: none;
  margin: 1.8rem 0;
  display: grid;
  gap: 0.9rem;
}
.tick-list li {
  display: flex;
  gap: 0.8em;
  align-items: baseline;
  color: var(--ink-soft);
  font-weight: 500;
}
.tick-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}

/* Steps ------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}
.steps--3 {
  grid-template-columns: repeat(3, 1fr);
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.step b {
  font-family: var(--ff-display);
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: var(--step-1);
  margin-bottom: 0.6rem;
}
.step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Pricing ----------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.plan--featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.plan--featured .plan__price small,
.plan--featured .plan__feat li {
  color: color-mix(in srgb, #fff 78%, transparent);
}
.plan__badge {
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink);
  background: var(--gold);
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.plan h3 {
  font-size: var(--step-2);
  margin-bottom: 0.4rem;
}
.plan__tag {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 1.6rem;
}
.plan--featured .plan__tag {
  color: color-mix(in srgb, #fff 70%, transparent);
}
.plan__price {
  font-family: var(--ff-display);
  font-size: var(--step-3);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.plan__price small {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.plan__feat {
  list-style: none;
  margin: 1.8rem 0 2rem;
  display: grid;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.plan--featured .plan__feat {
  border-top-color: color-mix(in srgb, #fff 22%, transparent);
}
.plan__feat li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.6em;
  font-weight: 500;
}
.plan__feat li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}
.plan--featured .plan__feat li::before {
  color: var(--gold);
}
.plan .btn {
  margin-top: auto;
}
.plan--featured .btn {
  border-color: #fff;
  color: #fff;
}
.plan--featured .btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Testimonials ------------------------------------------------------------ */
.tstm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.tstm__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.tstm__stars {
  color: var(--gold);
  letter-spacing: 0.1em;
}
.tstm__card blockquote {
  font-size: 1.05rem;
  color: var(--ink-soft);
  font-weight: 500;
  flex: 1;
}
.tstm__who {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.tstm__who img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.tstm__who b {
  font-family: var(--ff-display);
  display: block;
  font-size: 1rem;
}
.tstm__who span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Quote band -------------------------------------------------------------- */
.quote {
  background: var(--ink);
  color: #fff;
}
.quote__inner {
  text-align: center;
}
.quote blockquote {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1.12;
  max-width: 20ch;
  margin: 0 auto 2rem;
}
.quote blockquote em {
  color: var(--gold);
}
.quote cite {
  font-style: normal;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: color-mix(in srgb, #fff 70%, transparent);
}

/* FAQ --------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 1rem;
}
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 clamp(1.3rem, 3vw, 2rem);
  transition: box-shadow 0.4s var(--ease);
}
.faq__item.is-open {
  box-shadow: var(--shadow);
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--ink);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq__q .plus {
  color: var(--accent);
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}
.faq__item.is-open .faq__q .plus {
  transform: rotate(45deg);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq__a p {
  color: var(--ink-soft);
  padding-bottom: 1.4rem;
  max-width: 62ch;
}

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  background: var(--accent);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  font-size: var(--step-4);
  max-width: 16ch;
  margin: 0 auto 1.4rem;
}
.cta-band p {
  max-width: 44ch;
  margin: 0 auto 2.4rem;
  color: color-mix(in srgb, #fff 90%, transparent);
}
.cta-band .btn {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.cta-band .btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Forms ------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.3s, background 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.form__note {
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.form__note[data-form-status].is-error {
  color: var(--accent-deep);
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Contact aside ----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-info {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}
.contact-info .block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
}
.contact-info .block b {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.contact-info .block a,
.contact-info .block p {
  color: var(--ink-soft);
}

/* Page hero (inner) ------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.page-hero .eyebrow {
  margin-bottom: 1.4rem;
}
.page-hero h1 {
  font-size: var(--step-4);
  max-width: 18ch;
  margin-inline: auto;
}
.page-hero p {
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 1.4rem auto 0;
  font-size: var(--step-1);
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid color-mix(in srgb, #fff 16%, transparent);
}
.footer-top .brand {
  color: #fff;
}
.footer-top .lead {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--step-2);
  max-width: 18ch;
  margin-top: 1.2rem;
}
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.footer-col a {
  color: color-mix(in srgb, #fff 75%, transparent);
  transition: color 0.3s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: color-mix(in srgb, #fff 60%, transparent);
}

/* Reveal animation -------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee__track {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid,
  .section-head,
  .split,
  .contact-grid,
  .form__row {
    grid-template-columns: 1fr;
  }
  .hero__portrait {
    order: -1;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }
  .hero__portrait img {
    aspect-ratio: 4 / 3;
  }
  .svc,
  .svc-grid,
  .cases,
  .plans,
  .tstm {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__meta {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s var(--ease), opacity 0.3s var(--ease), visibility 0.5s;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    width: 100%;
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-links a.active::after {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .steps--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  :root {
    --header-h: 68px;
  }
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 3rem;
  }
  .steps,
  .steps--3,
  .hero__meta {
    grid-template-columns: 1fr;
  }
  .case__body,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .hero__badge {
    left: 12px;
    bottom: 12px;
    padding: 0.8rem 1.1rem;
  }
  .svc__row {
    grid-template-columns: auto 1fr;
  }
  .svc__row .plus {
    display: none;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__cta {
    width: 100%;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .marquee {
    padding-block: 0.9rem;
  }
}
@media (max-width: 400px) {
  .brand small {
    display: none;
  }
  .hero__title {
    font-size: clamp(2.1rem, 8vw, 2.6rem);
  }
}
