/* ═══════════════════════════════════════════
   SECTIONS — Estilos específicos por sección
   TFAR Web · tfarafaela.ar
═══════════════════════════════════════════ */

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
nav.sc {
  background: rgba(242, 240, 236, .94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--bg-2);
}
.nlogo { display: flex; align-items: center; gap: 12px; cursor: none; }
.nlogo-svg { width: 44px; height: 44px; flex-shrink: 0; }
.nlogo-t { border-left: 1.5px solid var(--oro); padding-left: 12px; }
.nlogo-s {
  font-family: var(--ff); font-size: .62rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase; color: var(--oro-armas-d); margin-bottom: 1px;
}
.nlogo-n {
  font-family: var(--ff); font-size: 1.1rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--azul); line-height: 1;
}
.nlinks { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nlinks a {
  font-family: var(--ff); font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--txt-2);
  position: relative; padding-bottom: 3px; transition: color .2s; cursor: none;
}
.nlinks a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--oro); transition: width .28s;
}
.nlinks a:hover { color: var(--azul); }
.nlinks a:hover::after { width: 100%; }
.ncta {
  font-family: var(--ff); font-size: .65rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  padding: .55rem 1.4rem; background: var(--azul); color: #fff;
  transition: background .22s; cursor: none;
}
.ncta:hover { background: var(--azul-m); }
.nburg { display: none; flex-direction: column; gap: 5px; cursor: none; }
.nburg span { display: block; width: 22px; height: 1.5px; background: var(--azul); transition: all .3s; }
.nov {
  display: none; position: fixed; inset: 0;
  background: rgba(242,240,236,.98); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.nov.open { display: flex; }
.nov a {
  font-family: var(--ff); font-size: 2rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; color: var(--txt-2); transition: color .2s; cursor: none;
}
.nov a:hover { color: var(--azul); }
.nclose { position: absolute; top: 1.5rem; right: var(--pad); background: none; border: none; font-size: 1.5rem; color: var(--txt-3); cursor: none; }

/* ── HERO ── */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
  background: linear-gradient(155deg, #0D1B2E 0%, var(--azul) 50%, #1E3A5F 100%);
}
#hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.hgrid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,168,75,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,75,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 72%, transparent 100%);
}
.hdiana {
  position: absolute; right: -4%; top: 50%;
  transform: translateY(-50%);
  width: min(680px, 90vw); height: min(680px, 90vw);
  opacity: .055; animation: spin 100s linear infinite;
}
.hghost {
  position: absolute; right: var(--pad); top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--ff); font-size: clamp(5rem, 12vw, 9rem); font-weight: 900;
  color: rgba(200,168,75,.07); white-space: nowrap; pointer-events: none; user-select: none;
}
.hero-filo {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, transparent 0%, var(--oro) 30%, var(--oro) 70%, transparent 100%);
}
.hcont {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); width: 100%;
}
.htag {
  display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem;
  opacity: 0; animation: fup .7s .3s forwards;
}
.htag-l { width: 2rem; height: 1px; background: var(--oro); opacity: .7; }
.htag-t { font-family: var(--ff); font-size: .74rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--oro); opacity: .8; }
.hh1 {
  font-family: var(--ff); font-weight: 900;
  font-size: clamp(2.8rem, 9.5vw, 9rem);
  text-transform: uppercase; letter-spacing: -.01em; line-height: .9;
  color: #fff; opacity: 0; animation: fup .8s .5s forwards;
}
.hh1 .li { font-weight: 300; color: rgba(255,255,255,.45); font-size: .6em; letter-spacing: .04em; display: block; }
.hh1 .do { color: var(--oro); }
.hsub {
  margin-top: 1.5rem; max-width: 500px;
  font-family: var(--ffs); font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.7;
  color: rgba(255,255,255,.5);
  opacity: 0; animation: fup .8s .7s forwards;
}
.hbtns {
  margin-top: 2.5rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  opacity: 0; animation: fup .8s .9s forwards;
}
.hbadges {
  position: absolute; bottom: clamp(4rem, 7vw, 6.5rem); right: var(--pad);
  display: flex; flex-direction: column; gap: .5rem;
  opacity: 0; animation: fleft .7s 1.1s forwards;
}
.hst { padding: 1.1rem 1.5rem; text-align: center; border-right: 1px solid rgba(200,168,75,.1); }
.hst:last-child { border-right: none; }
.hst-n { font-family: var(--ff); font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 900; color: #fff; line-height: 1; }
.hst-n em { color: var(--oro); font-style: normal; }
.hst-l { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: .25rem; }

/* ── HISTORIA ── */
#historia { padding: clamp(5rem,10vw,9rem) 0; background: var(--bg-0); }
.hv { position: relative; }
.hfoto {
  aspect-ratio: 4/5; overflow: hidden;
  background: linear-gradient(135deg, var(--azul) 0%, #0D1B2E 100%);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hfoto-deco { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .07; }
.hfoto-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .75rem; padding: 2rem;
}
.hfoto-ph svg { opacity: .18; }
.hfoto-ph span { font-family: var(--ff); font-size: .52rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.22); text-align: center; }
.htag2 { position: absolute; bottom: -1px; right: -1px; background: var(--oro); padding: 1rem 1.4rem; }
.htag2-n { font-family: var(--ff); font-size: 2.4rem; font-weight: 900; color: var(--azul); line-height: 1; }
.htag2-l { font-family: var(--ff); font-size: .5rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: rgba(26,46,74,.6); }
.hborde { position: absolute; left: -1px; top: 15%; bottom: 15%; width: 3px; background: linear-gradient(to bottom, transparent, var(--oro), transparent); }
.htxt h2 {
  font-family: var(--ff); font-size: clamp(2.2rem,4.5vw,3.8rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em; line-height: .92;
  color: var(--azul); margin-bottom: 1.5rem;
}
.htxt p { font-size: 1rem; line-height: 1.85; color: var(--txt-2); margin-bottom: .9rem; }
.htxt strong { color: var(--txt); font-weight: 600; }
.hcita { margin: 1.75rem 0; padding: 1.4rem 1.6rem; border-left: 3px solid var(--oro); background: var(--bg-1); }
.hcita p { font-family: var(--ffs); font-style: italic; font-size: 1.05rem; color: var(--txt); line-height: 1.65; margin: 0; }
.hcita cite { display: block; margin-top: .5rem; font-family: var(--ff); font-size: .58rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-armas-d); font-style: normal; }
.tlwrap { display: flex; flex-direction: column; margin-top: 1.5rem; }
.tl { display: grid; grid-template-columns: 3.5rem 1fr; gap: .9rem; position: relative; padding-bottom: 1.1rem; }
.tl:not(:last-child)::after { content: ''; position: absolute; left: 1.65rem; top: 1.2rem; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--bg-2), transparent); }
.tl-a { font-family: var(--ff); font-size: .85rem; font-weight: 800; color: var(--oro-armas-d); text-align: right; padding-top: .1rem; }
.tl-t { font-size: .92rem; color: var(--txt-2); line-height: 1.6; }
.tl-t strong { color: var(--txt); }

/* ── DISCIPLINAS ── */
#disciplinas { padding: clamp(5rem,10vw,9rem) 0; background: var(--bg-1); }
.dh { text-align: center; margin-bottom: clamp(3rem,6vw,5rem); }
.dh h2 { font-family: var(--ff); font-size: clamp(2.5rem,5vw,4rem); font-weight: 800; text-transform: uppercase; color: var(--azul); margin-top: .75rem; line-height: 1; }
.dc { padding: clamp(2.5rem,5vw,4rem); position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.dc:hover { z-index: 2; transform: scale(1.01); }
.dc-a { background: var(--bg-0); border-top: 3px solid var(--oro-armas); }
.dc-n { background: #EBF0F5; border-top: 3px solid var(--azul-claro); }
.dc-q { background: #EDE9E2; border-top: 3px solid var(--oro-arq); }
.dbg { position: absolute; inset: 0; opacity: .025; pointer-events: none; }
.dico { width: 54px; height: 54px; margin-bottom: 1.5rem; }
.dtag { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .85rem; font-family: var(--ff); font-size: .58rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.dc-a .dtag { color: var(--oro-armas-d); }
.dc-n .dtag { color: var(--azul-m); }
.dc-q .dtag { color: var(--oro-arq-d); }
.dc h3 { font-family: var(--ff); font-size: clamp(1.8rem,3.2vw,2.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1; color: var(--azul); margin-bottom: 1rem; }
.dc p { font-size: .96rem; line-height: 1.78; color: var(--txt-2); max-width: 400px; margin-bottom: 1.75rem; }
.dchips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.dc-a .chip { background: rgba(200,168,75,.1);  color: var(--oro-armas-d); border: 1px solid rgba(200,168,75,.3); }
.dc-n .chip { background: rgba(44,82,130,.08);  color: var(--azul-m);      border: 1px solid rgba(44,82,130,.2); }
.dc-q .chip { background: rgba(232,196,106,.15); color: var(--oro-arq-d);  border: 1px solid rgba(232,196,106,.4); }
.dlink { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding-bottom: 2px; border-bottom: 1.5px solid; transition: gap .2s; cursor: none; }
.dc-a .dlink { color: var(--azul); border-color: var(--oro-armas); }
.dc-a .dlink:hover { gap: .9rem; }
.dc-n .dlink { color: var(--azul); border-color: var(--azul-claro); }
.dc-n .dlink:hover { gap: .9rem; }
.dc-q .dlink { color: var(--azul); border-color: var(--oro-arq); }
.dc-q .dlink:hover { gap: .9rem; }
.dlink svg { width: 14px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* ── GALERÍA ── */
#galeria { padding: clamp(5rem,10vw,9rem) 0; background: var(--azul); position: relative; overflow: hidden; }
.gbdiana { position: absolute; top: 50%; right: -10%; transform: translateY(-50%); width: 600px; height: 600px; opacity: .04; }
.gh { margin-bottom: 2.5rem; }
.gh h2 { font-family: var(--ff); font-size: clamp(2.2rem,4.5vw,3.5rem); font-weight: 800; text-transform: uppercase; color: #fff; margin-top: .5rem; }
.gh .eyebrow { color: var(--oro); opacity: .9; }
.mi { position: relative; overflow: hidden; cursor: none; }
.mi-lg { grid-row: 1/3; }
.mov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,18,32,.8) 0%, transparent 55%); transition: opacity .3s; }
.mi:hover .mov { opacity: .5; }
.mcap { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.2rem; font-family: var(--ff); font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); opacity: 0; transform: translateY(4px); transition: all .3s; }
.mi:hover .mcap { opacity: 1; transform: translateY(0); }
.mph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1rem; }
.mph svg { opacity: .18; }
.mph span { font-family: var(--ff); font-size: .5rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.2); text-align: center; }
.galeria-rule { height: 2px; background: linear-gradient(to right, transparent, var(--oro), transparent); margin: 2px 0; opacity: .3; }
.ri { flex: 0 0 200px; height: 140px; position: relative; overflow: hidden; cursor: none; transition: transform .3s; }
.ri:hover { transform: scale(1.04); z-index: 2; }
.gnota { margin-top: 1.25rem; text-align: center; font-family: var(--ff); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.2); }

/* ── CIFRAS ── */
#cifras { padding: clamp(3.5rem,7vw,6rem) 0; background: var(--oro); position: relative; overflow: hidden; }
.cpat {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,46,74,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,46,74,.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cif { padding: 2.5rem 2rem; text-align: center; border-right: 1px solid rgba(26,46,74,.12); }
.cif:last-child { border-right: none; }
.cn { font-family: var(--ff); font-size: clamp(2.5rem,4.5vw,4rem); font-weight: 900; color: var(--azul); line-height: 1; }
.cn em { color: rgba(26,46,74,.5); font-style: normal; }
.cl { font-family: var(--ff); font-size: .62rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: rgba(26,46,74,.6); margin-top: .5rem; }
.cs { font-size: .72rem; color: rgba(26,46,74,.45); margin-top: .2rem; }

/* ── TORNEOS ── */
#torneos { padding: clamp(5rem,10vw,9rem) 0; background: var(--bg-0); }
.tnh { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.tnh h2 { font-family: var(--ff); font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 800; text-transform: uppercase; color: var(--azul); margin-top: .5rem; }
.tlista { display: flex; flex-direction: column; gap: 1.5px; }
.tnota { margin-top: 1.5rem; padding: 1rem 1.6rem; background: var(--bg-1); border-left: 3px solid var(--bg-2); font-size: .8rem; color: var(--txt-3); line-height: 1.65; }

/* ── SUMATE ── */
#sumate { padding: clamp(5rem,10vw,9rem) 0; background: var(--bg-1); }
.st h2 { font-family: var(--ff); font-size: clamp(2.5rem,5vw,4rem); font-weight: 900; text-transform: uppercase; line-height: .92; color: var(--azul); margin-bottom: 1.25rem; }
.st h2 .dest { display: block; color: var(--oro-armas-d); }
.st p { font-size: .92rem; line-height: 1.85; color: var(--txt-2); margin-bottom: 2rem; max-width: 440px; }
.reqs { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2.5rem; }
.req { display: flex; align-items: flex-start; gap: .75rem; font-size: .85rem; color: var(--txt-2); }
.rdot { width: 6px; height: 6px; border-radius: 50%; background: var(--oro); flex-shrink: 0; margin-top: .35rem; }
.pasos { display: flex; flex-direction: column; gap: 1.5px; }

/* ── CONTACTO ── */
#contacto { padding: clamp(5rem,10vw,9rem) 0; background: var(--bg-0); }
.ci h2 { font-family: var(--ff); font-size: clamp(2.2rem,4vw,3.3rem); font-weight: 800; text-transform: uppercase; color: var(--azul); line-height: .92; margin-bottom: 1.25rem; }
.ci h2 span { display: block; color: var(--oro-armas-d); }
.ci > p { font-size: .97rem; line-height: 1.8; color: var(--txt-2); margin-bottom: 2rem; }
.datos { display: flex; flex-direction: column; gap: 1.1rem; }
.dato { display: flex; align-items: flex-start; gap: 1rem; }
.dico2 { width: 34px; height: 34px; flex-shrink: 0; background: rgba(200,168,75,.1); border: 1px solid rgba(200,168,75,.3); display: flex; align-items: center; justify-content: center; }
.dico2 svg { width: 14px; height: 14px; fill: var(--oro-armas-d); }
.dl { font-family: var(--ff); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--txt-3); margin-bottom: .2rem; }
.dv { font-size: .95rem; color: var(--txt); line-height: 1.45; }
.dv .m { color: var(--txt-3); font-size: .85rem; }
.hors { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; margin-top: 2rem; background: var(--bg-2); border: 1.5px solid var(--bg-2); }
.hor { background: var(--bg-0); padding: 1.1rem 1.4rem; }
.hd { font-family: var(--ff); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--oro-armas-d); margin-bottom: .3rem; }
.hh { font-size: .92rem; color: var(--txt-2); }
.mapa { margin-top: 1.5rem; height: 180px; background: var(--bg-1); border: 1.5px solid var(--bg-2); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.mpin { text-align: center; position: relative; }
.mpin-d { width: 10px; height: 10px; border-radius: 50%; background: var(--oro); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--oro); margin: 0 auto; }
.mpin-p { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(200,168,75,.4); animation: mp 2s infinite; }
.mxt { margin-top: .75rem; font-family: var(--ff); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--txt-3); }
.cf { background: var(--bg-1); border: 1.5px solid var(--bg-2); padding: 2.5rem; }
.ftit { font-family: var(--ff); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--azul); margin-bottom: 2rem; }

/* ── FOOTER ── */
footer { background: var(--azul); border-top: 3px solid var(--oro); padding: 3.5rem var(--pad) 2rem; }
.flogo { margin-bottom: 1rem; }
.ftagline { font-family: var(--ffs); font-style: italic; font-size: .95rem; color: rgba(255,255,255,.4); line-height: 1.5; margin-bottom: .75rem; }
.fest { font-size: .7rem; color: rgba(255,255,255,.22); }
.fredes { display: flex; gap: .6rem; margin-top: 1.25rem; }
.fred { width: 32px; height: 32px; border: 1px solid rgba(200,168,75,.2); display: flex; align-items: center; justify-content: center; cursor: none; transition: border-color .2s, background .2s; }
.fred:hover { border-color: var(--oro); background: rgba(200,168,75,.12); }
.fred svg { width: 13px; height: 13px; fill: none; stroke: rgba(255,255,255,.4); stroke-width: 1.8; }
.fcol h4 { font-family: var(--ff); font-size: .6rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--oro); margin-bottom: 1.2rem; opacity: .9; }
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.fcol ul li a { font-size: .8rem; color: rgba(255,255,255,.38); transition: color .2s; cursor: none; }
.fcol ul li a:hover { color: rgba(255,255,255,.9); }
.fcopy { font-size: .7rem; color: rgba(255,255,255,.2); }
.fley { font-size: .68rem; color: rgba(255,255,255,.17); text-align: right; line-height: 1.5; }

/* ── ROMITELLI ── */
#romitelli { padding: clamp(5rem,10vw,9rem) 0; background: var(--azul); position: relative; overflow: hidden; }
.rom-diana { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 560px; height: 560px; opacity: .04; pointer-events: none; }
.rw { display: grid; grid-template-columns: 1fr 300px; gap: clamp(3rem,6vw,6rem); align-items: start; }
.rt .eyebrow { color: var(--oro); opacity: .9; }
.rt h2 {
  font-family: var(--ff); font-size: clamp(3rem,6vw,5.5rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: .02em; line-height: .9;
  color: #fff; margin: .6rem 0 0;
}
.rt h2 em { display: block; font-style: normal; color: var(--oro); font-size: .55em; font-weight: 700; letter-spacing: .12em; margin-bottom: .15em; }
.rt > p { font-size: .9rem; line-height: 1.82; color: rgba(255,255,255,.5); margin-top: 1.5rem; margin-bottom: .8rem; }
.rlogros { display: flex; gap: 1.5px; margin: 2rem 0 1.75rem; }
.rlogro { flex: 1; padding: 1.3rem 1.1rem; background: rgba(200,168,75,.08); border-left: 2px solid var(--oro); }
.rlogro-n { font-family: var(--ff); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 900; color: var(--oro); line-height: 1; }
.rlogro-l { font-family: var(--ff); font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: .3rem; }
.rlogro-s { font-size: .7rem; color: rgba(255,255,255,.3); margin-top: .1rem; }
.ripsc {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: .5rem;
  padding: .55rem 1.1rem; border: 1px solid rgba(200,168,75,.25);
  font-family: var(--ff); font-size: .6rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(200,168,75,.7);
}
.rfoto { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--azul-m); }
.rfoto img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.rfoto-cap {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.2rem;
  background: linear-gradient(to top, rgba(10,18,32,.85) 0%, transparent 100%);
  font-family: var(--ff); font-size: .58rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6);
}

/* ── SUBPÁGINAS DISCIPLINAS ── */
.disc-hero {
  min-height: 55vh; position: relative; display: flex; align-items: flex-end;
  padding-top: 120px; padding-bottom: clamp(3.5rem,7vw,6rem);
  overflow: hidden;
}
.disc-hero-a { background: linear-gradient(155deg, #0D1B2E 0%, var(--azul) 55%, #1E3A5F 100%); }
.disc-hero-n { background: linear-gradient(155deg, #0D1B2E 0%, #1A2E4A 45%, #1C3560 100%); }
.disc-hero-q { background: linear-gradient(155deg, #0D1B2E 0%, #1A2E4A 45%, #2C3020 100%); }
.disc-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.disc-hero-cont { position: relative; z-index: 2; }
.disc-hero-tag { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.disc-hero-tag span { font-family: var(--ff); font-size: .58rem; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; color: var(--oro); opacity: .8; }
.disc-hero-tag-l { width: 1.8rem; height: 1px; background: var(--oro); opacity: .6; }
.disc-h1 { font-family: var(--ff); font-weight: 900; font-size: clamp(3rem,7vw,6.5rem); text-transform: uppercase; letter-spacing: -.01em; line-height: .9; color: #fff; }
.disc-h1 em { display: block; font-style: normal; color: rgba(255,255,255,.4); font-size: .5em; font-weight: 300; letter-spacing: .04em; }
.disc-sub { margin-top: 1.2rem; max-width: 480px; font-family: var(--ffs); font-style: italic; font-size: clamp(.95rem,1.8vw,1.15rem); line-height: 1.7; color: rgba(255,255,255,.5); }
.disc-section { padding: clamp(4rem,8vw,7rem) 0; }
.disc-section-alt { background: var(--bg-1); }
.disc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,5vw,5rem); align-items: start; }
.disc-mod { padding: 1.6rem 1.8rem; background: var(--bg-0); border-left: 3px solid var(--oro); margin-bottom: 1.5px; }
.disc-mod-n { font-family: var(--ff); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--azul); margin-bottom: .4rem; }
.disc-mod-d { font-size: .83rem; color: var(--txt-2); line-height: 1.6; }
.disc-mod-n-blue { border-color: var(--azul-claro); }
.disc-req { display: flex; flex-direction: column; gap: 1rem; }
.disc-req-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--bg-0); border: 1.5px solid var(--bg-2); }
.disc-req-ico { width: 32px; height: 32px; flex-shrink: 0; background: rgba(200,168,75,.1); border: 1px solid rgba(200,168,75,.25); display: flex; align-items: center; justify-content: center; font-family: var(--ff); font-size: 1.1rem; font-weight: 900; color: var(--oro-armas-d); }
.disc-req-t { font-family: var(--ff); font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--azul); margin-bottom: .2rem; }
.disc-req-d { font-size: .8rem; color: var(--txt-2); line-height: 1.55; }
.disc-cta { background: var(--azul); padding: clamp(3.5rem,7vw,6rem) 0; }
.disc-cta h2 { font-family: var(--ff); font-size: clamp(2rem,4vw,3.2rem); font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.disc-cta p { font-size: .9rem; color: rgba(255,255,255,.45); line-height: 1.75; max-width: 480px; margin-bottom: 2rem; }
.disc-back { font-family: var(--ff); font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: 1.2rem; display: block; }
.disc-back:hover { color: var(--oro); }
@media (max-width: 960px) {
  .disc-grid2 { grid-template-columns: 1fr; }
}

/* ── LIGHTBOX ── */
#lb {
  display: none; position: fixed; inset: 0; z-index: 10000;
  align-items: center; justify-content: center;
}
#lb.open { display: flex; }
.lb-bg {
  position: absolute; inset: 0;
  background: rgba(10,18,32,.96);
  cursor: pointer;
}
.lb-wrap {
  position: relative; z-index: 1;
  max-width: min(90vw, 1000px);
  display: flex; flex-direction: column; align-items: center;
}
.lb-img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  filter: sepia(20%) contrast(1.05);
}
.lb-cap {
  margin-top: .9rem;
  font-family: var(--ff); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45); text-align: center;
}
.lb-count {
  margin-top: .4rem;
  font-family: var(--ff); font-size: .65rem;
  color: rgba(255,255,255,.25); letter-spacing: .1em;
}
.lb-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  background: rgba(200,168,75,.15); border: 1px solid rgba(200,168,75,.3);
  color: rgba(255,255,255,.7); font-size: 1.2rem;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s; z-index: 2;
}
.lb-close:hover { background: rgba(200,168,75,.3); color: #fff; }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(200,168,75,.1); border: 1px solid rgba(200,168,75,.25);
  color: rgba(255,255,255,.7); font-size: 2rem; line-height: 1;
  width: 48px; height: 64px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s; z-index: 2;
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:hover, .lb-next:hover { background: rgba(200,168,75,.25); color: #fff; }
.mi, .ri { cursor: pointer; }
@media (max-width: 560px) {
  .lb-prev { left: .25rem; }
  .lb-next { right: .25rem; }
}
