/* ================================================================
   ZENTHRIX LLC — Design System
   ================================================================ */

:root {
  /* Fondos */
  --bg-0: #0A0A0A;
  --bg-1: #111111;
  --bg-2: #1A1A1A;
  --bg-3: #222222;

  /* Gold palette */
  --gold-cream: #F7EFBE;
  --gold-mid: #C7A55D;
  --gold-amber: #805624;
  --gold-deep: #4A3719;

  --gold-gradient: linear-gradient(135deg, #F7EFBE 0%, #C7A55D 40%, #805624 80%, #4A3719 100%);

  --txt-1: #FFFFFF;
  --txt-2: #B8B8B8;
  --txt-3: #888888;

  --border: rgba(199, 165, 93, 0.15);
  --border-hover: rgba(199, 165, 93, 0.5);

  --serif: 'Amiri', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;

  --section-pad: clamp(64px, 8vw, 120px);
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--gold-mid); color: var(--bg-0); }

html, body {
  background: var(--bg-0);
  color: var(--txt-1);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-mid);
  display: inline-block;
  margin-bottom: 24px;
}
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
}
.gold-shimmer {
  background: linear-gradient(90deg, #805624 0%, #F7EFBE 30%, #C7A55D 50%, #F7EFBE 70%, #805624 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 5s linear infinite;
  font-style: italic;
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.1; color: var(--txt-1); }
.h1-hero { font-style: italic; font-size: clamp(48px, 5vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
.h1-interior { font-style: italic; font-size: clamp(36px, 4vw, 56px); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
.h2 { font-style: italic; font-size: clamp(32px, 3.5vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: -0.005em; }
.h3 { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.2; }
.h4 { font-family: var(--serif); font-size: 20px; font-weight: 700; }

.lead {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--txt-2);
  font-weight: 300;
  line-height: 1.75;
  max-width: 56ch;
}

/* ---------- Section header ---------- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-header {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.section-header .lead { margin: 24px auto 0; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 2px;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold-mid); color: var(--bg-0); }
.btn-primary:hover { background: var(--gold-cream); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(199,165,93,0.25); }
.btn-outline { border-color: var(--gold-mid); color: var(--gold-mid); background: transparent; }
.btn-outline:hover { background: rgba(199,165,93,0.08); border-color: var(--gold-cream); color: var(--gold-cream); }
.btn-text {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-mid);
  position: relative;
  padding-bottom: 4px;
  cursor: pointer;
}
.btn-text::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold-mid);
  transform-origin: right;
  transform: scaleX(0.4);
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-text:hover::after { transform-origin: left; transform: scaleX(1); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(10,10,10,0.6);
  transition: all .4s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: padding .4s ease;
}
.header.scrolled .header-top { padding: 12px clamp(20px, 4vw, 48px); }

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}
.logo .logo-z {
  display: inline-block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-right: 2px;
  align-self: baseline;
  /* Nudge so the visual base of the Z lands on the wordmark baseline */
  transform: translateY(8px);
  filter: drop-shadow(0 2px 8px rgba(199,165,93,0.25));
}
.logo .logo-word {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--txt-1);
  margin-left: -2px;
  line-height: 1;
  align-self: baseline;
}

.header-right { display: flex; align-items: center; gap: 20px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.lang-toggle button {
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--txt-3);
  background: transparent;
  transition: all .25s ease;
}
.lang-toggle button.active {
  background: var(--gold-mid);
  color: var(--bg-0);
}
.lang-toggle button:hover:not(.active) { color: var(--gold-mid); }

.header-cta { padding: 12px 22px; font-size: 11px; }

/* Navbar gold */
.nav-gold {
  background: var(--gold-mid);
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.nav-gold ul {
  display: flex;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.nav-gold li { flex: 1; border-right: 1px solid rgba(0,0,0,0.15); }
.nav-gold li:first-child { border-left: 1px solid rgba(0,0,0,0.15); }
.nav-gold a {
  display: block;
  text-align: center;
  padding: 14px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bg-0);
  transition: all .25s ease;
  cursor: pointer;
}
.nav-gold a:hover, .nav-gold a.active {
  background: var(--gold-amber);
  color: var(--gold-cream);
}

/* Mobile menu trigger */
.menu-trigger { display: none; }

/* ================================================================
   HERO (Home)
   ================================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
}
.hero .container { padding-left: clamp(16px, 3vw, 32px); padding-right: clamp(16px, 3vw, 32px); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 65% 40%, #1F1408 0%, #0a0a0a 55%),
    radial-gradient(ellipse at 20% 80%, #1A1008 0%, transparent 60%),
    var(--bg-0);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.3) 50%, rgba(10,10,10,0.8) 100%);
}
.hero-bg::after {
  /* subtle moving sheen */
  content: '';
  position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 50%, rgba(199,165,93,0.08) 0%, transparent 35%);
  animation: drift 16s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(6%, -4%) scale(1.1); }
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}
.hero-eyebrow { color: var(--gold-mid); }
.hero h1 { margin: 12px 0 28px; }
.hero p.lead { font-size: clamp(16px, 1.3vw, 19px); max-width: 52ch; }
.hero-bullets {
  margin: 32px 0 40px;
  display: flex; flex-direction: column; gap: 12px;
}
.hero-bullets li {
  display: flex; align-items: flex-start; gap: 14px;
  color: var(--txt-2);
  font-size: 15px;
}
.hero-bullets li::before {
  content: '';
  width: 8px; height: 8px; min-width: 8px;
  border-radius: 50%;
  background: var(--gold-mid);
  margin-top: 11px;
  box-shadow: 0 0 12px rgba(199,165,93,0.5);
}
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-decor {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  justify-self: end;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at center, rgba(199,165,93,0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-decor .z-mark {
  display: block;
  width: clamp(160px, 22vw, 280px);
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 12px 40px rgba(199,165,93,0.25));
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.corner {
  position: absolute;
  width: 40px; height: 40px;
  border: 1px solid var(--gold-mid);
  opacity: 0.7;
}
.corner.tl { top: 20px; left: 20px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 20px; right: 20px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 20px; left: 20px; border-right: 0; border-top: 0; }
.corner.br { bottom: 20px; right: 20px; border-left: 0; border-top: 0; }

.hero-decor .meta-label {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--txt-3);
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.trust-bar ul {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 16px 48px;
}
.trust-bar li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--txt-2);
}
.trust-bar .ti { color: var(--gold-mid); font-size: 14px; line-height: 1; }

/* ---------- Pillar cards ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px 36px;
  position: relative;
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(199,165,93,0.2), 0 24px 60px rgba(199,165,93,0.08);
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold-mid);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 26px;
  color: var(--gold-mid);
  margin-bottom: 28px;
  background: rgba(199,165,93,0.04);
}
.card h3 { margin-bottom: 14px; }
.card-lead { color: var(--txt-2); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.card ul.bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.card ul.bullets li {
  display: flex; gap: 10px;
  font-size: 14px; color: var(--txt-2);
}
.card ul.bullets li::before {
  content: '›';
  color: var(--gold-mid);
  font-weight: 600;
}
.card .btn-text { margin-top: auto; align-self: flex-start; }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 24px 28px;
  text-align: center;
  cursor: pointer;
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(199,165,93,0.04) 0%, var(--bg-2) 100%);
}
.cat-card .cat-icon {
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  color: var(--gold-mid);
  line-height: 1;
  margin-bottom: 20px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cat-card h4 { font-size: 18px; margin-bottom: 8px; line-height: 1.25; }
.cat-card p { font-size: 12px; color: var(--txt-3); line-height: 1.6; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-step { text-align: center; position: relative; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px; left: calc(50% + 36px); right: calc(-50% + 36px);
  border-top: 1px dashed var(--border-hover);
}
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  border: 2px solid var(--gold-mid);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 22px;
  color: var(--gold-mid);
  background: var(--bg-0);
  position: relative;
  z-index: 2;
}
.process-step h4 { font-size: 20px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--txt-2); max-width: 28ch; margin: 0 auto; }

/* ---------- Stats ---------- */
.stats {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 88px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.stat-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--txt-2);
}

/* ---------- Quote ---------- */
.quote-section {
  background: var(--bg-2);
  padding: 96px 0;
}
.quote-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}
.quote-wrap::before {
  content: '\201C';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 200px;
  line-height: 1;
  color: var(--gold-mid);
  opacity: 0.15;
  pointer-events: none;
}
.quote-wrap blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--txt-1);
}
.quote-wrap .sig {
  margin-top: 32px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-mid);
}

/* ---------- Triple CTA ---------- */
.cta-section {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  padding: 96px 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.cta-card {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: all .4s ease;
}
.cta-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.cta-icon {
  width: 64px; height: 64px;
  border: 1px solid var(--gold-mid);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-mid);
  margin-bottom: 24px;
}
.cta-card h3 { margin-bottom: 12px; font-size: 22px; }
.cta-card p { color: var(--txt-2); font-size: 14px; margin-bottom: 28px; max-width: 28ch; }
.cta-card .btn { margin-top: auto; }

/* ================================================================
   INTERIOR HERO (other pages)
   ================================================================ */
.interior-hero {
  min-height: 460px;
  padding: 180px 0 80px;
  position: relative;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 70% 30%, rgba(199,165,93,0.08) 0%, transparent 50%),
    var(--bg-0);
}
.interior-hero .container { text-align: center; }
.interior-hero h1 { max-width: 14ch; margin: 12px auto 24px; }
.interior-hero .lead { margin: 0 auto; text-align: center; }
.interior-hero.compact { min-height: 340px; padding: 160px 0 60px; }

/* ================================================================
   SERVICIOS — service blocks
   ================================================================ */
.svc-block + .svc-block { border-top: 1px solid var(--border); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline-step {
  padding: 32px 24px;
  border-left: 1px solid var(--border);
  position: relative;
}
.timeline-step:first-child { border-left: 0; }
.timeline-step .tnum {
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 36px;
  color: var(--gold-mid);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  line-height: 1;
}
.timeline-step h4 { font-size: 20px; margin-bottom: 10px; }
.timeline-step p { color: var(--txt-2); font-size: 14px; }

.svc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--gold-mid);
  color: var(--gold-mid);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}
.svc-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-mid);
  box-shadow: 0 0 8px var(--gold-mid);
}

/* ================================================================
   PRODUCTOS
   ================================================================ */
.prod-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding-top: 60px;
  padding-bottom: var(--section-pad);
}
.prod-sidebar {
  position: sticky;
  top: 140px;
  align-self: flex-start;
  border-right: 1px solid var(--border);
  padding-right: 24px;
}
.prod-sidebar .sb-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 16px;
  display: block;
}
.prod-sidebar ul { display: flex; flex-direction: column; gap: 4px; }
.prod-sidebar a {
  display: block;
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: var(--txt-2);
  border-left: 2px solid transparent;
  padding-left: 14px;
  margin-left: -2px;
  transition: all .25s ease;
  cursor: pointer;
}
.prod-sidebar a:hover { color: var(--gold-mid); }
.prod-sidebar a.active { color: var(--gold-mid); border-left-color: var(--gold-mid); }

.prod-group { padding: 24px 0 64px; border-bottom: 1px solid var(--border); }
.prod-group:last-child { border-bottom: 0; }
.prod-group h3 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 2.6vw, 36px);
  margin-bottom: 16px;
  line-height: 1.15;
}
.prod-group h3 .num {
  font-style: italic;
  color: var(--gold-mid);
  margin-right: 16px;
}
.prod-group > p { color: var(--txt-2); margin-bottom: 28px; max-width: 64ch; }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--txt-1);
  background: var(--bg-1);
  cursor: default;
  transition: all .3s ease;
}
.tag:hover {
  border-color: var(--gold-mid);
  color: var(--gold-cream);
  background: rgba(199,165,93,0.04);
}

/* ================================================================
   EQUIPO
   ================================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .4s ease;
}
.team-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.team-photo {
  height: 320px;
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-1) 100%);
  display: grid; place-items: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.team-photo .initial {
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 96px;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.team-photo::after {
  content: 'PHOTO';
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace, var(--sans);
  font-size: 9px; letter-spacing: 3px;
  color: var(--txt-3);
  opacity: 0.6;
}
.team-meta { padding: 28px 28px 32px; }
.team-meta h3 { margin-bottom: 4px; font-size: 24px; }
.team-meta .role {
  font-family: var(--sans);
  color: var(--gold-mid);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}
.team-meta p { color: var(--txt-2); font-size: 14px; line-height: 1.7; }

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.story-img {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(199,165,93,0.04) 0 10px, transparent 10px 20px),
    var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative;
  display: grid; place-items: center;
}
.story-img::after {
  content: 'BRAND IMAGE';
  font-family: 'JetBrains Mono', monospace, var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--txt-3);
}

/* ================================================================
   CONTACTO
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px;
}
.form h3 { margin-bottom: 28px; font-size: 26px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: contents; }
.field label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-mid);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--txt-1);
  transition: border-color .25s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-mid);
}
.field input::placeholder, .field textarea::placeholder { color: var(--txt-3); }
.form .submit-row { margin-top: 8px; }
.form .submit-row .btn { width: 100%; justify-content: center; }
.form .success-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--gold-mid);
  background: rgba(199,165,93,0.06);
  color: var(--gold-cream);
  font-size: 13px;
  border-radius: 4px;
}
.form.sent .success-msg { display: block; }

.contact-info {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.contact-info h3 { font-size: 24px; margin-bottom: 24px; }
.contact-info ul li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info ul li:last-child { border-bottom: 0; }
.contact-info .ci-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-mid);
  display: block;
  margin-bottom: 6px;
}
.contact-info .ci-val { color: var(--txt-1); font-size: 15px; }
.contact-info .ci-val a:hover { color: var(--gold-mid); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-tagline {
  margin-top: 20px;
  color: var(--txt-2);
  font-size: 14px;
  max-width: 36ch;
  line-height: 1.7;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 22px;
}
.footer ul li { padding: 6px 0; }
.footer ul li a {
  color: var(--txt-2);
  font-size: 14px;
  cursor: pointer;
  transition: color .25s ease;
}
.footer ul li a:hover { color: var(--gold-mid); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--txt-3);
  letter-spacing: 1px;
}

/* ================================================================
   PAGE VISIBILITY (SPA)
   ================================================================ */
.page { display: none; }
.page.is-active { display: block; }

/* Noise overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-decor { display: none; }
  .pillars-grid, .cta-grid, .values-grid, .team-grid, .stats-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .process-step:not(:last-child)::after { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline-step:nth-child(3) { border-left: 0; }
  .timeline-step { border-top: 1px solid var(--border); }
  .timeline-step:nth-child(-n+2) { border-top: 0; }
  .prod-layout { grid-template-columns: 1fr; gap: 24px; }
  .prod-sidebar { position: relative; top: 0; border-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 16px; padding-right: 0; }
  .prod-sidebar ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .prod-sidebar a { padding: 8px 14px; border: 1px solid var(--border); border-radius: 100px; margin-left: 0; }
  .prod-sidebar a.active { background: rgba(199,165,93,0.08); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .nav-gold { display: none; }
  .nav-gold.open { display: block; position: absolute; left: 0; right: 0; }
  .nav-gold ul { flex-direction: column; }
  .nav-gold li { border-right: 0; border-bottom: 1px solid rgba(0,0,0,0.15); flex: initial; }
  .nav-gold li:first-child { border-left: 0; }
  .menu-trigger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    color: var(--gold-mid);
    background: transparent;
  }
  .header-cta { display: none; }
}
@media (max-width: 560px) {
  .form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .quote-wrap::before { font-size: 140px; top: -40px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .lang-toggle button { padding: 7px 10px; }
}


/* ================================================================
   LIQUID GLASS MORPHISM SYSTEM
   ================================================================ */

.liquid-glass {
  background: rgba(199,165,93,0.03);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none !important;
  box-shadow: inset 0 1px 1px rgba(247,239,190,0.08);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(247,239,190,0.45) 0%,
    rgba(199,165,93,0.15) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.15) 80%,
    rgba(247,239,190,0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.liquid-glass-strong {
  background: rgba(199,165,93,0.05);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: none !important;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.25), inset 0 1px 1px rgba(247,239,190,0.15);
  position: relative;
  overflow: hidden;
}
.liquid-glass-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(247,239,190,0.5) 0%,
    rgba(199,165,93,0.2) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.2) 80%,
    rgba(247,239,190,0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

/* Make sure content sits above the gradient border pseudo */
.liquid-glass > *, .liquid-glass-strong > * { position: relative; z-index: 2; }

/* ----- Apply to site components ----- */

/* Disable old card top-bar accent (clashes with the new gradient border) */
.card::before { display: none !important; }

/* Hero — panels */
.hero-text {
  background: rgba(199,165,93,0.04);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: none;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.25), inset 0 1px 1px rgba(247,239,190,0.15);
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 18px;
}
.hero-text::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(247,239,190,0.5) 0%,
    rgba(199,165,93,0.2) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.2) 80%,
    rgba(247,239,190,0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.hero-text > * { position: relative; z-index: 2; }

.hero-decor {
  background: rgba(199,165,93,0.05);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: none !important;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.25), inset 0 1px 1px rgba(247,239,190,0.15);
  overflow: hidden;
  border-radius: 18px;
}
.hero-decor::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(247,239,190,0.5) 0%,
    rgba(199,165,93,0.2) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.2) 80%,
    rgba(247,239,190,0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.hero-decor .z-mark,
.hero-decor .corner,
.hero-decor .meta-label { position: relative; z-index: 2; }

/* Cards (pillars, services, team, values) — liquid-glass normal, strong on hover */
.card, .team-card {
  background: rgba(199,165,93,0.03);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(247,239,190,0.08);
  position: relative;
  overflow: hidden;
}
.card::after, .team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(247,239,190,0.45) 0%,
    rgba(199,165,93,0.15) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.15) 80%,
    rgba(247,239,190,0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  transition: background .4s ease;
}
.card > *, .team-card > * { position: relative; z-index: 2; }

.card:hover, .team-card:hover {
  background: rgba(199,165,93,0.05);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: 4px 4px 4px rgba(0,0,0,0.25), inset 0 1px 1px rgba(247,239,190,0.15);
}
.card:hover::after, .team-card:hover::after {
  background: linear-gradient(180deg,
    rgba(247,239,190,0.5) 0%,
    rgba(199,165,93,0.2) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.2) 80%,
    rgba(247,239,190,0.5) 100%
  );
}

/* Category cards — light glass */
.cat-card {
  background: rgba(199,165,93,0.03);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(247,239,190,0.08);
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(247,239,190,0.45) 0%,
    rgba(199,165,93,0.15) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.15) 80%,
    rgba(247,239,190,0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.cat-card > * { position: relative; z-index: 2; }

/* CTA cards — strong */
.cta-card {
  background: rgba(199,165,93,0.05);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: none;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.25), inset 0 1px 1px rgba(247,239,190,0.15);
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(247,239,190,0.5) 0%,
    rgba(199,165,93,0.2) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.2) 80%,
    rgba(247,239,190,0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.cta-card > * { position: relative; z-index: 2; }

/* Header scrolled — strong glass */
.header.scrolled {
  background: rgba(199,165,93,0.05) !important;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: none !important;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.25), inset 0 1px 1px rgba(247,239,190,0.15);
  position: fixed;
  overflow: visible;
}
.header.scrolled::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(247,239,190,0.5) 0%,
    rgba(199,165,93,0.2) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.2) 80%,
    rgba(247,239,190,0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* Contact form & info — strong */
.form, .contact-info {
  background: rgba(199,165,93,0.05);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: none;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.25), inset 0 1px 1px rgba(247,239,190,0.15);
  position: relative;
  overflow: hidden;
}
.form::before, .contact-info::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(247,239,190,0.5) 0%,
    rgba(199,165,93,0.2) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.2) 80%,
    rgba(247,239,190,0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.form > *, .contact-info > * { position: relative; z-index: 2; }

/* Outline buttons — liquid-glass pill */
.btn-outline {
  background: rgba(199,165,93,0.03);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(247,239,190,0.08);
  position: relative;
  overflow: hidden;
  border-radius: 100px;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(247,239,190,0.45) 0%,
    rgba(199,165,93,0.15) 20%,
    transparent 40%,
    transparent 60%,
    rgba(199,165,93,0.15) 80%,
    rgba(247,239,190,0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
.btn-outline > *, .btn-outline { z-index: 2; }
.btn-outline:hover { background: rgba(199,165,93,0.08); }

/* ----- Spring interactions on interactive elements ----- */
.btn, .cat-card, .card, .team-card, .cta-card, .lang-toggle button,
.nav-gold a, .tag, .footer ul li a, .btn-text {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              background .35s ease,
              color .25s ease,
              box-shadow .35s ease,
              backdrop-filter .35s ease;
}
.btn:hover, .cat-card:hover, .card:hover, .team-card:hover,
.cta-card:hover, .lang-toggle button:hover, .tag:hover,
.btn-text:hover {
  transform: scale(1.03);
}
.btn:active, .cat-card:active, .card:active, .team-card:active,
.cta-card:active, .lang-toggle button:active {
  transform: scale(0.97);
}

/* Override the legacy translateY(-6px) hovers so the spring scale wins */
.card:hover, .team-card:hover, .cat-card:hover, .cta-card:hover {
  transform: scale(1.03) !important;
}
.btn-primary:hover { transform: scale(1.03) translateY(0) !important; }


/* ----- CTA cards: min-height + clean gold-border outline buttons ----- */
.cta-card {
  min-height: 280px;
  justify-content: space-between;
}
.cta-card .btn-outline,
.cta-card a.btn-outline {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: 1px solid var(--gold-mid) !important;
  border-radius: 100px;
  color: var(--gold-mid);
  overflow: visible;
}
.cta-card .btn-outline::before,
.cta-card a.btn-outline::before { display: none !important; }
.cta-card .btn-outline:hover {
  background: rgba(199,165,93,0.08) !important;
  border-color: var(--gold-cream) !important;
  color: var(--gold-cream);
}

/* ================================================================
   ASSETS — Imágenes y video (añadido para deploy)
   ================================================================ */

/* Video hero — estilos específicos para el elemento <video> */
video.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay oscuro sobre el video */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,5,0.65) 50%,
    rgba(10,10,10,0.82) 100%
  );
  z-index: 1;
}

/* Elemento flotante decorativo en el hero (visible sutilmente) */
.hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 50%; height: 100%;
  background-image: url('assets/images/element-floating.png');
  background-repeat: no-repeat;
  background-position: center 60%;
  background-size: 40%;
  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
}

/* Servicios — interior hero con imagen de fondo */
#page-servicios .interior-hero {
  background-image: url('assets/images/section2-bg.png');
  background-size: cover;
  background-position: center;
}
#page-servicios .interior-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.78) 100%);
  z-index: 0;
}
#page-servicios .interior-hero .container { position: relative; z-index: 2; }

/* Quiénes Somos — interior hero con imagen de fondo */
#page-equipo .interior-hero {
  background-image: url('assets/images/about-bg.png');
  background-size: cover;
  background-position: center top;
}
#page-equipo .interior-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.90) 0%, rgba(10,10,10,0.72) 100%);
  z-index: 0;
}
#page-equipo .interior-hero .container { position: relative; z-index: 2; }

/* Productos — interior hero con imagen de fondo */
#page-productos .interior-hero {
  background-image: url('assets/images/products-bg.png');
  background-size: cover;
  background-position: center right;
}
#page-productos .interior-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.90) 0%, rgba(10,10,10,0.72) 100%);
  z-index: 0;
}
#page-productos .interior-hero .container { position: relative; z-index: 2; }

/* Story image — Quiénes Somos */
.story-img {
  background-image: url('assets/images/about-bg.png');
  background-size: cover;
  background-position: center;
  min-height: 480px;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.story-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.6) 100%);
  border-radius: inherit;
}

/* Hero — Z logo a la izquierda, texto a la derecha */
.hero-grid {
  grid-template-columns: 45fr 55fr;
}
.hero-text {
  order: 2;
}
.hero-decor {
  order: 1;
  margin-left: 0;
  margin-right: auto;
  justify-self: start;
}

/* Hero — solo texto a la izquierda, video completo visible */
.hero-decor { display: none !important; }

.hero-grid {
  grid-template-columns: minmax(auto, 600px);
  justify-content: flex-start;
}
.hero-text {
  order: 1;
}

/* Hero — Z logo como marca de agua flotante */
.hero-decor {
  display: block !important;  /* mostrar de nuevo */
  position: absolute !important;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(320px, 38vw, 560px);
  aspect-ratio: 1;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  justify-self: unset !important;
  pointer-events: none;
  z-index: 2;
}
/* Quitar los adornos de esquina y el label */
.hero-decor .corner,
.hero-decor .meta-label { display: none; }
/* El pseudo-element del liquid glass — quitarlo */
.hero-decor::after { display: none !important; }

/* Z grande como marca de agua */
.hero-decor .z-mark {
  width: 100% !important;
  height: auto !important;
  opacity: 0.12 !important;           /* muy transparente = marca de agua */
  filter: drop-shadow(0 0 60px rgba(199,165,93,0.15)) !important;
  animation: pulse 6s ease-in-out infinite;
}

/* Texto izquierda, marca de agua derecha */
.hero-grid {
  grid-template-columns: minmax(auto, 600px);
  justify-content: flex-start;
  position: relative;
  z-index: 3;
}
.hero-text { order: 1; }
