:root{
  --bg: #050708;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(0,0,0,.45);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);

  /* Branding (del logo) */
  --brand: #0B7A3E;      /* verde principal aproximado */
  --brand2: #0ea85a;     /* verde brillo */
  --white: #ffffff;

  --stroke: rgba(255,255,255,.14);
  --shadow: 0 16px 50px rgba(0,0,0,.55);

  --radius: 18px;
  --radius2: 26px;

  --container: 1120px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 900px at 15% 10%, rgba(14,168,90,.18), transparent 55%),
              radial-gradient(900px 700px at 85% 15%, rgba(11,122,62,.14), transparent 55%),
              var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.container{
  width: min(var(--container), calc(100% - 48px));
  margin-inline:auto;
}

.tiny{ font-size: .82rem; }
.muted{ color: var(--muted); }
.kicker{
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .78rem;
  color: rgba(255,255,255,.8);
}

/* Ambient accents */
.bg-accents{ position: fixed; inset:0; pointer-events:none; z-index:-1; }
.accent{
  position:absolute;
  width: 440px; height: 440px;
  filter: blur(50px);
  opacity:.45;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(14,168,90,.85), rgba(11,122,62,.0) 70%);
}
.accent.a1{ left:-120px; top: 120px; }
.accent.a2{ right:-180px; top:-80px; opacity:.35; }
.accent.a3{ right: 10%; bottom:-180px; opacity:.30; }

/* Header / Nav */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
}

.nav-glass{
  background: linear-gradient(to bottom, rgba(0,0,0,.62), rgba(0,0,0,.18));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-inner{
  height: 78px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  position: relative;
}

/* Brand badge (logo rompe barra) */
.brand-badge{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-40%); /* rompe barra hacia arriba */
  width: 126px;
  height: 126px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  z-index: 3;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.65));
}

.brand-badge img{
  width: 126px;
  height: 126px;
  object-fit: contain;
  transform: scale(1.0);
  transition: transform .25s ease, filter .25s ease;
  filter:
    drop-shadow(0 0 18px rgba(14,168,90,.55))
    drop-shadow(0 0 45px rgba(11,122,62,.35));
}

.brand-badge:hover img{
  transform: scale(1.12);
  filter:
    drop-shadow(0 0 22px rgba(14,168,90,.70))
    drop-shadow(0 0 70px rgba(11,122,62,.55));
}

/* Right nav */
.nav-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap: 14px;
  padding-left: 140px; /* espacio para el logo grande */
}

.nav-menu{
  list-style:none;
  display:flex;
  align-items:center;
  gap: 18px;
  padding:0;
  margin:0;
}

.nav-menu a{
  font-weight: 700;
  font-size: .92rem;
  color: rgba(255,255,255,.88);
  padding: 10px 10px;
  border-radius: 12px;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.nav-menu a:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle{
  display:none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:2px;
  width: 22px;
  background: rgba(255,255,255,.9);
  margin: 6px auto;
  border-radius: 2px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 14px 34px rgba(0,0,0,.34);
}

.btn-primary{
  background: linear-gradient(135deg, rgba(14,168,90,.95), rgba(11,122,62,.95));
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 18px 42px rgba(11,122,62,.22);
}
.btn-primary:hover{
  box-shadow: 0 22px 52px rgba(14,168,90,.26);
}

.btn-soft{
  background: rgba(0,0,0,.22);
  border-color: rgba(255,255,255,.12);
}

.btn-whatsapp{
  background: linear-gradient(135deg, rgba(14,168,90,.95), rgba(22,196,106,.92));
  border-color: rgba(255,255,255,.12);
}
.btn-lg{ padding: 14px 18px; border-radius: 16px; font-size: 1rem; }

.btn-icon{
  width: 26px; height: 26px;
  display:grid; place-items:center;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}

/* Hero */
.hero{
  position: relative;
  min-height: calc(100svh - 78px);
  display:grid;
  align-items: center;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.05);
}
.hero-fade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 500px at 30% 30%, rgba(0,0,0,.35), rgba(0,0,0,.72)),
    linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.75));
}
.hero-content{ position:relative; z-index:2; padding: 48px 0; }
.hero-card{
  max-width: 720px;
  padding: 26px 26px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.hero-card h1{
  margin: 10px 0 10px;
  font-size: clamp(2.0rem, 4vw, 3.4rem);
  line-height: 1.05;
}
.lead{
  margin: 0 0 18px;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.55;
}
.hero-actions{ display:flex; gap: 12px; flex-wrap:wrap; margin: 10px 0 12px; }
.hero-badges{ display:flex; gap: 10px; flex-wrap:wrap; margin-top: 12px; }

.pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  font-size: .85rem;
}

/* Sections */
.section{ padding: 70px 0; position:relative; }
.section-slim{ padding: 44px 0; }
.section-head{ margin-bottom: 22px; }
.section-head.center{ text-align:center; }
.section-head h2{
  margin:0 0 8px;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
}
.section-head p{ margin:0; }

.notice{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}

/* Cards / grid */
.grid{ display:grid; gap: 18px; }
.grid.two{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.vcenter{ align-items:center; }

.card{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card.glass{
  backdrop-filter: blur(14px);
  background: rgba(0,0,0,.25);
}
.card-body{ padding: 18px; }

.media-card{
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.04);
}
.media-card img{ width:100%; height: 360px; object-fit: cover; }

/* Modalities */
.modalities-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.modality{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  overflow:hidden;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.modality:hover{
  transform: translateY(-3px);
  border-color: rgba(14,168,90,.35);
  background: rgba(255,255,255,.06);
}

.modality-top{
  width:100%;
  padding:0;
  border:0;
  background: transparent;
  color: inherit;
  cursor:pointer;
  text-align:left;
  display:flex;
  flex-direction:column;
  position:relative;
}

.modality-media{
  height: 210px;
  background-size: cover;
  background-position:center;
  filter: saturate(1.05) contrast(1.05);
}
.modality-label{ padding: 14px 14px 16px; }
.modality-label h3{ margin: 0 0 6px; font-size: 1.2rem; }
.modality-label p{ margin: 0; color: var(--muted); }

.chev{
  position:absolute;
  right: 12px;
  bottom: 14px;
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .22s ease;
}
.modality.is-open .chev{ transform: rotate(180deg); }

/* Drop panel (animated height) */
.modality-drop{
  max-height: 0;
  overflow:hidden;
  transition: max-height .32s ease;
  border-top: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.35));
}
.drop-inner{
  padding: 14px 14px 16px;
}
.drop-inner h4{ margin: 0 0 8px; }
.chip-grid{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin: 12px 0 14px;
}
.chip{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  font-weight: 800;
  font-size: .86rem;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.chip:hover{
  transform: translateY(-2px);
  background: rgba(14,168,90,.16);
  border-color: rgba(14,168,90,.35);
}
.drop-cta{ display:flex; gap: 10px; flex-wrap:wrap; }

/* Bullets */
.bullets{ display:grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
.bullet{
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  font-weight: 800;
}

/* STPS Card */
.stps-card{
  display:grid;
  grid-template-columns: 140px 1fr auto;
  align-items:center;
  gap: 14px;
  padding: 18px;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}
.stps-left img{ width: 120px; height:auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.reg{
  color: #fff;
  background: rgba(14,168,90,.16);
  border: 1px solid rgba(14,168,90,.25);
  padding: 6px 10px;
  border-radius: 999px;
}

/* Banner full width */
.section-banner{
  padding: 86px 0;
  overflow:hidden;
}
.banner-bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}
.banner-overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(900px 520px at 35% 35%, rgba(0,0,0,.30), rgba(0,0,0,.75));
}
.banner-content{
  position:relative;
  z-index:2;
  text-align:center;
  max-width: 880px;
}
.banner-content h2{ margin:0 0 10px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.banner-content p{
  margin: 0 auto 16px;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Stats */
.stats-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.stat{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 18px;
  box-shadow: var(--shadow);
  text-align:center;
}
.stat-num{
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 900;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 0 26px rgba(14,168,90,.22);
}
.stat-label{ margin-top: 8px; color: var(--muted); font-weight: 700; }

/* Features */
.features-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.feature{
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  font-weight: 800;
  color: rgba(255,255,255,.88);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.feature:hover{
  transform: translateY(-2px);
  border-color: rgba(14,168,90,.35);
  background: rgba(14,168,90,.10);
}

/* CTA */
.cta{
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(0,0,0,.30), rgba(255,255,255,.04));
  backdrop-filter: blur(14px);
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
}
.cta h2{ margin:0 0 8px; }
.cta p{ margin:0; }
.cta-actions{ display:flex; gap: 12px; flex-wrap:wrap; }

/* Map */
.section-map{ padding: 0; }
.map-wrap{ position:relative; }
.map-click{ display:block; position:relative; }
.map-wrap iframe{
  width:100%;
  height: 520px;
  border:0;
  filter: saturate(1.05) contrast(1.05);
}
.map-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.08));
  display:flex;
  align-items:flex-end;
  pointer-events:none;
}
.map-overlay-inner{ padding-bottom: 22px; }
.map-card{
  pointer-events:none;
  max-width: 560px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.map-card h2{ margin:0 0 6px; }

/* Footer */
.site-footer{
  padding: 58px 0 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.85));
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 24px;
  padding-bottom: 34px;
}
.footer-col h4{
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.footer-parent-logo{ width: 160px; margin-bottom: 10px; opacity: .95; }
.footer-links{
  list-style:none;
  padding:0; margin:0;
  display:grid;
  gap: 10px;
}
.footer-links a{
  color: rgba(255,255,255,.80);
  font-weight: 700;
}
.footer-links a:hover{ color:#fff; text-decoration: underline; }

.social-row{ display:grid; gap: 10px; }
.social{
  display:flex; align-items:center; gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.social:hover{
  transform: translateY(-2px);
  background: rgba(14,168,90,.10);
  border-color: rgba(14,168,90,.30);
}
.ico{
  width: 30px; height: 30px;
  display:grid; place-items:center;
  border-radius: 999px;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
}
.footer-bottom-inner{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap:wrap;
}

/* Responsive */
@media (max-width: 1080px){
  .modalities-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px){
  .grid.two{ grid-template-columns: 1fr; }
  .stps-card{ grid-template-columns: 1fr; text-align:center; }
  .stps-right{ display:flex; justify-content:center; }
  .features-grid{ grid-template-columns: 1fr 1fr; }
  .stats-grid{ grid-template-columns: 1fr; }
  .cta{ flex-direction:column; align-items:flex-start; }
}
@media (max-width: 760px){
  .nav-toggle{ display:block; }
  .nav-menu{
    position:absolute;
    top: 78px;
    right: 0;
    width: min(420px, 100%);
    padding: 14px;
    margin: 0;
    flex-direction:column;
    align-items:stretch;
    gap: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    transform-origin: top right;
    transform: scale(.98);
    opacity: 0;
    pointer-events:none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav-menu.is-open{
    opacity: 1;
    transform: scale(1);
    pointer-events:auto;
  }
  .nav-right{ padding-left: 140px; }
  .brand-badge{ width: 112px; height:112px; }
  .brand-badge img{ width:112px; height:112px; }
  .features-grid{ grid-template-columns: 1fr; }
}









/* ===== MAP LOGO FLOATING BADGE ===== */

.map-card {
  position: relative;
  padding-top: 80px; /* espacio para el logo */
  text-align: center;
}

.map-logo {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255,255,255,.15);
  box-shadow:
    0 20px 50px rgba(0,0,0,.6),
    0 0 35px rgba(14,168,90,.45);
}

.map-logo img {
  width: 95px;
  height: 95px;
  object-fit: contain;
  border-radius: 50%;
  filter:
    drop-shadow(0 0 18px rgba(14,168,90,.6))
    drop-shadow(0 0 40px rgba(11,122,62,.4));
  transition: transform .3s ease, filter .3s ease;
}

.map-logo:hover img {
  transform: scale(1.08);
  filter:
    drop-shadow(0 0 25px rgba(14,168,90,.75))
    drop-shadow(0 0 60px rgba(11,122,62,.6));
}














/* ===============================
   CERTIFICATE VERIFICATION BLOCK
================================ */

.section-verify {
  padding: 90px 0;
}

.verify-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(0,0,0,.35), rgba(255,255,255,.04));
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px rgba(0,0,0,.55);
  overflow: hidden;
}

/* Glow ambient */
.verify-card::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(14,168,90,.25), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.verify-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.verify-logo img {
  width: 180px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 20px rgba(14,168,90,.5))
    drop-shadow(0 0 50px rgba(11,122,62,.3));
  transition: transform .3s ease, filter .3s ease;
}

.verify-logo img:hover {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 30px rgba(14,168,90,.7))
    drop-shadow(0 0 70px rgba(11,122,62,.5));
}

.verify-content h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
}

.verify-content h3 {
  margin: 0 0 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.verify-content p {
  margin-bottom: 18px;
  max-width: 620px;
}

/* Responsive */
@media (max-width: 900px) {
  .verify-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .verify-logo img {
    width: 150px;
  }
}

















/* ===============================
   MODALIDADES HORIZONTAL PANEL
================================ */

.modalities-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.mod-card {
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition: transform .3s ease, box-shadow .3s ease;
}

.mod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,.6);
}

.mod-img {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.mod-info {
  padding: 15px;
}

.mod-info h3 {
  margin: 0 0 6px;
}

.mod-info p {
  margin: 0;
  color: rgba(255,255,255,.75);
}

/* PANEL */
.modalities-panel {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(0,0,0,.35), rgba(255,255,255,.04));
  backdrop-filter: blur(16px);
  padding: 35px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.panel-content {
  display: none;
  animation: fadeSlide .4s ease;
}

.panel-content.active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-actions {
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .modalities-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .modalities-top {
    grid-template-columns: 1fr;
  }
}





























/* ===============================
   MODALIDADES HORIZONTAL PANEL
================================ */

.modalities-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.mod-card {
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.mod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,.6);
  border-color: rgba(14,168,90,.35);
}

.mod-img {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.mod-info {
  padding: 15px;
}

.mod-info h3 {
  margin: 0 0 6px;
}

.mod-info p {
  margin: 0;
  color: rgba(255,255,255,.75);
}

/* PANEL */

.modalities-panel {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(0,0,0,.35), rgba(255,255,255,.04));
  backdrop-filter: blur(16px);
  padding: 35px;
  min-height: 180px;
  position: relative;
}

.panel-placeholder,
.panel-content {
  display: none;
  animation: fadeSlide .4s ease;
}

.panel-placeholder.active,
.panel-content.active {
  display: block;
}

.placeholder-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.panel-actions {
  margin-top: 20px;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .modalities-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .modalities-top {
    grid-template-columns: 1fr;
  }
}























/* =====================================
   DyscoLabs Floating Badge Responsive
===================================== */

.dyscolabs-badge{
    position:fixed;
    bottom:20px;
    right:20px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 16px;
    background:rgba(0, 20, 15, 0.85);
    backdrop-filter:blur(6px);
    border:1px solid rgba(0,255,140,0.15);
    border-radius:40px;
    text-decoration:none;
    color:#cfe9dc;
    font-size:13px;
    font-weight:500;
    z-index:9999;
    transition:all 0.3s ease;
    opacity:0.8;
}

.dyscolabs-badge img{
    height:22px;
    width:auto;
}

.dyscolabs-badge span{
    white-space:nowrap;
}

/* Hover desktop */

.dyscolabs-badge:hover{
    opacity:1;
    transform:translateY(-3px);
    border-color:rgba(0,255,140,0.4);
    box-shadow:0 0 15px rgba(0,255,140,0.2);
}

/* ======================
   MOBILE VERSION
====================== */

@media(max-width:768px){

    .dyscolabs-badge{
        padding:10px;
        border-radius:50%;
        gap:0;
    }

    .dyscolabs-badge span{
        display:none; /* 🔥 solo logo */
    }

}












/* ===============================
   ALUMNI POLAROID COLLAGE
================================ */

.section-alumni {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.alumni-collage {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  padding: 60px 20px 40px;
  scroll-behavior: smooth;
  position: relative;
}

.alumni-collage::-webkit-scrollbar {
  height: 8px;
}

.alumni-collage::-webkit-scrollbar-thumb {
  background: rgba(14,168,90,.4);
  border-radius: 10px;
}

/* POLAROID STYLE */

.polaroid {
  flex: 0 0 auto;
  transform: rotate(calc(-4deg + (var(--i) % 6) * 2deg));
  transition: transform .4s ease, box-shadow .4s ease;
}

.polaroid-inner {
  background: #fff;
  padding: 15px 15px 40px;
  width: 260px;
  box-shadow:
    0 25px 40px rgba(0,0,0,.6),
    0 0 35px rgba(14,168,90,.25);
  border-radius: 6px;
  position: relative;
}

.polaroid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
}

/* Hover effect */

.polaroid:hover {
  transform: scale(1.08) rotate(0deg);
  z-index: 5;
}

.polaroid:hover .polaroid-inner {
  box-shadow:
    0 35px 60px rgba(0,0,0,.75),
    0 0 50px rgba(14,168,90,.45);
}

/* Background subtle gradient */

.section-alumni::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  left: -200px;
  top: -150px;
  background: radial-gradient(circle, rgba(14,168,90,.18), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

/* Responsive */

@media (max-width: 768px) {
  .polaroid-inner {
    width: 200px;
  }

  .polaroid img {
    height: 180px;
  }
}









/* ===============================
   PHOTO THROW EFFECT
================================ */

.section-alumni {
  padding: 120px 0;
  position: relative;
}

.photo-stage {
  position: relative;
  height: 520px;
  margin-top: 60px;
  overflow: hidden;
}

/* Polaroid base */

.throw-photo {
  position: absolute;
  width: 260px;
  background: #fff;
  padding: 14px 14px 40px;
  border-radius: 6px;
  box-shadow:
    0 25px 45px rgba(0,0,0,.6),
    0 0 35px rgba(14,168,90,.25);
  opacity: 0;
  transform: translateY(-200px) rotate(-15deg) scale(.8);
  transition: transform .8s cubic-bezier(.2,.8,.2,1),
              opacity .5s ease;
}

.throw-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
}

/* Cuando cae */

.throw-photo.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .photo-stage {
    height: 420px;
  }

  .throw-photo {
    width: 200px;
  }

  .throw-photo img {
    height: 180px;
  }
}








/* PANEL DINÁMICO SOLO MÓVIL */

.mobile-panel {
  margin-top: 20px;
  animation: slideDown .35s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Solo ocultamos el panel inferior en móvil */

@media (max-width: 991px) {
  .modalities-panel {
    display: none;
  }
}





















/* ===============================
   INSTALACIONES PRO
================================ */

.section-install {
  padding: 120px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 60px;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 30px 25px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all .35s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #0ea85a;
  box-shadow: 0 10px 35px rgba(14,168,90,.3);
}

.icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg,#0ea85a,#0b6e3b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
}

.feature-card span {
  font-weight: 500;
  font-size: 15px;
  color: #fff;
}















/* ================= CALENDARIO DYSCO PRO ================= */

.section-calendar{
  padding: 90px 0;
  position: relative;
}

.calendar-wrapper{
  margin-top: 40px;
}

.calendar-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:30px;
}

.cal-btn{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border:none;
  color:#fff;
  padding:10px 18px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  transition:.25s ease;
  box-shadow:0 10px 25px rgba(11,122,62,.25);
}

.cal-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 35px rgba(14,168,90,.35);
}

.cal-current{
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

/* GRID SOLO 4 MESES */

.calendar-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* MES */

.cal-month-cell{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  padding:18px;
  min-height:240px;
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:.3s ease;
}

.cal-month-cell:hover{
  transform:translateY(-4px);
  border-color:rgba(14,168,90,.35);
}

/* TITULO MES */

.cal-month-title{
  font-weight:900;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--brand2);
  margin-bottom:10px;
}

/* EVENTOS */

/* eventos cortos */
.cal-range.short{
  background:rgba(255,255,255,.08);
  border-left:4px solid var(--brand2);
}

/* eventos rango medio */
.cal-range.medium{
  background:rgba(14,168,90,.15);
  border-left:4px solid var(--brand2);
}

/* eventos largos */
.cal-range.long{
  background:rgba(14,168,90,.25);
  border-left:4px solid var(--brand2);
  font-weight:700;
}

.cal-range{
  font-size:13px;
  padding:8px 10px;
  border-radius:10px;
  line-height:1.3;
}

/* CTA */

.calendar-cta{
  margin-top:50px;
  text-align:center;
}

/* RESPONSIVE */

@media(max-width:992px){
  .calendar-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .calendar-grid{
    grid-template-columns:1fr;
  }
}














/* ===============================
   FOOTER PARENT BRAND EFFECT
================================ */

.footer-parent-link{
  display:inline-block;
  position:relative;
}

.footer-parent-logo{
  width:160px;
  height:auto;
  transition: transform .35s ease,
              filter .35s ease;
  filter:
    drop-shadow(0 0 8px rgba(14,168,90,.25));
}

/* Hover elegante */

.footer-parent-link:hover .footer-parent-logo{
  transform: translateY(-4px) scale(1.06);
  filter:
    drop-shadow(0 0 12px rgba(14,168,90,.45))
    drop-shadow(0 0 28px rgba(11,122,62,.35));
}

/* Glow animado sutil */

.footer-parent-link::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:50%;
  background: radial-gradient(circle,
              rgba(14,168,90,.25) 0%,
              rgba(14,168,90,0) 70%);
  opacity:0;
  transition:opacity .4s ease;
  pointer-events:none;
}

.footer-parent-link:hover::after{
  opacity:.8;
}





















/* ===============================
   FACEBOOK AUTHORITY PRO
================================ */

.section-fb{
  padding:120px 0;
  position:relative;
}

.section-fb::before{
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  left:-200px;
  top:-150px;
  background:radial-gradient(circle, rgba(14,168,90,.18), transparent 70%);
  filter:blur(80px);
  pointer-events:none;
}

.fb-rating-box{
  margin-top:50px;
  margin-bottom:70px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  padding:40px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(135deg, rgba(0,0,0,.35), rgba(255,255,255,.04));
  backdrop-filter:blur(16px);
  box-shadow:0 25px 60px rgba(0,0,0,.55);
  flex-wrap:wrap;
}

.fb-score{
  display:flex;
  align-items:center;
  gap:30px;
}

.fb-stars span{
  font-size:34px;
  color:var(--brand2);
  text-shadow:0 0 15px rgba(14,168,90,.5);
  animation:starPulse 2.5s infinite alternate;
}

.fb-stars span:nth-child(2){ animation-delay:.2s; }
.fb-stars span:nth-child(3){ animation-delay:.4s; }
.fb-stars span:nth-child(4){ animation-delay:.6s; }
.fb-stars span:nth-child(5){ animation-delay:.8s; }

@keyframes starPulse{
  from{
    transform:scale(1);
    text-shadow:0 0 10px rgba(14,168,90,.3);
  }
  to{
    transform:scale(1.1);
    text-shadow:0 0 25px rgba(14,168,90,.7);
  }
}

.fb-percent{
  font-size:42px;
  font-weight:900;
}

.fb-count{
  color:var(--muted);
  font-weight:600;
}

.fb-btn .btn-icon{
  font-weight:900;
  background:#1877F2;
  color:#fff;
}

/* REVIEWS GRID */

.fb-reviews-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.fb-review-card{
  position:relative;
  padding:35px 30px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
  transition:.35s ease;
}

.fb-review-card:hover{
  transform:translateY(-6px);
  border-color:rgba(14,168,90,.35);
  box-shadow:
    0 25px 60px rgba(0,0,0,.6),
    0 0 40px rgba(14,168,90,.25);
}

.quote-mark{
  position:absolute;
  top:-20px;
  left:20px;
  font-size:80px;
  color:rgba(14,168,90,.25);
  font-weight:900;
}

.fb-review-card p{
  font-size:15px;
  line-height:1.6;
  color:#fff;
}

.fb-author{
  margin-top:18px;
  font-weight:700;
  color:var(--brand2);
}

/* Responsive */

@media(max-width:900px){
  .fb-rating-box{
    flex-direction:column;
    text-align:center;
  }
}












/* ===============================
   FACEBOOK AUTHORITY v2
================================ */

.section-fb{
  padding:120px 0;
  text-align:center;
  position:relative;
}

.section-fb::before{
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  left:-200px;
  top:-150px;
  background:radial-gradient(circle, rgba(14,168,90,.15), transparent 70%);
  filter:blur(80px);
  pointer-events:none;
}

/* ⭐ ESTRELLAS GRANDES AMARILLAS */

.fb-stars-big{
  display:flex;
  justify-content:center;
  gap:14px;
  font-size:64px;
  margin-top:30px;
  margin-bottom:20px;
}

.fb-stars-big span{
  color:#FFD700;
  text-shadow:
    0 0 10px rgba(255,215,0,.6),
    0 0 25px rgba(255,215,0,.4),
    0 0 40px rgba(255,200,0,.3);
  animation:starBounce 2.5s infinite ease-in-out;
}

.fb-stars-big span:nth-child(2){ animation-delay:.15s; }
.fb-stars-big span:nth-child(3){ animation-delay:.3s; }
.fb-stars-big span:nth-child(4){ animation-delay:.45s; }
.fb-stars-big span:nth-child(5){ animation-delay:.6s; }

@keyframes starBounce{
  0%,100%{ transform:translateY(0) scale(1); }
  50%{ transform:translateY(-6px) scale(1.08); }
}

/* TEXTO Y LINK */

.fb-rating-line{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:25px;
  flex-wrap:wrap;
  margin-bottom:70px;
}

.fb-rating-text{
  font-size:20px;
  font-weight:600;
}

.fb-rating-text strong{
  font-size:28px;
  font-weight:900;
}

.fb-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 18px;
  border-radius:14px;
  background:#1877F2;
  color:#fff;
  font-weight:700;
  transition:.3s ease;
  box-shadow:0 10px 25px rgba(24,119,242,.35);
}

.fb-link:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(24,119,242,.45);
}

.fb-icon{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#1877F2;
  border-radius:50%;
  font-weight:900;
}

/* REVIEWS GRID */

.fb-reviews-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.fb-review-card{
  position:relative;
  padding:35px 30px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
  transition:.35s ease;
  text-align:left;
}

.fb-review-card:hover{
  transform:translateY(-6px);
  border-color:rgba(14,168,90,.35);
  box-shadow:
    0 25px 60px rgba(0,0,0,.6),
    0 0 40px rgba(14,168,90,.25);
}

.quote-mark{
  position:absolute;
  top:-20px;
  left:20px;
  font-size:80px;
  color:rgba(14,168,90,.25);
  font-weight:900;
}

.fb-author{
  margin-top:18px;
  font-weight:700;
  color:var(--brand2);
}

/* Responsive */

@media(max-width:768px){
  .fb-stars-big{
    font-size:48px;
  }
}