@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #071521;
  --paper: #f5f2eb;
  --surface: #ffffff;
  --muted: #64707a;
  --accent: #be8a31;
  --accent-2: #dcb764;
  --line: rgba(7, 21, 33, 0.14);
  --shadow: 0 24px 70px rgba(7, 21, 33, 0.16);
  --container: 1160px;
  color-scheme: light;
}

.sector-peluquerias {
  --accent: #d16855;
  --accent-2: #f3b7a5;
  --paper: #f8f0ec;
  --ink: #1e1718;
}

.sector-fisioterapia {
  --accent: #397c67;
  --accent-2: #99c8b3;
  --paper: #eef5f0;
  --ink: #11251f;
}

.sector-clinicas-dentales {
  --accent: #2b7e8c;
  --accent-2: #9bd6db;
  --paper: #eef6f7;
  --ink: #10252b;
}

.sector-ferreterias {
  --accent: #d44b2d;
  --accent-2: #f0b82f;
  --paper: #f2f1ec;
  --ink: #171b1e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

.business-demo {
  --line: color-mix(in srgb, var(--ink), transparent 84%);
  --muted: color-mix(in srgb, var(--ink), transparent 34%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.demo-nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 28px), var(--container));
  min-height: 66px;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  background: rgba(248, 246, 241, 0.92);
  box-shadow: 0 16px 45px rgba(7, 21, 33, 0.2);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  color: #071521;
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 750;
}

.demo-brand b {
  color: var(--accent);
}

.demo-brand::after {
  width: 34px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.demo-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.82rem;
  font-weight: 750;
}

.demo-links a {
  text-decoration: none;
}

.demo-back,
.hero-cta,
.closing-cta a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 5px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 0 color-mix(in srgb, var(--accent), #000 30%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.demo-back:hover,
.hero-cta:hover,
.closing-cta a:hover {
  transform: translateY(3px);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--accent), #000 30%);
}

.demo-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
  color: white;
}

.demo-hero > img,
.demo-hero::before,
.demo-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.demo-hero > img {
  object-fit: cover;
  transform: scale(1.035);
  animation: hero-breathe 11s ease-in-out infinite alternate;
}

.demo-hero::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 14, 20, 0.92) 0%, rgba(6, 14, 20, 0.56) 45%, rgba(6, 14, 20, 0.08) 78%);
  content: "";
}

.demo-hero::after {
  z-index: 1;
  background: linear-gradient(0deg, rgba(6, 14, 20, 0.75), transparent 48%);
  content: "";
}

.hero-grid-lines {
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
  padding: 150px 0 76px;
}

.hero-content > div {
  max-width: 770px;
}

.kicker,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.3rem, 7.5vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero-link {
  color: white;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero-proof {
  position: absolute;
  z-index: 4;
  right: max(18px, calc((100vw - var(--container)) / 2));
  bottom: 72px;
  display: grid;
  width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 17, 23, 0.64);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
}

.hero-proof div:last-child {
  border: 0;
}

.hero-proof strong {
  color: var(--accent-2);
}

.demo-booking-bar {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(520px, 1.5fr);
  gap: 32px 54px;
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
  padding: 48px 0;
}

.booking-intro h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.booking-intro p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.booking-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.booking-picker button {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.booking-picker button:hover,
.booking-picker button.is-selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent), var(--surface) 88%);
  transform: translateY(-3px);
}

.booking-picker button span,
.booking-summary > span,
.visit-booking > span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.booking-picker button strong {
  display: block;
  font-size: 0.86rem;
}

.booking-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.booking-summary > span {
  margin: 0;
}

.booking-summary a,
.service-meta a,
.deck-item a,
.team-card a {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.demo-profile {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 0.8fr) minmax(320px, 0.65fr);
  gap: 54px;
  align-items: start;
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
  padding: 110px 0;
}

.profile-index {
  color: color-mix(in srgb, var(--accent), transparent 20%);
  font-family: "Playfair Display", serif;
  font-size: 3.8rem;
  line-height: 0.8;
  writing-mode: vertical-rl;
}

.profile-heading h2,
.method-content h2,
.demo-visit h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.profile-copy > p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tags span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
}

.experience {
  position: relative;
  padding: 110px 0 130px;
  overflow: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

.experience-inner {
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.45fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading h2 {
  max-width: 820px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.editorial-stage {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.85fr;
  min-height: 0;
  gap: 22px;
  perspective: 1400px;
}

.editorial-panel {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 350ms ease;
}

.editorial-panel:nth-child(1) {
  align-self: start;
  transform: rotateY(8deg) translateZ(10px);
}

.editorial-panel:nth-child(2) {
  min-height: 560px;
  transform: translateZ(70px);
}

.editorial-panel:nth-child(3) {
  align-self: end;
  transform: rotateY(-8deg) translateZ(10px);
}

.editorial-panel:nth-child(4) {
  transform: rotateY(-5deg) translateZ(20px);
}

.editorial-panel:nth-child(5) {
  min-height: 520px;
  transform: translateZ(58px);
}

.editorial-panel:nth-child(6) {
  align-self: end;
  transform: rotateY(5deg) translateZ(20px);
}

.editorial-panel span,
.stage-card small,
.flow-card small,
.deck-card small {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.editorial-panel h3,
.stage-card h3,
.flow-card h3,
.deck-card h3 {
  margin: auto 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1;
}

.editorial-panel p,
.stage-card p,
.flow-card p,
.deck-card p {
  color: var(--muted);
  line-height: 1.65;
}

.editorial-panel strong,
.stage-card strong,
.flow-card strong,
.deck-card strong {
  font-size: 1.1rem;
}

.editorial-panel {
  padding: 0;
  overflow: hidden;
  background: var(--surface);
}

.service-media {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent), var(--paper) 82%);
}

.service-media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  content: "";
  pointer-events: none;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

article:nth-child(3n + 1) > .service-media img,
.deck-card:nth-child(3n + 1) .deck-visual img {
  object-position: 18% center;
}

article:nth-child(3n + 2) > .service-media img,
.deck-card:nth-child(3n + 2) .deck-visual img {
  object-position: center center;
}

article:nth-child(3n) > .service-media img,
.deck-card:nth-child(3n) .deck-visual img {
  object-position: 82% center;
}

.editorial-panel:hover .service-media img {
  transform: scale(1.08);
}

.service-card-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.service-card-copy h3,
.editorial-panel .service-card-copy h3,
.stage-card .service-card-copy h3,
.flow-card .service-card-copy h3 {
  margin: 16px 0 10px;
}

.service-card-copy p {
  margin: 0 0 22px;
}

.service-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-meta span {
  color: var(--muted);
  font-size: 0.72rem;
}

.stage-shell {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  perspective: 1500px;
}

.stage-shell::before,
.stage-shell::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 54%);
  border-radius: 50%;
  content: "";
  animation: orbit 14s linear infinite;
}

.stage-shell::before {
  width: 680px;
  height: 300px;
  transform: rotateX(66deg) rotateZ(-8deg);
}

.stage-shell::after {
  width: 500px;
  height: 500px;
  transform: rotateY(70deg) rotateZ(12deg);
  animation-direction: reverse;
}

.stage-track {
  position: relative;
  z-index: 2;
  width: min(760px, 78vw);
  min-height: 450px;
  transform-style: preserve-3d;
}

.stage-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 46px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 38%);
  background: color-mix(in srgb, var(--surface), var(--paper) 20%);
  box-shadow: 0 38px 90px rgba(7, 21, 33, 0.22);
  opacity: 0.45;
  transform: translateX(48%) rotateY(-45deg) translateZ(-190px) scale(0.78);
  transition: transform 700ms cubic-bezier(0.2, 0.78, 0.2, 1), opacity 500ms ease;
}

.stage-card {
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--deep);
  color: white;
}

.stage-card .service-media {
  position: absolute;
  inset: 0;
  height: 100%;
}

.stage-card .service-media::after {
  border: 0;
  background: linear-gradient(0deg, rgba(5, 10, 14, 0.94) 0%, rgba(5, 10, 14, 0.42) 62%, rgba(5, 10, 14, 0.08) 100%);
}

.stage-card .service-card-copy {
  position: absolute;
  inset: auto 0 0;
  min-height: 58%;
  justify-content: flex-end;
  padding: 42px;
}

.stage-card .service-card-copy p,
.stage-card .service-meta span {
  color: rgba(255, 255, 255, 0.72);
}

.stage-card .service-meta {
  border-color: rgba(255, 255, 255, 0.2);
}

.stage-card .service-meta a {
  color: var(--accent-2);
}

.stage-card .stage-index {
  z-index: 3;
  color: rgba(255, 255, 255, 0.36);
}

.stage-card.is-active {
  z-index: 3;
  opacity: 1;
  transform: translateX(0) rotateY(0) translateZ(80px) scale(1);
}

.stage-card.is-before {
  transform: translateX(-48%) rotateY(45deg) translateZ(-190px) scale(0.78);
}

.stage-index {
  position: absolute;
  top: 28px;
  right: 30px;
  color: color-mix(in srgb, var(--accent), transparent 55%);
  font-family: "Playfair Display", serif;
  font-size: 5rem;
}

.stage-controls,
.flow-controls {
  position: absolute;
  z-index: 5;
  bottom: 18px;
  display: flex;
  gap: 10px;
}

.stage-controls button,
.flow-controls button,
.deck-head {
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.stage-controls button:hover,
.flow-controls button:hover,
.deck-head:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.flow-board {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 580px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  perspective: 1500px;
}

.flow-nav {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.flow-nav button {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.flow-nav button span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.72rem;
}

.flow-nav button.is-active {
  background: color-mix(in srgb, var(--accent), transparent 88%);
  color: var(--ink);
  font-weight: 800;
}

.flow-nav button.is-active span {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.flow-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.flow-stage::before {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 60%);
  border-radius: 50%;
  content: "";
  transform: rotateX(68deg);
}

.flow-card {
  position: absolute;
  width: min(580px, 78%);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(7, 21, 33, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px) rotateX(-28deg) scale(0.78);
  transition: transform 650ms cubic-bezier(0.22, 0.78, 0.2, 1), opacity 350ms ease;
}

.flow-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
  width: min(720px, 86%);
  min-height: 410px;
  padding: 0;
  overflow: hidden;
}

.flow-card .service-media {
  min-height: 100%;
}

.flow-card .service-card-copy {
  justify-content: center;
  padding: 38px;
}

.flow-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) rotateX(0) scale(1);
}

.deck-shell {
  display: grid;
  gap: 18px;
  perspective: 1500px;
}

.deck-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 12px 0 color-mix(in srgb, var(--accent), transparent 58%);
  transform-style: preserve-3d;
  transition: transform 480ms cubic-bezier(0.22, 0.78, 0.2, 1), box-shadow 480ms ease;
}

.deck-card.is-open {
  z-index: 3;
  transform: translateY(-5px) rotateX(1.5deg) translateZ(34px);
  box-shadow: 0 24px 0 color-mix(in srgb, var(--accent), transparent 68%), 0 45px 70px rgba(7, 21, 33, 0.16);
}

.deck-head {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border: 0;
  text-align: left;
}

.deck-head > span:first-child {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 850;
}

.deck-head strong {
  display: block;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
}

.deck-head i {
  color: var(--muted);
  font-style: normal;
}

.deck-plus {
  font-size: 1.7rem;
  transition: transform 350ms ease;
}

.deck-card.is-open .deck-plus {
  transform: rotate(45deg);
}

.deck-body {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 12px;
  max-height: 0;
  padding: 0 26px;
  overflow: hidden;
  transition: max-height 520ms ease, padding 520ms ease;
}

.deck-card.is-open .deck-body {
  max-height: 430px;
  padding: 0 26px 28px;
}

.deck-visual {
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.deck-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deck-item {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--accent), var(--surface) 90%);
}

.deck-item strong {
  display: block;
  margin-bottom: 8px;
}

.deck-item a {
  display: block;
  margin-top: 16px;
}

.demo-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  gap: 72px;
  align-items: center;
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
  padding: 120px 0;
}

.showcase-copy > h2,
.team-heading h2,
.faq-heading h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
}

.highlight-list {
  display: grid;
  margin-top: 42px;
}

.highlight-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.highlight-list article > span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 850;
}

.highlight-list h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.highlight-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.showcase-gallery {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 650px;
  perspective: 1400px;
}

.showcase-gallery figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotateY(-3deg) translateZ(20px);
}

.showcase-gallery .showcase-main {
  grid-row: 1 / -1;
  transform: rotateY(3deg) translateZ(48px);
}

.showcase-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-gallery figure:nth-child(1) img {
  object-position: 64% center;
}

.showcase-gallery figure:nth-child(2) img {
  object-position: 20% center;
  transform: scale(1.35);
}

.showcase-gallery figure:nth-child(3) img {
  object-position: 82% center;
  transform: scale(1.28);
}

.showcase-gallery figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  background: rgba(7, 14, 20, 0.78);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
}

.demo-method {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  min-height: 760px;
  background: var(--surface);
}

.method-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.method-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(7, 21, 33, 0.22));
  content: "";
}

.method-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.08);
}

.method-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(36px, 7vw, 110px);
}

.method-content ol {
  display: grid;
  gap: 0;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.method-content li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.method-content li > span {
  color: var(--accent);
  font-weight: 850;
}

.method-content h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.method-content li p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.demo-team {
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
  padding: 120px 0;
}

.team-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 30px 70px;
  align-items: end;
  margin-bottom: 56px;
}

.team-heading .section-kicker,
.team-heading h2 {
  grid-column: 1;
}

.team-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  position: relative;
  min-height: 430px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 14px 0 color-mix(in srgb, var(--accent), transparent 68%);
  transition: transform 500ms cubic-bezier(0.2, 0.78, 0.2, 1), box-shadow 500ms ease;
}

.team-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 22px 0 color-mix(in srgb, var(--accent), transparent 76%), var(--shadow);
}

.team-avatar {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  margin-bottom: 28px;
  overflow: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    color-mix(in srgb, var(--accent), var(--surface) 78%);
  background-size: 34px 34px;
}

.team-avatar::before,
.team-avatar::after {
  position: absolute;
  border: 1px solid var(--accent);
  content: "";
  transform: rotate(45deg);
}

.team-avatar::before {
  width: 150px;
  height: 150px;
}

.team-avatar::after {
  width: 92px;
  height: 92px;
  background: color-mix(in srgb, var(--accent), transparent 78%);
}

.team-avatar b {
  position: relative;
  z-index: 2;
  font-family: "Playfair Display", serif;
  font-size: 4.8rem;
}

.team-avatar span {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
}

.team-card small {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 9px 0 6px;
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
}

.team-card p {
  min-height: 48px;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.demo-faq {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
  padding: 40px 0 120px;
}

.faq-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 24px 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary span {
  color: var(--accent);
  font-size: 0.72rem;
}

.faq-list details p {
  margin: -6px 0 28px 60px;
  color: var(--muted);
  line-height: 1.75;
}

.demo-visit {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  gap: 80px;
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
  padding: 110px 0;
}

.demo-visit dl {
  margin: 0;
}

.demo-visit dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.demo-visit dt {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.demo-visit dd {
  margin: 0;
  font-weight: 720;
  line-height: 1.6;
}

.visit-heading > p:last-child {
  max-width: 480px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.visit-details {
  display: grid;
  gap: 18px;
}

.mini-map {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    color-mix(in srgb, var(--accent), var(--surface) 91%);
  background-size: 42px 42px;
}

.map-road {
  position: absolute;
  display: block;
  height: 14px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.road-one {
  top: 48%;
  left: -8%;
  width: 118%;
  transform: rotate(-13deg);
}

.road-two {
  top: -8%;
  left: 52%;
  width: 14px;
  height: 118%;
  transform: rotate(21deg);
}

.road-three {
  right: -12%;
  bottom: 20%;
  width: 76%;
  transform: rotate(27deg);
}

.map-pin {
  position: absolute;
  top: 45%;
  left: 54%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.map-pin b {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 8px solid color-mix(in srgb, var(--accent), transparent 74%);
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  box-shadow: 0 20px 50px rgba(7, 21, 33, 0.25);
}

.map-pin span {
  margin-top: 8px;
  padding: 6px 9px;
  background: var(--deep);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.visit-booking {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.visit-booking > span,
.visit-booking > strong,
.visit-booking > p {
  grid-column: 1;
}

.visit-booking > span {
  margin: 0;
}

.visit-booking button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 7px 0 color-mix(in srgb, var(--accent), #000 30%);
}

.visit-booking > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.visit-booking.is-confirmed {
  border-color: var(--accent);
}

.business-strip,
.closing-cta {
  background-color: var(--deep);
}

.business-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--deep);
  color: white;
}

.business-strip div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.business-strip div:last-child {
  border: 0;
}

.business-strip span {
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.business-strip strong {
  font-size: 1rem;
}

.closing-cta {
  display: grid;
  place-items: center;
  min-height: 64svh;
  padding: 90px 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--deep);
  background-size: 72px 72px;
  color: white;
  text-align: center;
}

.closing-cta > div {
  max-width: 850px;
}

.closing-cta h2 {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.closing-cta p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(18px, calc((100vw - var(--container)) / 2));
  background: #050c12;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.demo-footer a {
  color: white;
  text-underline-offset: 4px;
}

.tilt-card {
  will-change: transform;
}

.js .reveal-item {
  opacity: 0;
  transform: translateY(34px) rotateX(4deg);
}

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

@keyframes hero-breathe {
  to { transform: scale(1.08); }
}

@keyframes orbit {
  to { rotate: 1turn; }
}

@media (max-width: 820px) {
  .demo-nav {
    min-height: 62px;
    padding-left: 14px;
  }

  .demo-links a:not(.demo-back) {
    display: none;
  }

  .demo-brand::after {
    display: none;
  }

  .demo-back {
    width: 46px;
    padding: 0;
    font-size: 0;
  }

  .demo-back::before {
    font-size: 1.3rem;
    content: "←";
  }

  .demo-hero {
    min-height: 88svh;
  }

  .demo-hero::before {
    background: linear-gradient(0deg, rgba(6, 14, 20, 0.96) 0%, rgba(6, 14, 20, 0.45) 70%, rgba(6, 14, 20, 0.2) 100%);
  }

  .hero-content {
    padding: 126px 0 54px;
  }

  .demo-hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-proof {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 34px;
  }

  .experience {
    padding: 78px 0 90px;
    background-size: 44px 44px;
  }

  .demo-profile {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 78px 0;
  }

  .profile-index {
    font-size: 2.8rem;
    writing-mode: initial;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 40px;
  }

  .editorial-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .editorial-panel,
  .editorial-panel:nth-child(1),
  .editorial-panel:nth-child(2),
  .editorial-panel:nth-child(3),
  .editorial-panel:nth-child(4),
  .editorial-panel:nth-child(5),
  .editorial-panel:nth-child(6) {
    min-height: 280px;
    transform: none;
  }

  .stage-shell {
    min-height: 520px;
  }

  .stage-shell::before {
    width: 110%;
  }

  .stage-shell::after {
    width: 80%;
    height: 80%;
  }

  .stage-track {
    width: 90%;
    min-height: 390px;
  }

  .stage-card {
    padding: 32px 26px;
  }

  .stage-card.is-active {
    transform: translateZ(28px);
  }

  .flow-board {
    grid-template-columns: 1fr;
    min-height: 650px;
  }

  .flow-nav {
    grid-template-columns: repeat(3, 1fr);
    align-content: start;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-nav button {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 76px;
    text-align: center;
    font-size: 0.68rem;
  }

  .flow-card {
    width: 88%;
    min-height: 390px;
    padding: 32px 25px;
  }

  .deck-head {
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    padding: 18px 14px;
  }

  .deck-head > span:first-child {
    width: 42px;
    height: 42px;
  }

  .deck-head i {
    display: none;
  }

  .deck-body {
    grid-template-columns: 1fr;
  }

  .deck-card.is-open .deck-body {
    max-height: 680px;
    padding: 0 14px 18px;
  }

  .demo-method {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .method-media {
    min-height: 440px;
  }

  .method-content {
    padding: 68px 18px 78px;
  }

  .demo-visit {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 78px 0;
  }

  .demo-visit dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .business-strip {
    grid-template-columns: 1fr 1fr;
  }

  .business-strip div:nth-child(2) {
    border-right: 0;
  }

  .business-strip div {
    min-height: 128px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .demo-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .demo-booking-bar {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 0 58px;
  }

  .booking-picker {
    grid-template-columns: 1fr;
  }

  .booking-picker button {
    min-height: 76px;
  }

  .booking-summary {
    grid-column: auto;
    grid-template-columns: 1fr auto;
  }

  .booking-summary > span {
    grid-column: 1 / -1;
  }

  .editorial-panel,
  .editorial-panel:nth-child(1),
  .editorial-panel:nth-child(2),
  .editorial-panel:nth-child(3),
  .editorial-panel:nth-child(4),
  .editorial-panel:nth-child(5),
  .editorial-panel:nth-child(6) {
    min-height: 470px;
  }

  .service-media {
    min-height: 210px;
  }

  .service-card-copy {
    padding: 24px;
  }

  .stage-card {
    padding: 0;
  }

  .stage-card .service-card-copy {
    min-height: 70%;
    padding: 28px 24px;
  }

  .stage-card .service-card-copy h3 {
    font-size: 2rem;
  }

  .service-meta {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .flow-card {
    display: grid;
    grid-template-columns: 1fr;
    width: 90%;
    min-height: 500px;
    padding: 0;
  }

  .flow-card .service-media {
    min-height: 210px;
  }

  .flow-card .service-card-copy {
    padding: 24px;
  }

  .deck-card.is-open .deck-body {
    max-height: 920px;
  }

  .deck-visual {
    min-height: 220px;
  }

  .demo-showcase {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 84px 0;
  }

  .showcase-gallery {
    min-height: 520px;
  }

  .showcase-gallery figure,
  .showcase-gallery .showcase-main {
    transform: none;
  }

  .team-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: 0;
  }

  .demo-faq {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 20px 0 84px;
  }

  .faq-heading {
    position: static;
  }

  .faq-list details p {
    margin-left: 0;
  }

  .visit-details {
    min-width: 0;
  }

  .visit-booking {
    grid-template-columns: 1fr;
  }

  .visit-booking > span,
  .visit-booking > strong,
  .visit-booking > p,
  .visit-booking button {
    grid-column: 1;
    grid-row: auto;
  }

  .visit-booking button {
    width: 100%;
    margin: 8px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
