/* ═══════════════════════════════════════════════════
   VALENCIA MUEBLES — Stylesheet
   Fuentes: Cormorant Garamond (headings) + Inter (body)
   Animaciones: AOS.js
   ═══════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --black:      #0A0A0A;
  --dark:       #111111;
  --dark-2:     #1A1A1A;
  --dark-3:     #222222;
  --cream:      #F5F0E8;
  --cream-2:    #ECE7DE;
  --white:      #FFFFFF;
  --gold:       #A8916A;
  --gold-dim:   rgba(168, 145, 106, 0.15);
  --gray:       #888888;
  --gray-light: #CCCCCC;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:    72px;
  --container: 1280px;
  --gutter:   clamp(20px, 5vw, 64px);
  --section:  clamp(64px, 9vw, 128px);

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1.0);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; padding: 0; }

/* ── Tipografía ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

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

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 80px);
}
.section__header p {
  margin-top: 14px;
  color: rgba(245, 240, 232, 0.68);
  font-size: 1.1rem;
  line-height: 1.7;
}

.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ── Botones ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--black);
}
.btn--gold:hover {
  background: #d4b47b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 164, 107, 0.3);
}
.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--large { padding: 18px 44px; font-size: 0.82rem; }


/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.nav__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ── Logo marca CSS (imita el logo real) ─────────────── */
.logo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  user-select: none;
  line-height: 1;
}
.logo-mark__main {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-mark__dot {
  display: inline-block;
  margin: 0 0.15em;
}
.logo-mark__sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 240, 232, 0.6);
  white-space: nowrap;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ── Hover efecto logo — luz + flote suave ─────── */
.nav__logo .logo-mark,
.hero__logo-anim .logo-mark {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__logo:hover .logo-mark,
.hero__logo-anim:hover .logo-mark {
  transform: translateY(-3px);
}

/* Shimmer: luz que pasa de derecha a izquierda */
.nav__logo .logo-mark__main,
.hero__logo-anim .logo-mark__main {
  background: linear-gradient(
    105deg,
    var(--cream) 0%,
    var(--cream) 30%,
    rgba(255, 255, 255, 0.95) 50%,
    var(--cream) 70%,
    var(--cream) 100%
  );
  background-size: 300% 100%;
  background-position: 150% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__logo:hover .logo-mark__main,
.hero__logo-anim:hover .logo-mark__main {
  background-position: -50% center;
}

.nav__logo .logo-mark__sub,
.hero__logo-anim .logo-mark__sub {
  transition: opacity 0.6s ease;
}
.nav__logo:hover .logo-mark__sub,
.hero__logo-anim:hover .logo-mark__sub {
  opacity: 0.88;
}

/* Tamaños navbar */
.nav__logo .logo-mark__main { font-size: 1.1rem; }
.nav__logo .logo-mark__sub  { font-size: 0.6rem; margin-top: 2px; }

/* Tamaños hero */
.hero__logo-anim .logo-mark { gap: 8px; align-items: flex-start; }
.hero__logo-anim .logo-mark__main { font-size: clamp(1.8rem, 4.5vw, 3.8rem); }
.hero__logo-anim .logo-mark__sub  { font-size: clamp(0.85rem, 1.4vw, 1rem); letter-spacing: 0.18em; }

/* Tamaños footer */
.footer__brand .logo-mark { align-items: flex-start; margin-bottom: 14px; }
.footer__brand .logo-mark__main { font-size: 1.1rem; color: rgba(245,240,232,0.85); }
.footer__brand .logo-mark__sub  { font-size: 0.68rem; color: rgba(245,240,232,0.55); margin-top: 3px; }

/* Logo texto */
.nav__logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  user-select: none;
}
.nav__logo-text em {
  font-style: italic;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--gold);
}
/* Logo imagen (cuando tengan el archivo) */
.nav__logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Logo navbar */
.nav__logo-img {
  height: 52px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
}

/* Logo hero */
.hero__logo-anim {
  margin-bottom: 40px;
}
.hero__logo-anim .logo-mark__main {
  animation: logoReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero__logo-anim .logo-mark__sub {
  opacity: 0;
  animation: logoSubIn 1s ease forwards;
  animation-delay: 0.8s;
}
.hero__logo-anim::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 20px 0 0;
  opacity: 0;
  animation: logoSubIn 1s ease forwards;
  animation-delay: 1.1s;
}

@keyframes logoSubIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes logoReveal {
  0%   { opacity: 0; transform: scale(1.06); filter: blur(8px); }
  60%  { opacity: 1; filter: blur(0px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0px); }
}

/* Menú desktop */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 2px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link--cta {
  color: var(--gold);
  border: 1px solid rgba(196, 164, 107, 0.7);
  padding: 8px 20px;
  border-radius: 1px;
  background: rgba(168, 145, 106, 0.08);
  transition: all 0.3s var(--ease);
}
.nav__link--cta:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.nav__link--cta::after { display: none; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: all 0.35s var(--ease);
  transform-origin: left center;
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(40deg) translateY(-1px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-40deg) translateY(1px); }

/* Navbar — pantallas muy pequeñas: reducir gap y ocultar subtítulo del logo */
@media (max-width: 420px) {
  .nav__container { gap: 12px; }
  .nav__logo .logo-mark__sub { display: none; }
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav__hamburger { display: flex; }
  .nav__menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .nav__menu.open {
    max-height: 480px;
    padding: 12px 0 28px;
  }
  .nav__menu li { width: 100%; }
  .nav__link {
    display: block;
    padding: 14px var(--gutter);
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .nav__link::after { display: none; }
  .nav__link--cta {
    margin: 16px var(--gutter) 0;
    display: inline-block;
    width: auto;
    border: 1px solid rgba(196, 164, 107, 0.35);
  }
}


/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Fondo — imagen estática (fallback mobile + poster mientras carga el video) */
.hero__bg {
  position: absolute;
  inset: -12%;
  background-color: var(--dark-2);
  background-size: cover;
  background-position: center 10%;
  background-repeat: no-repeat;
  will-change: transform;
}

/* Video hero */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}
.hero__video--portrait { display: none; }
@media (max-width: 959px) {
  .hero__video--landscape { display: none; }
  .hero__video--portrait  { display: block; }
}

/* Degradado oscuro sobre la foto */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.5) 55%,
    rgba(0, 0, 0, 0.28) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-top: var(--nav-h);
  width: 100%;
}
.hero__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #d4b483;
  margin-top: 28px;
  margin-bottom: 16px;
}
.hero__title {
  color: var(--white);
  max-width: 820px;
  margin-bottom: 24px;
}
.hero__subtitle {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Línea decorativa de scroll */
.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent 0%, var(--gold) 100%);
  animation: linePulse 2.2s ease-in-out infinite;
}
@keyframes linePulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8) translateY(-4px); }
  50%       { opacity: 1;   transform: scaleY(1)   translateY(0); }
}

@media (max-width: 600px) {
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .hero__scroll-hint { display: none; }
}


/* ══════════════════════════════════════════════════════
   NOSOTROS
   ══════════════════════════════════════════════════════ */
.nosotros { background: var(--cream); }

.nosotros__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

/* Imagen con marco decorativo */
.nosotros__media { position: relative; }

.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
  aspect-ratio: 4/5;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.7s var(--ease);
}
.img-frame:hover img { transform: scale(1.04); }

/* Líneas doradas en las esquinas */
.img-frame::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  width: 72px; height: 72px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  z-index: 1;
  pointer-events: none;
}
.img-frame::after {
  content: '';
  position: absolute;
  bottom: -14px; right: -14px;
  width: 72px; height: 72px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  z-index: 1;
  pointer-events: none;
}

/* Badge sobre la imagen */
.nosotros__badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--black);
  color: var(--white);
  padding: 20px 28px;
  text-align: center;
  min-width: 130px;
}
.nosotros__badge span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.nosotros__badge strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
}

/* Contenido */
.nosotros__content h2 { margin-bottom: 22px; color: var(--dark); }
.nosotros__content p  { color: #555; margin-bottom: 16px; font-size: 0.97rem; }
.lead {
  font-size: 1.08rem !important;
  color: var(--dark) !important;
  font-weight: 400 !important;
}

/* Stats */
.nosotros__stats {
  display: flex;
  gap: 36px;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-2);
}
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.1;
}
.stat span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
  display: block;
}

@media (max-width: 900px) {
  .nosotros__grid { grid-template-columns: 1fr; gap: 64px; }
  .nosotros__media { max-width: 480px; width: 100%; margin: 0 auto; }
  .nosotros__badge { bottom: -16px; right: 0; }
  .img-frame::before, .img-frame::after { display: none; }
}
@media (max-width: 600px) {
  .nosotros__stats { flex-wrap: wrap; gap: 20px 16px; }
  .nosotros__badge { position: absolute; bottom: -49px; right: 10px; background: rgba(10,10,10,0.78); }
  .nosotros__grid  { gap: 44px; }
  .nosotros__content .label { font-size: 0.96rem; }
  .stat { flex: 0 0 calc(50% - 8px); }
  .stat span { font-size: 0.76rem; }
  /* (filtros portfolio — ver regla al final del bloque portfolio) */
}


/* ══════════════════════════════════════════════════════
   SERVICIOS
   ══════════════════════════════════════════════════════ */
.servicios { background: var(--black); }
.servicios .section__header h2  { color: var(--cream); }
.servicios .section__header p   { color: rgba(245, 240, 232, 0.68); }

.servicios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.serv-card {
  background: var(--dark-2);
  overflow: hidden;
  transition: background 0.3s;
}
.serv-card[data-portfolio-filter] { cursor: pointer; }
.serv-card:hover { background: var(--dark-3); }

.serv-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark-3);
}
.serv-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease), filter 0.5s;
  filter: brightness(0.8);
}
.serv-card:hover .serv-card__img img {
  transform: scale(1.06);
  filter: brightness(1);
}

.serv-card__body {
  padding: 26px 30px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.serv-card__body::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 14px;
  transition: width 0.35s var(--ease);
}
.serv-card:hover .serv-card__body::before { width: 52px; }

.serv-card__body h3 {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.serv-card__body p {
  color: rgba(245, 240, 232, 0.48);
  font-size: 0.88rem;
  line-height: 1.68;
}

.serv-card--featured { grid-column: span 2; }
.serv-card--featured .serv-card__img { aspect-ratio: 16/7; }

@media (max-width: 1024px) { .servicios__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) { .serv-card--featured { grid-column: span 2; } }
@media (max-width: 580px)  { .servicios__grid { grid-template-columns: 1fr; } }
@media (max-width: 580px)  { .serv-card--featured { grid-column: span 1; } }


/* ══════════════════════════════════════════════════════
   VARILLADO — franja artesanal
   ══════════════════════════════════════════════════════ */
.varillado {
  background: var(--cream);
  padding: clamp(48px, 6vw, 80px) 0;
  text-align: center;
  border-top: 1px solid var(--cream-2);
  border-bottom: 1px solid var(--cream-2);
}
.varillado__inner {
  max-width: 560px;
  margin: 0 auto;
}
.varillado .label {
  font-size: 1.4rem;
  letter-spacing: 0.22em;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}
.varillado__line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}
.varillado__text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
  margin-top: 10px;
}

/* ══════════════════════════════════════════════════════
   PORTFOLIO
   ══════════════════════════════════════════════════════ */
.portfolio { background: var(--cream); }
.portfolio .section__header h2 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); }
.portfolio .section__header { margin-bottom: clamp(24px, 3vw, 40px); }

/* Filtros */
.portfolio__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(32px, 5vw, 60px);
}
.filter-btn {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 8px 22px;
  border: 1px solid var(--cream-2);
  border-radius: 100px;
  background: transparent;
  transition: all 0.28s var(--ease);
  cursor: pointer;
}
.filter-btn:not(.active) {
  background: rgba(0,0,0,0.07);
}
.filter-btn:hover,
.filter-btn.active {
  background: rgba(22,22,22,0.82);
  color: var(--white);
  border-color: rgba(22,22,22,0.82);
}
@media (max-width: 600px) {
  .portfolio__filters { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; justify-content: unset; }
  .filter-btn { text-align: center; padding: 8px 12px; }
  .filter-btn[data-filter="all"] { grid-column: 1 / -1; }
}

/* Grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
  aspect-ratio: 4/3;
  cursor: pointer;
  cursor: pointer;
}
.portfolio-item.hidden { display: none; }
.portfolio-item__img {
  width: 100%;
  height: 100%;
}
.portfolio-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  display: block;
}
.portfolio-item:hover .portfolio-item__img img { transform: scale(1.07); }

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  padding: 16px 18px;
  transition: background 0.3s;
}
.portfolio-item:hover .portfolio-item__overlay { background: rgba(0, 0, 0, 0.38); }
.portfolio-item__overlay span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s var(--ease);
}
.portfolio-item:hover .portfolio-item__overlay span {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) { .portfolio__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .portfolio__grid { grid-template-columns: repeat(2, 1fr); gap: 4px; } }


/* ══════════════════════════════════════════════════════
   EN OBRA
   ══════════════════════════════════════════════════════ */
.en-obra { background: var(--black); padding-bottom: clamp(40px, 5vw, 72px); }
.en-obra .section__header h2 { color: var(--cream); }
.en-obra__header {
  margin-bottom: clamp(20px, 3vw, 36px);
}
.en-obra__header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.obra__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.obra-item {
  overflow: hidden;
  background: var(--dark-3);
  aspect-ratio: 1/1;
}
.obra-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
  filter: brightness(0.88);
}
.obra-item:hover img { transform: scale(1.04); filter: brightness(1); }

.obra-item--video { position: relative; cursor: default; aspect-ratio: 16/9; }
.obra-item--video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.obra-item--video .reel-mute {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7); border-radius: 50%;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color 0.3s, color 0.3s; backdrop-filter: blur(4px);
}
.obra-item--video .reel-mute[data-muted="false"] { border-color: var(--gold); color: var(--gold); }
.obra-item--video .reel-icon--sound { display: none; }
.obra-item--video .reel-mute[data-muted="false"] .reel-icon--muted { display: none; }
.obra-item--video .reel-mute[data-muted="false"] .reel-icon--sound { display: block; }

.obra__videos {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin-top: 4px;
}
.obra__videos .obra-item--video {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 16/9;
}

/* ── Protección de media ────────────────────────── */
img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
video { -webkit-user-drag: none; }
/* Restaurar pointer-events donde se necesita interacción */
.portfolio-item, .mat-logo, .serv-card, a, button,
.nav__logo, .hero__logo-anim { pointer-events: auto; }
.portfolio-item img { pointer-events: none; }
#lbImg { pointer-events: none; }

@media (max-width: 900px) { .obra__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 580px) {
  .obra__grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .obra__videos { flex-direction: column; }
  .obra__videos .obra-item--video { flex: none; width: 100%; }
}

/* ══════════════════════════════════════════════════════
   PROCESO
   ══════════════════════════════════════════════════════ */
.proceso { background: var(--dark); padding-top: clamp(40px, 5vw, 72px); }
.proceso .section__header h2 { color: var(--gold); }
.proceso .section__header { max-width: 760px; }
.proceso .section__header p { color: rgba(245, 240, 232, 0.68); }

.reels .section__header h2 { color: var(--gold); }

.proceso__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.proceso__step {
  background: var(--dark-2);
  padding: clamp(28px, 3.5vw, 52px);
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
}
.proceso__step:hover {
  border-top-color: var(--gold);
  background: rgba(255,255,255,0.02);
}
.proceso__num {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.65;
  line-height: 1;
  margin-bottom: 22px;
  transition: opacity 0.3s;
}
.proceso__step:hover .proceso__num { opacity: 0.9; }
.proceso__step h3 {
  color: var(--cream);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.proceso__step p {
  color: rgba(245, 240, 232, 0.72);
  font-size: 0.95rem;
  line-height: 1.75;
}

@media (max-width: 1024px) { .proceso__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .proceso__steps { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════════════
   MATERIALES
   ══════════════════════════════════════════════════════ */
.materiales { background: var(--cream); }
.materiales .section__header { margin-bottom: 0; }
.materiales .section__header h2 em { font-size: 0.78em; }

/* Franja de logos */
.materiales__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px 24px;
  align-items: center;
  margin-top: -52px;
  justify-items: center;
  padding: clamp(28px, 4vw, 52px) 0;
  border-top: 1px solid var(--cream-2);
  border-bottom: 1px solid var(--cream-2);
  margin-bottom: clamp(40px, 5vw, 72px);
}

.mat-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transition: transform 0.3s var(--ease);
  cursor: default;
}
.mat-logo:hover { transform: translateY(-3px); }

/* Logo imagen — en gris con transparencia */
.mat-logo img {
  height: 38px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.45) brightness(1.3);
  transition: filter 0.4s;
}
.mat-logo:hover img {
  filter: grayscale(1) opacity(0.85) brightness(0.6);
}
.mat-logo img.logo-invert {
  filter: grayscale(1) invert(1) opacity(0.45) brightness(0.8);
}
.mat-logo:hover img.logo-invert {
  filter: grayscale(1) invert(1) opacity(0.85) brightness(0.5);
}

/* Nombre de la marca (fallback si no hay logo) */
.mat-logo-name {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #999;
  transition: color 0.3s;
}
.mat-logo:hover .mat-logo-name { color: var(--dark); }

.mat-logo-cat {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bbb;
}

/* Cards de características */
.materiales__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.mat-feat {
  background: var(--cream-2);
  padding: clamp(24px, 3vw, 40px);
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.mat-feat:hover {
  border-top-color: var(--gold);
  background: var(--white);
}
.mat-feat h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.mat-feat p {
  font-size: 0.87rem;
  color: #666;
  line-height: 1.68;
}

@media (max-width: 768px)  { .materiales__features { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════════════
   CONTACTO
   ══════════════════════════════════════════════════════ */
.contacto { background: var(--black); color: var(--cream); }

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.contacto__content h2  { color: var(--cream); margin-bottom: 20px; }
.contacto__content > p {
  color: rgba(245, 240, 232, 0.55);
  margin-bottom: 40px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.contacto__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.75);
  transition: color 0.3s;
}
.contact-link svg { color: var(--gold); flex-shrink: 0; }
.contact-link:hover { color: var(--white); }

/* ── Formulario de contacto ──────────────────────── */
.contacto__form-wrap {
  width: 100%;
  background: #f9f7f3;
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid rgba(168, 145, 106, 0.1);
}

/* Overrides para fondo claro */
.contacto__form-wrap .form-required-note {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}
.contacto__form-wrap .form-group__label,
.contacto__form-wrap .form-group > label {
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.65rem;
}
.contacto__form-wrap .form-req { color: #c0392b; }

.contacto__form-wrap .contact-form input[type="text"],
.contacto__form-wrap .contact-form input[type="tel"],
.contacto__form-wrap .contact-form input[type="email"],
.contacto__form-wrap .contact-form textarea {
  color: #1a1a1a;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  padding: 10px 12px;
}
.contacto__form-wrap .contact-form input[type="text"]:focus,
.contacto__form-wrap .contact-form input[type="tel"]:focus,
.contacto__form-wrap .contact-form input[type="email"]:focus,
.contacto__form-wrap .contact-form textarea:focus { border-color: var(--gold); }

.contacto__form-wrap .contact-form input::placeholder,
.contacto__form-wrap .contact-form textarea::placeholder { color: rgba(0, 0, 0, 0.35); }

.contacto__form-wrap .form-radio { color: rgba(0, 0, 0, 0.72); }
.contacto__form-wrap .form-radio:hover { color: #1a1a1a; }
.contacto__form-wrap .form-radio:has(input:checked) { color: #1a1a1a; font-weight: 500; }
.contacto__form-wrap .form-radio input[type="radio"],
.contacto__form-wrap .form-radio input[type="checkbox"] { border-color: rgba(0, 0, 0, 0.28); }

.contacto__form-wrap .char-remaining { color: rgba(0, 0, 0, 0.42); }
.contacto__form-wrap .char-remaining.warn { color: #c0392b; }

.contacto__form-wrap .form-success { background: #f9f7f3; }
.contacto__form-wrap .form-success h3 { color: #1a1a1a; }
.contacto__form-wrap .form-success p  { color: rgba(0, 0, 0, 0.55); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.form-group { margin-bottom: 28px; }
.form-group__label,
.form-group > label {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.38);
  margin-bottom: 12px;
}
.form-req { color: var(--gold); }

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.form-label-row label { margin-bottom: 0; }
.char-remaining {
  font-size: 0.65rem;
  color: rgba(245, 240, 232, 0.28);
  letter-spacing: 0.04em;
  transition: color 0.25s;
}
.char-remaining.warn { color: #e07070; }

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 0;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input[type="text"]::placeholder,
.contact-form input[type="tel"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder { color: rgba(245, 240, 232, 0.18); }

.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus { border-bottom-color: var(--gold); }

.contact-form textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.65;
}

/* Radio buttons */
.form-group--radio { margin-bottom: 32px; }
.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.52);
  transition: color 0.2s;
  line-height: 1.4;
}
.form-radio:hover { color: var(--cream); }
.form-radio input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: border-color 0.25s;
  background: transparent;
  margin: 0;
  padding: 0;
}
.form-radio input[type="radio"]:checked { border-color: var(--gold); }
.form-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.form-radio:has(input:checked) { color: rgba(245, 240, 232, 0.85); }

/* Checkboxes */
.form-radio input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  background: transparent;
  margin: 0;
  padding: 0;
}
.form-radio input[type="checkbox"]:checked {
  border-color: var(--gold);
  background: var(--gold);
}
.form-radio input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid #1a1a1a;
  border-bottom: 1.5px solid #1a1a1a;
  top: 3px;
  left: 2px;
  transform: rotate(-45deg);
}

.form-radio span { flex: 1; }

/* Botón submit */
.contact-submit {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.btn-spinner {
  display: none;
  flex-shrink: 0;
}
.contact-submit.loading .btn-label { visibility: hidden; }
.contact-submit.loading .btn-spinner {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: cfSpin 0.7s linear infinite;
}
@keyframes cfSpin { to { transform: rotate(360deg); } }
.contact-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }

/* Campos inválidos */
.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: #c0392b !important;
}
.contacto__form-wrap .contact-form input.invalid,
.contacto__form-wrap .contact-form textarea.invalid {
  border-color: #c0392b !important;
}
.form-group--radio.invalid .form-group__label {
  color: #c0392b !important;
}
.form-group--radio.invalid .form-radio-group {
  border-left: 2px solid #c0392b;
  padding-left: 10px;
}

.form-error {
  display: none;
  margin-top: 14px;
  font-size: 0.82rem;
  color: #c0392b;
  text-align: center;
  line-height: 1.5;
  font-weight: 500;
}
.form-error.visible { display: block; }

/* Estado éxito */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 24px;
  gap: 16px;
  min-height: 320px;
  justify-content: center;
}
.form-success.visible { display: flex; }
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--cream);
  margin: 0;
}
.form-success p {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 900px) { .contacto__grid { grid-template-columns: 1fr; } }

@media (max-width: 580px)  { .form-row { grid-template-columns: 1fr; } }

/* ── Lightbox ─────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 120px);
  max-height: 90vh;
}
.lightbox__img-wrap img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  user-select: none;
  transition: opacity 0.2s ease;
  display: block;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
  font-family: var(--font-sans);
}
.lightbox__close:hover { color: #fff; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 20px;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  user-select: none;
  font-family: var(--font-sans);
}
.lightbox__nav:hover { color: rgba(255, 255, 255, 0.9); }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__nav.nav-hidden { opacity: 0; pointer-events: none; }

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.14em;
  font-family: var(--font-sans);
}

@media (max-width: 600px) {
  .lightbox__img-wrap { max-width: 100vw; }
  .lightbox__nav { font-size: 2rem; padding: 20px 12px; }
}


/* ══════════════════════════════════════════════════════
   INSTAGRAM STRIP
   ══════════════════════════════════════════════════════ */
.ig-strip {
  background: var(--dark-2);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ig-strip__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.ig-strip__icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  flex-shrink: 0;
}
.ig-strip__text {
  flex: 1;
}
.ig-strip__text .label {
  margin-bottom: 6px;
}
.ig-strip__text p {
  font-size: 0.95rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.5;
}
.ig-strip__text strong {
  color: var(--cream);
  font-weight: 400;
}
@media (max-width: 640px) {
  .ig-strip__inner { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  background: #050505;
  padding: clamp(40px, 5vw, 72px) 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}
.footer__brand .nav__logo-text { margin-bottom: 16px; display: inline-flex; }
.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  line-height: 1.7;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 16px; align-items: flex-start; }
.footer__social a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}
.footer__social a:hover { color: var(--gold); }
.footer__bottom { text-align: center; }
.footer__bottom p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.08em;
}

@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}


/* ══════════════════════════════════════════════════════
   WHATSAPP FLOTANTE
   ══════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}
.wa-float svg { width: 28px; height: 28px; color: white; }

.ig-float {
  position: fixed;
  bottom: 96px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(214, 36, 159, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.ig-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(214, 36, 159, 0.5);
}
.ig-float svg { width: 26px; height: 26px; color: white; }


/* ══════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ══════════════════════════════════════════════════════ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, var(--gold), #d4b483);
  z-index: 2000;
  box-shadow: 0 0 8px rgba(168, 145, 106, 0.7);
  transition: width 0.08s linear;
}


/* ══════════════════════════════════════════════════════
   UTILIDADES
   ══════════════════════════════════════════════════════ */
.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;
}
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* Imagen placeholder oscura cuando el src no carga */
.img-frame, .serv-card__img, .portfolio-item__img {
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}
.img-frame img,
.serv-card__img img,
.portfolio-item__img img {
  /* Si la imagen no carga, se ve el fondo oscuro del padre */
}
