/* ===================================================================
   TRAMA D'ARTE — PORTFOLIO
   Hoja de estilos compartida. Mantiene la identidad visual del sitio
   principal (tramadarte.com.ar): navy oscuro, acentos celestes,
   Cormorant Garamond + Montserrat.
   =================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #5a9fd4;
  --gold-light: #85bde8;
  --cream: #ddeaf8;
  --dark: #000d1a;
  --dark-2: #001228;
  --dark-3: #001f3f;
  --text-muted: rgba(221, 234, 248, 0.55);

  /* Acentos de color para los "blobs" de fotos, inspirados en el portfolio */
  --blob-1: #c94b8b;   /* rosa/magenta */
  --blob-2: #7c5cff;   /* violeta */
  --blob-3: #e08a3c;   /* naranja/coral */
  --blob-4: #3ca options8c; /* placeholder invalid, overridden below */

  --nav-height: 76px;
  --radius-blob: 63% 37% 54% 46% / 55% 45% 55% 45%;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--dark);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* Fondo con textura sutil (igual que el sitio principal) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,31,63,0.7) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(90,159,212,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90,159,212,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
}

/* ===================== NAV ===================== */

.pnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 32px;
  background: rgba(0, 13, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(90,159,212,0.15);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.pnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.pnav-brand img {
  height: 34px;
  width: auto;
}

.pnav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.pnav-links a {
  display: inline-block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 2px;
  position: relative;
  transition: color 0.3s ease;
}

.pnav-links a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.pnav-links a:hover,
.pnav-links a.active {
  color: var(--cream);
}

.pnav-links a:hover::after,
.pnav-links a.active::after {
  transform: scaleX(1);
}

.pnav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.pnav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.pnav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pnav-toggle.open span:nth-child(2) { opacity: 0; }
.pnav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .pnav-toggle { display: flex; }

  .pnav-links {
    position: fixed;
    inset: 0 0 0 auto;
    top: var(--nav-height);
    width: 78%;
    max-width: 320px;
    height: calc(100vh - var(--nav-height));
    background: rgba(0, 13, 26, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    border-left: 1px solid rgba(90,159,212,0.15);
    overflow-y: auto;
  }

  .pnav-links.open {
    transform: translateX(0);
  }

  .pnav-links a {
    width: 100%;
    padding: 16px 8px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(90,159,212,0.08);
  }
}

/* ===================== HERO ===================== */

.phero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
}

.phero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 1s ease 0.1s forwards;
}

.phero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title-image {
  display: block;
  width: min(700px, 90vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto 18px;
}

.phero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.header-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.divider-line.right {
  background: linear-gradient(to left, transparent, var(--gold));
}

.divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.phero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.phero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 44px;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

/* ===================== BOTONES ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(90,159,212,0.4);
  background: var(--dark);
  color: var(--cream);
}

.btn-outline:hover,
.btn-outline:focus-visible,
.btn-outline.active {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--dark);
  transform: translateY(-2px);
}

.arrow-line {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.arrow-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ===================== SECCIONES GENERALES ===================== */

.section {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 28px;
}

.section-tight {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 70px;
}

.section-head.align-left {
  text-align: left;
  margin: 0 0 60px;
}

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.section-sub {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
}

.page-header {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 70px) 28px 60px;
  text-align: center;
}

.page-header .eyebrow { justify-content: center; display: block; }

/* ===================== PRODUCCIONES (lista alternada) ===================== */

.productions {
  display: flex;
  flex-direction: column;
  gap: 110px;
}

.production-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.production-row.in-view {
  opacity: 1;
  transform: translateY(0);
}

.production-row.reverse .p-media { order: 2; }
.production-row.reverse .p-copy { order: 1; }

.p-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.p-media .blob-glow {
  position: absolute;
  inset: -20%;
  filter: blur(50px);
  opacity: 0.55;
  z-index: 0;
  border-radius: 50%;
}

.p-media .blob-photo {
  position: relative;
  z-index: 1;
  width: 78%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-blob);
  background-size: cover;
  background-position: center;
  background-color: rgba(90,159,212,0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.p-media .blob-photo .ph-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(221,234,248,0.35);
  text-align: center;
  padding: 20px;
}

.p-media .blob-photo .ph-empty svg { width: 34px; height: 34px; opacity: 0.6; }
.p-media .blob-photo .ph-empty span { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5; }

.p-copy .p-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  text-decoration: underline;
  text-decoration-color: rgba(90,159,212,0.4);
  text-underline-offset: 8px;
  margin-bottom: 6px;
  transition: text-decoration-color 0.3s ease;
}

.p-copy a.p-title-link {
  text-decoration: none;
  display: inline-block;
}

.p-copy a.p-title-link:hover .p-title {
  text-decoration-color: var(--gold);
}

.p-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  display: block;
}

.p-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 460px;
}

.p-date {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 22px;
}

.p-date span { color: var(--text-muted); font-weight: 300; }

@media (max-width: 820px) {
  .production-row,
  .production-row.reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .production-row .p-media { order: 1 !important; }
  .production-row .p-copy { order: 2 !important; text-align: center; }
  .p-copy .p-desc, .p-copy .p-date { margin-left: auto; margin-right: auto; }
  .p-media .blob-photo { width: 68%; }
}

/* Colores rotativos de blobs */
.production-row:nth-child(4n+1) .blob-glow { background: radial-gradient(circle, var(--blob-1), transparent 70%); }
.production-row:nth-child(4n+2) .blob-glow { background: radial-gradient(circle, var(--blob-2), transparent 70%); }
.production-row:nth-child(4n+3) .blob-glow { background: radial-gradient(circle, var(--blob-3), transparent 70%); }
.production-row:nth-child(4n+4) .blob-glow { background: radial-gradient(circle, #2f9e83, transparent 70%); }

/* ===================== TARJETAS (grid genérico) ===================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.info-card {
  position: relative;
  border: 1px solid rgba(90,159,212,0.2);
  background: rgba(0,19,38,0.75);
  border-radius: 3px;
  padding: 34px 28px;
  transition: border-color 0.35s ease, transform 0.35s ease, background 0.35s ease;
}

.info-card:hover {
  border-color: rgba(90,159,212,0.6);
  background: rgba(0,31,63,0.9);
  transform: translateY(-4px);
}

.info-card .card-cover {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  background-color: rgba(90,159,212,0.08);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.info-card .card-cover .ph-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(221,234,248,0.3);
}
.info-card .card-cover .ph-empty svg { width: 28px; height: 28px; opacity: 0.6; }
.info-card .card-cover .ph-empty span { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; }

.info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.info-card .card-meta {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.info-card p.card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 300;
}

/* ===================== GALERÍA / LIGHTBOX ===================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  background-color: rgba(90,159,212,0.06);
  border: 1px solid rgba(90,159,212,0.12);
}

.gallery-item img,
.gallery-item .gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  background-size: cover;
  background-position: center;
}

.gallery-item:hover img,
.gallery-item:hover .gallery-photo {
  transform: scale(1.06);
}

.gallery-item .ph-empty {
  display: none;
}

.gallery-item .gallery-video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(0, 13, 26, 0.82);
  border: 1px solid rgba(90,159,212,0.3);
  color: var(--cream);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,7,15,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(92vw, 1100px);
  max-height: 85vh;
}

.lightbox-stage img,
.lightbox-stage video {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  object-fit: contain;
}

.lightbox-stage video {
  width: min(92vw, 960px);
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 30px;
  font-size: 1.6rem;
  color: var(--cream);
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 16px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ===================== POSTER / PROGRAMA ===================== */

.poster-panel {
  border: 1px solid rgba(90,159,212,0.25);
  background: rgba(0,19,38,0.7);
  border-radius: 4px;
  padding: 22px;
  text-align: center;
}

.poster-panel .poster-link {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(90,159,212,0.4);
  padding-bottom: 3px;
  margin-bottom: 18px;
  transition: border-color 0.3s ease;
}

.poster-panel .poster-link:hover { border-color: var(--gold); }

.poster-panel .poster-frame {
  width: 100%;
  aspect-ratio: 3/4.2;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  background-color: rgba(90,159,212,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.poster-panel .poster-frame .ph-empty {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  color: rgba(221,234,248,0.3);
  padding: 20px;
  text-align: center;
}
.poster-panel .poster-frame .ph-empty svg { width: 30px; height: 30px; opacity: 0.6; }
.poster-panel .poster-frame .ph-empty span { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5; }

.poster-meta {
  font-size: 0.8rem;
  line-height: 1.7;
}

.poster-meta strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  font-weight: 400;
  margin-bottom: 2px;
}

/* ===================== FICHA TÉCNICA ===================== */

.credits {
  margin-top: 60px;
  border-top: 1px solid rgba(90,159,212,0.15);
  padding-top: 50px;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.credit-item .credit-role {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.credit-item .credit-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--cream);
}

/* ===================== VIDEO ===================== */

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0,19,38,0.85);
  border: 1px solid rgba(90,159,212,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-frame .ph-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(221,234,248,0.35);
  text-align: center;
  padding: 20px;
}
.video-frame .ph-empty svg { width: 40px; height: 40px; opacity: 0.6; }
.video-frame .ph-empty span { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.6; }

/* ===================== EQUIPO ===================== */

.about-intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.team-grid,
.director-grid,
.cast-grid {
  display: grid;
  gap: 34px;
}

.opera-section-list {
  display: grid;
  gap: 24px;
}

.opera-group {
  padding: 24px;
  border: 1px solid rgba(90,159,212,0.18);
  border-radius: 18px;
  background: rgba(0, 13, 26, 0.35);
  backdrop-filter: blur(6px);
}

.opera-group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin-bottom: 18px;
  color: var(--cream);
}

.opera-artists {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.opera-artists .team-card {
  flex: 0 1 210px;
  max-width: 240px;
}

.opera-artists .row-break {
  flex-basis: 100%;
  height: 0;
}

.team-grid,
.cast-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.director-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
  text-align: center;
}

.team-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background-size: cover;
  background-position: center;
  background-color: rgba(90,159,212,0.08);
  border: 1px solid rgba(90,159,212,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.director-grid .team-photo {
  width: 170px;
  height: 170px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-shell {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.profile-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(90,159,212,0.25);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin-bottom: 16px;
}

.profile-copy p {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.95;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1.4rem;
  white-space: pre-line;
}

.profile-copy p + p {
  margin-top: 1.4rem;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.profile-list li {
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}

.profile-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-light);
}

.team-photo .ph-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(221,234,248,0.3);
}
.team-photo .ph-empty svg { width: 26px; height: 26px; opacity: 0.6; }
.team-photo .ph-empty span { font-size: 0.5rem; letter-spacing: 0.08em; text-transform: uppercase; }

.team-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
  line-height: 1.2;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ===================== TIMELINE (trayectoria) ===================== */

.timeline {
  position: relative;
  margin-top: 20px;
  padding-left: 34px;
  border-left: 1px solid rgba(90,159,212,0.25);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(90,159,212,0.15);
}

.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.timeline-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  max-width: 560px;
}

/* ===================== CONTACTO ===================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .director-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-shell { grid-template-columns: 1fr; text-align: center; }
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--cream);
  padding: 16px;
  border: 1px solid rgba(90,159,212,0.15);
  border-radius: 3px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-item:hover {
  border-color: rgba(90,159,212,0.5);
  background: rgba(0,19,38,0.5);
}

.contact-item .ci-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold-light);
  margin-top: 2px;
}

.contact-item .ci-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.contact-item .ci-value {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-muted);
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(90,159,212,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--cream);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.social-row a:hover {
  border-color: var(--gold);
  background: rgba(90,159,212,0.1);
  transform: translateY(-3px);
}

.social-row svg { width: 18px; height: 18px; }

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(0,19,38,0.6);
  border: 1px solid rgba(90,159,212,0.25);
  border-radius: 2px;
  padding: 13px 14px;
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-field textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.map-frame {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(90,159,212,0.2);
  margin-top: 40px;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ===================== FOOTER ===================== */

.pfooter {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(90,159,212,0.12);
  padding: 50px 28px 34px;
  text-align: center;
}

.pfooter-nav {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.pfooter-nav a {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pfooter-nav a:hover { color: var(--gold-light); }

.pfooter p {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,240,248,0.25);
}

.pfooter .pfooter-back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(90,159,212,0.35);
  padding-bottom: 2px;
}

/* ===================== UTILIDADES ===================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 30px;
  transition: gap 0.3s ease;
}

.back-link:hover { gap: 12px; }
.back-link .arrow-back { transform: scaleX(-1); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.badge-soon {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold-light);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}