/* ============================================================
   Golden Jewel AA — Wireframe Modern Dark
   Tokens y reglas: docs/design-system.md
   Estructura: docs/wireframe-spec.md
   ============================================================ */

/* Fuentes locales — sin CDN.
   Satoshi: ITF Free Font License (ver assets/fonts/LICENSE-Satoshi.txt).
   Geist: SIL Open Font License 1.1 (ver assets/fonts/LICENSE-Geist.txt). */
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/satoshi-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  /* Colors */
  --color-background: #0b0d10;
  --color-background-raised: #101216;
  --color-surface: #202226;
  --color-surface-warm: #2a2725;
  --color-surface-hover: #2d2f33;

  --color-gold: #d9aa55;
  --color-gold-light: #f0cb82;
  --color-gold-pressed: #b8893c;
  --color-gold-ink: #111111;
  --color-silver: #c7c9cd;

  --color-text: #f7f7f8;
  --color-text-muted: #b8b9be;
  --color-border: #2c2e33;
  --color-border-strong: #6b6e73;
  --color-scrim: rgb(6 7 9 / 0.72);

  --hairline-gold: 1px solid rgb(217 170 85 / 0.4);

  /* Typography — fase de wireframe: pila local-first.
     Si Satoshi/Geist no están instaladas, se usa la pila del sistema.
     No cargar fuentes desde CDN. */
  --font-heading: "Satoshi", "Geist", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Satoshi", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --text-2xs: 0.75rem;
  --text-xs: 0.875rem;
  --text-sm: 1rem;
  --text-base: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-h3: clamp(1.5rem, 2.5vw, 2.25rem);
  --text-h2: clamp(2rem, 4vw, 3rem);
  --text-h1: clamp(2.6rem, 5vw, 4rem);
  --text-h1-page: clamp(2.35rem, 4.2vw, 3.35rem);

  --leading-display: 1.05;
  --leading-heading: 1.15;
  --leading-normal: 1.55;

  --tracking-display: -0.025em;
  --tracking-heading: -0.02em;
  --tracking-eyebrow: 0.08em;

  --measure-hero: 44ch;
  --measure-body: 62ch;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-30: 120px;

  --space-section: clamp(72px, 9vw, 128px);
  --stack-eyebrow: 12px;
  --stack-title: 16px;
  --stack-lead: 24px;
  --stack-action: 32px;

  /* Radius por rol */
  --radius-sm: 8px;
  --radius-control: 12px;
  --radius-product: 16px;
  --radius-panel: 24px;
  --radius-card: 28px;
  --radius-pill: 999px;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(20px, 4vw, 64px);
  --header-h: 72px;
  --header-h-mobile: 64px;
  --header-offset: var(--header-h);
  --aspect-product: 4 / 5;
  --aspect-service: 1 / 1;
  --aspect-about: 4 / 3;

  /* Elevación */
  --edge-card: 0 0 0 1px rgb(255 255 255 / 0.07),
    inset 0 1px 0 rgb(255 255 255 / 0.05);
  --edge-card-hover: 0 0 0 1px rgb(255 255 255 / 0.14),
    inset 0 1px 0 rgb(255 255 255 / 0.08);
  --shadow-overlay: 0 24px 80px rgb(0 0 0 / 0.55);
  --shadow-contact: drop-shadow(0 18px 22px rgb(0 0 0 / 0.55));

  /* Motion */
  --duration-press: 140ms;
  --duration-hover: 200ms;
  --duration-panel: 320ms;
  --duration-hero: 500ms;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --transition-fast: var(--duration-press) var(--ease-out);
  --transition-normal: var(--duration-hover) var(--ease-out);
  --transition-panel: var(--duration-panel) var(--ease-drawer);

  /* Focus */
  --focus-ring: 0 0 0 2px var(--color-background),
    0 0 0 4px var(--color-gold-light);

  /* Z-index */
  --z-header: 50;
  --z-scrim: 80;
  --z-cart-scrim: 84;
  --z-panel: 90;
  --z-cart-panel: 94;
  --z-dialog: 100;
  --z-toast: 105;
  --z-cart-dialog: 110;
}

@media (max-width: 959px) {
  :root {
    --header-offset: var(--header-h-mobile);
  }
}

/* ============================================================
   Base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

p {
  margin: 0;
  text-wrap: pretty;
}

li {
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--color-gold);
  color: var(--color-gold-ink);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 2px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--color-gold);
  color: var(--color-gold-ink);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform var(--duration-hover) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  padding-block: var(--space-section);
}

.section--raised {
  background: var(--color-background-raised);
}

.section--tight {
  padding-block: clamp(56px, 7vw, 88px);
}

/* ============================================================
   Typography helpers
   ============================================================ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--stack-eyebrow);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 1px;
  background: rgb(217 170 85 / 0.4);
}

.eyebrow--plain::before {
  display: none;
}

.lead {
  max-width: 44ch;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.body-copy {
  max-width: var(--measure-body);
  color: var(--color-text-muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head h2 {
  margin-bottom: var(--stack-title);
}

.section-head .lead {
  max-width: 44ch;
}

/* ============================================================
   Buttons and links
   ============================================================ */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color var(--transition-normal),
    border-color var(--transition-normal),
    color var(--transition-normal),
    transform var(--transition-fast);
}

.button > span,
.button > svg {
  position: relative;
  z-index: 1;
}

.button:active {
  transform: scale(0.97);
}

.button svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.button--primary {
  background: var(--color-gold);
  color: var(--color-gold-ink);
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.24);
}

.button--primary:active {
  background: var(--color-gold-pressed);
  transform: scale(0.97);
}

.button--primary:focus-visible {
  box-shadow: inset 0 0 0 2px var(--color-background);
}

.button--secondary {
  background: transparent;
  border-color: rgb(255 255 255 / 0.18);
  color: var(--color-text);
}

.button--sm {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 14px;
}

.button--lg {
  min-height: 48px;
  padding-inline: 28px;
  font-size: 16px;
}

.button--consult {
  width: auto;
  min-height: 44px;
  padding-inline: 14px;
  background: transparent;
  border-color: rgb(255 255 255 / 0.14);
  color: var(--color-text);
  font-size: 14px;
}

.button--consult svg {
  color: var(--color-gold);
}

.button--inquiry svg {
  color: var(--color-gold);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: color var(--transition-normal);
}

.arrow-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-normal);
}

.arrow-link--gold {
  color: var(--color-gold);
}

@media (hover: hover) and (pointer: fine) {
  .button--primary:hover {
    background: var(--color-gold-light);
  }

  .button--primary:active {
    background: var(--color-gold-pressed);
  }

  .button--secondary:hover {
    background: rgb(255 255 255 / 0.04);
    border-color: rgb(255 255 255 / 0.32);
  }

  .button--consult:hover {
    background: rgb(255 255 255 / 0.04);
    border-color: rgb(255 255 255 / 0.28);
  }

  .arrow-link:hover {
    color: var(--color-gold-light);
  }

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

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  transition:
    background-color var(--duration-hover) var(--ease-out),
    border-color var(--duration-hover) var(--ease-out);
}

.site-header--overlay {
  background: transparent;
  border-bottom-color: transparent;
}

.site-header--overlay::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 96px;
  background: linear-gradient(
    180deg,
    rgb(11 13 16 / 0.94) 0%,
    rgb(11 13 16 / 0) 100%
  );
  opacity: 1;
  pointer-events: none;
  transition: opacity var(--duration-hover) var(--ease-out);
  z-index: -1;
}

.site-header--overlay.is-scrolled {
  background: var(--color-background);
  border-bottom-color: var(--color-border);
}

.site-header--overlay.is-scrolled::before {
  opacity: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  color: var(--color-text);
}

.brand__logo {
  width: auto;
  height: 40px;
  max-height: 40px;
}

.brand__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-gold);
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--color-gold);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.menu-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    border-color var(--transition-normal);
}

.menu-button {
  display: none;
}

.menu-button svg,
.icon-button svg {
  width: 24px;
  height: 24px;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav__link:hover {
    color: var(--color-text);
  }

  .menu-button:hover,
  .icon-button:hover {
    background: rgb(255 255 255 / 0.06);
    border-color: rgb(255 255 255 / 0.32);
  }
}

@media (max-width: 959px) {
  .site-header {
    height: var(--header-h-mobile);
  }

  .brand__logo {
    height: 32px;
  }

  .site-nav {
    display: none;
  }

  .site-header__actions .button {
    flex: 0 0 auto;
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .site-header__actions .button > span {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .brand__name {
    font-size: 12px;
  }
}

/* ============================================================
   Mobile menu
   ============================================================ */

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: var(--z-scrim);
  background: var(--color-scrim);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms var(--ease-out),
    visibility 0s linear 220ms;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-panel);
  display: flex;
  flex-direction: column;
  width: min(320px, 88vw);
  padding: var(--space-6);
  background: var(--color-background-raised);
  border-left: 1px solid var(--color-border);
  box-shadow: var(--shadow-overlay);
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    transform 220ms var(--ease-drawer),
    visibility 0s linear 220ms;
}

.menu-open .menu-scrim {
  opacity: 1;
  visibility: visible;
  transition:
    opacity var(--duration-panel) var(--ease-out),
    visibility 0s linear 0s;
}

.menu-open .menu-panel {
  visibility: visible;
  transform: translateX(0);
  transition:
    transform var(--duration-panel) var(--ease-drawer),
    visibility 0s linear 0s;
}

.menu-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.menu-panel__title {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.menu-panel__nav {
  list-style: none;
}

.menu-panel__nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.menu-panel__nav a[aria-current="page"] {
  color: var(--color-gold);
}

.menu-panel__footer {
  margin-top: auto;
  padding-top: var(--space-6);
  display: grid;
  gap: var(--space-3);
}

.menu-panel__cta {
  width: 100%;
}

@media (max-width: 959px) {
  .menu-panel__cta {
    gap: 6px;
    padding-inline: 16px;
    font-size: 15px;
  }
}

@media (max-width: 479px) {
  .button--lg {
    padding-inline: 20px;
  }

  .contact-card .button {
    width: 100%;
  }
}

.menu-panel__note {
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.4;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 88px) var(--space-section);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__content {
  max-width: 680px;
}

.hero__title {
  margin-bottom: var(--stack-title);
  text-wrap: balance;
}

.hero__lead {
  max-width: var(--measure-hero);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  text-wrap: pretty;
}

.section-head h2,
.page-intro h1,
.cta-band h2,
.about-visual__quote {
  text-wrap: balance;
}

.section-head .lead,
.page-intro .lead,
.cta-band .lead,
.about-copy > p,
.about-visual p,
.contact-card .lead {
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--stack-lead);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--stack-lead);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  list-style: none;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.7;
}

.hero__media {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  padding: 0 12px 12px 0;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 12px 0 0 12px;
  border: var(--hairline-gold);
  border-radius: var(--radius-panel);
  pointer-events: none;
}

.hero__media .pending-asset {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-panel);
}

.hero__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-panel);
  background: var(--color-surface);
}

.hero__media-note {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.5;
  text-align: right;
}

@media (max-width: 1023px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__media {
    justify-self: start;
    margin-top: var(--space-8);
  }
}

@media (max-width: 499px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .button {
    width: 100%;
  }
}

/* ============================================================
   Pending asset
   ============================================================ */

.pending-asset {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  background-color: var(--color-surface);
  background-image: radial-gradient(
    90% 70% at 50% 35%,
    rgb(217 170 85 / 0.07) 0%,
    transparent 70%
  );
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-product);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
  color: var(--color-text-muted);
  text-align: center;
  overflow: hidden;
}

.pending-asset__icon,
.pending-asset__glyph {
  flex: 0 0 auto;
}

.pending-asset__glyph {
  width: 56px;
  height: 56px;
  color: var(--color-gold);
  opacity: 0.6;
}

.pending-asset__tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-pill);
  background: rgb(0 0 0 / 0.16);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  line-height: 1;
  text-transform: uppercase;
}

.pending-asset__tag::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.7;
}

.pending-asset__label {
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  line-height: 1.4;
  text-transform: uppercase;
}

.pending-asset__note {
  max-width: 30ch;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.pending-asset--object {
  background-color: var(--color-surface);
  border-radius: var(--radius-panel);
  padding: var(--space-4);
}

.pending-asset--float {
  gap: var(--space-3);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: radial-gradient(
    50% 50% at 50% 45%,
    rgb(217 170 85 / 0.2) 0%,
    transparent 70%
  );
  box-shadow: none;
}

.pending-asset--float .pending-asset__glyph {
  width: clamp(88px, 9vw, 124px);
  height: clamp(88px, 9vw, 124px);
  color: var(--color-gold-light);
  opacity: 0.72;
  filter: drop-shadow(0 12px 18px rgb(0 0 0 / 0.35));
}

.pending-asset--float .pending-asset__tag {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.pending-asset--hero {
  background:
    radial-gradient(
      58% 48% at 50% 42%,
      rgb(217 170 85 / 0.18) 0%,
      transparent 70%
    ),
    linear-gradient(180deg, #232529 0%, #17191c 100%);
  border-color: rgb(255 255 255 / 0.12);
}

.pending-asset--hero .pending-asset__glyph {
  width: clamp(96px, 12vw, 144px);
  height: clamp(96px, 12vw, 144px);
  opacity: 0.5;
}

.pending-asset--hero .pending-asset__tag {
  position: absolute;
  right: 16px;
  bottom: 16px;
}

.pending-asset--product {
  background-image:
    radial-gradient(
      55% 48% at 50% 42%,
      rgb(217 170 85 / 0.08) 0%,
      transparent 70%
    ),
    linear-gradient(180deg, #202226 0%, #1a1c1f 100%);
}

.pending-asset--product .pending-asset__glyph {
  width: clamp(56px, 6vw, 80px);
  height: clamp(56px, 6vw, 80px);
  opacity: 0.5;
}

.pending-asset--product .pending-asset__tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.pending-asset--about {
  background-image: radial-gradient(
    60% 50% at 50% 42%,
    rgb(217 170 85 / 0.12) 0%,
    transparent 70%
  );
}

.pending-asset--about .pending-asset__glyph,
.pending-asset--map .pending-asset__glyph {
  width: 72px;
  height: 72px;
  opacity: 0.55;
}

.service-detail__stage .pending-asset--float .pending-asset__glyph {
  width: clamp(120px, 14vw, 180px);
  height: clamp(120px, 14vw, 180px);
}

.pending-asset--stage {
  width: min(300px, 86%);
  aspect-ratio: 1;
  border-radius: var(--radius-panel);
  background-color: var(--color-surface);
}

.pending-asset--stage.pending-asset--float {
  background: radial-gradient(
    50% 50% at 50% 45%,
    rgb(217 170 85 / 0.2) 0%,
    transparent 70%
  );
  border: 0;
  border-radius: 0;
}

.pending-asset--map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-panel);
}

/* ============================================================
   Page intro (inner pages)
   ============================================================ */

.page-intro {
  padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px);
}

.page-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(32px, 6vw, 80px);
}

.page-intro h1 {
  margin-bottom: var(--stack-title);
  font-size: var(--text-h1-page);
}

.page-intro .lead {
  max-width: 44ch;
}

.page-intro__aside {
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.page-intro__label {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.page-intro__aside p + p {
  margin-top: var(--space-2);
}

.page-intro__aside p:last-child {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.55;
}

.contact-intro__name {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-2) 0;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.contact-intro__icon {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.page-intro__aside p.contact-intro__pending {
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.5;
}

.contact-intro__list {
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}

.contact-intro__list li {
  padding-block: var(--space-2);
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.contact-intro__list li:last-child {
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 1023px) {
  .page-intro__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .page-intro__aside {
    max-width: 560px;
  }
}

/* ============================================================
   Services — Home cards
   ============================================================ */

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-areas:
    "body object"
    "link object";
  gap: var(--space-4);
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius-card);
  background:
    radial-gradient(
      70% 90% at 74% 52%,
      rgb(217 170 85 / 0.1) 0%,
      transparent 70%
    ),
    linear-gradient(180deg, #232529 0%, #1b1d21 100%);
  box-shadow: var(--edge-card);
  transition:
    box-shadow var(--transition-normal),
    transform var(--transition-normal);
}

.service-card__body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.service-card h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.55;
  text-wrap: pretty;
}

.service-card__link {
  grid-area: link;
  align-self: end;
  margin-top: 0;
}

.service-card__object {
  position: relative;
  grid-area: object;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: var(--space-2);
  min-width: 0;
}

.service-card__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgb(0 0 0 / 0.35));
}

.service-card--wide .service-card__image {
  max-width: 280px;
}

.service-card__object::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 6px;
  left: 12%;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(0 0 0 / 0.5), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.service-card__object .pending-asset {
  position: relative;
  z-index: 1;
  width: 200px;
  max-width: 100%;
  aspect-ratio: 1;
  transition: transform var(--transition-normal);
}

.service-card--wide .pending-asset--float .pending-asset__glyph {
  width: clamp(120px, 11vw, 160px);
  height: clamp(120px, 11vw, 160px);
}

/* Escritorio compacto: una columna horizontal.
   Evita tres tarjetas iguales y da aire al texto. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .service-card {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    padding: 32px;
  }
}

/* Escritorio amplio: composición 2+1.
   La tercera tarjeta cierra a ancho completo y alterna el objeto a la izquierda. */
@media (min-width: 1280px) {
  .service-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .service-card--wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    grid-template-areas:
      "object body"
      "object link";
    background:
      radial-gradient(
        70% 90% at 26% 52%,
        rgb(217 170 85 / 0.1) 0%,
        transparent 70%
      ),
      linear-gradient(180deg, #232529 0%, #1b1d21 100%);
  }

  .service-card--wide .service-card__body {
    order: 2;
    max-width: 560px;
  }

  .service-card--wide .service-card__object {
    order: 1;
    width: 100%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--edge-card-hover);
  }

  .service-card:hover .service-card__object .pending-asset {
    transform: scale(1.03);
  }
}

@media (max-width: 1023px) {
  .service-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    min-height: 250px;
    padding: 32px;
  }
}

@media (max-width: 599px) {
  .service-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "body"
      "object"
      "link";
    padding: 24px;
    gap: var(--space-6);
  }
}

/* ============================================================
   Products
   ============================================================ */

.catalog-filter {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.catalog-filter__bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.catalog-filter__chip {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    border-color var(--transition-normal),
    color var(--transition-normal),
    transform var(--transition-fast);
}

.catalog-filter__chip:active {
  transform: scale(0.97);
}

.catalog-filter__chip.is-active {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

.catalog-filter__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
}

.catalog-filter__note,
.catalog-filter__status,
.catalog-filter__empty {
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.5;
}

.catalog-filter__status {
  font-variant-numeric: tabular-nums;
}

.catalog-filter__empty {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
}

@media (hover: hover) and (pointer: fine) {
  .catalog-filter__chip:hover {
    border-color: var(--color-border-strong);
    color: var(--color-text);
  }

  .catalog-filter__chip.is-active:hover {
    border-color: var(--color-gold-light);
    color: var(--color-gold-light);
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.product-card[hidden] {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-product);
  background: var(--color-surface);
  box-shadow: var(--edge-card);
  overflow: hidden;
  transition: box-shadow var(--transition-normal);
}

.product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--aspect-product);
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 0;
  padding: 0;
  background: var(--color-surface);
}

.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card__media .media-demo {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
}

.media-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-pill);
  background: rgb(11 13 16 / 0.55);
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.media-demo::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold);
}

.service-card__object .media-demo,
.service-detail__stage .media-demo {
  position: relative;
  z-index: 2;
}

.product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
}

.product-card__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgb(255 255 255 / 0.06);
}

.product-card__actions {
  display: flex;
  gap: var(--space-2);
}

.product-card__actions .button {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 10px;
  font-size: 13px;
}

.product-card__actions .button svg {
  width: 18px;
  height: 18px;
}

.button--add {
  background: rgb(255 255 255 / 0.04);
  border-color: rgb(255 255 255 / 0.16);
  color: var(--color-text);
}

.button--add svg {
  color: var(--color-text-muted);
}

.product-card__footer .price {
  margin: 0;
}

.product-card__footer .button--consult {
  margin-top: 0;
}

.product-card__name {
  min-height: 2.8em;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.price {
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-8);
  }

  .product-card__body {
    padding: var(--space-4);
  }

  .button--consult {
    gap: 6px;
    padding-inline: 12px;
  }
}

/* Home: 4 at xl, 2 at lg and below */
.product-grid--featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1280px) {
  .product-grid--featured {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (hover: hover) and (pointer: fine) {
  .button--add:hover {
    border-color: rgb(255 255 255 / 0.28);
    background: rgb(255 255 255 / 0.08);
  }
}

@media (max-width: 359px) {
  .product-card__actions {
    flex-direction: column;
  }
}

@media (max-width: 639px) {
  .product-grid {
    gap: var(--space-4);
  }

  .product-card__body {
    padding: 12px;
  }

  .product-card__name {
    font-size: 15px;
  }

  .price {
    font-size: 18px;
  }

  .product-card__media {
    padding: var(--space-3);
  }
}

@media (max-width: 479px) {
  .product-grid,
  .product-grid--featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 379px) {
  .brand__name {
    display: none;
  }

  .site-header__actions {
    gap: var(--space-2);
  }

  .product-grid,
  .product-grid--featured {
    grid-template-columns: 1fr;
  }

  .product-card__body {
    padding: var(--space-4);
  }

  .product-card__name {
    min-height: 0;
  }

  .product-card__media {
    padding: var(--space-4);
  }

  .button--lg {
    gap: 6px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-card .button,
  .menu-panel__cta {
    white-space: normal;
  }
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    box-shadow: var(--edge-card-hover);
  }

  .product-card:hover .product-card__media img {
    transform: scale(1.02);
  }
}

/* Collection CTA row */
.grid-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(24px, 4vw, 40px);
}

/* ============================================================
   About / values
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.about-media .pending-asset {
  width: 100%;
  aspect-ratio: var(--aspect-about);
  border-radius: var(--radius-panel);
}

.about-image,
.about-visual__image {
  display: block;
  width: 100%;
  aspect-ratio: var(--aspect-about);
  object-fit: cover;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-panel);
  background: var(--color-surface);
}

.about-caption,
.about-visual__caption {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.5;
}

.about-copy h2 {
  margin-bottom: var(--stack-title);
}

.about-copy > p {
  max-width: var(--measure-body);
  color: var(--color-text-muted);
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-8);
  margin-top: var(--space-8);
  list-style: none;
}

.values__item {
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.values__index {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-eyebrow);
}

.values__title {
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
  line-height: 1.25;
}

.values__text {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.55;
}

.about-copy .arrow-link {
  margin-top: var(--space-4);
}

@media (max-width: 1023px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 620px;
  }
}

@media (max-width: 639px) {
  .values {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CTA band
   ============================================================ */

.cta-band {
  padding-block: clamp(56px, 7vw, 88px);
  background:
    radial-gradient(
      60% 120% at 18% 50%,
      rgb(217 170 85 / 0.12) 0%,
      transparent 62%
    ),
    linear-gradient(
      180deg,
      var(--color-surface-warm) 0%,
      #1c1b1a 100%
    );
  border-top: 1px solid rgb(217 170 85 / 0.24);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.cta-band h2 {
  margin-bottom: var(--stack-title);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
}

.cta-band .lead {
  max-width: 44ch;
}

.cta-band .button {
  margin-top: var(--stack-lead);
}

.cta-band__data {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.cta-band__data > div {
  padding-top: var(--space-3);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.cta-band__data dt {
  margin-bottom: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.cta-band__data dd {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.cta-band__note {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.5;
}

.cta-band--compact .cta-band__grid {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-8);
}

.cta-band--compact .cta-band__actions .button {
  margin-top: 0;
}

.cta-band__actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .cta-band__grid,
  .cta-band--compact .cta-band__grid {
    grid-template-columns: 1fr;
  }

  .cta-band__actions {
    justify-content: flex-start;
  }

  .cta-band .button {
    width: 100%;
  }

  .cta-band__actions .button {
    margin-top: var(--space-2);
  }
}

/* ============================================================
   Services page — index and detail
   ============================================================ */

.service-index {
  list-style: none;
}

.service-index a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--text-xs);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.service-index__num {
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-eyebrow);
}

.service-index__arrow {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
}

@media (hover: hover) and (pointer: fine) {
  .service-index a:hover {
    color: var(--color-gold-light);
  }
}

.service-detail {
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--color-border);
  scroll-margin-top: calc(var(--header-offset) + 24px);
}

.service-detail--raised {
  background: var(--color-background-raised);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.service-detail__copy {
  max-width: 560px;
}

.service-detail__label {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.service-detail h2 {
  margin-bottom: var(--stack-title);
}

.service-detail__copy p {
  max-width: 52ch;
  color: var(--color-text-muted);
}

.service-detail__copy .button {
  margin-top: var(--stack-lead);
}

.service-detail__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.service-detail__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 340px;
  padding: var(--space-8);
}

.service-detail__image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(340px, 90%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgb(0 0 0 / 0.4));
}

.service-detail__stage::before {
  content: "";
  position: absolute;
  width: min(400px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(217 170 85 / 0.14) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.service-detail__stage::after {
  content: "";
  position: absolute;
  bottom: 24px;
  width: min(280px, 70%);
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(0 0 0 / 0.55), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.service-detail__stage .pending-asset {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .service-detail--reverse .service-detail__media {
    order: -1;
  }
}

@media (max-width: 1023px) {
  .service-detail__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .service-detail__stage {
    min-height: 280px;
  }
}

/* ============================================================
   About page
   ============================================================ */

.activity-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
}

.activity-grid h2 {
  margin-bottom: var(--stack-title);
}

.activity-grid .lead {
  max-width: 42ch;
}

.axes {
  display: grid;
  gap: 0;
  margin: 0;
  list-style: none;
}

.axis {
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.axis:last-child {
  border-bottom: 1px solid var(--color-border);
}

.axis__index {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-eyebrow);
}

.axis h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
}

.axis p {
  max-width: 52ch;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.about-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.about-visual h2 {
  margin-bottom: var(--stack-title);
}

.about-visual__quote {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.about-visual__note {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.5;
}

.values--about {
  max-width: 980px;
}

.about-visual p {
  max-width: 48ch;
  color: var(--color-text-muted);
}

.about-visual__media .pending-asset {
  aspect-ratio: var(--aspect-about);
}

@media (max-width: 1023px) {
  .activity-grid,
  .about-visual {
    grid-template-columns: 1fr;
  }

  .about-visual__media {
    max-width: 640px;
  }
}

/* ============================================================
   Contact page
   ============================================================ */

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: var(--space-8);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-panel);
  background: var(--color-surface);
  box-shadow: var(--edge-card);
}

.contact-card h2 {
  margin-bottom: var(--stack-title);
}

.contact-card .lead {
  max-width: 42ch;
}

.contact-card .button {
  margin-top: var(--stack-lead);
}

.contact-card__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-4);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.contact-card__list li {
  padding-block: var(--space-2);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.contact-channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding-left: var(--space-8);
  border-left: 1px solid var(--color-border);
}

.contact-channel__icon {
  width: 24px;
  height: 24px;
  color: var(--color-text-muted);
}

.contact-channel__label {
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.contact-channel__value {
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.contact-channel__note {
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.5;
}

.contact-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.contact-faq h2 {
  margin-bottom: var(--stack-title);
}

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

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 56px;
  padding-block: var(--space-3);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

.faq__item summary::after {
  content: "+";
  color: var(--color-gold);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  max-width: 52ch;
  padding-bottom: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
}

.details-grid h2 {
  margin-bottom: var(--stack-title);
}

.details-grid .lead {
  max-width: 44ch;
  margin-bottom: var(--space-6);
}

.detail-list {
  margin: 0;
}

.detail-list > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.detail-list > div:last-child {
  border-bottom: 1px solid var(--color-border);
}

.detail-list dt {
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.details-media .pending-asset {
  aspect-ratio: var(--aspect-about);
}

.details-media__note {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-channel {
    padding-top: var(--space-6);
    padding-left: 0;
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .details-grid,
  .contact-faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .contact-card__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .detail-list > div {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }
}

/* ============================================================
   Cart demo
   ============================================================ */

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    border-color var(--transition-normal),
    color var(--transition-normal),
    transform var(--transition-fast);
}

.cart-button svg {
  width: 20px;
  height: 20px;
}

.cart-button:active {
  transform: scale(0.97);
}

.cart-button__badge {
  position: absolute;
  top: 1px;
  right: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--color-gold);
  color: var(--color-gold-ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cart-button__badge[hidden] {
  display: none;
}

body.cart-open {
  overflow: hidden;
}

.cart-scrim {
  position: fixed;
  inset: 0;
  z-index: var(--z-cart-scrim);
  background: var(--color-scrim);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-cart-panel);
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100dvh;
  background: var(--color-background-raised);
  border-left: 1px solid var(--color-border);
  box-shadow: var(--shadow-overlay);
  visibility: hidden;
  transform: translateX(100%);
  transition:
    transform var(--duration-panel) var(--ease-drawer),
    visibility 0s linear var(--duration-panel);
}

body.cart-open .cart-scrim {
  opacity: 1;
  pointer-events: auto;
}

body.cart-open .cart-panel {
  visibility: visible;
  transform: translateX(0);
  transition: transform var(--duration-panel) var(--ease-drawer);
}

.cart-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 24px 20px 16px;
  border-bottom: 1px solid var(--color-border);
}

.cart-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.cart-panel__eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold);
}

.cart-panel__title {
  margin-top: 6px;
  font-size: var(--text-xl);
  line-height: 1.1;
}

.cart-panel__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px 20px 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 44px;
  align-items: start;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.cart-item__media {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 12px;
  background:
    radial-gradient(
      55% 48% at 50% 42%,
      rgb(217 170 85 / 0.12) 0%,
      transparent 70%
    ),
    var(--color-surface);
}

.cart-item__media svg {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
  opacity: 0.7;
}

.cart-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.cart-item__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item__label {
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cart-item__price {
  margin-top: var(--space-1);
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
}

.cart-qty__button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.cart-qty__button svg {
  width: 14px;
  height: 14px;
}

.cart-qty__value {
  min-width: 22px;
  color: var(--color-text);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.cart-item__remove {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.cart-item__remove svg {
  width: 18px;
  height: 18px;
}

.cart-panel__footer {
  flex: 0 0 auto;
  display: grid;
  gap: var(--space-3);
  padding: 16px 20px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-background-raised);
}

.cart-panel__footer[hidden],
.cart-toast[hidden] {
  display: none;
}

.cart-panel__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.cart-panel__total span {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-panel__total strong {
  font-size: var(--text-lg);
  font-variant-numeric: tabular-nums;
}

.cart-panel__note {
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1.5;
}

.cart-note {
  display: grid;
  gap: 6px;
}

.cart-note > span {
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-note textarea {
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
}

.cart-note textarea:focus-visible {
  border-color: var(--color-gold-light);
}

.cart-panel__footer .button {
  width: 100%;
}

.cart-panel__secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.cart-clear {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cart-empty {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding: 48px 8px;
  text-align: center;
}

.cart-empty svg {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  opacity: 0.55;
}

.cart-empty h3 {
  font-size: var(--text-xl);
}

.cart-empty p {
  max-width: 32ch;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: calc(100vw - 32px);
  padding: 8px 12px 8px 16px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  box-shadow: var(--shadow-overlay);
  color: var(--color-text);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}

.cart-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cart-toast p {
  font-size: 13px;
  white-space: nowrap;
}

.cart-toast__action {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-gold-light);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.cart-dialog {
  position: fixed;
  inset: 0;
  z-index: var(--z-cart-dialog);
  display: grid;
  place-items: center;
  padding: 20px;
}

.cart-dialog[hidden] {
  display: none;
}

.cart-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: var(--color-scrim);
  backdrop-filter: blur(8px);
}

.cart-dialog__panel {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-panel);
  background: var(--color-surface);
  box-shadow: var(--shadow-overlay);
}

.cart-dialog.is-open .cart-dialog__panel {
  animation: cart-dialog-in 200ms var(--ease-out);
}

@keyframes cart-dialog-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cart-dialog__title {
  font-size: var(--text-xl);
}

.cart-dialog__note {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.cart-dialog__message {
  max-height: 240px;
  margin: var(--space-4) 0;
  padding: var(--space-4);
  overflow: auto;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-background);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.cart-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cart-dialog__actions .button {
  flex: 1 1 auto;
}

.cart-dialog__status {
  min-height: 18px;
  margin-top: var(--space-2);
  color: var(--color-gold-light);
  font-size: 12px;
}

@media (hover: hover) and (pointer: fine) {
  .cart-button:hover {
    border-color: rgb(255 255 255 / 0.18);
    background: rgb(255 255 255 / 0.04);
  }

  .cart-qty__button:hover,
  .cart-item__remove:hover {
    background: rgb(255 255 255 / 0.04);
  }

  .cart-item__remove:hover {
    color: var(--color-gold-light);
  }
}

@media (max-width: 639px) {
  .cart-panel__header,
  .cart-panel__footer {
    padding-inline: 16px;
  }

  .cart-panel__body {
    padding-inline: 16px;
  }

  .cart-dialog {
    padding: 12px;
  }

  .cart-dialog__panel {
    padding: 20px;
  }

  .cart-dialog__actions {
    flex-direction: column;
  }

  .cart-dialog__actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-scrim {
    transition: opacity 120ms linear;
  }

  .cart-panel {
    transform: none;
    transition: visibility 0s;
  }

  body.cart-open .cart-panel {
    transform: none;
    transition: none;
  }

  .cart-toast {
    transform: translate(-50%, 0);
    transition: opacity 120ms linear;
  }

  .cart-dialog.is-open .cart-dialog__panel {
    animation: none;
  }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  background: var(--color-background-raised);
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
}

.footer__brand .brand {
  margin-bottom: var(--space-4);
}

.footer__brand p {
  max-width: 32ch;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.6;
}

.footer__title {
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  line-height: 1.2;
  text-transform: uppercase;
}

.footer__nav ul {
  display: grid;
  gap: 0;
  list-style: none;
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-text);
  font-size: var(--text-xs);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer__contact {
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--color-gold);
  font-size: var(--text-xs);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-normal);
}

.footer__cta svg {
  width: 20px;
  height: 20px;
}

.footer__pending {
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.5;
}

.footer__legal-col p {
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
  line-height: 1.6;
}

.footer__legal-col p + p {
  margin-top: var(--space-2);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-2xs);
}

@media (hover: hover) and (pointer: fine) {
  .footer__nav a:hover,
  .footer__cta:hover {
    color: var(--color-gold-light);
  }
}

@media (max-width: 1023px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-8) var(--space-6);
  }
}

@media (max-width: 559px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================================
   Dialog
   ============================================================ */

.dialog {
  position: fixed;
  inset: 0;
  z-index: var(--z-dialog);
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--color-scrim);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 150ms var(--ease-out);
}

.dialog.is-open {
  opacity: 1;
  transition-duration: 200ms;
}

.dialog__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 40px);
  padding: clamp(28px, 5vw, 32px);
  border-radius: var(--radius-panel);
  background: var(--color-surface);
  box-shadow: var(--edge-card), var(--shadow-overlay);
  overflow-y: auto;
  transform: scale(1);
}

.dialog.is-open .dialog__panel {
  animation: dialog-in 200ms var(--ease-out);
}

@keyframes dialog-in {
  from {
    transform: scale(0.96);
  }

  to {
    transform: scale(1);
  }
}

.dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.dialog__title {
  margin: 0 0 var(--space-3);
  padding-right: 44px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.dialog__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.dialog__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-6);
}

.dialog__actions .button {
  min-width: 132px;
}

@media (max-width: 479px) {
  .dialog {
    padding: 20px;
  }

  .dialog__actions {
    justify-content: stretch;
  }

  .dialog__actions .button {
    width: 100%;
  }
}

/* ============================================================
   Hero entrance — único momento de entrada
   ============================================================ */

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    opacity: 0;
    transform: translateY(12px);
    animation: hero-in var(--duration-hero) var(--ease-out) forwards;
  }

  .hero__content > :nth-child(1) {
    animation-delay: 0ms;
  }

  .hero__content > :nth-child(2) {
    animation-delay: 70ms;
  }

  .hero__content > :nth-child(3) {
    animation-delay: 140ms;
  }

  .hero__content > :nth-child(4) {
    animation-delay: 210ms;
  }

  .hero__media {
    opacity: 0;
    transform: translateY(12px);
    animation: hero-in var(--duration-hero) var(--ease-out) 160ms forwards;
  }
}

/* ============================================================
   Reduced motion
   ============================================================ */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 120ms !important;
    transition-property: opacity, color, background-color, border-color !important;
  }

  .button--primary,
  .button--secondary,
  .button--consult,
  .product-card,
  .product-card__media img,
  .service-card,
  .service-card__object .pending-asset,
  .hero,
  .hero__media,
  .menu-panel,
  .dialog,
  .dialog__panel {
    transform: none !important;
  }
}

/* ============================================================
   High contrast preference
   ============================================================ */

@media (prefers-contrast: more) {
  :root {
    --color-text-muted: #d2d3d7;
    --color-border: rgb(255 255 255 / 0.28);
    --edge-card: 0 0 0 1px rgb(255 255 255 / 0.28),
      inset 0 1px 0 rgb(255 255 255 / 0.1);
    --edge-card-hover: 0 0 0 1px rgb(255 255 255 / 0.4),
      inset 0 1px 0 rgb(255 255 255 / 0.14);
  }
}

main:focus {
  outline: none;
}
