@font-face {
  font-family: "Planer";
  src: url("../fonts/Planer-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --azul: #25519f;
  --verde: #009875;
  --blanco: #ffffff;
  --negro: #000000;
  --gutter: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Planer", Arial, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-weight: 400; line-height: 1.2; color: var(--azul); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--azul); }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 56px 0; }
.alt { background: #f4f7fb; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: #333; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--blanco);
  border-bottom: 1px solid #e6e6e6;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; color: var(--negro); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--azul); }
.nav .btn-agenda { color: var(--blanco); background: var(--verde); padding: 10px 18px; border-radius: 999px; }
.nav .btn-agenda:hover { color: var(--blanco); background: var(--azul); }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  font-size: 1.6rem; color: var(--azul);
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--verde);
  background: var(--verde); color: var(--blanco); font-size: 1rem; font-family: inherit;
}
.btn:hover { background: var(--azul); border-color: var(--azul); color: var(--blanco); }
.btn-outline { background: transparent; color: var(--azul); border-color: var(--azul); }
.btn-outline:hover { background: var(--azul); color: var(--blanco); }
.btn-wa { background: var(--verde); border-color: var(--verde); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* Hero */
.hero { padding: 48px 0 56px; text-align: center; }
.hero .logo-big {
  width: min(520px, 80%); margin: 0 auto 28px;
  animation: logoIn 1s cubic-bezier(.2, .7, .2, 1) both, logoFloat 6s ease-in-out 1s infinite;
  transition: scale .4s ease;
}
.hero .logo-big:hover { scale: 1.04; }
.hero .sub { font-size: 1.15rem; color: #333; max-width: 640px; margin: 0 auto; }

.about-photo { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 48px; }
.about-photo img { width: min(320px, 70%); border-radius: 16px; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 32px; }
.card {
  border: 1px solid #dfe6f1; border-radius: 14px; padding: 24px; background: var(--blanco);
}
.card .tag { display: inline-block; color: var(--verde); font-size: .9rem; margin-bottom: 8px; }
.card a.more { color: var(--verde); text-decoration: none; }

/* FAQ */
details { border-bottom: 1px solid #e6e6e6; padding: 16px 0; }
summary { cursor: pointer; color: var(--azul); font-size: 1.05rem; }
details p { margin: 12px 0 0; color: #333; }

/* Forms */
form.contact { display: grid; gap: 16px; max-width: 620px; margin: 32px auto 0; }
form.contact label { display: grid; gap: 6px; font-size: .95rem; }
form.contact input, form.contact select, form.contact textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #bfc8d6;
  border-radius: 10px; background: var(--blanco); color: var(--negro);
}
form.contact input:focus, form.contact select:focus, form.contact textarea:focus {
  outline: 3px solid var(--verde); outline-offset: 1px;
}
form.contact textarea { min-height: 120px; resize: vertical; }
form.contact .btn { justify-self: start; }
.wa-box { margin-top: 40px; text-align: center; }

/* Recursos */
.resource { display: grid; gap: 16px; align-items: center; }
.resource img.cover { width: 160px; border-radius: 8px; border: 1px solid #dfe6f1; }
.empty { color: #555; text-align: center; padding: 32px 0; }

/* Footer */
.site-footer { background: var(--azul); color: var(--blanco); padding: 40px 0; }
.site-footer a { color: var(--blanco); }
.site-footer .cols { display: grid; gap: 24px; }
.site-footer h3 { color: var(--blanco); font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.copy { margin-top: 32px; font-size: .85rem; opacity: .85; }

/* Mobile */
@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blanco); border-bottom: 1px solid #e6e6e6; padding: 8px var(--gutter) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .nav .btn-agenda { text-align: center; margin-top: 12px; border: 0; }
  .brand img { height: 40px; }
}

@media (min-width: 640px) {
  .grid.two { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .resource { grid-template-columns: 160px 1fr; }
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; }
  .about-photo { flex-direction: row; text-align: left; }
}

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

/* Estilo de campaña: secciones oscuras con degradado y tarjetas claras */
.hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(37, 81, 159, .16), transparent 55%),
    linear-gradient(180deg, #eef4ff 0%, #fff 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; text-align: left; }
.hero-photo { width: 100%; max-width: 560px; }
.hero-grid .logo-big { margin: 0 0 24px; }
.hero-grid .actions { justify-content: flex-start; }
.hero-grid .sub { margin: 0; }
.hero-photo {
  margin: 0; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(37, 81, 159, .18);
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}
.hero .btn { border-radius: 999px; padding: 16px 30px; }
.hero h1 {
  background: linear-gradient(90deg, var(--azul), var(--verde));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.alt {
  background: linear-gradient(160deg, #25519f 0%, #000 100%);
  color: #fff;
}
.alt h2, .alt summary { color: #fff; }
.alt p, .alt .lead, .alt details p, .alt .empty { color: #e8eef8; }
.alt details { border-color: rgba(255, 255, 255, .18); }
.alt form.contact label, .alt .wa-box p { color: #fff; }
.alt .card { color: #000; }
.alt .card h2, .alt .card h3 { color: var(--azul); }
.alt .card p { color: #222; }

/* Botones con icono: bloques oscuros con icono azul */
.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--azul); color: var(--blanco); flex: 0 0 auto;
}
.icon-box svg { width: 26px; height: 26px; }
.card .icon-box { margin-bottom: 16px; }
.tile {
  display: flex; align-items: center; gap: 14px;
  background: var(--negro); color: var(--blanco); text-decoration: none;
  border-radius: 16px; padding: 14px 18px;
  transition: translate .25s ease, box-shadow .25s ease;
}
.tile:hover { translate: 0 -3px; box-shadow: 0 12px 26px rgba(37, 81, 159, .35); color: var(--blanco); }
.tile strong { display: block; font-weight: 400; font-size: 1.1rem; }
.tile small { display: block; color: #a9b4c6; font-size: .9rem; }
.tile .icon-box { width: 48px; height: 48px; border-radius: 12px; }
.tile .icon-box svg { width: 24px; height: 24px; }
.tiles { display: grid; gap: 14px; max-width: 620px; margin: 24px auto 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
.site-footer .tile { margin-bottom: 0; }
.site-footer ul li { margin-bottom: 12px; }

/* Botón flotante de WhatsApp, siempre abajo a la derecha */
.wa-float {
  position: fixed; right: 20px; bottom: 88px; z-index: 30;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--verde); color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  transition: translate .25s ease, background .25s ease;
}
.wa-float:hover { background: var(--azul); translate: 0 -3px; color: var(--blanco); }
.wa-float svg { width: 30px; height: 30px; }

/* Redes sociales en el pie */
.social { display: flex; gap: 12px; margin-top: 8px; }
.social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--blanco); color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease;
}
.social a:hover { background: var(--blanco); color: var(--azul); }
.social svg { width: 20px; height: 20px; }

/* Páginas legales */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* Encabezado renovado: vidrio, botones tipo píldora y botón destacado */
.site-header {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 81, 159, .1);
}
.header-inner { height: 80px; }
.brand img { height: 52px; }
.nav { gap: 6px; }
.nav a::after { content: none; }
.nav a:not(.btn-agenda) { padding: 9px 16px; border-radius: 999px; transition: background .25s ease, color .25s ease; }
.nav a:not(.btn-agenda):hover { background: #eef4ff; color: var(--azul); }
.nav a[aria-current="page"]:not(.btn-agenda) { background: var(--azul); color: var(--blanco); }
.nav .btn-agenda { padding: 11px 22px; box-shadow: 0 8px 18px rgba(0, 152, 117, .3); }
.nav .btn-agenda:hover { box-shadow: 0 10px 22px rgba(37, 81, 159, .3); }
@media (max-width: 800px) {
  .nav { gap: 4px; }
  .nav.open { border-radius: 0 0 20px 20px; box-shadow: 0 20px 40px rgba(37, 81, 159, .15); }
  .nav a, .nav a:not(.btn-agenda) { padding: 14px 16px; border-bottom: 0; border-radius: 12px; }
  .nav a[aria-current="page"]:not(.btn-agenda) { background: #eef4ff; color: var(--azul); }
  .nav .btn-agenda { margin-top: 10px; }
}

/* Pie renovado: banda de llamada, iconos grandes y barra inferior */
.site-footer {
  position: relative; overflow: hidden; padding: 0 0 28px;
  background: linear-gradient(160deg, #25519f 0%, #000 100%);
}
.site-footer::before {
  content: ""; position: absolute; top: -140px; right: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0, 152, 117, .45), transparent 70%);
  pointer-events: none;
}
.site-footer > .wrap { position: relative; }
.footer-cta {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  padding: 56px 0 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-cta h2 { color: var(--blanco); margin: 0 0 6px; }
.footer-cta p { color: #dfe7f5; margin: 0; }
.footer-cta .btn { background: var(--verde); border-color: var(--verde); }
.footer-cta .btn:hover { background: var(--blanco); border-color: var(--blanco); color: var(--azul); }
.site-footer h3 {
  text-transform: uppercase; letter-spacing: .12em; font-size: .85rem;
  opacity: .75; margin-bottom: 14px;
}
.site-footer ul a { display: inline-block; text-decoration: none; transition: translate .2s ease; }
.site-footer ul a:hover { text-decoration: underline; translate: 4px 0; }
.site-footer .social { gap: 12px; margin-top: 18px; }
.site-footer .social a {
  width: 46px; height: 46px; border-radius: 14px; border: 0;
  background: rgba(255, 255, 255, .12); color: var(--blanco);
}
.site-footer .social a:hover { background: var(--verde); translate: 0 -3px; color: var(--blanco); }
.site-footer .copy {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem; opacity: .9;
}

/* Diseño llamativo: tipografía de impacto, acentos y destellos */
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.005em; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .2em; color: var(--verde);
}
.eyebrow::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px;
  border-radius: 50%; background: var(--verde); vertical-align: middle;
}
.alt .eyebrow { color: var(--blanco); }
.alt { position: relative; overflow: hidden; }
.alt::before {
  content: ""; position: absolute; top: -180px; right: -180px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0, 152, 117, .3), transparent 70%);
  pointer-events: none;
}
.alt > .wrap { position: relative; }
.btn { transition: background .25s ease, border-color .25s ease, transform .15s ease, box-shadow .3s ease; }
.btn:hover { translate: 0 -2px; box-shadow: 0 14px 28px rgba(0, 152, 117, .35); }
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  transform: scaleX(.2); transform-origin: left; transition: transform .4s ease;
}
.card:hover::before { transform: scaleX(1); }

/* Insignias flotantes sobre la foto del hero */
.hero-photo { position: relative; }
.hero-badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  animation: badgeFloat 5s ease-in-out infinite;
}
.hero-badge .icon-box { width: 44px; height: 44px; border-radius: 12px; }
.hero-badge .icon-box svg { width: 22px; height: 22px; }
.hero-badge strong { display: block; font-weight: 400; color: var(--negro); font-size: 1rem; }
.hero-badge small { display: block; color: #555; font-size: .82rem; }
.hb-1 { left: 16px; bottom: 56px; }
.hb-2 { right: 16px; top: 44px; animation-delay: -2.5s; }
@keyframes badgeFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@media (max-width: 639px) {
  .hb-1 { left: 10px; }
  .hb-2 { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge { animation: none; }
}

/* Botones de contacto del pie: ancho completo y en fila */
.site-footer ul li { display: block; }
.site-footer ul a.tile {
  display: flex; width: 100%; box-sizing: border-box;
  padding: 16px 18px; text-decoration: none; translate: none;
}
.site-footer ul a.tile {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px; padding: 14px 16px; gap: 14px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.site-footer ul a.tile .icon-box { width: 44px; height: 44px; border-radius: 50%; background: var(--verde); }
.site-footer ul a.tile .icon-box svg { width: 22px; height: 22px; }
.site-footer ul a.tile small { color: #dfe7f5; opacity: .85; }
.site-footer ul a.tile:hover {
  text-decoration: none; translate: 0 -3px;
  background: rgba(255, 255, 255, .16); box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
}
.site-footer ul a.tile strong { font-size: 1.05rem; }
@media (min-width: 640px) {
  .site-footer .cols { grid-template-columns: 1.3fr 1fr 1.4fr; }
}

/* Pie compacto */
.site-footer { padding-top: 40px; padding-bottom: 16px; }
.site-footer .cols > div:first-child { align-self: start; }
.footer-cta { padding: 32px 0 24px; margin-bottom: 24px; gap: 16px; }
.footer-cta h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.site-footer .cols { gap: 20px; }
.site-footer .cols > div:first-child img { width: 120px !important; height: auto; }
.site-footer .cols > div:first-child p { margin: 10px 0 0; font-size: .92rem; }
.site-footer h3 { margin-bottom: 8px; }
.site-footer li { margin-bottom: 4px; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a.tile { padding: 9px 12px; gap: 10px; border-radius: 14px; }
.site-footer ul a.tile .icon-box { width: 36px; height: 36px; }
.site-footer ul a.tile .icon-box svg { width: 18px; height: 18px; }
.site-footer ul a.tile strong { font-size: .95rem; }
.site-footer ul a.tile small { font-size: .8rem; }
.site-footer .social { gap: 8px; margin-top: 12px; }
.site-footer .social a { width: 38px; height: 38px; border-radius: 12px; }
.site-footer .social svg { width: 18px; height: 18px; }
.site-footer .copy { margin-top: 20px; padding-top: 12px; font-size: .8rem; }

/* Pie pulido: iconos más legibles, acento en títulos y flecha en los enlaces */
.site-footer .social a { width: 44px; height: 44px; border-radius: 14px; }
.site-footer .social svg { width: 22px; height: 22px; stroke-width: 2.2; }
.site-footer h3 { position: relative; padding-bottom: 10px; }
.site-footer h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 3px; border-radius: 3px; background: var(--verde);
}
.site-footer ul a:not(.tile)::before {
  content: "→"; display: inline-block; width: 0; opacity: 0; overflow: hidden;
  margin-right: 0; transition: width .25s ease, opacity .25s ease, margin-right .25s ease;
  color: var(--verde);
}
.site-footer ul a:not(.tile):hover::before { width: 16px; opacity: 1; margin-right: 6px; }
.site-footer .copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-right: 72px; }

/* Fila inferior del pie: redes y derechos en la misma línea */
.site-footer > .wrap {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 24px;
}
.site-footer .cols {
  grid-column: 1 / -1;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding-bottom: 24px; margin-bottom: 20px;
}
.site-footer .social { grid-column: 1; margin-top: 0; }
.site-footer .copy {
  grid-column: 2; margin: 0; padding: 0 72px 0 0; border: 0;
  justify-content: flex-end; text-align: right; gap: 0;
}
@media (max-width: 639px) {
  .site-footer > .wrap { grid-template-columns: 1fr; gap: 16px; }
  .site-footer .social, .site-footer .copy { grid-column: 1; }
  .site-footer .copy { justify-content: flex-start; text-align: left; padding-right: 0; }
}

/* Columna de marca: centrada entre el borde izquierdo y la columna de navegación */
.site-footer .cols > div:first-child {
  text-align: center; align-self: stretch; align-items: center;
  display: flex; flex-direction: column; justify-content: center;
}
.site-footer .cols > div:first-child img { margin: 0; }
.site-footer .cols > div:first-child p { line-height: 1.5; }

/* Redes bajo WhatsApp y derechos centrados abajo */
.site-footer > .wrap { grid-template-columns: 1fr; }
.site-footer .social { grid-column: auto; margin-top: 16px; justify-content: flex-start; }
.site-footer .copy {
  grid-column: 1; justify-self: stretch; justify-content: center; text-align: center;
  margin: 0; padding: 0; border: 0;
}

/* Enlace discreto al administrador */
.site-footer .admin-link {
  position: absolute; right: 16px; bottom: 6px;
  font-size: 11px; color: var(--blanco); opacity: .35; text-decoration: none;
  transition: opacity .25s ease;
}
.site-footer .admin-link:hover { opacity: .9; text-decoration: underline; }

/* Franja con foto y texto superpuesto */
.band {
  position: relative; margin: 0; min-height: 380px;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(37, 81, 159, .18);
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(37, 81, 159, .94) 0%, rgba(0, 0, 0, .35) 100%);
}
.band-text {
  position: relative; z-index: 1; color: var(--blanco);
  max-width: 520px; min-height: 380px; padding: 48px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px;
}
.band-text h2 { color: var(--blanco); margin: 0; }
.band-text .btn { background: var(--blanco); color: var(--negro); border-color: var(--blanco); }
.band-text .btn:hover { background: var(--verde); border-color: var(--verde); color: var(--blanco); }
@media (max-width: 639px) { .band-text { padding: 28px; } }

/* Botón para subir al inicio (aparece al bajar) */
.to-top {
  position: fixed; right: 24px; bottom: 20px; z-index: 30;
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: var(--azul); color: var(--blanco); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; translate: 0 12px;
  transition: opacity .3s ease, translate .3s ease, visibility .3s ease, background .25s ease;
}
.to-top.show { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:hover { background: var(--verde); }
.to-top svg { width: 24px; height: 24px; }

/* Movimiento */
@keyframes logoIn {
  from { opacity: 0; transform: scale(.85) translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes logoFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.cursor-net {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 9; pointer-events: none;
}

.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--verde); z-index: 20;
}

.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 18px rgba(37, 81, 159, .10); }

.nav a { position: relative; transition: color .2s ease; }
.nav a:not(.btn-agenda)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--verde); transition: width .3s ease;
}
.nav a:not(.btn-agenda):hover::after,
.nav a[aria-current="page"]:not(.btn-agenda)::after { width: 100%; }

.btn { transition: background .25s ease, border-color .25s ease, transform .15s ease; }
.btn:active { transform: scale(.97); }

.card { transition: translate .35s ease, border-color .35s ease, box-shadow .35s ease; }
.card:hover {
  translate: 0 -4px; border-color: var(--verde);
  box-shadow: 0 14px 30px rgba(37, 81, 159, .12);
}
.card a.more { display: inline-block; transition: translate .25s ease; }
.card:hover a.more { translate: 6px 0; }

.about-photo img { transition: transform .5s ease, box-shadow .5s ease; }
.about-photo img:hover { transform: rotate(-1.5deg) scale(1.03); box-shadow: 0 16px 34px rgba(37, 81, 159, .2); }

/* Revelado al hacer scroll (lo añade main.js) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal:not(.in) { transition-delay: var(--d, 0ms); }
.card.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), translate .35s ease, border-color .35s ease, box-shadow .35s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .logo-big { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .progress { display: none; }
}
