/*
 * Comfortaa incrustada aquí (latin + latin-ext, 400/500/600) para que el título
 * del hero use la fuente aunque el CSS de fonts.googleapis.com no cargue
 * (proxy, CSP, orden de red, etc.). El .woff2 sigue sirviéndose desde gstatic.
 */
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/comfortaa/v47/1PtCg8LJRfWJmhDAuUsSQamb1W0lwk4S4WjMXL830efAesmwYSFoxBEB_I2udQ.woff2)
    format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/comfortaa/v47/1PtCg8LJRfWJmhDAuUsSQamb1W0lwk4S4WjMXL830efAesmwYSFoxBEP_I0.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/comfortaa/v47/1PtCg8LJRfWJmhDAuUsSQamb1W0lwk4S4WjMXL830efAesmwYSFoxBEB_I2udQ.woff2)
    format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/comfortaa/v47/1PtCg8LJRfWJmhDAuUsSQamb1W0lwk4S4WjMXL830efAesmwYSFoxBEP_I0.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/comfortaa/v47/1PtCg8LJRfWJmhDAuUsSQamb1W0lwk4S4WjMXL830efAesmwYSFoxBEB_I2udQ.woff2)
    format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/comfortaa/v47/1PtCg8LJRfWJmhDAuUsSQamb1W0lwk4S4WjMXL830efAesmwYSFoxBEP_I0.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Tema unificado: fondo blanco, texto negro */
  --void: #ffffff;
  --ink: #111111;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --paper: #111111;
  --paper-dim: #333333;
  --text: #111111;
  --text-body: #111111;
  --text-muted: rgba(17, 17, 17, 0.55);
  --orchid: #8a6b38;
  --orchid-dim: #6d5630;
  --ember: #a84832;
  --ember-dim: #863822;
  --lime: #355a4c;
  --line: rgba(20, 24, 22, 0.09);
  --line-strong: rgba(20, 24, 22, 0.15);
  /* Tipografía tipo wordmark redondeado / monolinial (similar al logo Instagram) */
  --wordmark-ink: #111111;
  --font-hero-title: "Comfortaa", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-ui: "Outfit", system-ui, sans-serif;
  --radius-sharp: 4px;
  --radius-soft: 20px;
  --radius-blob: 42% 58% 62% 38% / 44% 48% 52% 56%;
  --header-h: 76px;
  --px: 0px;
  --py: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --gx: 0deg;
  --gy: 0deg;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.35rem;
  --space-6: 1.75rem;
  --space-8: 2.5rem;
  --page-pad-x: clamp(1rem, 4vw, 1.35rem);
  --content-max: 62ch;
  --section-pad-y: clamp(2.25rem, 6vw, 5rem);
  --tap-min: 2.75rem;
}

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

html {
  scroll-behavior: smooth;
}

@supports (padding: env(safe-area-inset-left)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

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

  .marquee-inner {
    animation: none !important;
  }

  .hero-img-wrap img {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--void);
}

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

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text-muted);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

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

.cursor-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: radial-gradient(
    420px circle at var(--cx, 50%) var(--cy, 50%),
    rgba(17, 17, 17, 0.04) 0%,
    transparent 55%
  );
  mix-blend-mode: multiply;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-visible {
  opacity: 1;
  transform: none;
}

.reveal-fade {
  transform: none;
  opacity: 0;
}

.reveal-fade.reveal-visible {
  opacity: 1;
}

.reveal-up.reveal-delay-1 {
  transition-delay: 0.12s;
}

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

.container--wide {
  width: min(1280px, 100% - 2 * var(--page-pad-x));
}

.main-content {
  padding-bottom: max(var(--space-6), env(safe-area-inset-bottom, 0px));
}

/* Migas de pan (subpáginas) */
.breadcrumb-wrap {
  padding-block: var(--space-4) var(--space-2);
}

.breadcrumb {
  display: block;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  opacity: 0.45;
  font-weight: 500;
  margin-left: var(--space-2);
}

.breadcrumb-list a {
  color: var(--text);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-list li[aria-current="page"] span {
  color: var(--text);
}

.section-head--spaced .section-title {
  margin-bottom: var(--space-4);
}

.section-head--spaced .section-intro + .section-intro {
  margin-top: var(--space-3);
}

.section-lead {
  max-width: var(--content-max);
  line-height: 1.62;
}

/* Film grain overlay */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-strong);
}

.header-inner {
  width: min(1280px, 100% - 2 * var(--page-pad-x));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 0.55rem 0.65rem;
  min-height: var(--header-h);
  padding-block: 0.45rem;
}

@media (max-width: 840px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
    min-height: 0;
    padding-block: 0.38rem;
  }

  .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-tools {
    order: 2;
    flex: 0 1 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    width: auto;
  }

  .nav-toggle {
    order: 3;
    flex: 0 0 44px;
  }

  .site-nav {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 1.12rem;
    letter-spacing: 0.03em;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-mark-img {
    width: 42px;
    height: 42px;
  }

  .shop-pill {
    padding: 0.38rem 0.72rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .lang-select {
    font-size: 0.68rem;
    padding: 0.34rem 0.5rem;
    max-width: 118px;
  }
}

.brand {
  grid-column: 1;
  grid-row: 1;
}

.nav-toggle {
  grid-column: 2;
  grid-row: 1;
}

.header-tools {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.75rem;
}

.lang-select {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  max-width: 130px;
}

.lang-select:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 2px;
}

.site-nav {
  grid-column: 1 / -1;
  grid-row: 3;
}

@media (min-width: 841px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto;
    gap: 0.65rem 1rem;
    padding-block: 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-tools {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
    width: auto;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 100%;
    max-width: 520px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
  justify-self: start;
}

.brand:hover {
  color: var(--text);
}

.brand-mark-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-hero-title);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 500;
}

.shop-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1a1816 !important;
  background: linear-gradient(135deg, #c4a574 0%, #dfc9a0 100%);
  text-decoration: none !important;
  border-radius: 999px;
  border: 1px solid rgba(138, 107, 56, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 4px 16px rgba(40, 34, 24, 0.12);
  white-space: nowrap;
}

.shop-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  color: #1a1816 !important;
}

.nav-toggle {
  justify-self: end;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: var(--radius-sharp);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--text);
  margin-inline: auto;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.5rem;
  justify-content: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  letter-spacing: 0.04em;
}

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

.site-nav a[aria-current="page"] {
  box-shadow: 0 2px 0 var(--ember);
}

/* Texto largo en «Acerca de mí y mi taller» */
.site-nav .nav-item--studio a {
  max-width: 14rem;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  font-size: 0.8rem;
}

@media (max-width: 840px) {
  .site-nav .nav-item--studio a {
    max-width: none;
    text-align: left;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid transparent;
  }

  .site-nav.is-open {
    max-height: min(72vh, 420px);
    border-top-color: var(--line);
    padding-top: 0.5rem;
  }

  .site-nav .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0.25rem 0 1rem;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    font-size: 1rem;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  isolation: isolate;
}

.hero-noise {
  position: absolute;
  inset: -20%;
  z-index: 2;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(180, 200, 220, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(200, 210, 230, 0.08) 0%, transparent 50%);
  animation: meshPulse 14s ease-in-out infinite alternate;
}

@keyframes meshPulse {
  0% {
    opacity: 0.85;
    transform: scale(1) translate(0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1.04) translate(-1%, 1%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh {
    animation: none;
  }
}

.hero-bg-slant {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(82vh, 760px);
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1280px, 100% - 2 * var(--page-pad-x));
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 2.5rem;
  align-items: end;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
}

@media (max-width: 899px) {
  .hero-inner {
    width: 100%;
    max-width: 1280px;
    padding-inline: clamp(0.45rem, 1.85vw + 0.2rem, 1.05rem);
  }
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-logo-wrap {
  margin: 0 0 1.25rem;
}

.hero-logo-frame {
  display: inline-block;
  padding: 0.45rem;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(17, 17, 17, 0.08);
}

.hero-logo {
  width: clamp(6.5rem, 20vw, 10.5rem);
  aspect-ratio: 1;
  height: auto;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text);
  margin: 0 0 1.25rem;
  font-weight: 600;
  max-width: 100%;
}

@media (max-width: 480px) {
  .hero-kicker {
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    line-height: 1.45;
  }
}

.hero h1 {
  margin: 0 0 1.25rem;
  line-height: 1.02;
}

.hero-title-full {
  font-family: var(--font-hero-title);
  font-size: clamp(1.2rem, 3.4vw + 0.45rem, 2.75rem);
  font-weight: 500;
  color: var(--wordmark-ink);
  letter-spacing: 0.035em;
  line-height: 1.18;
  max-width: 100%;
  text-transform: lowercase;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.28em;
  row-gap: 0.06em;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-title-brand {
  flex: 0 1 auto;
  white-space: nowrap;
}

.hero-title-rest {
  flex: 1 1 12rem;
  min-width: min(100%, 11rem);
}

@media (max-width: 360px) {
  .hero-title-brand {
    white-space: normal;
  }
}

@media (min-width: 900px) {
  .hero-title-full {
    max-width: min(100%, 22rem);
    column-gap: 0.32em;
  }
}

.hero-title-full--single {
  display: block;
  max-width: 100%;
}

.hero-title-line {
  display: block;
  font-family: var(--font-hero-title);
  font-size: clamp(2.85rem, 10vw, 5.25rem);
  font-weight: 500;
  color: var(--wordmark-ink);
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.hero-title-line--accent {
  margin-top: 0.06em;
  color: var(--wordmark-ink);
  opacity: 0.92;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: min(42ch, 100%);
  font-size: clamp(1rem, 2.8vw, 1.08rem);
  color: var(--text-body);
  font-weight: 400;
}

@media (max-width: 899px) {
  .hero-lead {
    max-width: 100%;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-blob {
  position: absolute;
  inset: -12% -8% -8% -12%;
  background: radial-gradient(circle at 40% 40%, rgba(200, 220, 235, 0.35), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(220, 225, 235, 0.25), transparent 45%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero-frame {
  position: relative;
  z-index: 1;
  border-radius: 2px 28px 2px 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  transform: rotate(-0.8deg);
  box-shadow:
    0 28px 56px rgba(40, 34, 24, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 0 60px rgba(196, 165, 116, 0.2);
}

.hero-img-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
}

.hero-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--text);
  opacity: 0.22;
  z-index: 3;
  pointer-events: none;
}

.hero-corner--tl {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.hero-corner--br {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.hero-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: var(--surface);
}

/* Carrusel del hero — enlaces a la tienda */
.hero-carousel-viewport {
  --hero-carousel-arrow: rgba(255, 255, 255, 0.92);
  display: grid;
  align-items: stretch;
}

.hero-img-wrap.hero-carousel-viewport > .hero-master-video,
.hero-img-wrap.hero-carousel-viewport > .hero-carousel-track {
  grid-area: 1 / 1;
  min-height: 0;
}

.hero-master-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hero-media--carousel .hero-master-video {
  display: none;
}

.hero-media--video .hero-carousel-track {
  display: none !important;
}

/* Flechas / dots / contador solo en modo carrusel */
.hero-media--video .hero-carousel-ui {
  display: none !important;
}

.hero-carousel-track {
  display: flex;
  flex-flow: row nowrap;
  height: 100%;
  min-height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-track {
    transition: none;
  }
}

.hero-carousel-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.hero-carousel-slide:focus-visible {
  outline: 3px solid var(--orchid);
  outline-offset: -3px;
  z-index: 1;
}

.hero-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 40%;
}

.hero-carousel-ui {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 4;
}

.hero-carousel-arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--hero-carousel-arrow);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(40, 34, 24, 0.12);
  transition:
    background 0.2s,
    transform 0.2s;
}

.hero-carousel-arrow:hover {
  background: #fff;
  scale: 1.06;
}

.hero-carousel-arrow:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 2px;
}

.hero-carousel-arrow--prev {
  left: 0.5rem;
}

.hero-carousel-arrow--next {
  right: 0.5rem;
}

.hero-carousel-dots {
  pointer-events: auto;
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  max-width: calc(100% - 4rem);
}

.hero-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(40, 34, 24, 0.2);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.hero-carousel-dot.is-active {
  background: var(--text);
  transform: scale(1.2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 2px;
}

.hero-carousel-counter {
  pointer-events: none;
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  translate: -50% 0;
  margin: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 14px rgba(40, 34, 24, 0.1);
}

.hero-caption {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  text-align: right;
  padding-right: 0.5rem;
}

.marquee {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
  margin-top: -1px;
}

.marquee-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  padding: 0.65rem 0;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.marquee-inner span {
  white-space: nowrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-sharp);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ember);
  color: #fff !important;
  border-color: var(--ember);
}

.btn-primary:hover {
  background: var(--ember-dim);
  border-color: var(--ember-dim);
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--orchid);
  color: var(--orchid-dim) !important;
}

.btn-block {
  width: 100%;
}

/* Instagram — CTA con icono y marca reconocible */
.icon-instagram {
  flex-shrink: 0;
  display: block;
}

.btn-instagram-hero {
  gap: 0.55rem;
  border-radius: 9999px !important;
  border-width: 0 !important;
  padding: 0.78rem 1.65rem !important;
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 22%,
    #dc2743 48%,
    #cc2366 72%,
    #bc1888 100%
  ) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow:
    0 10px 32px rgba(225, 48, 108, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-instagram-hero:hover {
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
  filter: brightness(1.07);
  box-shadow:
    0 14px 40px rgba(188, 24, 136, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.btn-instagram-hero .icon-instagram {
  width: 1.2rem;
  height: 1.2rem;
}

.footer-links a.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff !important;
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 22%,
    #dc2743 48%,
    #cc2366 72%,
    #bc1888 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 22px rgba(225, 48, 108, 0.35);
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-links a.footer-ig:hover {
  color: #fff !important;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(188, 24, 136, 0.42);
}

.footer-links a.footer-ig .icon-instagram {
  width: 1.05rem;
  height: 1.05rem;
}

/* Sections */
.section {
  position: relative;
  padding: clamp(2.5rem, 8vw, 6rem) 0;
}

@media (max-width: 480px) {
  .section {
    padding: clamp(2rem, 10vw, 4.5rem) 0;
  }

  .hero-inner {
    gap: 1.75rem;
  }
}

/* Taller — mismo fondo blanco que el resto del sitio */
.page-taller {
  background: #ffffff;
  color: var(--text-body);
}

.taller-anchor {
  scroll-margin-top: calc(var(--header-h) + 3.25rem);
}

.taller-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
  margin-top: -0.5rem;
}

.taller-subnav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .taller-subnav-list {
    gap: 0.35rem 1.25rem;
    justify-content: flex-start;
  }
}

.taller-subnav-link {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: var(--text-muted) !important;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.taller-subnav-link:hover {
  color: var(--text) !important;
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.taller-intro-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .taller-intro-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: stretch;
  }
}

.taller-intro-copy .section-title {
  margin-top: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.taller-intro-pillars .pillar-list--grid {
  margin-top: 0;
}

.pillar-list--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 560px) {
  .pillar-list--grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pillar-list--grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;
  padding: 1.1rem 1rem;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.pillar-list--grid li:last-child {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.section-taller-dual {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

.taller-dual-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .taller-dual-grid {
    grid-template-columns: 1.12fr 1fr;
    gap: 2rem 2.75rem;
  }
}

.taller-dual-card {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.taller-dual-card .subsection-title {
  margin-top: 0;
}

.taller-dual-card .section-intro {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.taller-dual-card .lead.section-lead {
  margin-top: 0.5rem;
}

.taller-dual-card .studio-grid--paired,
.section-taller-studio .studio-grid--paired {
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 520px) {
  .taller-dual-card .studio-grid--paired,
  .section-taller-studio .studio-grid--paired {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.section-taller-studio {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.taller-studio-article .section-intro {
  margin-bottom: 0.25rem;
}

.taller-dual-card p[data-i18n="studio.kitBody"] {
  margin: 0.75rem 0 0;
  max-width: none;
  font-size: 0.98rem;
  line-height: 1.6;
}

.section-collections {
  background: #ffffff;
}

.section-gallery {
  background: #ffffff;
}

.section-title {
  font-family: var(--font-hero-title);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  margin: 0 0 1rem;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: 0.04em;
}

.subsection-title {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  letter-spacing: 0.04em;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-body);
}

.section-intro {
  margin: 0;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head--gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-meta {
  text-align: right;
}

@media (max-width: 640px) {
  .gallery-meta {
    text-align: left;
  }
}

.gallery-hint {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gallery-count {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.kbd {
  display: inline-block;
  padding: 0.12em 0.4em;
  margin: 0 0.1em;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  font-size: 0.8em;
  font-family: ui-monospace, monospace;
  color: var(--text);
}

/* About layout */
.about-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

.about-rail {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.about-rail-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.about-body .lead {
  margin-bottom: 1.25rem;
}

.page-taller .about-body p,
.section-page .about-body p {
  margin: 0 0 1rem;
  max-width: 58ch;
  color: var(--text-body);
}

.pillar-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1.15rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.pillar-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pillar-num {
  font-size: 0.65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--text);
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-2);
  flex-shrink: 0;
}

.pillar-list strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pillar-list p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.studio-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 1.5rem;
}

.studio-grid--kit {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.taller-dual-card .studio-grid--gemini,
.section-taller-studio .studio-grid--gemini {
  gap: 0.75rem;
}

@media (min-width: 521px) {
  .taller-dual-card .studio-grid--gemini,
  .section-taller-studio .studio-grid--gemini {
    gap: 1rem;
  }
}

.studio-shot {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.studio-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.kit-manual-note {
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

.about-me-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about-me-layout {
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 2.5rem;
  }
}

.about-me-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.about-me-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.about-me-copy .section-title {
  margin-top: 0;
}

.about-me-copy p {
  margin: 0 0 1rem;
  max-width: 58ch;
}

.about-me-copy .about-bio-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  max-width: 58ch;
}

.about-me-copy .about-subhead {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 1.75rem 0 0.65rem;
  max-width: 58ch;
  line-height: 1.35;
}

.about-me-copy .about-subhead:first-of-type {
  margin-top: 1.35rem;
}

.about-me-copy .about-subhead + p {
  margin-top: 0;
}

/* Filter chips */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  min-height: var(--tap-min);
  border-radius: var(--radius-sharp);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

@media (hover: none) and (pointer: coarse) {
  .hero-carousel-arrow {
    width: var(--tap-min);
    height: var(--tap-min);
    font-size: 1.45rem;
  }
}

.chip:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.chip:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.chip.is-active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.gallery-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 0.25rem;
}

.gallery-section[hidden] {
  display: none;
}

.gallery-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 400;
  margin: 0 0 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
}

.gallery-grid--section {
  margin-top: 0;
}

/* Gallery grid — bento-style */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (min-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  border: none;
  padding: 0;
  margin: 0;
  border-radius: var(--radius-sharp);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--surface-2);
  text-align: left;
  font: inherit;
  color: var(--text);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transform: perspective(820px) rotateX(var(--gy, 0deg)) rotateY(var(--gx, 0deg)) translateZ(0);
}

.gallery-item:hover {
  box-shadow: 0 16px 40px rgba(40, 34, 24, 0.14);
  border-color: rgba(138, 107, 56, 0.35);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 3px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

.gallery-item-body {
  padding: 0.75rem 0.85rem 0.9rem;
}

.gallery-item-title {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
}

.gallery-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.gallery-item-tag {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.gallery-item[hidden] {
  display: none;
}

[data-page="obra"] .lightbox-caption #lightbox-title[hidden],
[data-page="obra"] .lightbox-caption #lightbox-price[hidden] {
  display: none !important;
}

/* Contacto — fondo blanco unificado */
.page-contact {
  position: relative;
  color: var(--text-body);
  background: #ffffff;
}

.page-contact .section-title {
  color: var(--text);
}

.page-contact .lead,
.page-contact .contact-copy p {
  color: var(--text-body);
}

.page-contact strong {
  color: var(--text);
  font-weight: 600;
}

.page-contact .muted,
.page-contact .location {
  color: var(--text-muted) !important;
}

.page-contact .contact-copy a:not(.btn-instagram) {
  color: var(--text);
}

.page-contact .contact-copy a:not(.btn-instagram):hover {
  color: var(--text-muted);
}

.contact-panel {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-panel {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.contact-copy p {
  margin: 0 0 1rem;
  max-width: 50ch;
}

.contact-card {
  padding: 1.65rem 1.5rem;
  background: #ffffff;
  color: var(--text);
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 4px 24px rgba(17, 17, 17, 0.06);
  position: relative;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0.55rem;
  width: 3px;
  border-radius: 2px;
  background: var(--line-strong);
  opacity: 1;
  pointer-events: none;
}

.page-contact .contact-card {
  color: var(--text);
}

.contact-card-label {
  margin: 0 0 0.85rem;
  padding-left: 0.95rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.icon-wa {
  flex-shrink: 0;
  display: block;
}

.page-contact .btn-instagram {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1rem 1.35rem;
  border-radius: 9999px !important;
  border: none !important;
  box-sizing: border-box;
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 20%,
    #dc2743 45%,
    #cc2366 70%,
    #bc1888 100%
  ) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  box-shadow:
    0 14px 40px rgba(225, 48, 108, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset !important;
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.page-contact .btn-instagram .icon-instagram {
  width: 1.4rem;
  height: 1.4rem;
}

.page-contact .btn-instagram:hover {
  filter: brightness(1.09);
  box-shadow:
    0 18px 48px rgba(188, 24, 136, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset !important;
  transform: translateY(-2px);
  color: #fff !important;
}

.page-contact .btn-wa-contact {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1rem 1.35rem;
  border-radius: 9999px !important;
  border: none !important;
  background: linear-gradient(145deg, #2fe06d 0%, #1faa52 50%, #128c43 100%) !important;
  color: #fff !important;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow:
    0 14px 40px rgba(18, 140, 67, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset !important;
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.page-contact .btn-wa-contact:hover {
  filter: brightness(1.06);
  color: #fff !important;
  box-shadow:
    0 18px 48px rgba(18, 140, 67, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset !important;
  transform: translateY(-2px);
}

.page-contact .btn-wa-contact .icon-wa {
  width: 1.35rem;
  height: 1.35rem;
}

.location {
  margin-top: 1.5rem !important;
  font-size: 0.88rem;
}

/* Líneas — índice hacia la galería */
.section-lineas {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: #ffffff;
  color: var(--text-body);
}

.section-lineas .section-title {
  color: var(--text);
}

.lineas-intro {
  margin: 0 auto 0.75rem;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  text-align: center;
}

.lineas-intro:last-of-type {
  margin-bottom: 2.25rem;
  font-size: 0.98rem;
  opacity: 0.9;
}

.section-lineas .section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.lineas-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.lineas-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.2rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.12rem;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
  box-shadow: 0 4px 20px rgba(40, 34, 24, 0.06);
}

.lineas-grid a:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.lineas-grid .linea-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lineas-item--wide {
  grid-column: 1 / -1;
}

.lineas-card.lineas-card--with-preview {
  gap: 0.5rem;
}

.lineas-card-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr));
  gap: 0.45rem;
  margin-top: 0.35rem;
  width: 100%;
}

.lineas-card-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 1px solid rgba(40, 34, 24, 0.08);
}

@media (max-width: 520px) {
  .lineas-card-preview {
    grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
    gap: 0.35rem;
  }
}

.page-sub .section-head--page {
  margin-bottom: 1.75rem;
}

.page-sub .section-head--page .section-intro {
  margin-top: 0.5rem;
}

.obra-intro {
  margin-top: 0.6rem !important;
  max-width: 52ch;
}

.obra-chips {
  margin-bottom: 1.25rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: #ffffff;
  border-top: 1px solid var(--line-strong);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.footer-brand .brand-name {
  font-family: var(--font-hero-title);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  display: block;
}

.footer-copy {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-links a.footer-admin {
  font-weight: 500;
  opacity: 0.75;
}

.footer-meta {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  width: 100%;
  flex-basis: 100%;
}

.footer-visits {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sharp);
  box-shadow: 0 2px 12px rgba(40, 34, 24, 0.08);
}

.footer-visits.muted {
  color: var(--text);
  opacity: 1;
}

.footer-visits-sep {
  margin-inline: 0;
  opacity: 0.75;
}

.footer-visits-value {
  font-size: 1.05em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* WhatsApp floating button */
.fab-wa {
  position: fixed;
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px) + 0.25rem);
  right: max(1.1rem, env(safe-area-inset-right, 0px) + 0.25rem);
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.2rem;
  background: linear-gradient(145deg, #2fe06d 0%, #1faa52 50%, #128c43 100%);
  color: #fff !important;
  border-radius: 9999px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  box-shadow:
    0 14px 40px rgba(18, 140, 67, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}

.fab-wa:hover {
  transform: scale(1.05) translateY(-2px);
  color: #fff !important;
  box-shadow:
    0 18px 48px rgba(18, 140, 67, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.fab-wa-icon {
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .fab-wa-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .fab-wa {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 12, 0.92);
  cursor: zoom-out;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 880px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-soft);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 28px 80px rgba(40, 34, 24, 0.22);
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.lightbox-figure img {
  width: 100%;
  flex: 1;
  object-fit: contain;
  max-height: min(68vh, 600px);
  background: #e8e6e2;
}

.lightbox-caption {
  padding: 1rem 1.25rem 1.2rem;
  border-top: 1px solid var(--line);
}

.lightbox-caption p {
  margin: 0.35rem 0 0;
}

#lightbox-title {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-top: 0;
  color: var(--text);
}

.lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
}

#lightbox-price {
  font-weight: 700;
  color: var(--text);
}

.lightbox-meta a {
  font-weight: 600;
  text-decoration: none !important;
  color: var(--text) !important;
}

.lightbox-meta a:hover {
  color: var(--text-muted) !important;
}

.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--line-strong);
}

.lightbox-close:hover {
  background: var(--ink);
  color: #fff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--line-strong);
}

.lightbox-nav:hover {
  background: var(--ink);
  color: #fff;
}

.lightbox-prev {
  left: 0.5rem;
}

.lightbox-next {
  right: 0.5rem;
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
}

body.lightbox-open {
  overflow: hidden;
}
