/* ==========================================================================
   PÁGINA PÚBLICA DEL ESTUDIO (Web para Fotógrafos)
   Diseño editorial de alto impacto para fotografía de danza y retratos.
   Tipografías configurables (Google Fonts), paletas oscuras premium y animaciones.
   ========================================================================== */

:root{
  --fuente-tit: 'Playfair Display', 'Cinzel', Georgia, serif;
  --fuente-cuerpo: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --bg-0: #0a0a0d;
  --bg-1: #121217;
  --bg-2: #191920;
  --bg-3: #22222b;
  --bg-card: rgba(22, 22, 29, 0.75);
  
  --linea: rgba(255, 255, 255, 0.08);
  --linea-2: rgba(255, 255, 255, 0.16);
  
  --txt-0: #f7f7f9;
  --txt-1: #b5b5c2;
  --txt-2: #7d7d8c;
  
  --ambar: #e8892a;
  --ambar-2: #f29f45;
  --ambar-glow: color-mix(in srgb, var(--ambar) 22%, transparent);
  --dorado: #f0c05a;
  
  --wa: #25d366;
  --r: 20px;
  color-scheme: dark;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg-0);
  color: var(--txt-0);
  font-family: var(--fuente-cuerpo);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .h1, .h2, .h3, .marca b{
  font-family: var(--fuente-tit);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: break-word;
}

a{ color: inherit; text-decoration: none; }
img{ display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; }
[hidden]{ display: none !important; }

.envol{ max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.suave{ color: var(--txt-1); }
.grande{ font-size: 19px; }
.fila{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

.h2{
  font-size: clamp(24px, 3.8vw, 42px);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--txt-0);
  overflow-wrap: break-word;
  word-break: break-word;
}

.sec-intro{
  color: var(--txt-1);
  font-size: 17px;
  line-height: 1.55;
  max-width: 680px;
  margin: 0 0 32px;
  overflow-wrap: break-word;
}

.sobre{
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ambar-2);
  margin: 0 0 12px;
  display: inline-block;
  overflow-wrap: break-word;
  word-break: break-word;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--linea-2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--txt-0);
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn:hover{
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--pri{
  background: linear-gradient(135deg, var(--ambar), var(--ambar-2));
  color: var(--sobre-ambar, #0d0d10);
  border-color: transparent;
  box-shadow: 0 4px 20px var(--ambar-glow);
}

.btn--pri:hover{
  background: linear-gradient(135deg, var(--ambar-2), #ffa852);
  box-shadow: 0 6px 26px color-mix(in srgb, var(--ambar) 40%, transparent);
}

.btn--wa{
  background: #25d366;
  color: #082110;
  border-color: #25d366;
  font-weight: 800;
}

.btn--chico{
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: 10px;
}

/* ------------------------------------------------------------ CABECERA */
.cab{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 32px;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}

.cab.solida{
  background: color-mix(in srgb, var(--bg-0) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--linea);
  padding: 12px 32px;
}

.marca{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
}

.marca__a{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--linea-2);
  display: grid;
  place-items: center;
  color: var(--ambar);
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.nav{
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.nav a{
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--txt-1);
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.2s, background 0.2s;
}

.nav a.on, .nav a:hover{
  color: var(--txt-0);
  background: rgba(255, 255, 255, 0.07);
}

.nav a.nav__vivo{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: color-mix(in srgb, var(--ambar) 14%, transparent);
  color: var(--ambar-txt, #ffb15c);
  border: 1px solid color-mix(in srgb, var(--ambar) 38%, transparent);
}

.nav a.nav__vivo:hover{
  background: color-mix(in srgb, var(--ambar) 26%, transparent);
  color: #ffffff;
  border-color: color-mix(in srgb, var(--ambar) 65%, transparent);
}

.nav a.nav__vivo .punto-vivo{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ambar);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ambar) 70%, transparent);
  animation: pulso-vivo-nav 1.8s infinite;
}

@keyframes pulso-vivo-nav{
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.cab__acciones{
  display: flex;
  align-items: center;
  gap: 10px;
}

.cab__toggle{
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--linea-2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cab__toggle:hover{
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.cab__toggle span{
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ------------------------------------------------------------ MENÚ MÓVIL Y TABLET */
.menu-movil{
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: flex-end;
}

.menu-movil[hidden]{
  display: none !important;
}

.menu-movil__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.22s ease-out;
}

.menu-movil__panel{
  position: relative;
  z-index: 2;
  width: min(340px, 86vw);
  height: 100%;
  background: var(--bg-1);
  border-left: 1px solid var(--linea-2);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.65);
  animation: slideLeft 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@keyframes slideLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.menu-movil__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--linea);
}

.menu-movil__marca{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--txt-0);
}

.menu-movil__cerrar{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--linea-2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--txt-0);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.menu-movil__cerrar:hover{
  background: rgba(255, 255, 255, 0.16);
}

.menu-movil__nav{
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.menu-movil__nav a{
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--txt-0);
  font-weight: 600;
  font-size: 15.5px;
  transition: background 0.2s, color 0.2s;
  border: 1px solid transparent;
}

.menu-movil__nav a:hover,
.menu-movil__nav a.on{
  background: rgba(255, 255, 255, 0.08);
  color: var(--txt-0);
  border-color: var(--linea);
}

.menu-movil__nav a.nav__vivo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: color-mix(in srgb, var(--ambar) 14%, transparent);
  color: var(--ambar-txt, #ffb15c);
  border: 1px solid color-mix(in srgb, var(--ambar) 35%, transparent);
}

.menu-movil__nav a.nav__vivo .punto-vivo{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ambar);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ambar) 70%, transparent);
  animation: pulso-vivo-nav 1.8s infinite;
}

.menu-movil__pie{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--linea);
}

/* ------------------------------------------------------------ HERO SECTION */
.heroe{
  position: relative;
  padding: 170px 0 110px;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  background: radial-gradient(1000px 600px at 15% 10%, color-mix(in srgb, var(--ambar) 18%, transparent), transparent 65%), var(--bg-0);
  overflow: hidden;
}

.heroe--chico{
  min-height: 0;
  padding: 140px 0 70px;
}

.heroe--foto::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fondo) center 25% / cover no-repeat;
  opacity: 0.55;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.heroe--foto::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 13, 0.2) 0%, rgba(10, 10, 13, 0.82) 65%, var(--bg-0) 100%);
}

.heroe > .envol{
  position: relative;
  z-index: 2;
  width: 100%;
}

.heroe h1{
  font-size: clamp(32px, 5.5vw, 68px);
  line-height: 1.16;
  margin: 0;
  letter-spacing: -0.025em;
  max-width: 900px;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  overflow-wrap: break-word;
  word-break: break-word;
}

.heroe__txt{
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--txt-1);
  max-width: 680px;
  margin-top: 18px;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: break-word;
}

.heroe__txt p{ margin: 0 0 10px; }

/* ------------------------------------------------------------ SECCIONES */
.sec{
  padding: 85px 0;
  position: relative;
}

.sec--osc{
  background: var(--bg-1);
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
}

.dos-tarj{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tarj{
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 380px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--linea);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s, border-color 0.3s;
}

.tarj:hover{
  transform: translateY(-4px);
  border-color: var(--linea-2);
}

.tarj img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.tarj:hover img{
  transform: scale(1.06);
}

.tarj__velo{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 13, 0.08) 0%, rgba(10, 10, 13, 0.72) 45%, rgba(10, 10, 13, 0.96) 85%);
}

.tarj__txt{
  position: relative;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.tarj__txt small{
  color: var(--ambar-2);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
}

.tarj__txt b{
  font-family: var(--fuente-tit);
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: break-word;
}

.tarj__txt span{ color: var(--txt-1); font-size: 15px; line-height: 1.45; overflow-wrap: break-word; word-break: break-word; }
.tarj__txt em{ font-style: normal; color: var(--ambar-2); font-weight: 700; margin-top: 8px; font-size: 14.5px; }

/* ------------------------------------------------------------ PASOS */
.pasos{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pasos div{
  background: var(--bg-card);
  border: 1px solid var(--linea);
  border-radius: var(--r);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.pasos i{
  font-style: normal;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ambar-glow);
  color: var(--ambar-2);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 19px;
  border: 1px solid color-mix(in srgb, var(--ambar) 35%, transparent);
}

.pasos b{ font-size: 19px; color: var(--txt-0); }
.pasos span{ color: var(--txt-1); font-size: 15px; }

/* ------------------------------------------------------------ PAQUETES DE SESIÓN */
.paquetes{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.paq{
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--linea-2);
  border-radius: 26px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, border-color 0.3s;
}

.paq:hover{
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.paq--dest{
  border-color: var(--ambar);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ambar) 14%, transparent) 0%, var(--bg-2) 45%);
  box-shadow: 0 16px 45px color-mix(in srgb, var(--ambar) 18%, transparent);
}

.paq__cinta{
  position: absolute;
  top: -13px;
  left: 28px;
  background: linear-gradient(135deg, var(--ambar), var(--ambar-2));
  color: #0e0e11;
  font-weight: 900;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px var(--ambar-glow);
}

.paq__n{ font-family: var(--fuente-tit); font-size: 24px; }
.paq__p{ font-size: 34px; font-weight: 900; color: var(--dorado); font-variant-numeric: tabular-nums; }
.paq ul{ margin: 10px 0 20px; padding-left: 20px; color: var(--txt-1); flex: 1; }
.paq li{ margin-bottom: 8px; font-size: 15px; }

/* ------------------------------------------------------------ PRECIOS Y TARIFAS */
.precios{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.precio{
  background: var(--bg-card);
  border: 1px solid var(--linea);
  border-radius: var(--r);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s, border-color 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.precio:hover{
  transform: translateY(-2px);
  border-color: var(--linea-2);
}

.precio--dest{
  border-color: var(--ambar);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ambar) 12%, transparent) 0%, var(--bg-card) 60%);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ambar) 15%, transparent);
}

.precio b{
  font-size: 16.5px;
  color: var(--txt-0);
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.precio span{
  font-size: 26px;
  font-weight: 900;
  color: var(--dorado);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.precio small{
  color: var(--txt-1);
  font-size: 13.5px;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ------------------------------------------------------------ PORTFOLIO (Masonry) */
.port{
  columns: 3 300px;
  column-gap: 16px;
}

.port__f{
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-2);
  break-inside: avoid;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.port__f img{
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}

.port__f:hover img{
  transform: scale(1.04);
}

/* ------------------------------------------------------------ CONCURSOS EN VIVO */
.concursos{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
}

.conc{
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--linea);
  border-radius: var(--r);
  padding: 18px 20px;
  transition: transform 0.2s, border-color 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.conc:hover{
  transform: translateY(-2px);
  border-color: var(--ambar);
}

.conc__logo{
  width: auto;
  max-width: 90px;
  height: 60px;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: visible;
  padding: 0;
}

.conc__logo img{
  width: auto;
  height: 100%;
  max-width: 90px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.conc__txt{ flex: 1; min-width: 0; }
.conc__txt b{ display: block; font-size: 18px; color: var(--txt-0); line-height: 1.25; }
.conc__txt small{ display: block; color: var(--txt-2); margin-top: 5px; line-height: 1.4; }
.conc__dia{ color: var(--txt-0); font-weight: 700; }   /* fecha y día del concurso, bien visibles */
.conc__ir{ color: var(--ambar-2); font-weight: 700; flex: none; font-size: 14.5px; }

.vivo{
  background: #e04d4d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 6px;
  flex: none;
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ------------------------------------------------------------ BIO Y MANIFIESTO */
.sec--bio .bio-grid{
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.bio-card{
  background: var(--bg-card);
  border: 1px solid var(--linea);
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.bio-foto{
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--linea-2);
  aspect-ratio: 4/5;
  background: var(--bg-2);
}

.bio-foto img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------ TESTIMONIOS */
.testimonios-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.testimonio{
  background: var(--bg-card);
  border: 1px solid var(--linea);
  border-radius: var(--r);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.testimonio__estrellas{
  color: var(--dorado);
  font-size: 18px;
  letter-spacing: 3px;
}

.testimonio__txt{
  font-size: 16px;
  color: var(--txt-0);
  font-style: italic;
  line-height: 1.55;
  flex: 1;
}

.testimonio__autor{
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--linea);
  padding-top: 14px;
}

.testimonio__autor b{ display: block; font-size: 15px; color: var(--txt-0); }
.testimonio__autor small{ display: block; color: var(--txt-2); font-size: 13px; }

/* ------------------------------------------------------------ MAPA Y CONTACTO */
.sec--mapa .dos{
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: center;
}

.mapa{
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--linea-2);
  aspect-ratio: 4/3;
  background: var(--bg-2);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.mapa iframe{
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) invert(0.9) hue-rotate(180deg) contrast(0.9);
}

/* ------------------------------------------------------------ PIE DE PÁGINA */
.pie{
  border-top: 1px solid var(--linea);
  background: var(--bg-1);
  padding: 50px 0 35px;
}

.pie__in{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.pie h4{
  font-size: 17px;
  margin: 0 0 14px;
  color: var(--txt-0);
}

.pie p{ margin: 0 0 8px; color: var(--txt-1); font-size: 14.5px; }
.pie a:hover{ color: var(--ambar-2); }

.redes{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-content: flex-start;
}

.redes a{
  border: 1px solid var(--linea-2);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13.5px;
  transition: background 0.2s, color 0.2s;
}

.redes a:hover{
  background: rgba(255, 255, 255, 0.1);
  color: var(--txt-0);
}

.pie__c{
  text-align: center;
  color: var(--txt-2);
  font-size: 13px;
  margin: 36px 0 0;
  border-top: 1px solid var(--linea);
  padding-top: 24px;
}

/* Botón flotante WhatsApp */
.wa-flot{
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #0b2513;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s, box-shadow 0.25s;
}

.wa-flot:hover{
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 16px 45px rgba(37, 211, 102, 0.4);
}

/* Lightbox modal */
.lb{
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 6, 8, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lb img{
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lb__x{ position: absolute; top: 20px; right: 20px; }
.lb__x, .lb__f{
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--linea-2);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.lb__x:hover, .lb__f:hover{ background: rgba(255, 255, 255, 0.2); }
.lb__f{ position: absolute; top: 50%; transform: translateY(-50%); }
.lb__f--i{ left: 24px; }
.lb__f--d{ right: 24px; }

.cargando{ height: 60vh; }

/* ============================================================ RESPONSIVE SMARTPHONES Y TABLETS */
@media (max-width: 900px){
  .cab{ padding: 12px 20px; gap: 14px; }
  .cab.solida{ padding: 10px 20px; }
  .nav{ display: none; }
  .cab__toggle{ display: flex; }
  
  .heroe{ padding: 140px 0 80px; min-height: 65vh; }
  .heroe--chico{ padding: 120px 0 50px; }
  .sec{ padding: 60px 0; }
  .sec--bio .bio-grid{ grid-template-columns: 1fr; gap: 32px; }
  .sec--mapa .dos{ grid-template-columns: 1fr; gap: 30px; }
  .bio-card{ padding: 28px; }
  .port{ columns: 2 240px; }
}

@media (max-width: 640px){
  .cab{ padding: 10px 16px; }
  .cab.solida{ padding: 8px 16px; }
  .cab__btn-gal{ display: none; }
  .marca{ font-size: 17px; gap: 10px; }
  .marca__a{ width: 34px; height: 34px; font-size: 18px; border-radius: 10px; }
  
  .heroe{ padding: 110px 0 55px; min-height: auto; }
  .heroe--chico{ padding: 95px 0 40px; }
  .heroe h1{ font-size: clamp(28px, 8vw, 42px); line-height: 1.18; }
  .heroe__txt{ font-size: 15px; margin-top: 14px; }
  .heroe .fila{ display: flex; flex-direction: column; width: 100%; gap: 10px; margin-top: 20px; }
  .heroe .fila .btn{ width: 100%; }
  
  .sec{ padding: 46px 0; }
  .h2{ font-size: clamp(22px, 6.2vw, 32px); line-height: 1.22; margin-bottom: 10px; }
  .sec-intro{ font-size: 15px; margin-bottom: 22px; }
  
  .dos-tarj{ grid-template-columns: 1fr; gap: 18px; }
  .tarj{ aspect-ratio: 4 / 5; min-height: 320px; border-radius: 20px; }
  .tarj__txt{ padding: 20px; gap: 6px; }
  .tarj__txt b{ font-size: 23px; }
  .tarj__txt span{ font-size: 14px; line-height: 1.4; }
  
  .concursos{ grid-template-columns: 1fr; gap: 14px; }
  .conc{ padding: 15px 16px; gap: 14px; }
  .conc__logo{ max-width: 64px; height: 46px; }
  .conc__logo img{ max-width: 64px; }
  .conc__txt b{ font-size: 16px; }
  .conc__txt small{ font-size: 12.5px; }
  
  .pasos{ grid-template-columns: 1fr; gap: 14px; }
  .pasos div{ padding: 22px 18px; }
  
  .paquetes{ grid-template-columns: 1fr; gap: 18px; }
  .paq{ padding: 26px 20px; border-radius: 20px; }
  .paq__n{ font-size: 22px; }
  .paq__p{ font-size: 30px; }
  
  .precios{ grid-template-columns: 1fr; gap: 12px; }
  .precio{ padding: 18px 16px; border-radius: 16px; }
  .precio span{ font-size: 23px; }
  
  .testimonios-grid{ grid-template-columns: 1fr; gap: 16px; }
  .testimonio{ padding: 22px 18px; border-radius: 18px; }
  
  .bio-card{ padding: 22px 18px; border-radius: 20px; }
  .mapa{ aspect-ratio: 16/11; border-radius: 18px; }
  
  .port{ columns: 1 100%; column-gap: 0; }
  .port__f{ border-radius: 14px; margin-bottom: 12px; }
  
  .pie{ padding: 38px 0 24px; }
  .pie__in{ grid-template-columns: 1fr; gap: 24px; }
  
  .wa-flot{ width: 52px; height: 52px; }
  .wa-flot svg{ width: 25px; height: 25px; }
}

@media (max-width: 440px){
  .envol{ padding: 0 16px; }
  .cab{ padding: 10px 14px; }
  .cab.solida{ padding: 8px 14px; }
  .marca b{ font-size: 15.5px; max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .heroe h1{ font-size: 26px; line-height: 1.2; }
  .sobre{ letter-spacing: 1.5px; font-size: 10.5px; }
  .tarj{ aspect-ratio: 4 / 5; min-height: unset; }
  .tarj__txt b{ font-size: 21px; }
  .tarj__txt span{ font-size: 13px; }
}

/* ============================================================ PLANTILLAS DE FOTÓGRAFOS */
/* Pure Fine Art & Blanc: Fondo luminoso, contrastes de galería de arte y sobriedad */
body[data-plantilla="pure_fineart"]:not([data-custom-colors]) {
  --bg-0: #fcfbfa;
  --bg-1: #f4f3f0;
  --bg-2: #eceae5;
  --bg-3: #e2dfd7;
  --bg-card: rgba(255, 255, 255, 0.9);
  --linea: rgba(0, 0, 0, 0.08);
  --linea-2: rgba(0, 0, 0, 0.16);
  --txt-0: #18181b;
  --txt-1: #52525b;
  --txt-2: #71717a;
  --dorado: #b45309;
  color-scheme: light;
}
body[data-plantilla="pure_fineart"] .cab.solida {
  background: rgba(252, 251, 250, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
body[data-plantilla="pure_fineart"] .btn {
  background: rgba(0, 0, 0, 0.04);
  color: #18181b;
  border-color: rgba(0, 0, 0, 0.15);
}
body[data-plantilla="pure_fineart"] .btn:hover {
  background: rgba(0, 0, 0, 0.08);
}
body[data-plantilla="pure_fineart"] .btn--pri {
  background: #18181b;
  color: #ffffff;
  border-color: #18181b;
}
body[data-plantilla="pure_fineart"] .btn--pri:hover {
  background: #27272a;
}
body[data-plantilla="pure_fineart"] .tarj {
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Spotlight Motion & Action: Visual dinámico para fotografía de acción y escenario */
body[data-plantilla="spotlight_motion"] {
  --dorado: #ffaa00;
}
body[data-plantilla="spotlight_motion"]:not([data-custom-colors]) {
  --bg-0: #06070a;
  --bg-1: #0e1118;
  --bg-2: #161b26;
  --bg-card: rgba(16, 20, 30, 0.82);
  --ambar: #ff6b35;
  --ambar-2: #ff8552;
}
body[data-plantilla="spotlight_motion"] .tarj {
  border-radius: 14px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}
body[data-plantilla="spotlight_motion"] .tarj:hover {
  border-color: var(--ambar);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.22);
}

/* Warm Atelier & Heritage: Calidez artesanal, sepia suave y tono de autor */
body[data-plantilla="warm_atelier"] {
  --linea: rgba(245, 158, 11, 0.12);
  --linea-2: rgba(245, 158, 11, 0.25);
  --dorado: #fbbf24;
}
body[data-plantilla="warm_atelier"]:not([data-custom-colors]) {
  --bg-0: #12100e;
  --bg-1: #1a1613;
  --bg-2: #241f1a;
  --bg-card: rgba(28, 24, 20, 0.85);
  --txt-0: #fbf7f0;
  --txt-1: #d8cebe;
  --txt-2: #9e9382;
  --ambar: #f59e0b;
}

/* Dark Editorial & Stage: Cinematográfico de lujo con contrastes dorados */
body[data-plantilla="dark_editorial"] {
  --dorado: #ffd700;
}
body[data-plantilla="dark_editorial"]:not([data-custom-colors]) {
  --bg-0: #09090b;
  --bg-1: #111115;
  --bg-2: #18181f;
  --bg-card: rgba(20, 20, 26, 0.85);
  --ambar: #d4af37;
  --ambar-2: #e5c158;
}

/* Evitar solapamiento de barras o cabeceras duplicadas generadas por el editor */
#main > header, #main header#icth {
  display: none !important;
}


/* ============================================================ CAPA PROFESIONAL (13/10/2026)
   - Los colores y tipografías del panel (Página web > Estilo) SIEMPRE mandan: web.js los
     aplica en el <body> y deriva textos, superficies y contraste según el fondo elegido.
   - Portada a pantalla completa con la foto nítida y velo para leer el texto.
   - Cabecera y menú de teléfono rediseñados. Nada de esto toca el diseño del Editor Visual. */

/* Texto sobre el acento y acento legible sobre el fondo (los calcula web.js) */
.btn{ color: var(--txt-0); background: color-mix(in srgb, var(--txt-0) 6%, transparent);
  border-color: color-mix(in srgb, var(--txt-0) 16%, transparent); }
.btn:hover{ background: color-mix(in srgb, var(--txt-0) 12%, transparent); border-color: color-mix(in srgb, var(--txt-0) 30%, transparent); }
.btn.btn--pri{ background: var(--ambar); color: var(--sobre-ambar, #0d0d10); border-color: transparent; }
.btn.btn--pri:hover{ background: var(--ambar-2); color: var(--sobre-ambar, #0d0d10); }
.btn--wa, .btn--wa:hover{ background: #25d366; color: #082110; border-color: #25d366; }
.sobre, .tarj__txt em{ color: var(--ambar-txt, var(--ambar-2)); }

/* ---- Cabecera */
.cab{ padding-top: max(18px, env(safe-area-inset-top)); }
.cab .marca img{ max-height: 40px !important; }

/* Hamburguesa solo con las líneas, sin recuadro (pedido 13/10/2026) */
.cab__toggle, .cab__toggle:hover{ background: transparent; border: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; width: 40px; height: 40px; padding: 12px 8px; margin-right: -8px; }
.cab__toggle span{ background: var(--txt-0); height: 2px; }
.cab__toggle span:nth-child(2){ width: 70%; margin-left: auto; }
.cab__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.cab__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.cab__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
/* Sobre la foto de portada (antes de hacer scroll) la cabecera va en blanco */
body.con-portada .cab:not(.solida) .nav a{ color: rgba(255,255,255,.82); }
body.con-portada .cab:not(.solida) .nav a.on, body.con-portada .cab:not(.solida) .nav a:hover{ color: #fff; background: rgba(255,255,255,.12); }
body.con-portada .cab:not(.solida) .cab__toggle span{ background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.45); }

/* ---- Portada */
.heroe--foto::before{ opacity: 1; background-position: center 30%; }
.heroe--foto::after{ background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.82) 100%); }
.heroe h1{ color: var(--txt-0); text-shadow: none; }
.heroe--foto h1{ color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.heroe--foto .heroe__txt{ color: rgba(255,255,255,.86); }
.heroe--foto .sobre{ color: rgba(255,255,255,.78); }
.heroe--foto .btn:not(.btn--pri){ color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.heroe--foto .btn:not(.btn--pri):hover{ background: rgba(255,255,255,.22); }
.heroe__ctas{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.heroe__vivo{ display: flex; width: fit-content; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 10px;
  border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .3px;
  background: rgba(220, 38, 38, .14); border: 1px solid rgba(220, 38, 38, .45); color: var(--txt-0); }
.heroe--foto .heroe__vivo{ background: rgba(0,0,0,.45); border-color: rgba(255,90,90,.55); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.heroe__vivo b{ font-weight: 800; color: #ff5a5a; text-transform: uppercase; letter-spacing: 1.5px; font-size: 11.5px; }
.heroe__vivo i{ width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255,59,59,.7);
  animation: pulso-vivo-nav 1.8s infinite; }

/* Tarjetas con foto: el texto va siempre claro sobre el velo oscuro */
.tarj{ color: #fff; }
.tarj__txt span{ color: rgba(255,255,255,.8); }
.tarj__txt small{ color: rgba(255,255,255,.72); }
.tarj__txt em{ color: #fff; text-decoration: underline; text-decoration-color: var(--ambar); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tarj--sinfoto{ background: linear-gradient(150deg, color-mix(in srgb, var(--ambar) 55%, #111) 0%, #121214 70%); aspect-ratio: auto !important; min-height: 240px !important; }
.tarj--sinfoto .tarj__velo{ background: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,.08), transparent 60%); }

/* ---- Menú del teléfono */
.menu-movil__panel{ width: min(360px, 88vw); padding: max(20px, env(safe-area-inset-top)) 22px max(22px, env(safe-area-inset-bottom));
  background: var(--bg-1); color: var(--txt-0); border-left: 1px solid var(--linea); }
.menu-movil__marca img{ max-height: 34px; width: auto; object-fit: contain; }
.menu-movil__cerrar{ color: var(--txt-0); background: color-mix(in srgb, var(--txt-0) 6%, transparent); border-color: var(--linea-2); }
.menu-movil__nav{ gap: 2px; margin-top: 4px; }
.menu-movil__nav a{ display: flex; align-items: center; justify-content: space-between; padding: 16px 6px;
  border-radius: 0; border: 0; border-bottom: 1px solid var(--linea); font-family: var(--fuente-tit);
  font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--txt-0); }
.menu-movil__nav a::after{ content: "→"; font-family: var(--fuente-cuerpo); font-size: 16px; color: var(--txt-2); transition: transform .2s, color .2s; }
.menu-movil__nav a:hover, .menu-movil__nav a.on{ background: transparent; border-color: var(--linea); color: var(--txt-0); }
.menu-movil__nav a.on{ color: var(--ambar-txt, var(--ambar)); }
.menu-movil__nav a.on::after, .menu-movil__nav a:hover::after{ color: var(--ambar-txt, var(--ambar)); transform: translateX(3px); }
.menu-movil__nav a.nav__vivo{ margin-top: 10px; border-radius: 12px; padding: 12px 14px; font-family: var(--fuente-cuerpo); font-size: 15px; }
.menu-movil__nav a.nav__vivo::after{ content: "↗"; }
.menu-movil__redes{ display: flex; gap: 8px; flex-wrap: wrap; }
.menu-movil__redes a{ font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--linea-2); color: var(--txt-1); }
.menu-movil__redes a:hover{ color: var(--txt-0); border-color: var(--txt-2); }
.menu-movil__pie{ border-color: var(--linea); }

@media (max-width: 900px){
  .cab{ padding-left: 18px; padding-right: 18px; }
  .cab__acciones{ margin-left: auto; }
}
@media (max-width: 640px){
  .cab, .cab.solida{ padding: max(10px, env(safe-area-inset-top)) 16px 10px; }
  .cab .marca img{ max-height: 32px !important; max-width: 170px; }
  .heroe{ min-height: auto; padding: 104px 0 48px; }
  .heroe--foto{ min-height: 92svh; padding: 96px 0 calc(34px + env(safe-area-inset-bottom)); align-items: flex-end; }
  .heroe--foto::before{ background-image: var(--fondo-movil, var(--fondo)); background-position: center 22%; }
  .heroe h1, .heroe--foto h1{ font-size: clamp(30px, 8.6vw, 40px); line-height: 1.12; }
  .heroe__txt{ font-size: 15.5px; }
  .heroe__ctas{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .heroe__ctas .btn{ width: 100%; padding: 13px 12px; font-size: 14.5px; }
  .heroe__ctas .btn:first-child{ grid-column: 1 / -1; padding: 15px 18px; font-size: 15.5px; }
  .heroe__ctas .btn:nth-child(4){ grid-column: 1 / -1; }
  .heroe__vivo{ font-size: 12.5px; max-width: 100%; }
  .heroe__vivo span{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---- Fotos en dos versiones (13/10/2026). Las tarjetas y el retrato SIGUEN EN 4:5 en todas
   las pantallas (decisión del usuario, NO CAMBIAR la forma); solo cambia qué foto se carga. */
.tarj picture, .bio-foto picture{ position: absolute; inset: 0; display: block; }
.bio-foto{ position: relative; }
.tarj picture img, .bio-foto picture img{ width: 100%; height: 100%; object-fit: cover; }

/* ---- Redes sociales como símbolos (13/10/2026) */
.redes a.red-ic, .menu-movil__redes a.red-ic{ width: 44px; height: 44px; padding: 0; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--linea-2); color: var(--txt-1); background: transparent; transition: color .2s, border-color .2s, background .2s, transform .2s; }
.redes a.red-ic:hover, .menu-movil__redes a.red-ic:hover{ color: var(--sobre-ambar, #fff); background: var(--ambar); border-color: var(--ambar); transform: translateY(-2px); }
.menu-movil__redes{ gap: 10px; }

/* ---- Instagram y WhatsApp en la cabecera (13/10/2026): solo el símbolo, discreto */
.cab__redes{ display: flex; align-items: center; gap: 2px; margin-right: 4px; }
.cab__redes a.red-ic{ width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%;
  color: var(--txt-0); opacity: .85; transition: opacity .2s, color .2s, background .2s; }
.cab__redes a.red-ic:hover{ opacity: 1; color: var(--ambar-txt, var(--ambar)); background: color-mix(in srgb, var(--txt-0) 8%, transparent); }
body.con-portada .cab:not(.solida) .cab__redes a.red-ic{ color: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,.45)); }
@media (max-width: 640px){
  .cab__redes{ gap: 0; margin-right: 0; }
  .cab__redes a.red-ic{ width: 36px; height: 36px; }
  .cab__redes svg{ width: 21px; height: 21px; }
}

/* ---- Encabezado de Sesiones y Concursos con foto, en computadora (13/10/2026): más alto para
   que la foto HORIZONTAL se vea casi entera (antes era una franja de ~2,8:1 y la recortaba tanto
   que parecía la vertical). El teléfono no cambia. */
@media (min-width: 641px){
  .heroe--chico.heroe--foto{ min-height: clamp(460px, 56vw, 86vh); padding-bottom: 64px; }
  .heroe--chico.heroe--foto::before{ background-position: center 35%; }
}

/* "Reservar una sesión" no se muestra en smartphone (14/10/2026, pedido del usuario).
   Si hay un concurso en vivo, el botón "Ver fotos del concurso en vivo" sí se muestra. */
@media (max-width: 640px){
  .heroe__ctas .heroe__reservar{ display:none; }
}

/* Secciones de texto de la biblioteca de Presupuestos (14/10/2026) */
.sx .envol{ max-width:920px; text-align:center; }
.sx-lista{ list-style:none; margin:18px auto 0; padding:0; max-width:560px; text-align:left; }
.sx-lista li{ position:relative; padding:6px 0 6px 30px; color:var(--txt-1); }
.sx-lista li::before{ content:""; position:absolute; left:4px; top:18px; width:16px; height:1px; background:var(--txt-2); }
.sx-lista--puntos li::before{ width:7px; height:7px; border-radius:50%; background:var(--ambar); top:15px; }
.sx-lista li span{ color:var(--txt-2); }
.sx-tarjetas{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:16px; margin-top:22px; text-align:left; }
.sx-tarj{ background:var(--bg-card); border:1px solid var(--linea); border-left:3px solid var(--ambar); border-radius:12px; padding:18px 20px; }
.sx-tarj b{ display:block; color:var(--ambar); font-weight:600; margin-bottom:6px; } .sx-tarj p{ margin:0; color:var(--txt-1); }
.sx-pasos{ list-style:none; margin:24px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:22px; }
.sx-pasos i{ display:block; font:400 40px/1 var(--fuente-tit); color:var(--ambar); font-style:normal; margin-bottom:8px; }
.sx-pasos b{ display:block; font-weight:600; } .sx-pasos p{ margin:4px 0 0; color:var(--txt-1); }
.sx-datos{ display:grid; grid-template-columns:auto 1fr; gap:10px 22px; max-width:640px; margin:20px auto 0; text-align:left; }
.sx-datos dt{ color:var(--ambar); font-weight:600; } .sx-datos dd{ margin:0; color:var(--txt-1); }
.sx-texto{ max-width:680px; margin:16px auto 0; color:var(--txt-1); }
/* foto de una sección de la biblioteca de presupuestos (15/10/2026) */
.sx-foto{ max-width:520px; margin:28px auto 0; aspect-ratio:4/5; overflow:hidden; border-radius:12px; background:var(--bg-card); }
.sx-foto img{ width:100%; height:100%; object-fit:cover; display:block; }
.sx-epi{ margin:10px 0 0; text-align:center; color:var(--txt-2); font-size:14px; }

/* ------------------------------------------------------------ PORTFOLIO EN CARRUSEL (15/10/2026)
   Una foto a la vez que cambia sola; al tocarla se abre el visor con todas. */
.pcar{ position:relative; max-width:900px; margin:0 auto; }
.pcar__esc{ position:relative; display:block; width:100%; height:clamp(380px, 72vh, 760px); padding:0; border:0; border-radius:18px;
  overflow:hidden; cursor:zoom-in; background:var(--bg-2); box-shadow:0 8px 24px rgba(0,0,0,.3); }
.pcar__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .9s ease; }
.pcar__img.on{ opacity:1; }
.pcar__f{ position:absolute; top:calc(50% - 26px); transform:translateY(-50%); width:46px; height:46px; border-radius:50%;
  border:1px solid var(--linea-2); background:rgba(10,10,13,.55); color:#fff; font-size:24px; line-height:1; cursor:pointer;
  display:grid; place-items:center; backdrop-filter:blur(6px); transition:background .2s; }
.pcar__f:hover{ background:rgba(10,10,13,.8); }
.pcar__f--i{ left:12px; } .pcar__f--d{ right:12px; }
.pcar__pie{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:12px; }
.pcar__n{ color:var(--txt-2); font-size:13px; font-variant-numeric:tabular-nums; }
.pcar__ver{ border:1px solid var(--linea-2); background:transparent; color:var(--txt-0); border-radius:999px; padding:9px 16px;
  font:inherit; font-size:14px; cursor:pointer; transition:border-color .2s, color .2s; }
.pcar__ver:hover{ border-color:var(--ambar); color:var(--ambar); }
@media (max-width:640px){
  .pcar__esc{ height:min(118vw, 72vh); border-radius:14px; }
  .pcar__f{ width:38px; height:38px; font-size:20px; }
}
.lb__n{ position:absolute; bottom:22px; left:50%; transform:translateX(-50%); color:#fff; opacity:.75; font-size:14px; font-variant-numeric:tabular-nums; }
/* fondo: la misma foto desenfocada (las verticales no dejan franjas vacías) */
.pcar__esc::before{ content:""; position:absolute; inset:-40px; background:var(--pc-bg) center/cover no-repeat; filter:blur(28px) brightness(.4) saturate(1.1); transition:background-image .9s; }
