/* =========================
   ORES · Observatorio
   ========================= */

:root{
  --vino:#7a5b66;
  --dorado:#c89b3d;
  --petroleo:#0f2a3a;
  --petroleo-2:#14374c;

  --ink:#0b1220;
  --muted:#5b6472;
  --humo:#f3f4f6;
  --white:#ffffff;

  --radius:22px;
  --shadow: 0 18px 44px rgba(0,0,0,.14);
  --shadow-soft: 0 12px 30px rgba(0,0,0,.10);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--white);
}

.container{ width:min(1100px,92%); margin:0 auto; }

.h2{
  margin:0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing:-0.02em;
  font-weight:800;
}
.h3{ margin:0 0 10px; font-size: 20px; font-weight:800; }
.h4{ margin:0 0 8px; font-size: 16px; font-weight:800; }
.p{ margin:0 0 12px; line-height:1.75; }
.p.small{ font-size: 14px; opacity:.95; }
.muted{ color:var(--muted); }

.section{ padding: 72px 0; }

/* ===== Header ===== */
.main-header{
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
  position:sticky;
  top:0;
  z-index:50;
}
.nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding:14px 0;
}
.logo-ores{ height:45px; width:auto; display:block; }

.main-nav a{
  text-decoration:none;
  color:#222;
  margin-left:14px;
  font-weight:700;
  padding:8px 14px;
  border-radius:999px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.main-nav a:hover{ transform: translateY(-1px); }
.main-nav a:hover,
.main-nav a.active{
  background: rgba(122,91,102,0.12);
  color: var(--vino);
}

/* =========================
   HERO
   ========================= */
.hero{
  position:relative;
  min-height: 72vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
  padding: 74px 0 90px;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(122,91,102,.55) 0%, rgba(15,42,58,.70) 55%, rgba(15,42,58,.82) 100%),
    url("../assets/images/fondo_a.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.02);
}

.hero-inner{
  position:relative;
  z-index:2;
  max-width: 920px;
}

.hero-kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  opacity:.95;
  padding: 10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.20);
  backdrop-filter: blur(6px);
}

.hero-title{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.06;
  letter-spacing:-0.03em;
  font-weight:800;
  text-shadow: 0 10px 26px rgba(0,0,0,.24);
}

.hero-lead{
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.75;
  max-width: 860px;
  opacity: .98;
}

.hero-text{
  margin: 0 0 10px;
  line-height: 1.75;
  max-width: 860px;
  opacity: .92;
}

.hero-down{
  margin-top: 26px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.22);
  color:#fff;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.hero-down:hover{
  transform: translateY(-2px);
  background: rgba(0,0,0,.30);
}

/* =========================
   Identidad
   ========================= */
.identity{ background: #fff; }
.identity-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items:start;
}
.pill-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 16px;
}
.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(15,42,58,.12);
  background: rgba(15,42,58,.04);
  color: rgba(15,42,58,.92);
  font-weight:800;
  font-size: 13px;
}

.identity-cards{ display:grid; gap: 14px; }
.card{
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,.06);
  padding: 16px 16px;
}
.card-identity{
  position:relative;
  overflow:hidden;
}
.card-identity::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(122,91,102,.14), rgba(200,155,61,.10));
  pointer-events:none;
}
.card-identity > *{ position:relative; z-index:1; }
.card-kicker{
  margin:0 0 8px;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size: 12px;
  font-weight:800;
  color: var(--vino);
}

@media (max-width: 900px){
  .identity-grid{ grid-template-columns: 1fr; }
}

/* =========================
   Qué hacemos
   ========================= */
.hacemos{
  background: linear-gradient(180deg, rgba(15,42,58,.04) 0%, rgba(122,91,102,.05) 70%, rgba(255,255,255,1) 100%);
}
.sec-head{ margin-bottom: 18px; }

.hacemos-grid{
  display:grid;
  gap: 14px;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-areas:
    "main t1 t2"
    "main t3 t4";
}
.hacemos-main{
  grid-area: main;
  padding: 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(15,42,58,.10);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
}
.tile{
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-soft);
  position:relative;
  overflow:hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(122,91,102,.12), rgba(15,42,58,.08));
  pointer-events:none;
}
.tile > *{ position:relative; z-index:1; }
.tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

@media (max-width: 980px){
  .hacemos-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "t1"
      "t2"
      "t3"
      "t4";
  }
}

/* =========================
   Drawer CV
   ========================= */
.cv-overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
}

.cv-drawer{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width: min(440px, 92vw);
  background: #0f0b12;
  color:#fff;
  z-index: 9999;
  transform: translateX(110%);
  transition: transform .22s ease;
  box-shadow: -20px 0 50px rgba(0,0,0,.35);
  display:flex;
  flex-direction:column;
}
.cv-drawer.open{ transform: translateX(0); }

.cv-head{
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:flex-start;
  gap: 12px;
}

.cv-mini{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow:hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.16);
}
.cv-mini img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.cv-head-text{ flex: 1 1 auto; }

.cv-kicker{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
  font-weight: 800;
}

.cv-name{
  margin: 6px 0 4px;
  font-size: 18px;
  font-weight: 800;
}
.cv-role{ font-size: 13px; opacity:.85; }

.cv-close{
  border:0;
  background: rgba(255,255,255,.10);
  color:#fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor:pointer;
  font-size: 18px;
}

.cv-body{
  padding: 16px 18px 22px;
  overflow:auto;
}

.cv-block{
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.cv-block h5{
  margin:0 0 8px;
  font-size: 14px;
  font-weight: 800;
}
.cv-block ul{ margin:0; padding-left: 16px; opacity:.92; }
.cv-block li{ margin:6px 0; line-height:1.35; }
.cv-block p{ margin:0; line-height:1.55; opacity:.92; }

/* ===== Redes ===== */
.redes-ores{
  text-align:center;
  margin: 40px 0 20px;
}
.redes-ores h3{
  font-size: 1.25rem;
  color: var(--vino);
  margin: 0 0 10px;
  font-weight: 800;
}
.iconos-redes a{
  display:inline-block;
  color: var(--vino);
  background: #f3eceb;
  border-radius:50%;
  width:48px;
  height:48px;
  line-height:48px;
  margin: 0 10px;
  font-size:22px;
  position:relative;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.iconos-redes a:hover{
  color:#fff;
  background: linear-gradient(135deg, var(--vino), var(--dorado));
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.15);
}
.tooltip::after{
  content: attr(data-tooltip);
  position:absolute;
  bottom:62px;
  left:50%;
  transform: translateX(-50%);
  background-color: rgba(122, 91, 102, 0.95);
  color:#fff;
  font-size:12px;
  padding: 5px 10px;
  border-radius: 6px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.tooltip:hover::after{
  opacity:1;
  transform: translateX(-50%) translateY(-4px);
}

/* ===== Footer ===== */
.footer{
  text-align:center;
  padding: 2rem 1rem;
  background:#fff;
  border-top: 1px solid rgba(0,0,0,.06);
  font-size: .95rem;
  color:#555;
}
.footer a{ color: var(--vino); text-decoration:none; }
.footer a:hover{ text-decoration:underline; }

/* =========================
   Reveal
   ========================= */
.reveal{
  opacity:0;
  transform: translateY(14px) scale(.985);
  filter: blur(2px);
  transition: opacity .65s ease, transform .65s ease, filter .65s ease;
  position:relative;
}
.reveal::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.16);
  transform: translateX(-110%);
  transition: transform .75s ease;
  pointer-events:none;
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal.is-in::after{
  transform: translateX(110%);
}
.hero.reveal::after{ background: rgba(0,0,0,.14); }

/* =========================================================
   EQUIPO — MODO CUADRITOS tipo UNVM (SIN TOCAR EL JS)
   Clave: NO ocultar .team-band, sino "revestirlo" como card.
   ========================================================= */

.team-section{
  background:#fff;
  padding: 10px 0 50px;
}

.team-title-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 42px 18px 10px;
}

.team-title{
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(122,91,102,.95);
}

/* El contenedor donde el JS inyecta */
.team-bands{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 26px;
  align-items: stretch;
}

/* Cada "band" pasa a ser una CARD */
.team-band{
  display:block;
  padding:0 !important;
  margin:0 !important;
  background: transparent !important;
  overflow: visible !important;
}

/* Quitamos cualquier overlay/gradiente viejo si lo tuviera */
.team-band::before,
.team-band::after{
  content:none !important;
}

/* Anulamos wrappers de ancho fijo para que no rompan el grid */
.team-wrap{
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* La card real (antes era layout en 2 columnas) */
.team-card{
  display:block !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;

  background:#fff;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  transition: transform .18s ease, box-shadow .18s ease;
}

.team-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}

/* Imagen arriba (antes era cuadrada grande) */
.team-photo{
  width:100% !important;
  height:auto !important;
  aspect-ratio: 4 / 3;
  padding:0 !important;
  margin:0 !important;
  border-radius:0 !important;
  background:#e9eaee !important;
  box-shadow:none !important;
  overflow:hidden;
}

.team-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:0 !important;
  display:block;
}

/* Texto abajo (blanco sobre banda -> ahora negro sobrio) */
.team-info{
  color: var(--ink) !important;
  text-align:center;
  padding: 14px 14px 10px;
}

.team-name{
  margin: 0 0 6px !important;
  font-weight: 800 !important;
  font-size: 1.02rem !important;
  line-height: 1.18 !important;
  letter-spacing: -0.01em !important;
}

.team-role{
  margin: 0 0 12px !important;
  font-weight: 600 !important;
  font-size: .88rem !important;
  color: rgba(18,19,26,.65) !important;
  opacity: 1 !important;
}

/* Botón centrado */
.team-actions{
  display:flex !important;
  justify-content:center !important;
  padding: 0 14px 16px;
  gap: 10px;
}

.btn-cv{
  border:0 !important;
  border-radius:999px !important;
  padding: 10px 14px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  cursor:pointer;
  background: rgba(122,91,102,.14) !important;
  color: #2b1f24 !important;
  transition: transform .15s ease, background .15s ease;
}

.btn-cv:hover{
  transform: translateY(-1px);
  background: rgba(122,91,102,.18) !important;
}

/* Responsive */
@media (max-width: 1100px){
  .team-bands{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px){
  .team-bands{ grid-template-columns: 1fr; }
}

/* =========================
   ORES · Observatorio
   Rediseño sobrio + Equipo tipo UNVM (CUADRITOS)
   ========================= */

:root{
  --vino:#7a5b66;
  --dorado:#c89b3d;
  --petroleo:#0f2a3a;
  --petroleo-2:#14374c;

  --ink:#0b1220;
  --muted:#5b6472;
  --humo:#f3f4f6;
  --white:#ffffff;

  --radius:22px;
  --shadow: 0 18px 44px rgba(0,0,0,.14);
  --shadow-soft: 0 12px 30px rgba(0,0,0,.10);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--white);
}

.container{ width:min(1100px,92%); margin:0 auto; }

.h2{
  margin:0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing:-0.02em;
  font-weight:800;
}
.h3{ margin:0 0 10px; font-size: 20px; font-weight:800; }
.h4{ margin:0 0 8px; font-size: 16px; font-weight:800; }
.p{ margin:0 0 12px; line-height:1.75; }
.p.small{ font-size: 14px; opacity:.95; }
.muted{ color:var(--muted); }

.section{ padding: 72px 0; }

/* ===== Header ===== */
.main-header{
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
  position:sticky;
  top:0;
  z-index:50;
}
.nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding:14px 0;
}
.logo-ores{ height:45px; width:auto; display:block; }

.main-nav a{
  text-decoration:none;
  color:#222;
  margin-left:14px;
  font-weight:700;
  padding:8px 14px;
  border-radius:999px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.main-nav a:hover{ transform: translateY(-1px); }
.main-nav a:hover,
.main-nav a.active{
  background: rgba(122,91,102,0.12);
  color: var(--vino);
}

/* =========================
   HERO
   ========================= */
.hero{
  position:relative;
  min-height: 72vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
  padding: 74px 0 90px;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(122,91,102,.55) 0%, rgba(15,42,58,.70) 55%, rgba(15,42,58,.82) 100%),
    url("../assets/images/fondo_a.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.02);
}

.hero-inner{
  position:relative;
  z-index:2;
  max-width: 920px;
}

.hero-kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  opacity:.95;
  padding: 10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.20);
  backdrop-filter: blur(6px);
}

.hero-title{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.06;
  letter-spacing:-0.03em;
  font-weight:800;
  text-shadow: 0 10px 26px rgba(0,0,0,.24);
}

.hero-lead{
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.75;
  max-width: 860px;
  opacity: .98;
}

.hero-text{
  margin: 0 0 10px;
  line-height: 1.75;
  max-width: 860px;
  opacity: .92;
}

.hero-down{
  margin-top: 26px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.22);
  color:#fff;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.hero-down:hover{
  transform: translateY(-2px);
  background: rgba(0,0,0,.30);
}

/* =========================
   Identidad
   ========================= */
.identity{ background: #fff; }

.identity-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items:start;
}

.pill-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 16px;
}
.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(15,42,58,.12);
  background: rgba(15,42,58,.04);
  color: rgba(15,42,58,.92);
  font-weight:800;
  font-size: 13px;
}

.identity-cards{ display:grid; gap: 14px; }

.card{
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,.06);
  padding: 16px 16px;
}
.card-identity{
  position:relative;
  overflow:hidden;
}
.card-identity::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(122,91,102,.14), rgba(200,155,61,.10));
  pointer-events:none;
}
.card-identity > *{ position:relative; z-index:1; }

.card-kicker{
  margin:0 0 8px;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size: 12px;
  font-weight:800;
  color: var(--vino);
}

@media (max-width: 900px){
  .identity-grid{ grid-template-columns: 1fr; }
}

/* =========================
   Qué hacemos
   ========================= */
.hacemos{
  background: linear-gradient(180deg, rgba(15,42,58,.04) 0%, rgba(122,91,102,.05) 70%, rgba(255,255,255,1) 100%);
}
.sec-head{ margin-bottom: 18px; }

.hacemos-grid{
  display:grid;
  gap: 14px;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-areas:
    "main t1 t2"
    "main t3 t4";
}
.hacemos-main{
  grid-area: main;
  padding: 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(15,42,58,.10);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
}
.tile{
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-soft);
  position:relative;
  overflow:hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(122,91,102,.12), rgba(15,42,58,.08));
  pointer-events:none;
}
.tile > *{ position:relative; z-index:1; }

.tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

@media (max-width: 980px){
  .hacemos-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "t1"
      "t2"
      "t3"
      "t4";
  }
}

/* =========================================================
   EQUIPO — SOLO CUADRITOS (tipo UNVM)
   ========================================================= */
.team-section{
  background:#fff;
  padding: 10px 0 50px;
}

.team-title-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 42px 18px 10px;
}

.team-title{
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(122,91,102,.95);
}

/* Grilla 4 arriba / 3 abajo */
.team-grid{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

/* Tarjeta */
.team-card2{
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.06);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
}

.team-card2:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(0,0,0,0.18);
}

/* Foto arriba */
.team-card2 .photo{
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e9eaee;
}

.team-card2 .photo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Bloque blanco inferior */
.team-card2 .body{
  padding: 14px 14px 16px;
  text-align: center;
}

.team-card2 .name{
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 1.02rem;
  color: #12131a;
}

.team-card2 .role{
  margin: 0;
  font-weight: 600;
  font-size: .88rem;
  color: rgba(18,19,26,.65);
}

/* Responsive */
@media (max-width: 1100px){
  .team-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .team-grid{ grid-template-columns: 1fr; }
}

/* ===== Redes ===== */
.redes-ores{
  text-align:center;
  margin: 40px 0 20px;
}
.redes-ores h3{
  font-size: 1.25rem;
  color: var(--vino);
  margin: 0 0 10px;
  font-weight: 800;
}
.iconos-redes a{
  display:inline-block;
  color: var(--vino);
  background: #f3eceb;
  border-radius:50%;
  width:48px;
  height:48px;
  line-height:48px;
  margin: 0 10px;
  font-size:22px;
  position:relative;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.iconos-redes a:hover{
  color:#fff;
  background: linear-gradient(135deg, var(--vino), var(--dorado));
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.15);
}
.tooltip::after{
  content: attr(data-tooltip);
  position:absolute;
  bottom:62px;
  left:50%;
  transform: translateX(-50%);
  background-color: rgba(122, 91, 102, 0.95);
  color:#fff;
  font-size:12px;
  padding: 5px 10px;
  border-radius: 6px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.tooltip:hover::after{
  opacity:1;
  transform: translateX(-50%) translateY(-4px);
}

/* ===== Footer ===== */
.footer{
  text-align:center;
  padding: 2rem 1rem;
  background:#fff;
  border-top: 1px solid rgba(0,0,0,.06);
  font-size: .95rem;
  color:#555;
}
.footer a{ color: var(--vino); text-decoration:none; }
.footer a:hover{ text-decoration:underline; }

/* =========================
   Reveal (si tu JS lo usa)
   ========================= */
.reveal{
  opacity:0;
  transform: translateY(14px) scale(.985);
  filter: blur(2px);
  transition: opacity .65s ease, transform .65s ease, filter .65s ease;
  position:relative;
}
.reveal::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.16);
  transform: translateX(-110%);
  transition: transform .75s ease;
  pointer-events:none;
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal.is-in::after{
  transform: translateX(110%);
}
.hero.reveal::after{ background: rgba(0,0,0,.14); }

/* Zócalo de redes */
.redes-ores{
  background: #5a189a;
  margin: 0;
  padding: 26px 0 18px;
}

.redes-ores h3{
  color: #ff8c1a;
}

.iconos-redes a{
  background: rgba(255,255,255,.10);
  color: #ff8c1a;
}

.iconos-redes a:hover{
  background: rgba(255,140,26,.92);
  color: #5a189a;
}


.menu-links a.menu-soon{
  opacity:.6;
  pointer-events:none;
  cursor:default;
}


/* =========================================================
   HEADER + DRAWER (igual portada)
   ========================================================= */
.main-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12,18,26,.25);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.main-header.is-scrolled{
  background: #121923; /* zócalo oscuro */
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.logo-header{
  height: 34px;
  width:auto;
  opacity: .95;
  transition: opacity .2s ease, transform .2s ease;
}
.logo-header.is-visible{ opacity: 1; }

.menu-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  color:#fff;
  cursor:pointer;
}
.menu-btn:hover{
  background: rgba(0,0,0,.28);
}
.menu-text{
  font-weight:700;
  letter-spacing:.04em;
  font-size:.85rem;
}

/* Backdrop */
.menu-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .18s ease;
  z-index: 1100;
}
.menu-backdrop.open{ opacity: 1; }

/* Drawer */
.menu-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(360px, 86vw);
  background: #111827;
  color: #fff;
  transform: translateX(110%);
  transition: transform .18s ease;
  z-index: 1200;
  box-shadow: -18px 0 40px rgba(0,0,0,.35);
  padding: 18px 18px 22px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.menu-drawer.open{ transform: translateX(0); }

.menu-drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.menu-drawer-social{
  display:flex;
  gap:10px;
}
.soc{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
}
.soc:hover{ background: rgba(255,255,255,.06); }

.menu-close{
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: transparent;
  color:#fff;
  cursor:pointer;
}
.menu-close:hover{ background: rgba(255,255,255,.06); }

.menu-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top: 6px;
}
.menu-links a{
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration:none;
  color:#fff;
  border:1px solid transparent;
}
.menu-links a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
}
.menu-links a.active{
  background: rgba(122,91,102,.22); /* vino ORES suave */
  border-color: rgba(200,155,61,.25); /* dorado */
}

.menu-drawer-foot{
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.70);
}

/* “Próximamente” */
.menu-links a.is-disabled{
  opacity: .65;
  cursor: default;
  pointer-events: none;
}
.menu-links .soon{
  opacity: .75;
  font-weight: 600;
  font-size: .85em;
}

.no-scroll{ overflow: hidden; }

:root{
  --header-h: 64px; /* ajustá si tu header mide más/menos */
}

/* Header SIEMPRE arriba */
.main-header{
  position: fixed;   /* <-- clave */
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 3000;
  background: rgba(12,18,26,.25);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* Para que el contenido no quede debajo del header */
body{
  padding-top: var(--header-h);
}

/* Zócalo cuando scrolleás (como inicio) */
.main-header.is-scrolled{
  background: #121923;
  border-bottom: 1px solid rgba(255,255,255,.08);
}


:root{
  --header-h: 64px; /* ajustá si tu header mide más/menos */
}

/* Header SIEMPRE arriba */
.main-header{
  position: fixed;   /* <-- clave */
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 3000;
  background: rgba(12,18,26,.25);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* Para que el contenido no quede debajo del header */
body{
  padding-top: var(--header-h);
}

/* Zócalo cuando scrolleás (como inicio) */
.main-header.is-scrolled{
  background: #121923;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
/* =========================================================
   FIX MINIMO — Mostrar redes + X de cerrar en el drawer
   (pegalo AL FINAL del CSS)
   ========================================================= */
.menu-drawer-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;

  visibility:visible !important;
  opacity:1 !important;

  position:relative !important;
  z-index:2 !important;
}

.menu-drawer-social{
  display:flex !important;
  gap:10px !important;
  visibility:visible !important;
  opacity:1 !important;
}

.menu-drawer-social .soc{
  display:grid !important;
  place-items:center !important;
  width:38px !important;
  height:38px !important;
  border-radius:10px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#fff !important;
  text-decoration:none !important;
}

.menu-drawer-social .soc i{
  font-size:16px !important;
  line-height:1 !important;
}

.menu-close{
  display:grid !important;
  place-items:center !important;
  width:42px !important;
  height:42px !important;

  visibility:visible !important;
  opacity:1 !important;

  border-radius:12px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  background:transparent !important;
  color:#fff !important;
  cursor:pointer !important;
}

.menu-close i{
  font-size:20px !important;
  line-height:1 !important;
}


/* =========================================================
   FIX REAL — el header estaba tapando el head del drawer
   (pegalo AL FINAL del CSS)
   ========================================================= */

.menu-backdrop{
  z-index: 5000 !important; /* arriba del header */
}

.menu-drawer{
  z-index: 5100 !important; /* arriba del header */
}

/* opcional: que el contenido del drawer no quede pegado a la barra */
.menu-drawer{
  padding-top: calc(18px + var(--header-h, 64px)) !important;
}

/* SUBIR redes + X (quitar aire arriba) */
.menu-drawer{
  padding-top: 12px !important;   /* antes: calc(18px + var(--header-h...)) */
}

.menu-drawer-head{
  margin-top: -6px !important;    /* lo empuja un toque hacia arriba */
  padding-top: 0 !important;
}

.hero-quote{
  text-align: right;
}

.hero-author{
  margin-top: 6px;
  font-style: italic;
  opacity: .85;
}

