﻿/* Programas Punto Elx — rediseño editorial 2026
   Paleta original: burdeos, marfil y negro. Contenido intacto. */

:root {
  --bg: #fbfbfd;
  --surface: #f4f1f2;
  --surface-2: #ebe6e7;
  --ink: #171416;
  --ink-soft: #464246;
  --muted: #6e686c;
  --accent: #8b1e2d;
  --accent-light: #c24155;
  --accent-deep: #4a0e18;
  --white: #ffffff;
  --dark: #121011;
  --dark-2: #1b1719;
  --line: rgba(23, 20, 22, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.08);
  --max: 1240px;
  --gutter: clamp(20px, 4.2vw, 48px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --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);
  --header-h: 64px;
  --radius: 32px;
  --shadow-soft: 0 24px 80px -40px rgba(20, 12, 14, 0.45);
  --shadow-card: 0 40px 100px -50px rgba(20, 12, 14, 0.55);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 30px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

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

button {
  font: inherit;
  color: inherit;
}

p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

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

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transition: top 180ms var(--ease-out), opacity 160ms ease;
}

.skip-link:focus-visible {
  top: 12px;
  opacity: 1;
  pointer-events: auto;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  color: var(--white);
  background: rgba(18, 16, 17, 0.94);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(18, 16, 17, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent-light), var(--accent-deep));
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.05em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 18px -8px rgba(194, 65, 85, 0.8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  transition: color 200ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--accent-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 10px 30px -14px rgba(194, 65, 85, 0.9);
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -14px rgba(194, 65, 85, 0.95);
}

.nav-cta:active {
  transform: scale(0.97);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--white);
  transition: transform 220ms var(--ease-out), opacity 180ms ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 85;
  padding: calc(var(--header-h) + 22px) var(--gutter) 34px;
  background: rgba(16, 13, 14, 0.96);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: var(--white);
  overflow-y: auto;
}

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

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.mobile-menu a::after {
  content: "↗";
  font-size: 18px;
  color: var(--accent-light);
}

body.menu-open .mobile-menu {
  display: block;
}

body.menu-open .nav-toggle span {
  opacity: 0;
}

body.menu-open .nav-toggle::before {
  transform: translateY(5.5px) rotate(45deg);
}

body.menu-open .nav-toggle::after {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- Type ---------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(52px, 7.4vw, 104px);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h2 {
  font-size: clamp(36px, 5vw, 76px);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.03em;
}

.lead {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
  text-wrap: pretty;
}

.muted {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-weight: 600;
  font-size: 16px;
}

.text-link::after {
  content: "→";
  font-size: 1.05em;
  line-height: 1;
  transition: transform 300ms var(--ease-out);
}

.text-link:hover::after {
  transform: translateX(5px);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms var(--ease-out), box-shadow 240ms ease,
    background 240ms ease;
  box-shadow: 0 18px 44px -20px rgba(139, 30, 45, 0.8);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28), transparent 80%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 54px -20px rgba(139, 30, 45, 0.9);
}

.btn:hover::before {
  transform: translateX(120%);
}

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

.btn__arrow {
  font-size: 15px;
  transition: transform 240ms var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translate(3px, -3px);
}

.btn--light {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 24px 70px -28px rgba(0, 0, 0, 0.6);
}

.btn--light:hover {
  background: #f1edee;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(139, 30, 45, 0.08);
  box-shadow: none;
}

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: none;
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  box-shadow: none;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(194, 65, 85, 0.28), transparent 62%),
    radial-gradient(800px 700px at 92% 80%, rgba(139, 30, 45, 0.35), transparent 64%),
    linear-gradient(145deg, #1a1114 0%, #2a0c12 46%, #120e10 100%);
  padding: clamp(60px, 8vw, 104px) 0 0;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.8;
}

.hero-orb--one {
  width: 46vw;
  height: 46vw;
  top: -18vw;
  right: -8vw;
  background: radial-gradient(circle, rgba(194, 65, 85, 0.55), transparent 67%);
}

.hero-orb--two {
  width: 38vw;
  height: 38vw;
  bottom: -14vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(139, 30, 45, 0.55), transparent 68%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 82px 82px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 72%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
  min-height: min(78vh, 760px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.hero-kicker span:not(.hero-kicker__dot) {
  color: var(--accent-light);
}

.hero-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 5px rgba(194, 65, 85, 0.16);
  animation: pulseDot 2.8s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 680;
  line-height: 0.9;
  letter-spacing: -0.06em;
  max-width: 13ch;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  white-space: nowrap;
}

.hero-title .line > span {
  display: block;
  transform: translateY(112%);
  animation: lineUp 1100ms var(--ease-out) forwards;
}

.hero-title .line:nth-child(2) > span {
  animation-delay: 90ms;
}

.hero-title .line:nth-child(3) > span {
  animation-delay: 180ms;
}

.hero-title .line--outline > span {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.66);
}

@supports not (-webkit-text-stroke: 1px #fff) {
  .hero-title .line--outline > span {
    color: var(--white);
  }
}

.hero .lead {
  max-width: 57ch;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(16px, 1.4vw, 19px);
  opacity: 0;
  animation: riseIn 900ms var(--ease-out) 360ms forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  opacity: 0;
  animation: riseIn 900ms var(--ease-out) 480ms forwards;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  list-style: none;
  opacity: 0;
  animation: riseIn 900ms var(--ease-out) 600ms forwards;
}

.hero-tags li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  perspective: 1200px;
  opacity: 0;
  animation: visualIn 1400ms var(--ease-out) 300ms forwards;
}

.hero-visual__halo {
  position: absolute;
  inset: -22%;
  background: radial-gradient(circle at 55% 45%, rgba(194, 65, 85, 0.5), transparent 65%);
  filter: blur(48px);
  z-index: -1;
}

.device {
  position: relative;
  padding: clamp(10px, 1.4vw, 17px);
  border-radius: 30px;
  background: linear-gradient(155deg, #3a3033, #171214 64%, #090708);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: rotateY(-12deg) rotateX(5deg) rotateZ(-1.5deg);
  transition: transform 800ms var(--ease-out);
  overflow: hidden;
}

.device::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.device img {
  width: 100%;
  border-radius: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .hero-visual:hover .device {
    transform: rotateY(-3deg) rotateX(1deg) rotateZ(0deg) scale(1.015);
  }
}

.hero-visual figcaption {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-align: center;
}

.floating-note {
  position: absolute;
  display: grid;
  gap: 3px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  animation: floatNote 6s ease-in-out infinite;
}

.floating-note span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.floating-note strong {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.floating-note--one {
  top: 12%;
  left: -7%;
}

.floating-note--two {
  right: -4%;
  bottom: 18%;
  animation-delay: -3s;
}

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 0 30px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__track span::after {
  content: "·";
  color: var(--accent-light);
  font-size: 18px;
}

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

/* ---------- Sections ---------- */

.section {
  padding: clamp(90px, 10vw, 150px) 0;
}

.section--tight {
  padding-top: clamp(64px, 7vw, 96px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(38px, 4.5vw, 62px);
}

.section-head h2 {
  max-width: 16ch;
}

.section-head .lead {
  max-width: 38ch;
  font-size: 16px;
}

.section-head--center {
  display: block;
  text-align: center;
}

.section-head--center h2 {
  margin-inline: auto;
}

.section-head--center .lead {
  margin: 18px auto 0;
}

/* ---------- Category cards ---------- */

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2vw, 26px);
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 660px;
  padding: clamp(30px, 3.2vw, 48px) clamp(26px, 3.2vw, 46px) 0;
  border: 1px solid rgba(23, 20, 22, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #ffffff, #f1ecee);
  overflow: hidden;
  isolation: isolate;
  transition: transform 400ms var(--ease-out), box-shadow 400ms ease;
  box-shadow: 0 20px 60px -44px rgba(23, 20, 22, 0.4);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px 300px at 88% 4%, rgba(194, 65, 85, 0.13), transparent 68%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card__copy {
  position: relative;
  z-index: 2;
}

.category-card h3 {
  font-size: clamp(30px, 3vw, 44px);
  max-width: 12ch;
}

.category-card p {
  margin-top: 16px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 15.5px;
}

.category-card .text-link {
  margin-top: 26px;
}

.category-card figure {
  margin: auto -8% 0;
  padding-top: 30px;
  display: flex;
  justify-content: center;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 500ms var(--ease-out);
}

.category-card figure img {
  width: min(92%, 560px);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 40px 70px -30px rgba(23, 20, 22, 0.6);
  transition: transform 800ms var(--ease-out);
}

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

  .category-card:hover figure img {
    transform: scale(1.03);
  }
}

.category-card--dark {
  background:
    radial-gradient(600px 400px at 88% 12%, rgba(194, 65, 85, 0.34), transparent 65%),
    linear-gradient(150deg, #2a0c12, #120e10 74%);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.category-card--dark p {
  color: rgba(255, 255, 255, 0.62);
}

.category-card--dark .text-link {
  color: #f4b9c1;
}

.category-card--dark figure img {
  box-shadow: 0 40px 90px -26px rgba(0, 0, 0, 0.85);
}

/* ---------- Product grid ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 24px;
  border: 1px solid rgba(23, 20, 22, 0.08);
  border-radius: 24px;
  background: linear-gradient(155deg, #ffffff, #f2edef);
  overflow: hidden;
  transition: transform 400ms var(--ease-out), box-shadow 400ms ease,
    border-color 300ms ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 260px at var(--mx, 50%) var(--my, 0%), rgba(194, 65, 85, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-7px);
    border-color: rgba(194, 65, 85, 0.28);
    box-shadow: 0 34px 70px -40px rgba(23, 20, 22, 0.5);
  }
}

.product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background:
    radial-gradient(280px 190px at 50% 10%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(160deg, #e9e1e3, #f8f5f6);
  padding: 14px;
  overflow: hidden;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 500ms var(--ease-out);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 700ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-media img {
    transform: scale(1.045);
  }
}

.product-media--type {
  background:
    radial-gradient(340px 260px at 20% 10%, rgba(194, 65, 85, 0.32), transparent 70%),
    linear-gradient(150deg, #2a0c12, #120e10);
}

.product-monogram {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-align: center;
  color: #f4b9c1;
  text-transform: uppercase;
  max-width: 9ch;
}

.product-card h3 {
  margin: 19px 6px 0;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.product-card p {
  margin: 5px 6px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-card .text-link {
  margin: 15px 6px 0;
  font-size: 14px;
}

/* ---------- Spotlight ---------- */

.spotlight {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 10vw, 150px) 0;
  color: var(--white);
  background:
    radial-gradient(700px 500px at 82% 12%, rgba(194, 65, 85, 0.24), transparent 64%),
    linear-gradient(145deg, #120e10, #1d1115 60%, #0d0a0b);
  isolation: isolate;
}

.spotlight::before {
  content: "60";
  position: absolute;
  right: -2%;
  top: -12%;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(280px, 34vw, 600px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.09em;
  pointer-events: none;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(44px, 6vw, 100px);
  align-items: center;
}

.spotlight h2 {
  font-size: clamp(54px, 6.5vw, 96px);
}

.spotlight .lead {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(18px, 1.5vw, 21px);
}

.spotlight p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
}

.spotlight a:not(.btn) {
  color: #f4b9c1;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(244, 185, 193, 0.35);
}

.spotlight h3 {
  margin-top: 38px;
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.advantage-list {
  list-style: none;
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 26px;
}

.advantage-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.5;
}

.advantage-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(194, 65, 85, 0.14);
}

.spotlight-figure {
  position: relative;
  margin: 0;
}

.spotlight-figure::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(194, 65, 85, 0.4), transparent 66%);
  filter: blur(40px);
  z-index: -1;
}

.spotlight-figure img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 100px -38px rgba(0, 0, 0, 0.9);
  transform: perspective(1000px) rotateY(6deg) rotateX(2deg);
}

.spotlight-figure figcaption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.price-panel {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 34px;
  padding: 20px 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}

.price-panel span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.price-panel strong {
  color: var(--white);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
}

.price-panel small {
  font-size: 15px;
  font-weight: 450;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.55);
}

.fine-print {
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 12.5px !important;
  line-height: 1.6;
  margin-top: 20px !important;
}

/* ---------- Services ---------- */

.services-list {
  display: grid;
  gap: clamp(16px, 1.8vw, 24px);
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid rgba(23, 20, 22, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #ffffff, #f4eff0);
  overflow: hidden;
  transition: transform 400ms var(--ease-out), box-shadow 400ms ease;
}

.service::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -15%;
  width: 50%;
  height: 140%;
  background: radial-gradient(circle, rgba(194, 65, 85, 0.12), transparent 68%);
  pointer-events: none;
}

.service:nth-child(2) {
  color: var(--white);
  background:
    radial-gradient(600px 300px at 88% 10%, rgba(194, 65, 85, 0.24), transparent 66%),
    linear-gradient(145deg, #1d1115, #120e10);
  border-color: rgba(255, 255, 255, 0.12);
}

.service:nth-child(3) {
  background: linear-gradient(150deg, #f7edef, #ece2e4);
}

.service h3 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.service p {
  margin-top: 16px;
  max-width: 58ch;
  color: var(--muted);
}

.service:nth-child(2) p,
.service:nth-child(2) li {
  color: rgba(255, 255, 255, 0.6);
}

.service ul {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 9px;
}

.service li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
}

.service li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.63em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
}

.service-aside {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
}

.service-figure {
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.9;
  background: linear-gradient(120deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service:nth-child(2) .service-figure {
  background: linear-gradient(120deg, #ffffff, #f4b9c1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-figure span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  -webkit-text-fill-color: var(--muted);
}

.service:nth-child(2) .service-figure span {
  color: rgba(255, 255, 255, 0.45);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.45);
}

.service-note {
  color: var(--muted);
  font-size: 12.5px;
}

.service:nth-child(2) .service-note {
  color: rgba(255, 255, 255, 0.38);
}

@media (hover: hover) and (pointer: fine) {
  .service:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px -46px rgba(23, 20, 22, 0.45);
  }
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 10vw, 150px) 0;
  color: var(--white);
  background:
    radial-gradient(700px 480px at 88% 12%, rgba(194, 65, 85, 0.42), transparent 66%),
    linear-gradient(145deg, #4a0e18, #8b1e2d 52%, #2b0a10);
  isolation: isolate;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(42px, 6vw, 90px);
  align-items: start;
}

.contact h2 {
  max-width: 13ch;
  font-size: clamp(44px, 5.6vw, 84px);
}

.contact .lead {
  margin-top: 24px;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  display: grid;
  gap: 0;
  padding: 8px 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.7);
}

.contact .contact-block {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact .contact-block:last-child {
  border-bottom: 0;
}

.contact .contact-block h3 {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact .contact-block p,
.contact .contact-block a {
  margin-top: 6px;
  color: var(--white);
  font-size: 17px;
  line-height: 1.5;
}

.contact .contact-block a {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.contact .contact-block a:hover {
  color: #ffe0e5;
}

.contact .btn--light {
  margin-top: 30px;
}

.content-section .contact-block h3 {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.content-section .contact-block p,
.content-section .contact-block a {
  margin-top: 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.5;
}

.content-section .contact-block a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-section .contact-block a:hover {
  color: var(--accent-light);
}

nav[aria-label="Ruta de navegación"] {
  position: relative;
  z-index: 6;
}

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: -78px;
  margin-inline: calc(50% - 50vw);
  padding: 152px max(var(--gutter), calc((100vw - var(--max)) / 2)) clamp(66px, 8vw, 110px);
  color: var(--white);
  background:
    radial-gradient(800px 500px at 82% 8%, rgba(194, 65, 85, 0.24), transparent 64%),
    linear-gradient(145deg, #1a1114, #2a0c12 52%, #120e10);
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 40% 30%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at 40% 30%, #000, transparent 72%);
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(48px, 7.2vw, 104px);
}

.page-hero .lead {
  margin-top: 22px;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.66);
}

.page-hero .btn-row {
  margin-top: 30px;
}

.page-hero .btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.page-hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-hero .text-link {
  color: #f4b9c1;
}

.breadcrumb {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 30px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  list-style: none;
}

.breadcrumb a {
  transition: color 200ms ease;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.22);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(40px, 5.5vw, 86px);
  align-items: center;
}

.page-hero__media {
  position: relative;
  padding: clamp(12px, 1.8vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -44px rgba(0, 0, 0, 0.85);
}

.page-hero__media img {
  width: 100%;
  border-radius: 12px;
}

.page-hero__media--type {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(420px 300px at 30% 10%, rgba(194, 65, 85, 0.32), transparent 68%),
    #120e10;
}

.page-hero__media--type span {
  max-width: 11ch;
  color: var(--white);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.page-hero__caption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.page-hero .prose {
  max-width: 76ch;
  margin-top: 30px;
}

.page-hero .prose p,
.page-hero .prose li {
  color: rgba(255, 255, 255, 0.66);
}

.page-hero .prose strong {
  color: var(--white);
}

.page-hero .prose h3 {
  color: var(--white);
}

.page-hero .prose a {
  color: #f4b9c1;
}

/* ---------- Content and prose ---------- */

.content-section {
  padding: clamp(64px, 8vw, 110px) 0 clamp(90px, 10vw, 140px);
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(34px, 5vw, 90px);
  align-items: start;
}

.prose-layout__aside h2 {
  position: sticky;
  top: calc(var(--header-h) + 34px);
  max-width: 11ch;
  font-size: clamp(30px, 3.4vw, 48px);
}

.prose {
  max-width: 72ch;
  color: var(--ink);
}

.prose p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.prose strong {
  color: var(--ink);
  font-weight: 650;
}

.prose h3 {
  margin: 44px 0 16px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.prose h3:first-child {
  margin-top: 0;
}

.prose ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  margin: 4px 0 28px;
}

.prose li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .legal-heading {
  font-size: 25px;
  margin: 42px 0 14px;
}

.versions {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.versions h2 {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.version-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  list-style: none;
}

.version-list li {
  padding: 9px 15px;
  border: 1px solid rgba(23, 20, 22, 0.08);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 200ms ease, transform 200ms var(--ease-out);
}

.version-list li:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}

.version-list li.is-note {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-left: 0;
  color: var(--muted);
  font-weight: 400;
  max-width: 70ch;
  font-size: 13px;
}

/* ---------- Gallery ---------- */

.shot-hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.gallery-note {
  margin-top: 14px;
  max-width: 70ch;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid rgba(23, 20, 22, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #f7f3f4, #ece6e8);
}

.gallery-grid--preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shot {
  display: block;
  padding: 0;
  border: 1px solid rgba(23, 20, 22, 0.08);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 400ms var(--ease-out), box-shadow 400ms ease;
}

.shot img {
  width: 100%;
  height: auto;
}

@media (hover: hover) and (pointer: fine) {
  .shot:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -34px rgba(23, 20, 22, 0.5);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 5vw;
  background: rgba(12, 9, 10, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  width: min(480px, 88vw);
  max-height: 82vh;
  height: auto;
  padding: 6px;
  border-radius: 12px;
  background: var(--white);
}

.lightbox button {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Demo ---------- */

.demo-shell {
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid rgba(23, 20, 22, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1d1115, #0d0a0b);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.6);
}

#ruffle-container {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  border-radius: 16px;
  background: #080707;
}

#ruffle-container ruffle-player {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.demo-fallback {
  max-width: 64ch;
  margin: 28px auto 0;
  padding: 30px;
  border: 1px solid rgba(23, 20, 22, 0.08);
  border-radius: 22px;
  background: var(--surface);
  text-align: center;
}

.demo-fallback p {
  color: var(--muted);
}

.demo-fallback .btn {
  margin-top: 18px;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) 0 32px;
  color: rgba(255, 255, 255, 0.56);
  background: #0d0b0c;
  font-size: 13px;
}

.site-footer::before {
  content: "PUNTO ELX";
  position: absolute;
  left: 50%;
  bottom: -4%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.025);
  font-size: clamp(90px, 18vw, 260px);
  font-weight: 700;
  letter-spacing: -0.07em;
  white-space: nowrap;
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: 48px;
}

.footer-brand .brand {
  color: var(--white);
  font-size: 17px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.footer-col h2 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.66);
  transition: color 200ms ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.34);
  font-size: 11.5px;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  translate: 0 34px;
  scale: 0.985;
  transition: opacity 1000ms var(--ease-out), translate 1000ms var(--ease-out),
    scale 1000ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.js .reveal {
  opacity: 0;
}

.js .reveal.is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

@keyframes lineUp {
  to {
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes visualIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatNote {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(194, 65, 85, 0.14);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(194, 65, 85, 0.04);
  }
}

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }

  .hero-title .line > span,
  .hero .lead,
  .hero-actions,
  .hero-tags,
  .hero-visual {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .marquee__track {
    animation: none;
  }

  .device,
  .spotlight-figure img {
    transform: none;
  }

  .category-card:hover,
  .category-card:hover figure img,
  .product-card:hover,
  .product-card:hover .product-media img,
  .service:hover,
  .shot:hover,
  .hero-visual:hover .device,
  .version-list li:hover {
    transform: none !important;
  }

  .floating-note,
  .hero-kicker__dot {
    animation: none;
  }

  .btn:hover,
  .btn:active,
  .nav-cta:hover,
  .nav-cta:active,
  .text-link:hover::after {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .mobile-menu,
  .floating-note,
  .contact-details,
  .price-panel,
  .page-hero__media {
    background: #141012;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ---------- Responsive ---------- */

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

  .hero-shell {
    min-height: auto;
  }

  .floating-note--one {
    left: 0;
  }

  .floating-note--two {
    right: 0;
  }
}

@media (max-width: 1024px) {
  .page-hero {
    margin-top: -64px;
    padding-top: 128px;
  }

  .breadcrumb {
    padding-top: 20px;
  }

  .hero-shell,
  .spotlight-grid,
  .contact-grid,
  .page-hero__grid,
  .prose-layout {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 56px;
  }

  .hero-visual {
    max-width: 660px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-title {
    max-width: 12ch;
  }

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

  .category-card {
    min-height: 560px;
  }

  .prose-layout__aside h2 {
    position: static;
  }

  .prose-layout__aside {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }

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

  .service-aside {
    order: -1;
    padding-top: 0;
  }

  .advantage-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 58px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    margin-left: auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid,
  .gallery-grid--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .lead {
    margin-top: 18px;
  }

  .prose ul {
    grid-template-columns: 1fr;
  }

  .hero-tags {
    margin-top: 26px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .brand {
    font-size: 14px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .page-hero {
    margin-top: -56px;
    padding-top: 110px;
  }

  .breadcrumb {
    padding-top: 16px;
    margin-bottom: 22px;
  }

  .hero-shell {
    gap: 42px;
    padding-bottom: 72px;
  }

  .hero-kicker {
    margin-bottom: 22px;
    font-size: 9.5px;
    letter-spacing: 0.14em;
  }

  .hero-title {
    font-size: clamp(42px, 13vw, 58px);
    max-width: 100%;
  }

  .hero .lead {
    margin-top: 22px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .floating-note {
    padding: 10px 13px;
  }

  .floating-note strong {
    font-size: 12px;
  }

  .floating-note--one {
    top: 4%;
  }

  .floating-note--two {
    bottom: 12%;
  }

  .category-card {
    min-height: 470px;
    padding: 26px 22px 0;
  }

  .category-card figure {
    margin-inline: -4%;
  }

  .product-grid {
    gap: 10px;
  }

  .product-card {
    padding: 9px 9px 18px;
  }

  .product-card h3 {
    margin-left: 3px;
    font-size: 15.5px;
  }

  .product-card p {
    margin-left: 3px;
    font-size: 12.5px;
  }

  .product-card .text-link {
    margin-left: 3px;
    font-size: 12.5px;
  }

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

  .service {
    padding: 26px 22px;
  }

  .service-figure {
    font-size: 52px;
  }

  .contact-details {
    padding: 4px 22px;
  }

  .contact .btn-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact .btn {
    width: 100%;
  }

  .gallery-grid,
  .gallery-grid--preview {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  #ruffle-container,
  #ruffle-container ruffle-player {
    min-height: 300px;
  }

  .breadcrumb {
    margin-bottom: 22px;
  }

  .prose h3 {
    font-size: 21px;
  }

  .page-hero__caption {
    font-size: 12px;
  }
}












