/* ─── Variables ────────────────────────────────────────── */
:root {
  --coral:    #e84a2f;
  --coral-dk: #c03a22;
  --gold:     #f0aa2f;
  --gold-dk:  #c88a1a;
  --navy:     #1A6DC5;
  --navy2:    #155aaa;
  --ink:      #1a1a2e;
  --cream:    #fffdf7;
  --gray:     #f4f2ed;
  --muted:    #6b6b7a;
  --border:   #e0ddd5;
  --white:    #ffffff;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.2);

  --nav-h: 64px;
  --octo-size: 480px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── Utilidades ─────────────────────────────────────────── */
.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-radius: 3rem;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-dk);
  border-color: var(--coral-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,74,47,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  border: none;
}
.btn-ig:hover { opacity: .9; transform: translateY(-2px); }
.btn-fb {
  background: #1877f2;
  color: var(--white);
  border: none;
}
.btn-fb:hover { background: #0d65d9; transform: translateY(-2px); }
.empty-state { color: var(--muted); font-style: italic; text-align: center; padding: 2rem 0; }
.loading { color: var(--muted); font-style: italic; text-align: center; padding: 1.5rem 0; }

/* ─── Nav Flotante ───────────────────────────────────────── */
.sticky-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,109,197,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.sticky-nav.visible { transform: translateY(0); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: min(1100px, 92vw);
  margin-inline: auto;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.nav-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.nav-links a.nav-cta {
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  margin-left: 0.25rem;
}
.nav-links a.nav-cta:hover { background: var(--coral-dk); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── WhatsApp Flotante ──────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: all 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,109,197,.88) 0%,
    rgba(26,109,197,.75) 40%,
    rgba(26,109,197,.82) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 1rem;
  text-align: center;
}
.hero-title {
  margin-bottom: 2rem;
}
.hero-pretitle {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.hero-name {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 0.9;
  text-shadow: 0 4px 32px rgba(0,0,0,.4);
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.8);
  font-style: italic;
  margin-top: 1rem;
}

/* ── Octopus Navigation ──────────────────────────────── */
.octo-wrapper {
  width: 100%;
  max-width: var(--octo-size);
  margin: 0 auto 2rem;
}
.octo-stage {
  position: relative;
  width: var(--octo-size);
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
}
.tentacles-svg {
  display: none;
}
.tentacle {
  stroke: var(--coral);
  opacity: 0;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: opacity 0.3s, stroke 0.3s;
  animation: drawTentacle 1.5s ease forwards;
}
.tentacle.t-nosotros   { animation-delay: 0.1s; }
.tentacle.t-repertorio { animation-delay: 0.2s; }
.tentacle.t-galeria    { animation-delay: 0.3s; }
.tentacle.t-agenda     { animation-delay: 0.4s; }
.tentacle.t-contacto   { animation-delay: 0.5s; }

@keyframes drawTentacle {
  0%   { opacity: 0; stroke-dashoffset: 600; }
  20%  { opacity: 0.7; }
  100% { opacity: 0.65; stroke-dashoffset: 0; }
}

.octo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  z-index: 2;
  animation: pulpoBounce 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.5));
}
.octo-center img { width: 100%; }

@keyframes pulpoBounce {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -53%) scale(1.03); }
}

/* Nav links nos tentáculos */
.octo-link {
  position: absolute;
  z-index: 3;
  padding: 0.55rem 1.1rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(240,170,47,.5);
  color: var(--white);
  font-weight: 600;
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 3rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  animation: fadeInLink 0.6s ease both;
}
.octo-link:hover {
  background: var(--coral);
  border-color: var(--coral);
  transform: translate(-50%, -50%) scale(1.08) !important;
  box-shadow: 0 4px 16px rgba(232,74,47,.5);
}

/* Círculo perfecto: 6 puntos a 60° (radio 30% del contenedor) */
/* Centro en (50%, 50%), transform: translate(-50%,-50%) centra el botón */
.octo-top          { top: 14%; left: 50%;  transform: translate(-50%, -50%); animation-delay: 0.6s; }
.octo-top-right    { top: 32%; left: 81%;  transform: translate(-50%, -50%); animation-delay: 0.7s; }
.octo-right        { top: 68%; left: 81%;  transform: translate(-50%, -50%); animation-delay: 0.8s; }
.octo-bottom-right { top: 86%; left: 50%;  transform: translate(-50%, -50%); animation-delay: 0.9s; }
.octo-bottom-left  { top: 68%; left: 19%;  transform: translate(-50%, -50%); animation-delay: 1.0s; }
.octo-left         { top: 32%; left: 19%;  transform: translate(-50%, -50%); animation-delay: 1.1s; }

@keyframes fadeInLink {
  from { opacity: 0; transform: scale(0.8) translateX(var(--tx, 0)) translateY(var(--ty, 0)); }
  to   { opacity: 1; }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  animation: fadeInLink 0.8s 1.2s ease both;
}

/* ─── Secciones ──────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-desc { color: rgba(255,255,255,.7); }
.section-dark .section-label { color: var(--gold); opacity: 1; }

.section-instagram {
  background: linear-gradient(135deg, #155aaa 0%, #1A6DC5 100%);
  color: var(--white);
}
.section-instagram .section-title { color: var(--white); }
.section-instagram .section-desc  { color: rgba(255,255,255,.7); }
.section-instagram .section-desc a { color: var(--gold); }
.section-instagram .section-label  { color: #f09433; opacity: 1; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral);
  opacity: 0.9;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 2.5rem;
}
.ig-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ─── Quen somos ─────────────────────────────────────────── */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.nosotros-text p { margin-bottom: 1rem; color: var(--muted); line-height: 1.7; }
.nosotros-text p strong { color: var(--ink); }

.award-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #fef9e7, #fef3cd);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.award-icon { font-size: 2rem; flex-shrink: 0; }
.award-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.award-text strong { color: var(--ink); font-size: 0.95rem; }
.award-text span { color: var(--muted); font-size: 0.8rem; }

.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.nosotros-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.nosotros-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.nosotros-photo:hover img { transform: scale(1.03); }
.photo-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(26,109,197,.85);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  backdrop-filter: blur(4px);
}

/* ─── Repertorio ─────────────────────────────────────────── */
.rep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.rep-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.2s;
}
.rep-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
  border-color: rgba(240,170,47,.4);
}
.rep-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.rep-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.rep-card p { font-size: 0.88rem; color: rgba(255,255,255,.6); line-height: 1.5; }

.eventos-tipos {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem;
}
.eventos-tipos h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.tipos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.tipo-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.8);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
}
.tipo-item span { font-size: 1.1rem; flex-shrink: 0; }

/* Audio Player */
.audio-section {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
}
.audio-section h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.audio-list { display: flex; flex-direction: column; gap: 0.75rem; }
.audio-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.audio-item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.audio-item-header strong { color: var(--white); font-size: 0.95rem; }
.audio-item-header span { color: rgba(255,255,255,.5); font-size: 0.8rem; }
.audio-item audio {
  width: 100%;
  height: 36px;
  accent-color: var(--coral);
}

/* ─── Galería ─────────────────────────────────────────────── */
.video-wrapper {
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--gray);
}
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,109,197,.5);
  opacity: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.2s;
  color: var(--white);
  font-size: 2rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
}
.video-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--coral);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Instagram ──────────────────────────────────────────── */
.instagram-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.ig-post {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.ig-post iframe {
  width: 100%;
  border: none;
  min-height: 440px;
}
.ig-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255,255,255,.5);
  grid-column: 1 / -1;
}
.ig-empty p { margin-bottom: 1rem; font-style: italic; }
.ig-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── Agenda ─────────────────────────────────────────────── */
.agenda-list { margin-bottom: 1.5rem; }
.agenda-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--white);
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}
.agenda-item:hover {
  border-color: var(--coral);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.agenda-date {
  text-align: center;
  min-width: 64px;
  flex-shrink: 0;
}
.agenda-date .day {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
}
.agenda-date .month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.agenda-info { flex: 1; }
.agenda-info strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.agenda-info .location {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.agenda-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-confirmed { background: #e8f8ef; color: #1a8847; }
.badge-pending   { background: #fef8e7; color: #b07a00; }
.agenda-note {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.agenda-note a { color: var(--coral); font-weight: 600; }
.agenda-note a:hover { text-decoration: underline; }

/* ─── Contacto ───────────────────────────────────────────── */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contacto-info h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.contact-items { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  color: var(--white);
  transition: all 0.2s;
}
.contact-item:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ci-whatsapp { background: rgba(37,211,102,.2); color: #25d366; }
.ci-email    { background: rgba(232,74,47,.2);  color: var(--coral); }
.contact-item div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.contact-item strong { font-size: 0.85rem; font-weight: 700; }
.contact-item span   { font-size: 0.9rem; color: rgba(255,255,255,.7); }

.redes-heading {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.redes-list { display: flex; flex-direction: column; gap: 0.5rem; }
.red-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  transition: all 0.2s;
}
.ig-link { background: linear-gradient(135deg, rgba(240,148,51,.2), rgba(188,24,136,.2)); }
.ig-link:hover { background: linear-gradient(135deg, rgba(240,148,51,.4), rgba(188,24,136,.4)); }
.fb-link { background: rgba(24,119,242,.2); }
.fb-link:hover { background: rgba(24,119,242,.35); }

/* Formulario */
.contacto-form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.7);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: rgba(255,255,255,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-msg {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  text-align: center;
  min-height: 1.5rem;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0;
}
.form-msg.success { color: #4ade80; }
.form-msg.error   { color: #f87171; }

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: #104e99;
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.25rem;
}
.footer-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 900;
}
.footer-sub { font-size: 0.8rem; }

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--white); }

.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  transition: color 0.15s;
}
.footer-contact a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.footer-social a {
  color: rgba(255,255,255,.5);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 0.78rem;
}
.footer-admin {
  color: rgba(255,255,255,.25);
  font-size: 0.75rem;
  transition: color 0.2s;
}
.footer-admin:hover { color: rgba(255,255,255,.5); }

/* ─── Lightbox ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.92);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 1.5rem;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-inner {
  max-width: min(1200px, 95vw);
  max-height: 90vh;
}
.lightbox-inner img,
.lightbox-inner video {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --octo-size: 580px; }
  .rep-grid { grid-template-columns: repeat(2, 1fr); }
  .tipos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --octo-size: 100vw; }

  /* Mobile nav */
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 1rem; border-radius: var(--radius-sm); }

  /* Octopus on mobile: smaller text links */
  .octo-link { font-size: 0.6rem; padding: 0.4rem 0.7rem; }

  /* Sections stack */
  .nosotros-grid     { grid-template-columns: 1fr; }
  .nosotros-photo    { order: -1; }
  .nosotros-photo img { aspect-ratio: 16/9; }

  .contacto-grid     { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; gap: 2rem; }

  .form-row          { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .rep-grid          { grid-template-columns: 1fr 1fr; }
  .tipos-grid        { grid-template-columns: 1fr 1fr; }
  .stats-row         { gap: 1.25rem; }

  /* Simplify octopus nav on very small screens */
  .octo-wrapper {
    display: none;
  }
  .hero-content { padding-top: 3rem; }
}
