body {
  font-family: "Manrope", sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

details summary {
  list-style: none;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f4ec;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.dark #preloader {
  background: #101b34;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

#preloader-inner {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
}

#preloader-inner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 1.4rem;
}

#preloader-inner::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 1.8rem;
  border: 2px solid rgba(196, 161, 31, 0.18);
  border-top-color: #c4a11f;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.header-link {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.header-link:hover {
  color: #c4a11f;
}

.linktree-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.linktree-btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #c4a11f;
  color: #0a1a3d;
  box-shadow: 0 10px 28px rgba(196, 161, 31, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #0a1a3d;
  border: 1px solid rgba(10, 26, 61, 0.12);
}

.dark .btn-secondary {
  background: rgba(10, 26, 61, 0.72);
  color: #eef2fa;
  border-color: rgba(255, 255, 255, 0.1);
}

.video-shell {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 1.75rem;
  background: #0a1a3d;
  border: 1px solid rgba(10, 26, 61, 0.08);
}

.video-audio-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(10, 26, 61, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.hero-desktop {
  display: block;
}

.hero-desktop-main {
  position: relative;
  min-height: 27rem;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(10, 26, 61, 0.12);
  background: #0a1a3d;
}

.hero-wide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 61, 0.28);
}

.hero-wide-copy {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.5rem;
  z-index: 1;
}

.hero-desktop-side {
  display: flex;
}

.hero-side-video {
  position: relative;
  width: 100%;
  min-height: 19rem;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(10, 26, 61, 0.12);
  background: #0a1a3d;
}

.hero-side-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 61, 0.14);
}

.sobre-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem;
  align-items: start;
  min-height: 40vw;
}

.sobre-copy {
  padding: 0.4rem 0;
}

.sobre-text {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(29, 39, 67, 0.82);
}

.dark .sobre-text {
  color: rgba(238, 242, 250, 0.84);
}

.sobre-media {
  display: flex;
  height: 100%;
}

.sobre-video {
  width: 100%;
  min-height: 32rem;
  height: 100%;
}

.accordion-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 26, 61, 0.08);
  border-radius: 1.2rem;
  overflow: hidden;
}

.dark .accordion-card {
  background: rgba(10, 26, 61, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
}

.accordion-content {
  padding: 0 1.1rem 1.1rem;
}

.accordion-icon {
  transition: transform 0.2s ease;
}

.accordion-card[open] .accordion-icon {
  transform: rotate(180deg);
}

.info-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.7rem 1rem;
  background: rgba(196, 161, 31, 0.12);
  color: #0a1a3d;
  font-size: 0.88rem;
  font-weight: 700;
}

.dark .info-chip {
  background: rgba(196, 161, 31, 0.16);
  color: #eef2fa;
}

.desktop-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: filter 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.desktop-cta.primary {
  background: #c4a11f;
  color: #0a1a3d;
}

.desktop-cta.secondary {
  background: transparent;
  color: #0a1a3d;
  border: 1px solid rgba(10, 26, 61, 0.14);
}

.dark .desktop-cta.secondary {
  color: #eef2fa;
  border-color: rgba(255, 255, 255, 0.14);
}

.quick-card {
  min-height: 4rem;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 26, 61, 0.08);
}

.dark .quick-card {
  background: rgba(10, 26, 61, 0.62);
  border-color: rgba(255, 255, 255, 0.08);
}

.desktop-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 26, 61, 0.08);
  border-radius: 2rem;
  padding: 2rem;
}

.dark .desktop-panel {
  background: rgba(10, 26, 61, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c4a11f;
}

.section-title {
  margin-top: 0.85rem;
  font-family: "Merriweather", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.2;
}

.section-title.centered {
  text-align: center;
}

.service-card {
  padding: 1.45rem;
  border-radius: 1.4rem;
  background: rgba(196, 161, 31, 0.08);
  border: 1px solid rgba(196, 161, 31, 0.18);
}

.dark .service-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(196, 161, 31, 0.18);
}

.service-card h3,
.program-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

.dark .service-card h3,
.dark .program-card h3 {
  color: #eef2fa;
}

.service-card p,
.stat-card span {
  margin-top: 0.7rem;
  line-height: 1.85;
  color: rgba(29, 39, 67, 0.78);
}

.dark .service-card p,
.dark .program-card p,
.dark .stat-card span {
  color: rgba(238, 242, 250, 0.78);
}

.program-card {
  padding: 1.45rem;
  border-radius: 1.4rem;
  border: 1px solid rgb(64, 64, 64);
}

.dark .program-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

#programa {
  background-color: #101b34;
  color: white
}

#programa p {
  /* color: white */
}



.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1.35rem;
  border-radius: 1.3rem;
  background: rgba(196, 161, 31, 0.08);
  border: 1px solid rgba(196, 161, 31, 0.16);
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  color: #0a1a3d;
}

.dark .stat-card strong {
  color: #eef2fa;
}

.social-link,
.footer-link {
  color: inherit;
  font-weight: 700;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid rgba(10, 26, 61, 0.12);
}

.dark .social-link {
  border-color: rgba(255, 255, 255, 0.12);
}

.embed-card {
  min-height: 12rem;
  padding: 1rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(10, 26, 61, 0.08);
}

.dark .embed-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.social-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-platform-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.75rem;
}

.social-platform-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 12rem;
  overflow: hidden;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.75);
}

.dark .social-platform-frame {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.social-facebook-card .social-platform-frame {
  min-height: 9rem;
}

.social-facebook-card .iframely-embed,
.social-facebook-card .iframely-responsive {
  width: 100%;
}

.social-embed-layout {
  display: flex;
  justify-content: center;
  width: 100%;
}

.social-instagram-card {
  min-height: 28rem;
}

.whatsapp-accordion {
  background:
    radial-gradient(circle at top right, rgba(196, 161, 31, 0.12), transparent 34%),
    linear-gradient(180deg, #101b34 0%, #0a1630 100%);
  border-color: rgba(196, 161, 31, 0.16);
  color: #f6f4ec;
}

.whatsapp-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  color: #f6f4ec;
}

.whatsapp-summary-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #d8b87a;
  flex-shrink: 0;
}

.whatsapp-panel {
  background:
    radial-gradient(circle at top right, rgba(196, 161, 31, 0.12), transparent 28%),
    linear-gradient(180deg, #101b34 0%, #0a1630 100%);
  border-color: rgba(196, 161, 31, 0.12);
  color: #f6f4ec;
  overflow: hidden;
}

.whatsapp-desktop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.whatsapp-copy {
  max-width: 34rem;
}

.whatsapp-panel .section-kicker {
  color: #d8b87a;
}

.whatsapp-title {
  margin-top: 0.85rem;
  font-family: "Merriweather", serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.04;
  color: #eef2fa;
}

.whatsapp-description {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(238, 242, 250, 0.72);
}

.whatsapp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.whatsapp-tag {
  padding: 0.7rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(238, 242, 250, 0.8);
  border: 1px solid rgba(196, 161, 31, 0.12);
}

.whatsapp-widget {
  width: 100%;
}

.whatsapp-widget-mobile {
  padding: 0.25rem 0 0.1rem;
}

.whatsapp-widget-shell {
  overflow: hidden;
  border-radius: 1.85rem;
  background: rgba(8, 16, 35, 0.92);
  border: 1px solid rgba(196, 161, 31, 0.14);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.whatsapp-widget-header {
  padding: 1.35rem 1.45rem;
  background:
    linear-gradient(135deg, rgba(196, 161, 31, 0.14) 0%, rgba(196, 161, 31, 0) 36%),
    linear-gradient(135deg, #13254a 0%, #0f1f40 100%);
  border-bottom: 1px solid rgba(196, 161, 31, 0.12);
}

.whatsapp-widget-user {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.whatsapp-widget-avatar {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(196, 161, 31, 0.75);
  box-shadow: 0 0 0 3px rgba(10, 26, 61, 0.35);
  background: #0a1a3d;
}

.whatsapp-widget-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.whatsapp-widget-status {
  display: inline-block;
  margin-top: 0.15rem;
  color: rgba(238, 242, 250, 0.74);
  font-weight: 600;
}

.whatsapp-widget-body {
  padding: 1rem 1rem 1.2rem;
  background: white;
}

.whatsapp-widget-time {
  text-align: center;
  color: rgba(238, 242, 250, 0.46);
  margin-bottom: 0.9rem;
}

.whatsapp-widget-bubble {
  max-width: 80%;
  padding: 1rem 1.15rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.94);
  color: #1d2743;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.16);
}

.whatsapp-widget-bubble p + p {
  margin-top: 0.55rem;
}

.whatsapp-widget-composer {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(8, 16, 35, 0.96);
  border-top: 1px solid rgba(196, 161, 31, 0.1);
}

.whatsapp-widget-composer textarea {
  flex: 1;
  min-height: 5rem;
  resize: vertical;
  border-radius: 1.15rem;
  border: 1px solid rgba(196, 161, 31, 0.14);
  background: rgba(255, 255, 255, 0.96);
  padding: 1rem 1.05rem;
  color: #1d2743;
  outline: none;
}

.whatsapp-widget-composer textarea:focus {
  border-color: rgba(196, 161, 31, 0.45);
  box-shadow: 0 0 0 4px rgba(196, 161, 31, 0.12);
}

.whatsapp-widget-composer textarea::placeholder {
  color: rgba(29, 39, 67, 0.55);
}

.whatsapp-widget-send {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  border: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #c4a11f 0%, #ae8a15 100%);
}

.whatsapp-widget-send .material-symbols-outlined {
  font-size: 1.35rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#backToTop {
  --scroll-progress: 0deg;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background:
    radial-gradient(circle, #0a1a3d 61%, transparent 63%),
    conic-gradient(#c4a11f var(--scroll-progress), rgba(255, 255, 255, 0.18) 0deg);
  color: #c4a11f;
  box-shadow: 0 14px 36px rgba(10, 26, 61, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#backToTop .material-symbols-outlined {
  position: relative;
  z-index: 1;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1279px) {
  .social-facebook-card {
    max-width: 100%;
  }

  .whatsapp-desktop-layout {
    grid-template-columns: 1fr;
  }

  .whatsapp-copy {
    max-width: none;
  }
}

@media (max-width: 1023px) {
  .sobre-layout {
    grid-template-columns: 1fr;
  }

  .whatsapp-widget-shell {
    border-radius: 1.6rem;
  }

  .whatsapp-widget-avatar {
    width: 3.15rem;
    height: 3.15rem;
  }

  .whatsapp-widget-bubble {
    max-width: 88%;
  }

  .whatsapp-widget-composer textarea {
    min-height: 4.8rem;
  }
}
