@charset "UTF-8";

/* =========================================================
   VN13 - Rotulo grupal | DGPC Catedra Ocampo 2026
   ========================================================= */

/* RESET Y VARIABLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Paleta Pop: azul mas suave y fondos blancos */
  --bg-color: #ffffff;
  --text-main: #111111;
  --text-muted: #666666;
  --accent: #2563EB; /* Azul suavizado, menos electrico */
  --border-color: #e0e0e0;
  --nav-bg: rgba(255, 255, 255, 0.85);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* --- NAVEGACION SUPERIOR --- */
header {
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--text-main);
}

.brand {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.brand span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--accent);
}

/* --- HERO SECTION (pleno de color) --- */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px;
  background-color: var(--accent);
  color: #ffffff;
  border-bottom: 2px solid var(--text-main);
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: #ffffff;
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 30px;
  border: 2px solid var(--text-main);
  box-shadow: 4px 4px 0px var(--text-main);
  display: inline-block;
}

.hero-intro {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.hero-title {
  font-size: clamp(5rem, 15vw, 11rem);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 0.9;
  margin-bottom: 30px;
  text-transform: uppercase;
  text-shadow: 8px 8px 0px var(--text-main);
}

.hero-tagline {
  max-width: 700px;
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 500;
}

/* --- SECCION EQUIPO --- */
.team-section {
  padding: 120px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.team-header {
  margin-bottom: 60px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-header h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.team-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.team-card {
  background: #fff;
  border: 2px solid var(--text-main);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 0px var(--accent);
}

.team-image-wrapper {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #e0e0e0;
  border-bottom: 2px solid var(--text-main);
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.team-card:hover .team-image-wrapper img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-info {
  padding: 24px;
  background: #fff;
}

.team-info .role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.team-info .name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* --- SECCION ESQUICIO (desplegable) --- */
.esquicio-section {
  padding: 80px 40px 120px;
  max-width: 1400px;
  margin: 0 auto;
}

.esquicio-details {
  background: var(--bg-color);
  border: 2px solid var(--text-main);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 8px 8px 0px #e0e0e0;
}

.esquicio-details summary {
  padding: 30px;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  cursor: pointer;
  background: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background 0.3s ease;
}

.esquicio-details summary:hover {
  background: var(--accent);
  color: #fff;
}

.esquicio-details summary::-webkit-details-marker {
  display: none;
}

.esquicio-details summary::after {
  content: '+';
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}

.esquicio-details[open] summary {
  border-bottom: 2px solid var(--text-main);
}

.esquicio-details[open] summary::after {
  content: '\2212'; /* signo menos */
}

.esquicio-content {
  padding: 40px;
  background: #fff;
}

.esquicio-gallery {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}

.esquicio-gallery::-webkit-scrollbar {
  height: 10px;
}

.esquicio-gallery::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-top: 1px solid var(--border-color);
}

.esquicio-gallery::-webkit-scrollbar-thumb {
  background: var(--text-main);
}

.phone-placeholder {
  width: 260px;
  height: 540px;
  border-radius: 30px;
  border: 2px solid var(--text-main);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  scroll-snap-align: center;
  position: relative;
}

.phone-placeholder::before {
  content: '';
  position: absolute;
  top: 12px;
  width: 80px;
  height: 20px;
  background: #f0f0f0;
  border-radius: 10px;
}

.esquicio-screen {
  width: 260px;
  flex-shrink: 0;
  scroll-snap-align: center;
  border: 2px solid var(--text-main);
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
}

.esquicio-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.esquicio-link-card {
  width: 260px;
  min-height: 540px;
  flex-shrink: 0;
  scroll-snap-align: center;
  border: 2px solid var(--text-main);
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.2;
  box-shadow: 6px 6px 0px var(--text-main);
  transition: transform 0.2s ease;
}

.esquicio-link-card small {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
}

.esquicio-link-card:hover {
  transform: translateY(-6px);
}

.esquicio-note {
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* --- FOOTER INSTITUCIONAL --- */
footer {
  padding: 80px 40px;
  background-color: var(--text-main);
  color: #fff;
  border-top: 5px solid var(--accent);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.footer-content strong {
  color: #fff;
  font-weight: 700;
}

.footer-content p {
  margin-bottom: 12px;
}

/* Texto legal (antes estaba como style="" dentro del HTML) */
.footer-content p.legal {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 24px;
  margin-bottom: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  header {
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
  }

  .nav-menu {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .team-section {
    padding: 80px 24px;
  }

  .esquicio-section {
    padding: 40px 24px 80px;
  }

  .esquicio-details summary {
    font-size: 1.3rem;
    padding: 20px;
  }
}