/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ===== TOKENS ===== */
:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --fg: #eaeaea;
  --fg-dim: #9a9a9a;
  --line: #222;
  --accent-warm:  #c9a571;/* Collection SKULL: antique gold (CORPORATE) */
  --accent-ocean: #4a90b8;/* Collection SURF: ocean blue */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1100px;
}

html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== NAV: fixed sticky, transparent to opaque on scroll ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
.nav::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(201, 165, 113, 0.45) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.nav.is-scrolled::after { opacity: 1; }

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.nav__mark {
  height: 28px;
  width: 28px;
  display: block;
  filter: brightness(1.45) contrast(1.05);
}
.nav__wordmark {
  height: 18px;
  width: auto;
  display: block;
  opacity: 1;
  filter: brightness(1.45) contrast(1.05);
}

/* Centro del nav: chips de colecciones + dropdown Preview */
.nav__center {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.nav__collections {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}
.nav__chip {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--fg-dim);
  padding: 4px 0 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav__chip:hover { color: var(--fg); }
.nav__chip.is-active {
  color: var(--accent-warm);
  border-bottom-color: var(--accent-warm);
}

.nav__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
/* Placeholder ghost: visible pero no activable.
   Solo aparece en home + 3 fichas como gesto futuro. Desactivado siempre. */
.nav__lang-btn {
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(154,154,154,0.35);
  cursor: default;
}
.nav__lang-btn:hover { color: rgba(154,154,154,0.35); }

/* Selector idioma ACTIVO · solo en VQ (EN + ES) */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}
.nav__lang a {
  color: var(--fg-dim);
  padding: 2px 4px;
  transition: color 0.2s ease;
}
.nav__lang a:hover { color: var(--fg); }
.nav__lang a.is-active { color: var(--fg); }
.nav__lang .sep { color: var(--line); }

/* ===== Dropdown Preview · "Try one ▾" ===== */
.nav__preview { position: relative; flex-shrink: 0; }
.nav__preview-trigger {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
  background: transparent;
  border: 1px solid var(--accent-warm);
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav__preview-trigger:hover { background: rgba(201,165,113,0.08); }
.nav__preview-trigger .arrow { font-size: 0.6rem; transition: transform 0.2s ease; }
.nav__preview.is-open .nav__preview-trigger .arrow { transform: rotate(180deg); }
.nav__preview-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0d0d0d;
  border: 1px solid var(--line);
  min-width: 380px;
  padding: 14px 12px 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.7);
  z-index: 60;
}
.nav__preview.is-open .nav__preview-menu { display: block; }
.nav__preview-group { margin-bottom: 8px; }
.nav__preview-group:last-child { margin-bottom: 0; }
.nav__preview-group-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 0 6px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.nav__preview-group--surf  .nav__preview-group-label { color: var(--accent-ocean); }
.nav__preview-group--skull .nav__preview-group-label { color: var(--accent-warm); }
.nav__preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.nav__preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--fg);
  transition: background 0.15s ease;
}
.nav__preview-item:hover { background: rgba(255,255,255,0.05); }
.nav__preview-item.is-soon { opacity: 0.55; }
.nav__preview-item.is-soon:hover { opacity: 1; }
.nav__preview-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.nav__preview-item:hover .nav__preview-icon { border-color: var(--fg-dim); }
.nav__preview-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav__preview-name {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
}
.nav__preview-item:hover .nav__preview-name { color: var(--fg); }
.nav__preview-tag {
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  color: #666;
  text-transform: uppercase;
}

/* Tagline opcional (solo VQ) al lado del wordmark */
.nav__tagline {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--fg-dim);
  padding-left: 10px;
  border-left: 1px solid var(--line);
  margin-left: 4px;
  white-space: nowrap;
}

/* ===== NAV mobile: 2 filas (marca + idioma arriba, chips+preview abajo) =====
   Regla: .nav__lang-btn (placeholder home/fichas) → oculto en móvil.
          .nav__lang (activo VQ) → SE MANTIENE en móvil, al lado del brand.
          .nav__tagline → oculto en móvil. */
@media (max-width: 640px) {
  .nav {
    height: auto;
    min-height: 56px;
    padding: 0.45rem 1rem 0.55rem;
    flex-wrap: wrap;
    align-items: flex-start; /* fix 2026-05-25: evita stretch vertical que pisa el wordmark */
    row-gap: 0.45rem;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom-color: rgba(255, 255, 255, 0.05);
  }
  .nav__brand       { order: 1; flex: 0 1 auto; min-width: 0; } /* fix 2026-05-25: brand no se estira */
  .nav__right       { order: 2; margin-left: auto; }
  .nav__center      {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap; /* fix 2026-05-25b: wrap en lugar de scroll horizontal */
    row-gap: 0.4rem;
    overflow: visible; /* fix 2026-05-25b: visible para no clipear dropdown TRY ONE */
    padding: 0.25rem 0 0.1rem;
    position: relative; /* fix portrait: dropdown se posiciona vs nav__center (full width), no vs el botón */
  }
  .nav__collections { gap: 1.4rem; flex-shrink: 0; }
  .nav__preview     { flex-shrink: 0; position: static; } /* fix portrait: cede el containing block a nav__center */
  .nav__lang-btn    { display: none; }       /* placeholder home/fichas → fuera */
  .nav__tagline     { display: none; }       /* libera espacio */
  /* .nav__lang sigue visible: queda en .nav__right al lado del brand */
  .nav__preview-menu {
    left: 0;
    right: 0;
    min-width: auto;
    transform: none;
  }
}

/* SKULL anchor: invisible, used by scroll-spy chip */
#skull {
  position: relative;
  height: 0;
  scroll-margin-top: 60px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero__content {
  text-align: center;
  padding: 5rem 1.5rem 2.5rem;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: 0.05em;
  color: var(--fg);
  max-width: 720px;
  margin: 0 auto;
}
.hero__subtitle {
  margin: 1rem auto 2.5rem;
  max-width: 480px;
  color: var(--fg-dim);
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}
.hero__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem 4rem;
}
.hero__pair {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
/* Two collections stacked, separated by a thin line. */
.hero__groups {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.hero__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  text-align: center;
}
/* Match the .collection__eyebrow treatment from the BIARRITZ section.
   Color is per-collection (modifier classes set the accent). */
.hero__group-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 0.4rem;
}
.hero__group--surf  .hero__group-label { color: var(--accent-ocean); }
.hero__group--skull .hero__group-label { color: var(--accent-warm); }
.hero__group-divider {
  width: min(420px, 60%);
  height: 1px;
  background: var(--line);
}
/* Smaller cover size since now there can be up to 3 in a row */
.hero__group .hero__cover {
  width: clamp(140px, 19vw, 220px);
}
/* "Coming soon" teaser: visible image with text overlay, not clickable */
.hero__cover-link--soon {
  cursor: default;
}
.hero__cover-wrap {
  position: relative;
  display: block;
}
.hero__cover-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--fg);
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(2px);
  pointer-events: none;
  white-space: nowrap;
}
.hero__cover-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.hero__cover-link:hover { transform: translateY(-6px); }
.hero__cover {
  width: clamp(200px, 30vw, 320px);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}
.hero__cover-caption {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.hero__cover-link:hover .hero__cover-caption { color: var(--fg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn--primary:hover {
  background: transparent;
  color: var(--fg);
}

/* ===== SECTION SHARED ===== */
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  text-align: center;
}
.section__title--quiet {
  font-weight: 300;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: 0.06em;
  color: var(--fg-dim);
}
.section__lead {
  max-width: 680px;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--fg-dim);
  font-size: 1.05rem;
}

/* ===== ABOUT ===== */
.about {
  padding: 6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ===== PRODUCT ===== */
.product {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--line);
}
.product__banner {
  margin-bottom: 4rem;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}
.product__banner img {
  width: 100%;
  height: auto;
  display: block;
}
.product__content { max-width: 900px; }
.product__meta {
  text-align: center;
  margin-bottom: 2.5rem;
}
.product__eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--fg-dim);
  margin-bottom: 0.8rem;
}
.product__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
}
.product__body {
  max-width: 640px;
  margin: 0 auto;
  color: var(--fg);
  font-size: 1.05rem;
}
.product__body p {
  margin-bottom: 1.2rem;
}
.product__body p:last-child { margin-bottom: 0; }
.product__closer {
  color: var(--fg-dim);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.2rem;
  padding-top: 0.5rem;
}

.product__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 3.5rem 0;
}
.product__gallery img {
  width: 100%;
  border-radius: 8px;
  background: var(--bg-2);
  transition: transform 0.3s ease;
}
.product__gallery img:hover { transform: scale(1.03); }

.product__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}
.product__price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}
.product--fredy .product__price { color: var(--accent-warm); }
.product--freeda .product__price { color: var(--accent-warm); }
.product--biarritz .product__price { color: var(--accent-ocean); }
.product--mavericks .product__price { color: var(--accent-ocean); }

/* ===== ACTIONS ROW + SHARE BUTTON =====
   Wraps the primary CTA and a discrete share icon side by side. */
.product__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.btn--share {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease;
  font-family: var(--sans);
}
.btn--share:hover,
.btn--share:focus-visible {
  border-color: var(--fg-dim);
  outline: none;
}
.btn--share svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ===== SHARE POPUP (desktop fallback) ===== */
.share-popup {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 200px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  z-index: 60;
  font-family: var(--sans);
}
.share-popup__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  background: transparent;
  border: 0;
  color: var(--fg);
  font-size: 0.92rem;
  cursor: pointer;
  border-radius: 5px;
  text-align: left;
  text-decoration: none;
  font-family: inherit;
  width: 100%;
}
.share-popup__item:hover,
.share-popup__item:focus-visible {
  background: var(--bg);
  outline: none;
}
.share-popup__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.share-popup__item--copied {
  color: var(--accent-warm);
}

/* ===== COLLECTION (SURF) =====
   Wraps one or more products under a thematic line.
   Visually quieter than a product banner. It sets context. */
.collection {
  padding: 6rem 0 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at top, rgba(74,144,184,0.06), transparent 60%),
    var(--bg);
}
.collection__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1rem;
}
.collection__eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  color: var(--accent-ocean);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.collection__title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
}
.collection__lead {
  margin-top: 1.2rem;
  color: var(--fg-dim);
  font-size: 1rem;
}
/* Product article inside a collection: keep spacing tight, no double border */
.collection .product {
  border-bottom: none;
  padding-top: 4rem;
}

/* ===== INVITATION (UNLIMITED) =====
   Distinct from paid products: lighter framing, not discount framing.
   Conveys "entry to the ARXEN universe", not "free = less". */
.invitation {
  padding: 7rem 0 6rem;
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,0.04), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.invitation__intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.invitation__eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.45em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.invitation__title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
}
.invitation__lead {
  margin-top: 1.2rem;
  color: var(--fg-dim);
  font-size: 1rem;
}
.invitation__card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.5rem;
}
.invitation__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.invitation__name {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: 0.1em;
}
.invitation__badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--fg);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
}
.invitation__tagline {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--fg-dim);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.invitation__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.invitation__bullets li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--fg);
}
.invitation__bullets li:last-child { border-bottom: none; }
.invitation__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.invitation__gallery img {
  width: 100%;
  border-radius: 6px;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}
.invitation__gallery img:hover { opacity: 1; }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
}
.btn--ghost:hover {
  background: var(--fg);
  color: var(--bg);
}

/* ===== PREVIEW CTA (secondary, subordinated to Buy) =====
   Sits below the Buy/Share row in every home card. Drives traffic
   from home into the product configurator page. */
.product__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.4rem auto 0;
  width: 100%;
  text-align: center;
}
.product__preview-prompt {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.btn--preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--fg-dim);
  color: var(--fg-dim);
  background: transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn--preview:hover,
.btn--preview:focus-visible {
  border-color: var(--fg);
  color: var(--fg);
  outline: none;
}
.btn--preview .soon-tag {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

/* ===== COMPATIBILITY ===== */
.compat {
  padding: 5rem 0;
}
.compat__list {
  max-width: 880px;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--fg-dim);
  line-height: 2;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ===== CAROUSEL ===== */
.carousel {
  position: relative;
  margin: 3.5rem 0;
}
.carousel--compact { margin: 1.5rem 0 2rem; }

.carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { scroll-behavior: auto; cursor: grabbing; }

.carousel__track img {
  flex: 0 0 100%;
  width: 100%;
  height: 360px;
  max-height: 60vh;
  object-fit: contain;
  scroll-snap-align: center;
  border-radius: 8px;
  background: var(--bg-2);
  user-select: none;
  -webkit-user-drag: none;
}
.carousel--compact .carousel__track img {
  height: 280px;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--fg);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.carousel__arrow:hover {
  background: rgba(20, 20, 20, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
}
.carousel__arrow--prev { left: -18px; }
.carousel__arrow--next { right: -18px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}
.carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel__dot.is-active {
  background: var(--fg);
  transform: scale(1.25);
}

/* Hide arrows on touch devices: swipe is the main interaction */
@media (max-width: 640px) {
  .carousel__arrow { display: none; }
  .carousel__track { gap: 0.6rem; }
  .carousel { margin: 2.5rem 0; }
  .carousel__track img { height: 280px; }
  .carousel--compact .carousel__track img { height: 220px; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  /* Scale up small source images while keeping aspect ratio.
     object-fit contain ensures the image fills as much as it can without cropping. */
  width: min(92vw, 700px);
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  cursor: default;
  background: #1a1a1a;
}
.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: transparent;
  border: none;
  color: var(--fg);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.lightbox__close:hover { opacity: 1; }

/* Lightbox nav arrows (prev/next) */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--fg);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 1001;
}
.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: rgba(20, 20, 20, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  outline: none;
}
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }
@media (max-width: 640px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: rgba(10, 10, 10, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
  }
  .lightbox__nav--prev { left: 0.6rem; }
  .lightbox__nav--next { right: 0.6rem; }
}

/* ===== FOOTER CANÓNICO ===== */
.footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #050505;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}
.footer__wordmark {
  height: 20px;
  width: auto;
  display: block;
  filter: brightness(1.45) contrast(1.05);
}
.footer__tm {
  font-size: 0.55rem;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}
.footer__line {
  font-size: 0.82rem;
  color: var(--fg-dim);
  letter-spacing: 0.02em;
  margin: 0;
}
.footer__line--soft { opacity: 0.6; }
.footer__links {
  display: flex;
  gap: 1.8rem;
  margin: 0.6rem 0 0.2rem;
}
.footer__links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--fg); }
.footer__copy {
  font-size: 0.7rem;
  color: #666;
  letter-spacing: 0.05em;
  margin: 0.4rem 0 0;
}
.footer__copy a { color: var(--fg-dim); }
.footer__copy a:hover { color: var(--fg); }
.footer__sep { margin: 0 0.4rem; color: var(--line); }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .invitation__card {
    padding: 1.8rem;
  }
  .invitation__gallery { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 640px) {
  /* 7rem top: clears the opaque mobile nav (2 rows ~96-104px) con margen. fix 2026-05-25. */
  .hero__content { padding: 7rem 1.5rem 2rem; }
  .hero__pair { gap: 1rem; }
  .hero__cover { width: 44vw; }
  /* 4 covers en móvil: 2x2 grid, no row de 4 (quedarían minúsculos) */
  .hero__pair--quad {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .hero__pair--quad .hero__cover {
    width: 100%;
  }
  .about, .product, .compat { padding-top: 4rem; padding-bottom: 4rem; }
  .invitation { padding: 4rem 0; }
  .product__banner { margin-bottom: 2.5rem; }
  .product__gallery { grid-template-columns: repeat(2, 1fr); }
  .invitation__gallery { grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
  .invitation__name { font-size: 1.6rem; }
  .footer__inner { flex-direction: column; text-align: center; }
}
