@charset "UTF-8";
/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0d0b08;
  --bg-2:      #15110d;
  --bg-3:      #1d1712;
  --cream:     #f3ecdd;
  --cream-2:   #ddd0b8;
  --cream-3:   #8f8270;
  --gold:      #c9a55e;
  --gold-2:    #e3c589;
  --gold-dim:  #8a713f;
  --line:      rgba(243, 236, 221, 0.12);
  --line-soft: rgba(243, 236, 221, 0.07);

  --display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 84px;
  --container: 1280px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--cream-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-family: var(--display); color: var(--cream); font-weight: 600; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600; font-size: .9rem;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-2);
}
.kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px 1px var(--gold);
}
.eyebrow { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: .9rem; }
.section-num {
  font-family: var(--mono); font-size: .85rem; color: var(--gold-dim); letter-spacing: .08em;
}
em { font-style: italic; color: var(--gold-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.8rem; border-radius: 999px; font-size: .92rem; font-weight: 600;
  letter-spacing: .01em; transition: transform .45s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1308;
  box-shadow: 0 10px 30px -10px rgba(201, 165, 94, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(201, 165, 94, .7); }
.btn-ghost {
  background: transparent; color: var(--cream); border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn-ghost.is-disabled { opacity: .45; pointer-events: none; }
.btn-sm { padding: .7rem 1.3rem; font-size: .82rem; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-solid { background: rgba(13, 11, 8, .82); border-color: var(--line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: .65rem; }
.nav-brand-logo {
  display: block; height: 62px; aspect-ratio: 1000 / 709; flex-shrink: 0;
  background: url('assets/img/hero-logo-3d.webp') left center / contain no-repeat;
}
.nav-links { display: none; align-items: center; gap: 2.2rem; }
.nav-links a {
  position: relative; font-size: .88rem; color: var(--cream-2); font-weight: 500;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover { color: var(--cream); }
.nav-cta { display: none; }

.lang-switch { position: relative; display: none; }
.lang-trigger {
  display: flex; align-items: center; gap: .4rem;
  padding: .45rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(243,236,221,.03);
  color: var(--cream-2); font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out), background .3s var(--ease-out);
}
.lang-trigger svg { width: 16px; height: 16px; flex-shrink: 0; }
.lang-trigger:hover, .lang-switch.is-open .lang-trigger { border-color: var(--gold); color: var(--gold-2); background: rgba(201,165,94,.08); }
.lang-panel {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 9.5rem;
  display: flex; flex-direction: column; padding: .4rem;
  background: rgba(13,11,8,.6); border: 1px solid var(--line); border-radius: 12px;
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.lang-switch.is-open .lang-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-panel button {
  text-align: left; padding: .55rem .7rem; border-radius: 8px; font-size: .86rem; color: var(--cream-2);
  transition: background .25s var(--ease-out), color .25s var(--ease-out);
}
.lang-panel button:hover { background: rgba(201,165,94,.1); color: var(--cream); }
.lang-panel button.is-active { color: var(--gold-2); font-weight: 600; }
.lang-panel button.is-active::before { content: "✓ "; }

.mobile-lang-row { display: flex; gap: .6rem; }
.mobile-lang-row button {
  padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--cream-3);
  background: rgba(243,236,221,.03); transition: border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.mobile-lang-row button.is-active { border-color: var(--gold); color: var(--gold-2); }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; width: 26px; z-index: 600;
}
.nav-toggle span { height: 1.5px; width: 100%; background: var(--cream); transition: transform .35s var(--ease-out), opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 480; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding: 2rem;
  transform: translateY(-100%); transition: transform .5s var(--ease-out);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.1rem; }
.mobile-menu a { display: block; font-family: var(--display); font-size: clamp(1.8rem, 8vw, 2.6rem); color: var(--cream); }
.mobile-menu .btn { align-self: flex-start; margin-top: 1rem; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .lang-switch { display: block; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05) brightness(.6); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,11,8,.55) 0%, rgba(13,11,8,.72) 55%, var(--bg) 100%);
}
.hero-mesh {
  position: absolute; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 30% at 22% 20%, rgba(201,165,94,.28), transparent 70%),
    radial-gradient(32% 28% at 82% 70%, rgba(201,165,94,.16), transparent 70%);
  filter: blur(90px); animation: meshDrift 22s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(2%, -3%) scale(1.08); }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}
.hero-inner { position: relative; text-align: center; margin-inline: auto; padding-block: 3rem; }
.hero-logo { width: clamp(220px, 32vw, 400px); margin: 0 auto 1.6rem; }
.hero-logo img { width: 100%; height: auto; }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.02; text-wrap: balance;
  font-weight: 700; max-width: 20ch; margin-inline: auto; margin-top: 1.4rem;
}
.hero-sub {
  max-width: 42ch; margin: 1.6rem auto 0; font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--cream-2);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.4rem; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: var(--cream-3);
  text-transform: uppercase;
}
.hero-scroll-line { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---- Page hero (compact header for internal pages) ---- */
.page-hero {
  position: relative; padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: clip;
}
.page-hero.legal-hero { padding-bottom: clamp(.9rem, 2vw, 1.5rem); }
.section.legal-top { padding-top: clamp(1.3rem, 2.8vw, 2.6rem); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05) brightness(.5); }
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,11,8,.65) 0%, rgba(13,11,8,.82) 60%, var(--bg) 100%);
}
.page-hero-back {
  display: flex; width: fit-content; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .76rem;
  color: var(--cream-3); margin-bottom: 1.6rem; transition: color .3s var(--ease-out);
}
.page-hero-back:hover { color: var(--gold-2); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 20ch; }
.page-hero-intro { max-width: 52ch; margin-top: 1.2rem; font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--cream-2); }

/* =============================================================
   8. Reveal system
   ============================================================= */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-stagger.is-visible .reveal-child { opacity: 1; transform: translateY(0); }
.reveal-child { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }

/* =============================================================
   9. Quiénes somos
   ============================================================= */
.about { }
.about-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: start; }
.about-text p { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--cream-2); max-width: 54ch; }
.about-text p + p { margin-top: 1.1rem; }
.about-text-col { display: flex; flex-direction: column; gap: 1.8rem; }
.about-banner img {
  width: 100%; border-radius: 16px; aspect-ratio: 20/7; object-fit: cover; display: block;
  box-shadow: 0 25px 50px -20px rgba(0,0,0,.7);
}
.about-media { position: relative; }
.about-media img {
  width: 100%; border-radius: 18px; aspect-ratio: 4/5; object-fit: cover; display: block;
  box-shadow: 0 25px 50px -20px rgba(0,0,0,.7);
}
.about-media-badge {
  position: absolute; left: -1rem; bottom: -1.2rem; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.1rem 1.3rem; display: flex; gap: .9rem; align-items: center;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); max-width: 15rem;
}
.about-media-badge img { width: auto; height: 43px; border-radius: 0; object-fit: contain; aspect-ratio: 1000 / 709; flex-shrink: 0; }
.about-media-badge span { font-size: .8rem; color: var(--cream-3); line-height: 1.35; }

.pillars { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; grid-template-columns: 1fr; }
.pillar { background: var(--bg-2); padding: 2.2rem; }
.pillar .section-num { display: block; margin-bottom: 1rem; }
.pillar h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.pillar p { font-size: .95rem; color: var(--cream-3); }

@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* =============================================================
   10. Empresas — bento grid
   ============================================================= */
#empresas { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.companies-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.company-card {
  position: relative; border-radius: 20px; overflow: hidden; isolation: isolate;
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.9rem; border: 1px solid var(--line);
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  transition: transform .5s var(--ease-out), border-color .4s var(--ease-out);
}
.company-card:hover { border-color: rgba(201,165,94,.4); }
.company-card-bg { position: absolute; inset: 0; z-index: -2; }
.company-card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .8s var(--ease-out); filter: saturate(1.05) brightness(.62); }
.company-card:hover .company-card-bg img { transform: scale(1.07); filter: saturate(1.15) brightness(.5); }
.company-card-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,11,8,.1) 0%, rgba(13,11,8,.55) 55%, rgba(13,11,8,.92) 100%);
}
.company-card-halo {
  position: absolute; inset: -40%; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(201,165,94,.28), transparent 55%);
  transition: opacity .5s var(--ease-out);
}
.company-card:hover .company-card-halo { opacity: 1; }
.company-tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.company-logo-image { height: 72px; width: auto; align-self: center; margin-top: .6rem; filter: brightness(1.15) drop-shadow(0 3px 14px rgba(0,0,0,.6)); }
.company-logo-image--host { height: 86px; }
.company-location { font-size: .78rem; color: var(--cream-3); margin-top: .4rem; }
.company-text { font-size: .92rem; color: var(--cream-2); margin-top: .9rem; max-width: 34ch; }
.company-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }

@media (min-width: 720px) {
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .company-card:nth-child(5) { grid-column: span 2; }
}
@media (min-width: 1100px) {
  .companies-grid { grid-template-columns: repeat(3, 1fr); }
  .company-card:nth-child(5) { grid-column: span 1; }
}

/* =============================================================
   11. Presencia / stats
   ============================================================= */
.presence { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.stat-value { font-family: var(--mono); font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--gold-2); line-height: 1; }
.stat-label { font-size: .82rem; color: var(--cream-3); margin-top: .6rem; }
.presence-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; grid-template-columns: 1fr; }
.presence-item { background: var(--bg-2); padding: 1.6rem 1.9rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.presence-item strong { font-family: var(--display); font-size: 1.15rem; color: var(--cream); font-weight: 500; }

.logos-band { background: var(--bg-2); border-bottom: 1px solid var(--line); padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.logos-band-title { text-align: center; margin-bottom: clamp(1.6rem, 3vw, 2.2rem); }
.logos-band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.2rem clamp(2rem, 5vw, 3.6rem); }
.logos-band-item { display: flex; align-items: center; }
.logos-band-item img {
  height: 40px; width: auto; max-width: 140px; object-fit: contain;
  opacity: .78; filter: grayscale(.15); transition: opacity .3s var(--ease-out), filter .3s var(--ease-out), transform .3s var(--ease-out);
}
.logos-band-item:hover img, .logos-band-item:focus-visible img { opacity: 1; filter: grayscale(0); transform: translateY(-2px); }
@media (max-width: 639px) {
  .logos-band-row { gap: 1.6rem 1.8rem; }
  .logos-band-item img { height: 30px; max-width: 110px; }
}
.presence-item span { font-size: .86rem; color: var(--cream-3); text-align: right; }

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

/* =============================================================
   12. Contacto
   ============================================================= */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
.contact-info p { color: var(--cream-2); max-width: 36ch; }
.contact-detail { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-detail-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail-icon {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold-2);
}
.contact-detail-item strong { display: block; color: var(--cream); font-size: .92rem; margin-bottom: .15rem; }
.contact-detail-item a, .contact-detail-item span { font-size: .9rem; color: var(--cream-3); }
.contact-detail-item a:hover { color: var(--gold-2); }

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .8rem; color: var(--cream-3); }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: .85rem 1rem; color: var(--cream); font: inherit; font-size: .92rem;
  transition: border-color .3s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.form-submit { display: flex; align-items: center; gap: 1rem; margin-top: .4rem; }
.form-note { font-size: .78rem; color: var(--cream-3); }
.form-success {
  display: none; align-items: center; gap: .7rem; padding: .95rem 1.2rem;
  border: 1px solid rgba(201,165,94,.4); border-radius: 12px; color: var(--gold-2); font-size: .88rem;
}
.form.is-sent .form-success { display: flex; }
.form.is-sent .form-fields { display: none; }
.form.is-sent [data-form-submit-btn] { opacity: .7; cursor: default; }

/* display:none (not just off-screen positioning) keeps browser autofill from
   ever populating this field — autofill can otherwise fill offscreen-but-
   rendered inputs when the visitor fills a recognizable field like "name",
   which made the honeypot falsely trigger and silently drop real messages. */
.field-honey { display: none !important; }

.form-error {
  display: none; align-items: center; gap: .7rem; padding: .95rem 1.2rem; margin-top: 1rem;
  border: 1px solid rgba(214,92,92,.4); border-radius: 12px; color: #e39a9a; font-size: .88rem;
}
.form.is-error .form-error { display: flex; }

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }

/* ---- Contact map (Leaflet) ---- */
.contact-map-wrap { margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.contact-map-label { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1rem; }
.contact-map {
  height: clamp(320px, 42vw, 460px); width: 100%; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
}
.contact-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88) saturate(.55) grayscale(.1); }
.contact-map .leaflet-control-zoom { border: 1px solid var(--line) !important; border-radius: 10px !important; overflow: hidden; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6) !important; }
.contact-map .leaflet-control-zoom a {
  background: var(--bg-2) !important; color: var(--cream-2) !important; border-color: var(--line) !important;
  width: 32px !important; height: 32px !important; line-height: 32px !important; font-size: 1rem !important;
}
.contact-map .leaflet-control-zoom a:hover { background: var(--bg-3) !important; color: var(--gold-2) !important; }
.contact-map .leaflet-control-attribution {
  background: rgba(13,11,8,.72) !important; color: var(--cream-3) !important; border-radius: 6px 0 0 0;
  font-size: .68rem !important; padding: .15rem .5rem !important;
}
.contact-map .leaflet-control-attribution a { color: var(--cream-2) !important; }

.hr-map-pin {
  position: relative; display: block; width: 36px; height: 46px;
  transform-origin: 50% 100%; transition: transform .25s var(--ease-out);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.55));
}
/* Leaflet's own CSS forces `.leaflet-map-pane svg { z-index: 200 }`, which
   collaterally hits this divIcon's inline SVG and buries the badge below it —
   beat that specificity/value explicitly rather than relying on DOM order. */
.hr-map-pin-svg.hr-map-pin-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hr-map-pin-svg path { fill: var(--gold-2); }
.hr-map-pin-badge {
  position: absolute; top: 5px; left: 50%; transform: translateX(-50%); z-index: 201;
  width: 26px; height: 26px; border-radius: 50%; padding: 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1.5px solid var(--bg);
}
.hr-map-pin-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hr-map-marker-count {
  position: absolute; top: -4px; right: -6px; z-index: 202; min-width: 16px; height: 16px; padding: 0 3px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--cream); color: var(--bg);
  font-family: var(--mono); font-size: .64rem; font-weight: 700; border: 2px solid var(--bg-2);
}
.hr-map-marker-wrap:hover .hr-map-pin, .hr-map-marker-wrap.is-active .hr-map-pin { transform: scale(1.1) translateY(-2px); }

.hr-map-popup .leaflet-popup-content-wrapper {
  background: var(--bg-2); color: var(--cream-2); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 44px -16px rgba(0,0,0,.7);
}
.hr-map-popup .leaflet-popup-tip { background: var(--bg-2); border: 1px solid var(--line); box-shadow: none; }
.hr-map-popup .leaflet-popup-content { margin: .95rem 1.1rem; min-width: 190px; }
.hr-map-popup-tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.hr-map-popup-name { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--cream); font-weight: 600; margin: .3rem 0 .25rem; }
.hr-map-popup-loc { display: block; font-size: .8rem; color: var(--cream-3); margin-bottom: .55rem; }
.hr-map-popup-link { display: inline-block; font-size: .78rem; color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.hr-map-popup-link:hover { color: var(--cream); }
.hr-map-popup-sep { border: none; border-top: 1px solid var(--line); margin: .7rem 0; }

/* =============================================================
   13. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; }
.footer-top { display: grid; gap: 2.4rem; grid-template-columns: 1fr; margin-bottom: 2.8rem; }
.footer-brand { display: flex; align-items: center; }
.footer-brand img { height: 105px; width: auto; }
.footer-tagline { margin-top: .9rem; color: var(--cream-3); font-size: .88rem; max-width: 30ch; }
.footer-col h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); font-family: var(--sans); font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { font-size: .88rem; color: var(--cream-2); }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--cream-3); }
.footer-bottom-line a { color: var(--cream-3); text-decoration: none; }
.footer-bottom-line a:hover { color: var(--gold-2); }
.footer-bottom-sep { margin: 0 .5rem; opacity: .5; }

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 700;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 14px 34px -10px rgba(201,165,94,.55), 0 10px 22px -4px rgba(0,0,0,.55);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #1a1308; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 40px -8px rgba(201,165,94,.7), 0 14px 28px -4px rgba(0,0,0,.6); }
.whatsapp-float-label {
  position: absolute; right: calc(100% + .9rem); top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--bg-2); color: var(--cream-2); border: 1px solid var(--line);
  padding: .8rem 1.1rem; border-radius: 16px; font-size: .82rem; font-weight: 500; line-height: 1.4;
  white-space: normal; width: max-content; max-width: 230px; text-align: left;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.6);
}
.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus-visible .whatsapp-float-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 539px) {
  .whatsapp-float { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
}

/* ---- Legal pages (privacidad / cookies) ---- */
.legal-content { max-width: 68ch; }
.legal-content p { color: var(--cream-2); margin-bottom: 1.1rem; }
.legal-content h2 { font-size: 1.3rem; margin: 2.4rem 0 1rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { margin: 0 0 1.1rem; padding-left: 1.2rem; list-style: disc; }
.legal-content li { color: var(--cream-2); margin-bottom: .5rem; }
.legal-content a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: var(--cream); }
.legal-updated { font-family: var(--mono); font-size: .76rem; color: var(--cream-3); margin-bottom: 2.4rem; }

@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* =============================================================
   14. Responsive base adjustments
   ============================================================= */
@media (min-width: 1280px) {
  .section { padding-block: clamp(6rem, 8vw, 9rem); }
}

/* =============================================================
   15. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh { animation: none; }
  .hero-scroll-line { animation: none; }
}
