/* ============================================================
   RIVKA CREACIONES — Hi-fi mockup
   Inspirado en logo (colibrí azul petróleo + crema cálida)
   ============================================================ */

/* ---- Local Japanese fonts ---- */
@font-face {
  font-family: "Shippori Mincho B1";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Shippori Mincho B1 Regular"),
       url("fonts/shippori-mincho-b1-v24-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Shippori Mincho B1";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Shippori Mincho B1 Medium"),
       url("fonts/shippori-mincho-b1-v24-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Shippori Mincho B1";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Shippori Mincho B1 SemiBold"),
       url("fonts/shippori-mincho-b1-v24-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Shippori Mincho B1";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Shippori Mincho B1 Bold"),
       url("fonts/shippori-mincho-b1-v24-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic Antique";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Zen Kaku Gothic Antique Regular"),
       url("fonts/zen-kaku-gothic-antique-v18-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic Antique";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Zen Kaku Gothic Antique Medium"),
       url("fonts/zen-kaku-gothic-antique-v18-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic Antique";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Zen Kaku Gothic Antique Bold"),
       url("fonts/zen-kaku-gothic-antique-v18-latin-700.woff2") format("woff2");
}

:root {
  /* Brand colors — user-specified exact values */
  --teal-900: #16303B;
  --teal-700: #294653;
  --teal-600: #365C6D;   /* primary — hummingbird */
  --teal-500: #4F7488;
  --teal-300: #91A9B6;
  --teal-200: #BCCAD2;
  --teal-100: #D5E8ED;   /* pale ice — logo circle */
  --teal-50:  #E6ECEF;

  /* Warm neutrals */
  --cream-50:  #FBF7EF;
  --cream-100: #F7EFE0;
  --cream-200: #F0E5D0;   /* featured product surface */
  --cream-300: #E5D5B8;

  /* Ink scale */
  --ink-900: #0E0F12;
  --ink-800: #1A1B20;
  --ink-700: #2A2C33;
  --ink-500: #5C5E68;
  --ink-400: #84868F;
  --ink-300: #B7B8C0;
  --ink-200: #DFE0E4;
  --ink-100: #ECEDF0;

  /* Surfaces */
  --paper: #FBFAF5;
  --paper-soft: #F4F1E8;
  --dark: #16303B;       /* deep teal identity panel */
  --dark-2: #1F3F4D;
  --dark-text: #E8F0F3;
  --dark-muted: #8FA5AD;

  /* Optional accent */
  --terra: #C77B5C;
  --rose:  #E8C7B4;

  /* Radii */
  --r-pill: 999px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 8px;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Type */
  --font-serif: "Shippori Mincho B1", "Instrument Serif", Georgia, serif;
  --font-sans:  "Zen Kaku Gothic Antique", "Manrope", system-ui, -apple-system, sans-serif;
  --font-script:"Caveat", cursive;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea { font: inherit; color: inherit; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ----- typography ----- */
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.script { font-family: var(--font-script); font-weight: 500; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.h-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(56px, 8.5vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.h-section {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.h-card {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.lead { font-size: 18px; line-height: 1.55; color: var(--ink-500); max-width: 52ch; }
.muted { color: var(--ink-500); }

/* ----- container ----- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink-200) 70%, transparent);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 18px;
  gap: 32px;
}
.nav-group { display: flex; gap: 32px; align-items: center; }
.nav-group.left { justify-content: flex-start; }
.nav-group.right { justify-content: flex-end; }
.nav a.nav-link {
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
  transition: color .2s var(--ease);
}
.nav a.nav-link:hover { color: var(--teal-700); }
.nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--teal-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a.nav-link:hover::after { transform: scaleX(1); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  transition: opacity .2s var(--ease);
}
.brand-mark:hover { opacity: 0.7; }
.brand-mark img {
  height: 44px;
  width: auto;
  display: block;
}
/* Legacy fallback if pill markup is used */
.brand-pill {
  background: var(--ink-900);
  color: var(--paper);
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.04em;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-300);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--paper-soft);
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}
/* Echo the logo's pale-ice circle behind the headline */
.hero-circle {
  position: absolute;
  left: 50%;
  top: 56%;
  width: clamp(560px, 64vw, 880px);
  aspect-ratio: 1/1;
  background: var(--teal-100);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  box-shadow: 0 40px 80px -40px rgba(53,91,110,0.25);
}
.hero-bird {
  position: absolute;
  right: clamp(-20px, 2vw, 60px);
  top: clamp(48px, 7vw, 100px);
  width: clamp(220px, 26vw, 340px);
  aspect-ratio: 820 / 940;   /* matches the icon's portion of the full logo */
  /* full logo is 2564×940 — the icon spans ~32% from the left.
     scale the bg so that 32% of the bg-width == the container width,
     and align to the left so only the icon is visible. */
  background-image: url("assets/rivka-logo.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 312.5% auto;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-3deg);
}
.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal-600);
  color: var(--paper);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.hero-badge .sep { color: var(--teal-300); }
.hero-headline {
  max-width: 14ch;
}
.hero-headline em {
  font-style: italic;
  color: var(--teal-700);
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-500);
  max-width: 56ch;
  margin: 0 auto;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal-600);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--teal-900);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -10px rgba(54,92,109,0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--teal-600);
  border: 1px solid var(--teal-600);
}
.btn-ghost:hover {
  background: var(--teal-600);
  color: var(--paper);
}
.btn-icon { width: 18px; height: 18px; stroke-width: 2; }

/* ============================================================
   FILTER CHIPS
   ============================================================ */
.chips-wrap {
  background: var(--paper);
  padding: 26px 0 8px;
}
.chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.chip {
  padding: 11px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink-200);
  background: var(--paper);
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s var(--ease);
}
.chip:hover {
  border-color: var(--teal-500);
  color: var(--teal-700);
}
.chip[aria-pressed="true"] {
  background: var(--teal-600);
  color: var(--paper);
  border-color: var(--teal-600);
}

/* ============================================================
   FEATURED PRODUCT
   ============================================================ */
.featured {
  background: var(--teal-100);
  padding: clamp(48px, 7vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.featured::before {
  /* subtle linen weave */
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(54,92,109,0.04) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(54,92,109,0.04) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
}
.featured-photo {
  aspect-ratio: 4/5;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.35);
  background: #2a2a2a;
}
.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- slider ----- */
.featured-slider .slides {
  position: absolute; inset: 0;
}
.featured-slider .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .9s var(--ease), transform 1.2s var(--ease);
  pointer-events: none;
}
.featured-slider .slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.featured-slider .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  left: 18px; bottom: 18px;
  display: flex; flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 8px 15px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 3;
  max-width: calc(100% - 100px);
  box-shadow: 0 4px 16px -6px rgba(0,0,0,0.12);
  transition: background .25s var(--ease), opacity .25s var(--ease);
}
.featured-slider:hover .slide-caption { background: rgba(255, 255, 255, 0.62); }
.slide-caption .cap-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(14, 15, 18, 0.78);
  letter-spacing: -0.005em;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}
.slide-caption .cap-meta {
  font-size: 11px;
  color: rgba(92, 94, 104, 0.78);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-900);
  display: grid; place-items: center;
  z-index: 3;
  opacity: 0;
  transition: opacity .3s var(--ease), background .2s var(--ease), transform .2s var(--ease);
  box-shadow: 0 8px 22px -8px rgba(0,0,0,0.3);
  cursor: pointer;
}
.slide-nav.prev { left: 14px; transform: translateY(-50%) translateX(-6px); }
.slide-nav.next { right: 14px; transform: translateY(-50%) translateX(6px); }
.featured-slider:hover .slide-nav {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.slide-nav:hover {
  background: var(--teal-600);
  color: #fff;
}
.slide-nav svg { width: 18px; height: 18px; }

.slide-dots {
  position: absolute;
  right: 16px; bottom: 18px;
  display: flex;
  gap: 6px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  padding: 7px 10px;
  border-radius: var(--r-pill);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.dot:hover { background: rgba(255, 255, 255, 0.85); }
.dot.is-active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .slide-nav { opacity: 1; transform: translateY(-50%) translateX(0); width: 38px; height: 38px; }
  .slide-caption { left: 12px; bottom: 12px; padding: 7px 12px; max-width: 60%; }
  .slide-dots { right: 12px; bottom: 14px; }
}
.featured-meta-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(255,255,255,0.92);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-700);
  text-transform: uppercase;
  z-index: 2;
}

.featured-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.featured-content .eyebrow { color: var(--ink-500); }
.featured-content h2 em {
  font-style: italic;
  color: var(--teal-700);
}
.specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink-500);
  font-size: 15.5px;
  line-height: 1.65;
}
.specs .dot { color: var(--teal-600); }
.size-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--teal-600);
  background: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  width: fit-content;
  color: var(--teal-700);
}
.featured-cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.thumb {
  width: 88px;
  height: 110px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.25);
  background: #2a2a2a;
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   COLECCION GRID
   ============================================================ */
.collection {
  padding: clamp(64px, 8vw, 104px) 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head .h-section { max-width: 18ch; }

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  transition: gap .2s var(--ease), color .2s var(--ease);
  padding-bottom: 6px;
}
.see-all:hover { gap: 14px; color: var(--teal-700); }
.see-all svg { width: 18px; height: 18px; stroke-width: 2.2; }

.coll-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.coll-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-100);
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
}
.coll-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -20px rgba(31,61,77,0.35);
}
.coll-card .art {
  position: absolute; inset: 0;
  z-index: 0;
  background: #2a2a2a;
}
.coll-card .art img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.coll-card:hover .art img { transform: scale(1.05); }
.coll-card .art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 35%, transparent 60%);
  pointer-events: none;
}
.coll-card .label {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 10px 14px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}
.coll-card .count {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  background: rgba(0,0,0,0.45);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

/* Per-card art treatments */
.art-anime {
  background:
    radial-gradient(ellipse 70% 50% at 50% 35%, #f5c5a3 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 50% 80%, #1a1530 30%, transparent 80%),
    conic-gradient(from 200deg at 50% 30%, #6b4a8a, #2a4b7a, #2d8b8b, #6b4a8a);
}
.art-flores {
  background:
    radial-gradient(circle at 30% 25%, #e8b3a8 0 12%, transparent 14%),
    radial-gradient(circle at 70% 40%, #c9a785 0 10%, transparent 13%),
    radial-gradient(circle at 45% 65%, #b89569 0 14%, transparent 16%),
    radial-gradient(circle at 75% 78%, #d4a890 0 9%, transparent 12%),
    linear-gradient(160deg, #f0e3cd 0%, #d8c4a2 100%);
}
.art-artesanal {
  background:
    repeating-linear-gradient(45deg, rgba(100,60,30,0.06) 0 2px, transparent 2px 8px),
    linear-gradient(145deg, #c8a380 0%, #8b6a4a 100%);
}
.art-cuadros-arte {
  background:
    linear-gradient(145deg, #2f5a6d 0%, #547a8d 100%);
}
.art-cuadros-arte::after {
  content: "";
  position: absolute;
  inset: 18%;
  background: var(--paper);
  border: 6px solid #ECE7DC;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.art-chapitas {
  background: radial-gradient(circle at 50% 50%, #f0e3cd 0 30%, #d8c4a2 60%, #b89569 100%);
}
.art-chapitas::after, .art-chapitas::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 8%, #e8b3a8 9% 45%, #c87a5e 46%, #a55a3e 100%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.art-chapitas::after  { width: 50%; height: 50%; top: 16%; left: 24%; }
.art-chapitas::before { width: 34%; height: 34%; top: 52%; left: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #b6dde0 9% 45%, #4d9aa5 46%, #2f6571 100%); }
.art-agendas {
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-900) 100%);
}
.art-agendas::after {
  content: "";
  position: absolute;
  inset: 22% 28% 16% 22%;
  background: var(--cream-100);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1), inset 6px 0 0 var(--cream-300), 0 18px 30px -10px rgba(0,0,0,0.4);
}
.art-agendas::before {
  content: "";
  position: absolute;
  width: 6px; height: 32%;
  top: 32%; left: 31%;
  background: var(--ink-900);
  border-radius: 2px;
  z-index: 1;
}

/* ============================================================
   IDENTITY (dark panel)
   ============================================================ */
.identity {
  background: var(--dark);
  color: var(--dark-text);
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.identity::before {
  content: "";
  position: absolute;
  right: -10%; top: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(83,122,141,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.identity-left h2 { color: #fff; }
.identity-left h2 em { color: var(--teal-300); font-style: italic; }
.identity-left p {
  color: var(--dark-muted);
  font-size: 16px;
  max-width: 32ch;
  margin-top: 24px;
}
.identity-mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--teal-300);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.identity-mini-tag .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-300);
  box-shadow: 0 0 0 0 var(--teal-300);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(156,182,194,0.6); }
  50% { box-shadow: 0 0 0 10px rgba(156,182,194,0); }
}
.identity-list { display: flex; flex-direction: column; }
.id-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: padding-left .35s var(--ease);
}
.id-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.id-item:hover { padding-left: 12px; }
.id-num {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
  color: var(--teal-300);
  letter-spacing: -0.02em;
}
.id-body h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
}
.id-body p { margin: 0; color: var(--dark-muted); font-size: 14.5px; }
.id-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  display: grid; place-items: center;
  color: var(--teal-100);
  transition: all .25s var(--ease);
}
.id-item:hover .id-arrow {
  background: var(--teal-100);
  color: var(--dark);
  border-color: var(--teal-100);
  transform: scale(1.05);
}
.id-arrow svg { width: 18px; height: 18px; stroke-width: 2.2; }

/* ============================================================
   3 PASOS
   ============================================================ */
.steps {
  background: var(--teal-50);
  padding: clamp(56px, 8vw, 96px) 0;
}
.steps h2 { margin-bottom: 48px; }
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--teal-600);
  position: relative;
}
.step-top {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--teal-700);
  letter-spacing: 0.02em;
}
.step h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.step p { margin: 0; color: var(--ink-500); font-size: 15px; }
.step-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal-600);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 8px;
  box-shadow: 0 8px 20px -8px rgba(54,92,109,0.5);
}
.step-icon svg { width: 26px; height: 26px; stroke-width: 1.8; }

/* ============================================================
   TRABAJOS / GALLERY
   ============================================================ */
.gallery {
  padding: clamp(64px, 8vw, 104px) 0;
}
.gallery-head { margin-bottom: 36px; }
.gallery-head h2 { margin: 0 0 6px; }
.gallery-head p { margin: 0; color: var(--ink-500); font-size: 15.5px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 14px;
}
.tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px -20px rgba(31,61,77,0.4);
}
.tile .art {
  position: absolute; inset: 0;
  background: #2a2a2a;
}
.tile .art img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.tile:hover .art img { transform: scale(1.04); }
.tile .art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 30%, transparent 55%);
  pointer-events: none;
}
.tile .badge {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(255,255,255,0.95);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-900);
}
.tile .corner {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(0,0,0,0.45);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

/* tile spans */
.t-1 { grid-column: span 4; grid-row: span 3; }
.t-2 { grid-column: span 4; grid-row: span 2; }
.t-3 { grid-column: span 4; grid-row: span 2; }
.t-4 { grid-column: span 4; grid-row: span 2; }
.t-5 { grid-column: span 4; grid-row: span 3; }
.t-6 { grid-column: span 4; grid-row: span 2; }

/* tile art treatments */
.gart-1 {
  background:
    radial-gradient(circle at 30% 40%, #ffd8c2 0 8%, transparent 10%),
    radial-gradient(circle at 60% 30%, #c8b48a 0 7%, transparent 10%),
    radial-gradient(circle at 75% 60%, #9ab0a8 0 9%, transparent 12%),
    radial-gradient(circle at 40% 75%, #d6a890 0 8%, transparent 11%),
    radial-gradient(circle at 18% 65%, #b89569 0 7%, transparent 10%),
    linear-gradient(135deg, #d4ad88 0%, #8c6a4a 100%);
}
.gart-2 {
  background:
    radial-gradient(ellipse 60% 40% at 50% 35%, #e8c5a8 0%, transparent 50%),
    radial-gradient(ellipse 100% 70% at 50% 85%, #0f2440 50%, transparent 80%),
    linear-gradient(180deg, #ff7c34 0%, #1f3460 60%, #0c1a30 100%);
}
.gart-2::before {
  content: "";
  position: absolute;
  width: 30%; height: 30%;
  top: 50%; left: 35%;
  background: radial-gradient(circle, #fff 0 30%, #ff8a3d 35%, transparent 60%);
  border-radius: 50%;
}
.gart-3 {
  background:
    conic-gradient(from 180deg at 50% 60%, #b86ce8, #4ec8ff, #5af0a8, #ffce5a, #f06ac8, #b86ce8),
    linear-gradient(180deg, #1a1530 0%, #2a3056 100%);
  filter: saturate(0.9);
}
.gart-3::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  mix-blend-mode: screen;
}
.gart-4 {
  background:
    radial-gradient(circle at 25% 50%, #f5c5a3 0 12%, transparent 14%),
    radial-gradient(circle at 60% 35%, #6b4a8a 0 11%, transparent 14%),
    radial-gradient(circle at 80% 70%, #2d8b8b 0 10%, transparent 13%),
    linear-gradient(145deg, #2a4060 0%, #1a2540 100%);
}
.gart-5 {
  background:
    conic-gradient(from 20deg at 50% 50%, #5af0a8, #4ec8ff, #b86ce8, #f06ac8, #ffce5a, #5af0a8);
  filter: saturate(0.95) brightness(0.95);
}
.gart-5::after {
  content: "";
  position: absolute; inset: 14%;
  border: 8px solid #2f5a3e;
  background: rgba(0,0,0,0.15);
  border-radius: 4px;
}
.gart-6 {
  background:
    radial-gradient(circle at 30% 30%, #ffd35a 0 12%, transparent 15%),
    radial-gradient(circle at 65% 45%, #4ec8ff 0 11%, transparent 14%),
    radial-gradient(circle at 80% 75%, #ff7a8a 0 10%, transparent 13%),
    radial-gradient(circle at 40% 80%, #b86ce8 0 11%, transparent 14%),
    linear-gradient(135deg, #ffce5a 0%, #ff5a8a 100%);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--teal-50);
  padding: clamp(64px, 9vw, 110px) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 80px);
}
.contact h2 { margin: 0 0 6px; }
.contact .lead { margin-bottom: 32px; font-size: 16.5px; }

.contact-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-200);
  padding: 6px;
  display: flex;
  flex-direction: column;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  transition: background .2s var(--ease);
  cursor: pointer;
}
.contact-row:hover { background: var(--paper-soft); }
.contact-row + .contact-row { border-top: 1px solid var(--ink-100); }
.contact-row .ico {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal-600);
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.contact-row:hover .ico { transform: scale(1.06); background: var(--teal-700); }
.contact-row .ico svg { width: 22px; height: 22px; stroke-width: 1.9; overflow: visible; }
.contact-row .meta {
  display: flex; flex-direction: column;
  flex: 1; min-width: 0;
}
.contact-row .meta .k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.contact-row .meta .v {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  margin-top: 2px;
}
.contact-row .arrow {
  width: 16px; height: 16px;
  color: var(--teal-500);
  transition: transform .2s var(--ease), color .2s var(--ease);
  stroke-width: 2.2;
}
.contact-row:hover .arrow { transform: translateX(3px); color: var(--teal-700); }

/* form */
.form h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--ink-200);
  background: var(--paper);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--ink-900);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  font-family: inherit;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(61,100,120,0.12);
}
.submit-btn {
  width: 100%;
  background: var(--teal-600);
  color: var(--paper);
  padding: 16px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 4px;
  transition: background .2s var(--ease), transform .15s var(--ease);
  letter-spacing: 0.02em;
}
.submit-btn:hover { background: var(--teal-900); transform: translateY(-1px); }
.submit-btn:active { transform: translateY(0); }
.submit-btn.sent {
  background: var(--teal-700);
  pointer-events: none;
}

/* ── Form success panel ── */
.form-success-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 16px 28px;
  animation: fspIn .45s cubic-bezier(.2,.7,.2,1) both;
}
.form-success-panel.is-visible { display: flex; }
@keyframes fspIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.fsp-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal-700);
}
.fsp-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  color: var(--teal-900);
  margin-bottom: 10px;
}
.fsp-sub {
  font-size: 15px;
  color: var(--teal-600);
  line-height: 1.65;
  max-width: 360px;
  margin-bottom: 20px;
}
.fsp-note {
  font-size: 13px;
  color: var(--teal-700);
  background: var(--teal-100);
  border: 1px solid var(--teal-300);
  padding: 9px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.fsp-reset {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-700);
  border: 1.5px solid var(--teal-300);
  background: transparent;
  padding: 10px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.fsp-reset:hover { background: var(--teal-100); border-color: var(--teal-600); }

/* ── File upload (imagen de referencia) ─────────────── */
.label-hint {
  color: var(--ink-500);
  font-weight: 400;
  font-size: 12.5px;
  margin-left: 4px;
}
.file-dropzone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1.5px dashed var(--teal-300);
  border-radius: var(--r-md);
  background: var(--cream-50);
  color: var(--teal-600);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.file-dropzone:hover {
  background: var(--teal-100);
  border-color: var(--teal-600);
}
.file-dropzone.is-dragging {
  background: var(--teal-100);
  border-color: var(--teal-600);
  border-style: solid;
  transform: scale(1.01);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.15);
}
.file-dropzone svg { flex-shrink: 0; color: var(--teal-600); }
.file-dropzone-text { display: flex; flex-direction: column; gap: 2px; }
.file-dropzone-text strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: 0.01em;
}
.file-dropzone-text span {
  font-size: 12px;
  color: var(--ink-500);
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--teal-200);
  border-radius: var(--r-md);
  background: var(--cream-50);
  position: relative;
  margin-top: 10px;
}
.file-preview[hidden], .field-error[hidden], .file-dropzone[hidden] { display: none; }
.file-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.file-preview-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.file-preview-info strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-preview-info span {
  font-size: 11.5px;
  color: var(--ink-500);
}
.file-preview-remove {
  background: transparent;
  border: none;
  color: var(--ink-500);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background .15s var(--ease), color .15s var(--ease);
  flex-shrink: 0;
}
.file-preview-remove:hover { background: var(--teal-100); color: var(--teal-900); }

.field-error {
  display: block;
  color: #C77B5C;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--teal-900);
  color: var(--ink-300);
  padding: 48px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  opacity: 0.95;
}
.footer-tag { margin-top: 8px; font-size: 14px; color: var(--ink-400); max-width: 30ch; }
.footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--ink-300); font-size: 14px; transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--paper); }
.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--ink-400);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-credit {
  color: var(--teal-200);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-credit:hover {
  color: #fff;
  border-bottom-color: var(--teal-200);
}

/* ============================================================
   ANIMATIONS — modern motion layer
   ============================================================ */

/* Floating hummingbird in hero */
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-14px) rotate(-1deg); }
}
.hero-bird {
  animation: float-y 7s ease-in-out infinite;
}

/* Hero circle gentle breathing */
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.04); }
}
.hero-circle {
  animation: breathe 9s ease-in-out infinite;
}

/* Hero headline & sub: entrance */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge   { animation: rise-in .8s var(--ease) .05s both; }
.hero-headline{ animation: rise-in 1s  var(--ease) .15s both; }
.hero-sub     { animation: rise-in .9s var(--ease) .35s both; }
.hero-ctas    { animation: rise-in .9s var(--ease) .5s  both; }

/* Shimmer sweep on the hero badge */
.hero-badge {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-badge::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255,255,255,0.22) 50%,
    transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 4.5s var(--ease) 1.5s infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children with .reveal-children */
.reveal-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-children.in-view > *           { opacity: 1; transform: translateY(0); }
.reveal-children.in-view > *:nth-child(1) { transition-delay: .05s; }
.reveal-children.in-view > *:nth-child(2) { transition-delay: .12s; }
.reveal-children.in-view > *:nth-child(3) { transition-delay: .19s; }
.reveal-children.in-view > *:nth-child(4) { transition-delay: .26s; }
.reveal-children.in-view > *:nth-child(5) { transition-delay: .33s; }
.reveal-children.in-view > *:nth-child(6) { transition-delay: .4s;  }
.reveal-children.in-view > *:nth-child(7) { transition-delay: .47s; }

/* Card hover refinements */
.coll-card, .tile {
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.coll-card .label, .tile .badge {
  transition: transform .35s var(--ease), background .25s var(--ease);
}
.coll-card:hover .label { transform: translateY(-2px); }
.tile:hover .badge      { transform: translateY(-2px); }

/* Pulse glow on primary buttons */
.btn-primary {
  position: relative;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(54, 92, 109, 0.5);
  animation: btn-pulse 3.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes btn-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(54, 92, 109, 0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(54, 92, 109, 0); }
  100% { box-shadow: 0 0 0 0   rgba(54, 92, 109, 0); }
}

/* Chip indicator slide */
.chip {
  position: relative;
  overflow: hidden;
}
.chip::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--teal-600);
  border-radius: inherit;
  transform: translateY(100%);
  transition: transform .35s var(--ease);
  z-index: -1;
}
.chip[aria-pressed="true"]::before { transform: translateY(0); }

/* Smooth scroll for the whole page */
html { scroll-behavior: smooth; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bird, .hero-circle { animation: none !important; }
}
/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px);
}
.lightbox.is-open {
  display: flex;
  animation: lb-fade .25s var(--ease);
}
@keyframes lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 22, 0.88);
  backdrop-filter: blur(14px);
  border: none;
  cursor: zoom-out;
  padding: 0;
}
.lb-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  animation: lb-pop .35s var(--ease);
}
@keyframes lb-pop {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lb-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  display: block;
  background: #2a2a2a;
}
.lb-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
  text-align: center;
}
.lb-caption .lb-name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.lb-caption .lb-meta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.lb-close, .lb-nav {
  position: absolute;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
  backdrop-filter: blur(10px);
}
.lb-close:hover, .lb-nav:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.35);
  transform: scale(1.08);
}
.lb-close { top: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 28px); }
.lb-nav.lb-prev { left:  clamp(12px, 3vw, 28px); top: 50%; transform: translateY(-50%); }
.lb-nav.lb-next { right: clamp(12px, 3vw, 28px); top: 50%; transform: translateY(-50%); }
.lb-nav:hover.lb-prev, .lb-nav:hover.lb-next { transform: translateY(-50%) scale(1.08); }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }

.lb-counter {
  position: absolute;
  z-index: 3;
  bottom: clamp(16px, 3vw, 28px);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(10px);
}
.lb-counter .lb-i { color: #fff; font-weight: 600; }

@media (max-width: 640px) {
  .lb-close, .lb-nav { width: 42px; height: 42px; }
  .lb-img { max-height: 65vh; }
  .lb-caption .lb-name { font-size: 18px; }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 90;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0,0,0,0.18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(37, 211, 102, 0.7), 0 6px 16px rgba(0,0,0,0.22);
}
.wa-float:active {
  transform: scale(0.96);
}
.wa-float svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2.4s var(--ease) infinite;
  z-index: 1;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.6); opacity: 0;    }
  100% { transform: scale(1.6); opacity: 0;    }
}
.wa-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: var(--ink-900);
  color: #fff;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.3);
}
.wa-tooltip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--ink-900);
}
.wa-float:hover .wa-tooltip,
.wa-float:focus-visible .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-tooltip { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .coll-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
  .identity-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .t-1, .t-5 { grid-column: span 6; grid-row: span 3; }
  .t-2, .t-3, .t-4, .t-6 { grid-column: span 3; grid-row: span 2; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-group.left { display: none; }
  .nav-group.right { gap: 18px; }
}
@media (max-width: 640px) {
  .coll-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .t-1, .t-2, .t-3, .t-4, .t-5, .t-6 { grid-column: span 2; grid-row: span 2; }
  .footer-top { grid-template-columns: 1fr; }
  .id-item { grid-template-columns: 56px 1fr; }
  .id-arrow { display: none; }
}

/* ============================================================
   COLLECTION CARD — REDISEÑO
   ============================================================ */

.coll-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--teal-700);
  font-weight: 500;
  margin: 6px 0 0;
  opacity: 0.85;
}
.coll-sub svg { flex-shrink: 0; }

/* Grid 3×2 portrait */
.coll-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.coll-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: #1a1a1a;
  box-shadow: 0 4px 20px -8px rgba(0,0,0,0.25);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.coll-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px -12px rgba(15,118,110,0.38), 0 0 0 2px rgba(20,184,166,0.5);
}
.coll-card .art { position: absolute; inset: 0; }
.coll-card .art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.coll-card:hover .art img { transform: scale(1.07); }

/* Overlay con gradiente */
.coll-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.28) 0%,
    transparent 30%,
    rgba(0,0,0,0.68) 100%
  );
  transition: background .3s var(--ease);
}
.coll-card:hover .coll-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    transparent 25%,
    rgba(0,0,0,0.82) 100%
  );
}

/* Badge count — top left */
.coll-count {
  align-self: flex-start;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}

/* Bloque info — bottom */
.coll-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.coll-name {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 500;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.coll-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.coll-open svg { width: 13px; height: 13px; }
.coll-card:hover .coll-open {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   INSTAGRAM GRID
   ============================================================ */
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.gallery-head p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 4px 0 0;
}
.ig-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .2s, transform .2s;
}
.ig-follow-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.ig-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #1a1a1a;
  display: block;
}
.ig-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}
.ig-tile:hover img { transform: scale(1.07); }
.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.ig-tile:hover .ig-overlay { opacity: 1; }
.ig-overlay span {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 0 10px;
}

.ig-footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.ig-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: border-color .2s, color .2s, transform .2s;
}
.ig-footer-btn:hover {
  border-color: #833ab4;
  color: #833ab4;
  transform: translateY(-1px);
}

/* ============================================================
   CATEGORY MODAL
   ============================================================ */
.cat-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.cat-modal.is-open {
  opacity: 1;
  pointer-events: all;
}
.cat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,15,18,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.cat-panel {
  position: relative;
  background: var(--bg-0, #fff);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 360px;
  width: 100%;
  max-width: 940px;
  height: 580px;
  max-height: 90vh;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  transform: translateY(28px) scale(0.96);
  transition: transform 0.28s var(--ease);
}
.cat-modal.is-open .cat-panel {
  transform: translateY(0) scale(1);
}
.cat-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background 0.15s;
}
.cat-close:hover { background: #fff; }
.cat-close svg { width: 16px; height: 16px; }

/* Gallery side */
.cat-gallery-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #111;
}
.cat-gallery {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.15s;
}
.cat-img-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.52) 0%, transparent 100%);
  color: #fff;
  font-size: 13px;
  text-align: center;
  pointer-events: none;
}
.cat-img-counter {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.cat-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.88);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.15s;
}
.cat-nav:hover { background: #fff; }
.cat-nav svg { width: 16px; height: 16px; }
.cat-prev { left: 10px; }
.cat-next { right: 10px; }
.cat-thumbs {
  display: flex;
  gap: 5px;
  padding: 7px 10px;
  overflow-x: auto;
  background: rgba(0,0,0,0.55);
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.cat-thumbs::-webkit-scrollbar { height: 3px; }
.cat-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 2px; }
.cat-thumb {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 7px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity 0.15s, border-color 0.15s;
}
.cat-thumb.is-active,
.cat-thumb:hover { opacity: 1; border-color: var(--teal-400, #2dd4bf); }

/* Info side */
.cat-info {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  background: var(--bg-0, #fff);
}
.cat-tag {
  display: inline-flex;
  align-items: center;
  background: var(--teal-50, #f0fdfa);
  color: var(--teal-700, #0f766e);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}
.cat-title {
  font-family: var(--font-serif, serif);
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--ink-900, #0e0f12);
  margin: 0;
}
.cat-desc {
  font-size: 13.5px;
  color: var(--ink-600, #4b5563);
  line-height: 1.65;
  margin: 0;
}
.cat-detail-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border, #e5e7eb);
  border-bottom: 1px solid var(--border, #e5e7eb);
  padding: 12px 0;
}
.cat-detail {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.cat-detail-label {
  font-size: 11px;
  color: var(--ink-400, #9ca3af);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  padding-top: 2px;
}
.cat-detail-val {
  font-size: 13px;
  color: var(--ink-800, #1f2937);
  font-weight: 600;
  text-align: right;
}
.cat-cta {
  margin-top: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 780px) {
  .cat-panel {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 1fr;
    height: auto;
    max-height: 90vh;
  }
  .cat-gallery-wrap { min-height: 0; }
  .cat-info { padding: 20px 20px 24px; gap: 10px; }
  .cat-title { font-size: 1.25rem; }
}

/* ============================================================
   INSTAGRAM CAROUSEL
   ============================================================ */
.ig-scroll-wrap {
  position: relative;
}
.ig-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.ig-viewport::-webkit-scrollbar { display: none; }
.ig-viewport:active { cursor: grabbing; }

.ig-track {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 6px 0 10px;
  width: max-content;
}
.ig-card {
  flex-shrink: 0;
  width: 320px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fafafa;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.ig-card .instagram-media {
  border-radius: var(--r-md) !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Flechas absolutas sobre el viewport — igual que Creativalili */
.ig-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-0, #fff);
  border: 1px solid var(--border, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 6px 20px rgba(14,15,18,.14), 0 2px 6px rgba(14,15,18,.07);
  color: var(--ink-700, #374151);
  transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.ig-arrow:hover {
  background: var(--teal-700, #0f766e);
  color: #fff;
  border-color: var(--teal-700, #0f766e);
  transform: translateY(-50%) scale(1.08);
}
.ig-arrow:active { transform: translateY(-50%) scale(0.96); }
.ig-arrow--prev { left: -14px; }
.ig-arrow--next { right: -14px; }

@media (max-width: 768px) {
  .ig-card { width: 280px; }
  .ig-arrow { display: none; }
}

/* ============================================================
   CATÁLOGO FAB + VISOR FLIPBOOK
   ============================================================ */
.fab-catalog {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-900));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 24px -6px rgba(54,92,109,0.55), 0 4px 12px rgba(0,0,0,0.15);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.fab-catalog:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(54,92,109,0.7), 0 6px 16px rgba(0,0,0,0.2);
  color: #fff;
}
.fab-catalog:active { transform: scale(0.96); }
.fab-catalog svg { width: 26px; height: 26px; }
.fab-catalog-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: var(--ink-800);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 100;
}
.fab-catalog-tooltip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--ink-800);
}
.fab-catalog:hover .fab-catalog-tooltip,
.fab-catalog:focus-visible .fab-catalog-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 640px) {
  .fab-catalog { width: 50px; height: 50px; bottom: 82px; right: 18px; }
  .fab-catalog svg { width: 22px; height: 22px; }
  .fab-catalog-tooltip { display: none; }
}

/* ===== CATÁLOGO VIEWER (fullscreen modal con PDF.js) ===== */
.catalog-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  animation: catalog-in .3s ease both;
}
@keyframes catalog-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.catalog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
}
.catalog-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(20,20,30,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.catalog-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.catalog-title svg { opacity: 0.7; }
.catalog-counter {
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-left: 8px;
}
.catalog-actions {
  display: flex;
  gap: 8px;
}
.catalog-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, transform .15s;
  text-decoration: none;
}
.catalog-btn:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
  color: #fff;
}
.catalog-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}
.flipbook {
  max-width: 100%;
  max-height: 100%;
}
.flipbook .page-wrapper canvas,
.flipbook .stf__item canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.catalog-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: absolute;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  font-weight: 500;
}
.catalog-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--teal-600);
  border-radius: 50%;
  animation: cat-spin .8s linear infinite;
}
@keyframes cat-spin { to { transform: rotate(360deg); } }

.flipbook {
  opacity: 0;
  transform: scale(0.96) translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.flipbook.is-ready {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.catalog-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}
.catalog-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .3s ease;
}
.catalog-dot:hover { background: rgba(255,255,255,0.45); }
.catalog-dot.is-active {
  background: var(--teal-500);
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(79,116,136,0.5);
}

.flip-page-hint {
  position: absolute;
  bottom: 0; right: 0;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, transparent 40%, rgba(0,0,0,0.06) 45%, rgba(255,255,255,0.9) 50%);
  border-radius: 0 0 6px 0;
  pointer-events: none;
  animation: curl-hint 2s ease 0.8s both;
  z-index: 10;
}
@keyframes curl-hint {
  0%   { transform: translate(0, 0); opacity: 0; }
  20%  { transform: translate(-12px, -12px); opacity: 1; }
  60%  { transform: translate(-18px, -18px); opacity: 1; }
  100% { transform: translate(0, 0); opacity: 0; }
}

.catalog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background .15s, transform .15s;
  backdrop-filter: blur(6px);
}
.catalog-nav:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.08);
}
.catalog-prev { left: 20px; }
.catalog-next { right: 20px; }
@media (max-width: 640px) {
  .catalog-body { padding: 10px; }
  .catalog-nav { width: 40px; height: 40px; }
  .catalog-prev { left: 8px; }
  .catalog-next { right: 8px; }
  .catalog-header { padding: 12px 16px; }
  .catalog-title span:first-of-type { display: none; }
}
