﻿:root {
  --gold: #e9b93b;
  --gold-glow: rgba(233, 185, 59, 0.18);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .collage-slide, .mo-item img, .player-card { transition: none !important; }
}

/* ============ NAVBAR / MENU MOBILE ============ */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 260;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #e6ecf9;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  padding: 160px 0 110px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  min-height: 96vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(26, 108, 229, 0.18), transparent),
    radial-gradient(ellipse 60% 80% at 15% 85%, rgba(10, 45, 122, 0.5), transparent),
    radial-gradient(ellipse 40% 40% at 85% 80%, rgba(233, 185, 59, 0.05), transparent);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.chip {
  padding: 7px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c6d0e6;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.chip-gold {
  background: rgba(233, 185, 59, 0.12);
  border-color: rgba(233, 185, 59, 0.45);
  color: var(--gold);
}

.hero-content h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 .club-prefix {
  display: block;
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a8b8d8;
  margin-bottom: 8px;
}

.hero-content p {
  color: #a8b8d8;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 50px;
}

.stat { text-align: left; }

.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.stat strong::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 3px;
  margin-top: 6px;
}

.stat small {
  color: #8a98b8;
  font-size: 13px;
  font-weight: 500;
}

/* --- Logo animado do hero --- */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-logo {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.hero-logo img {
  width: 82%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 60px rgba(233, 185, 59, 0.28));
  animation: logoFloat 6s ease-in-out infinite;
  z-index: 2;
}

.hero-logo-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1.5px dashed rgba(233, 185, 59, 0.4);
  animation: ringSpin 40s linear infinite;
  z-index: 1;
}

.hero-logo-ring.ring-2 {
  inset: -4%;
  border-color: rgba(26, 108, 229, 0.28);
  border-style: solid;
  animation-duration: 0s;
  transform: rotate(0deg);
  background: radial-gradient(circle at 50% 50%, rgba(26, 108, 229, 0.08), transparent 70%);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.02); }
}

@keyframes ringSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo img, .hero-logo-ring { animation: none !important; }
}

.collage-main {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.carousel-track {
  position: absolute;
  inset: 0;
}

.collage-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.collage-slide.active {
  opacity: 1;
}

.collage-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collage-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  z-index: 2;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(6, 18, 43, 0.88), rgba(6, 18, 43, 0));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.carousel-nav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(6, 18, 43, 0.55);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.cs-btn:hover {
  background: var(--gold);
  color: #06122b;
}

.cs-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cs-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s, background 0.25s, border-radius 0.25s;
}

.cs-dot.active {
  width: 22px;
  border-radius: 5px;
  background: var(--gold);
}

.cs-once .carousel-nav {
  display: none;
}

.collage-flag {
  position: absolute;
  top: 16px;
  left: -10px;
  background: linear-gradient(135deg, var(--gold), #d19a1f);
  color: #06122b;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(233, 185, 59, 0.35);
  transform: rotate(-8deg);
  z-index: 3;
}

/* ============ TÍTULOS ============ */
.titulos {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}

.titulos::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 20% 20%, rgba(233, 185, 59, 0.08), transparent),
    radial-gradient(ellipse 55% 50% at 80% 80%, rgba(26, 108, 229, 0.18), transparent);
}

.titulos .container { position: relative; z-index: 2; }

.titulo-hero {
  max-width: 780px;
  margin: 0 auto;
}

.trophy-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 20px;
  border-radius: 26px;
  background: linear-gradient(160deg, #1a6ce5, #0a2d7a);
  color: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 44px var(--gold-glow), inset 0 0 0 1px rgba(233, 185, 59, 0.35);
}

.trophy-icon svg {
  width: 44px;
  height: 44px;
}

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.titulo-hero h2 {
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1.05;
}

.titulo-hero h2 strong { color: var(--gold); }

.titulo-hero .season {
  font-size: 21px;
  font-weight: 800;
  color: #dbe6ff;
  margin: 10px 0 16px;
  letter-spacing: 1.5px;
}

.titulo-hero .desc {
  max-width: 560px;
  margin: 0 auto;
  color: #a8b8d8;
  font-size: 16px;
  line-height: 1.7;
}

/* --- Carrossel de títulos (equipas campeãs) --- */
.titulos-carousel {
  position: relative;
  width: min(960px, 100%);
  margin: 64px auto 0;
  padding-bottom: 52px;
}

.titulos-main {
  aspect-ratio: 16 / 10;
  border-radius: 28px;
}

.titulos-carousel .carousel-nav {
  top: 18px;
  right: 18px;
}

.titulos-carousel .cs-btn {
  width: 40px;
  height: 40px;
  font-size: 24px;
  backdrop-filter: blur(6px);
}

.titulos-carousel .cs-dot {
  width: 10px;
  height: 10px;
}

.titulos-carousel .cs-dot.active {
  width: 28px;
}

.titulos-carousel .collage-cap {
  font-size: 15px;
  padding: 48px 22px 18px;
  letter-spacing: 0.4px;
}

.titulos-carousel .collage-flag {
  top: 22px;
  left: -12px;
  font-size: 13px;
  padding: 10px 20px;
}

.honours {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 14px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.honour {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c6d0e6;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: all 0.3s;
}

.honour:hover {
  border-color: rgba(233, 185, 59, 0.4);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
}

.honour .oh {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(160deg, #e9b93b, #d19a1f);
  color: #06122b;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}

/* ============ SOBRE ============ */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.sobre-visual {
  position: relative;
  min-height: 480px;
}

.photo-main {
  width: 82%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(6, 18, 43, 0.22);
  border: 1px solid #e2e8f5;
  background: var(--light);
}

.photo-main img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-float {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 47%;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: 0 24px 48px rgba(6, 18, 43, 0.3);
  transform: rotate(3deg);
}

.photo-float img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-badge {
  position: absolute;
  left: -8px;
  bottom: 30px;
  background: var(--dark);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(6, 18, 43, 0.35);
}

.photo-badge strong {
  display: block;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 2px;
}

.photo-badge span {
  color: #a8b8d8;
  font-size: 12px;
}

.sobre-content p {
  color: var(--gray);
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.sobre-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.highlight {
  background: var(--light);
  border: 1px solid #e5e9f2;
  border-radius: 12px;
  padding: 18px;
}

.highlight .hl-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.highlight .hl-icon svg {
  width: 22px;
  height: 22px;
}

.highlight h4 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 700;
}

.highlight p {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}

/* ============ INSTALAÇÕES / MOSAICO ============ */
.instalacoes { background: var(--light); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 170px;
  gap: 14px;
  grid-auto-flow: dense;
}

.mo-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e2e8f5;
  cursor: zoom-in;
  background: var(--light);
  margin: 0;
}

.mo-item:nth-child(1) { grid-row: span 2; }

.mo-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mo-item:hover img { transform: scale(1.07); }

.mo-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(6, 18, 43, 0.88));
  color: var(--white);
  font-weight: 700;
  font-size: 13.5px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s;
}

.mo-item:hover figcaption {
  opacity: 1;
  transform: none;
}

/* ============ MODALIDADES ============ */
#modalidades { background: var(--white); }

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

.card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(10, 45, 122, 0.1);
  border-color: transparent;
  background: var(--white);
}

.card:hover::before { opacity: 1; }

.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  margin-bottom: 18px;
  box-shadow: 0 8px 20px var(--accent-glow);
}

.card .icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 700;
}

.card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

/* ============ ESCALÕES ============ */
#escaloes {
  background:
    linear-gradient(180deg, rgba(6, 18, 43, 0.93), rgba(6, 18, 43, 0.96)),
    url('img/inst/IMG_2325.JPG') center/cover;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

#escaloes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(26, 108, 229, 0.12), transparent);
}

#escaloes .container { position: relative; z-index: 2; }
#escaloes .section-title { color: var(--white); }
#escaloes .section-sub { color: #8a98b8; }

.escaloes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.escalao {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}

.escalao:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(233, 185, 59, 0.45);
  transform: translateY(-4px);
}

.escalao .idade {
  background: linear-gradient(135deg, var(--accent), #2a7af5);
  display: inline-block;
  padding: 5px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.escalao h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.escalao p {
  color: #8a98b8;
  font-size: 14px;
  line-height: 1.6;
}

/* ============ PLANTEL (cartões dark) ============ */
#plantel { background: var(--light); }

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  background: transparent;
  border: 1px solid #dbe1ec;
  color: var(--gray);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s;
}

.tab-btn:hover {
  border-color: var(--accent);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 150px));
  justify-content: center;
  gap: 12px;
}

.player-card {
  background: var(--primary-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(6, 18, 43, 0.18);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #1e3f73;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 45, 122, 0.28);
}

.player-card .img-wrapper {
  height: 115px;
  overflow: hidden;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-card .info {
  padding: 8px;
  text-align: center;
  color: var(--white);
}

.player-card .info h3 {
  font-size: 0.78rem;
  margin-bottom: 3px;
  font-weight: 700;
  color: var(--white);
}

.player-card .info p {
  color: #7db3ff;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

/* ============ CONTACTO ============ */
#contacto { background: var(--white); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--light);
  border-radius: 12px;
  border: 1px solid #e5e9f2;
  transition: all 0.25s;
}

.info-item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(10, 45, 122, 0.06);
  transform: translateX(4px);
}

.info-item .ic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: grid;
  place-items: center;
}

.info-item .ic svg {
  width: 22px;
  height: 22px;
}

.info-item strong {
  display: block;
  color: var(--dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-item span {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid #e5e9f2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

input, textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #dbe1ec;
  font-family: inherit;
  font-size: 15px;
  background: var(--light);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}

#feedback {
  display: none;
  padding: 14px 18px;
  background: #e7f6ec;
  color: #1a7a3d;
  border: 1px solid #b7e3c4;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

/* ============ REDES SOCIAIS ============ */
#redes-sociais {
  background: var(--light);
  text-align: left;
}

#redes-sociais .section-sub { margin-left: auto; margin-right: auto; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.social-card {
  background: var(--white);
  border: 1px solid #e5e9f2;
  border-radius: var(--radius);
  padding: 40px 28px;
  text-decoration: none;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.35s;
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(10, 45, 122, 0.12);
}

.social-card:hover::before { opacity: 1; }

.social-card svg {
  width: 52px;
  height: 52px;
  fill: var(--primary);
  transition: all 0.35s;
}

.social-card:hover svg {
  fill: var(--accent);
  transform: scale(1.12);
}

.social-card h3 {
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
  margin: 0;
}

.social-card .handle {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.social-card p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(4, 10, 25, 0.92);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  padding: 30px;
}

.lightbox.open { display: grid; }

.lightbox figure {
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  text-align: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.lightbox figcaption {
  color: #c6d0e6;
  margin-top: 14px;
  font-weight: 600;
}

.lb-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s;
  z-index: 2;
}

.lb-close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .hero-logo { width: min(460px, 100%); }
  .titulos-carousel { width: min(860px, 100%); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    z-index: 250;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 100px 34px 40px;
    background: rgba(4, 10, 25, 0.96);
    backdrop-filter: blur(18px);
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  nav.open { transform: translateX(0); }

  #mainNav a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 0;
    font-size: 19px;
    color: #e6ecf9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  nav.open .nav-social {
    display: flex;
    margin-top: 24px;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 10px;
  }

  .hero { min-height: 0; }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: flex-start; }
  .hero-stats { justify-content: flex-start; }
  .hero-visual { order: -1; justify-content: center; margin-top: 30px; }
  .hero-logo { width: min(420px, 78vw); }
  .sobre-grid, .contacto-grid { grid-template-columns: 1fr; }
  .sobre-visual { min-height: 0; }
  .photo-main { width: 100%; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .photo-float { right: 8px; }
  section { padding: 70px 0; }
  form { padding: 22px; }
}

@media (max-width: 600px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .hero-badges { align-items: flex-start; }
  .chip { font-size: 11px; }
  .photo-float { width: 55%; }
  .titulos { padding: 80px 0; }
  .honours { grid-template-columns: 1fr; }
}