/* =========================================================
   ACPD Córdoba — estilos del sitio
   Réplica en código del diseño hecho en el constructor de Hostinger
   ========================================================= */

:root {
  --navy: #193356;          /* cabecera y pie */
  --btn: #3E5C86;           /* botones "Más información" */
  --btn-hover: #2C4A73;
  --sky: #72A1D1;           /* sección Alianza Estratégica */
  --ice: #E3F0FF;           /* sección Beneficios */
  --card: #EAEEF2;          /* tarjetas de cursos */
  --red: #E5191B;           /* etiquetas Charla / Virtual / Presencial */
  --wa: #128C55;            /* botón flotante de WhatsApp */
  --ink: #1A1A1A;
  --text: #2E2E2E;
  --muted: #4A4F57;
  --max: 1240px;
  --font-head: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-nav: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1680px; margin: 0 auto; padding: 0 38px; }
.section { padding: 110px 0; }
.center { text-align: center; }
.h-lg { font-size: clamp(32px, 4.2vw, 56px); }
.lead { font-size: clamp(16px, 1.4vw, 20px); color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: #FFFFFF; color: var(--navy); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 34px; border-radius: 999px;
  font-family: var(--font-body); font-size: 17px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: 0;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--btn); color: #FFFFFF; }
.btn-solid:hover { background: var(--btn-hover); box-shadow: 0 10px 22px -12px rgba(25, 51, 86, .7); }
.btn-big { min-width: 260px; min-height: 100px; font-size: 21px; padding: 20px 40px; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); min-width: 220px; min-height: 64px; }
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.btn-light { background: #FFFFFF; color: var(--navy); }
.btn-light:hover { background: var(--ice); }
.btn-card { border-radius: 12px; padding: 14px 26px; font-size: 18px; min-height: 64px; }

/* ---------- Cabecera ---------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .6); }
.header-in { max-width: 1680px; margin: 0 auto; padding: 6px 36px; display: flex; align-items: center; gap: 40px; min-height: 170px; transition: min-height .3s; }
.site-header.scrolled .header-in { min-height: 96px; }
.brand { flex: none; display: block; }
.brand img { width: 186px; height: auto; transition: width .3s; }
.site-header.scrolled .brand img { width: 100px; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-nav); font-size: 21px; color: #FFFFFF; text-decoration: none;
  position: relative;
}
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: #FFFFFF; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #BFD6F2; }
.nav a[aria-current="page"]::after { background: #BFD6F2; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: #FFFFFF; margin: 7px 0; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1000px) {
  .header-in { min-height: 96px; padding: 8px 20px; }
  .brand img, .site-header.scrolled .brand img { width: 92px; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); display: block; max-height: 0; overflow: hidden; transition: max-height .4s ease; }
  .nav.open { max-height: 560px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .6); }
  .nav ul { flex-direction: column; padding: 4px 20px 24px; gap: 0; }
  .nav a { font-size: 20px; padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; }
  .nav a::after { display: none; }
}

/* ---------- Hero principal con video ---------- */
.hero { position: relative; min-height: 760px; display: flex; align-items: flex-end; overflow: hidden; background: #2E4F57; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 51, 86, .55) 0%, rgba(31, 74, 84, .4) 60%, rgba(31, 74, 84, .2) 100%); }
.hero-in { position: relative; width: 100%; max-width: 1640px; margin: 0 auto; padding: 120px 24px 90px 9%; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero h1 { color: #FFFFFF; font-size: clamp(42px, 5.2vw, 86px); }
.hero p { color: #FFFFFF; font-size: clamp(16px, 1.5vw, 23px); margin-top: 26px; max-width: 36ch; }
.hero .btn { margin-top: 34px; }
.hero-logo { width: clamp(180px, 28vw, 480px); flex: none; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 760px) {
  .hero { min-height: 640px; }
  .hero-in { flex-direction: column-reverse; align-items: flex-start; padding: 60px 22px; }
  .hero-logo { width: 150px; }
}

/* ---------- Beneficios ---------- */
.benefits { background: var(--ice); }
.benefits-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.benefits-head p { margin-top: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.benefit img { width: 100%; aspect-ratio: 768 / 538; object-fit: cover; border-radius: 18px; }
.benefit h3 { font-size: 24px; margin-top: 30px; }
.benefit p { margin-top: 12px; font-size: 19px; color: var(--muted); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Acerca de ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 80px; align-items: center; }
.about h2 { margin-bottom: 110px; }
.about p { font-size: 19px; color: var(--muted); }
.about p strong { color: var(--ink); font-weight: 600; }
.about .btn { margin-top: 48px; }
.about-img { border-radius: 22px; width: 100%; aspect-ratio: 768 / 306; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .about h2 { margin-bottom: 30px; } }

/* ---------- Alianza Estratégica ---------- */
.alliance { background: var(--sky); color: #FFFFFF; }
.alliance h2 { color: #FFFFFF; }
.alliance .lead { color: #FFFFFF; max-width: 760px; margin: 22px auto 0; }
.alliance-logos { display: flex; justify-content: center; align-items: center; gap: 30px; margin: 110px auto 80px; max-width: 1100px; }
.alliance-logos a { flex: 1 1 0; display: block; transition: transform .3s; }
.alliance-logos a:hover { transform: scale(1.04); }
.alliance-logos img { width: 100%; height: auto; mix-blend-mode: screen; }
.alliance-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: 1100px; margin: 0 auto; }
.alliance-cols h3 { color: #FFFFFF; font-size: 24px; }
.alliance-cols p { margin-top: 10px; font-size: 19px; color: #F3F8FF; }
@media (max-width: 760px) { .alliance-logos { flex-direction: column; margin: 60px auto; } .alliance-cols { grid-template-columns: 1fr; } }

/* ---------- Cinta de logos ---------- */
.stripe { background: var(--sky); height: 56px; }
.marquee { background: var(--navy); overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .14); padding: 34px 0; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 120px; width: auto; margin: 0 40px; mix-blend-mode: screen; }
.marquee-track img.logo-acpd { mix-blend-mode: normal; height: 110px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .marquee-track img { height: 70px; margin: 0 22px; } .marquee-track img.logo-acpd { height: 66px; } }

/* ---------- Pie con contacto ---------- */
.site-footer { background: var(--navy); color: #FFFFFF; }
.footer-in { max-width: 1680px; margin: 0 auto; padding: 56px 50px 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-intro { font-size: 18px; line-height: 1.4; max-width: 22ch; }
.socials { display: flex; gap: 50px; margin-top: 80px; }
.socials a { display: block; width: 76px; height: 76px; transition: transform .2s, opacity .2s; }
.socials a:hover { transform: translateY(-3px); opacity: .85; }
.socials svg { width: 100%; height: 100%; }
.footer-contact { padding-top: 60px; }
.footer-contact h2 { color: #FFFFFF; font-size: 34px; }
.footer-contact dl { margin: 24px 0 0; }
.footer-contact dt { font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.footer-contact dd { margin: 6px 0 0; font-size: 21px; }
.footer-contact dd + dt { margin-top: 30px; }
.footer-contact a { color: #FFFFFF; }
.footer-form { padding-top: 88px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 21px; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 19px; color: var(--ink);
  background: #FFFFFF; border: 1px solid #C9CFD8; border-radius: 6px;
  padding: 16px 20px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--btn); box-shadow: 0 0 0 3px rgba(114, 161, 209, .45); }
.field input::placeholder, .field textarea::placeholder { color: #8B9099; }
.btn-form { background: var(--btn); color: #FFFFFF; border-radius: 999px; padding: 18px 54px; font-size: 19px; }
.btn-form:hover { background: #4C6E9C; }
.form-note { font-size: 14px; margin-top: 12px; opacity: .8; }
.copyright { max-width: 1680px; margin: 0 auto; padding: 18px 38px 26px; font-size: 19px; }
@media (max-width: 1000px) {
  .footer-in { grid-template-columns: minmax(0, 1fr); padding: 50px 24px 20px; gap: 10px; }
  .footer-contact dd { font-size: 18px; overflow-wrap: anywhere; }
  .socials { margin-top: 30px; gap: 30px; }
  .socials a { width: 56px; height: 56px; }
  .footer-contact, .footer-form { padding-top: 30px; }
  .copyright { padding: 18px 24px 100px; font-size: 15px; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  width: 86px; height: 86px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 760px) { .wa-float { width: 62px; height: 62px; right: 16px; bottom: 16px; } .wa-float svg { width: 34px; height: 34px; } }

/* ---------- Institución ---------- */
.history { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.history h1 { font-size: clamp(40px, 4.4vw, 62px); margin-bottom: 40px; }
.prose p { font-size: 19.5px; color: var(--text); text-align: justify; hyphens: auto; }
.prose p + p { margin-top: 20px; }
.history-pics { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 230px; padding-top: 130px; }
.history-pics img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.law h2 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 70px; }
.law p { font-size: 17px; color: var(--text); }
.law p + p { margin-top: 12px; }
.law .btn { margin-top: 90px; }
@media (max-width: 900px) { .history { grid-template-columns: 1fr; } .history-pics { position: static; gap: 16px; padding-top: 20px; } .prose p { text-align: left; } }

/* ---------- Cursos ---------- */
.carousel { position: relative; overflow: hidden; background: #FFFFFF; }
.slides { display: flex; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.slide { flex: 0 0 100%; }
.slide img { width: 100%; height: clamp(320px, 54vw, 830px); object-fit: cover; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .7); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .2s; }
.car-btn:hover { background: #FFFFFF; }
.car-prev { left: 22px; } .car-next { right: 22px; }
.dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; }
.dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; transition: background-color .2s, transform .2s; }
.dots button[aria-current="true"] { background: #FFFFFF; transform: scale(1.25); }
.courses-head { text-align: center; max-width: 1060px; margin: 0 auto 120px; }
.courses-head p { margin-top: 26px; font-size: 21px; color: var(--ink); }
.courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.course { background: var(--card); display: flex; flex-direction: column; }
.course-body { padding: 56px 58px 30px; flex: 1; }
.course-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
.course h3 { font-size: clamp(22px, 2.1vw, 30px); }
.tag { flex: none; font-weight: 600; font-size: 24px; color: var(--red); line-height: 1.2; }
.course p { font-size: 20px; color: var(--ink); }
.course p + p { margin-top: 10px; }
.course p.gap { margin-top: 24px; }
.course > img { width: 100%; height: auto; }
.course-foot { padding: 34px 20px 24px; text-align: center; }
@media (max-width: 900px) { .courses { grid-template-columns: 1fr; } .course-body { padding: 36px 26px 20px; } .tag { font-size: 18px; } .course p { font-size: 17px; } }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 90px; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: #E5E9EE; aspect-ratio: 1 / 1; overflow: hidden; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.gallery button:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 18, 32, .92); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); } .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #FFFFFF; font-size: 14px; opacity: .8; }
@media (max-width: 760px) { .lightbox { padding: 70px 10px; } }

/* ---------- Aranceles ---------- */
.fees h1 { font-size: clamp(40px, 4.4vw, 62px); margin-bottom: 70px; }
.fees p { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--ink); }
.fees p.big { font-size: clamp(20px, 1.8vw, 26px); }
.fees p + p { margin-top: 28px; }
.fees p.tight { margin-top: 8px; }
.fees-banner { display: block; margin-top: 110px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.fees-banner:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(25, 51, 86, .6); }
.fees-banner img { width: 100%; height: auto; }

/* ---------- Encabezados de página con fondo ---------- */
.page-hero { position: relative; overflow: hidden; background: #8E8E8E; color: #FFFFFF; text-align: center; }
.page-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(90, 90, 90, .58); z-index: 1; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #FFFFFF; font-size: clamp(42px, 5vw, 70px); }
.page-hero p.lead { color: #F0F0F0; margin: 26px auto 0; max-width: 34ch; font-size: clamp(17px, 1.6vw, 23px); }

/* ---------- Contacto ---------- */
.contact-hero { padding: 120px 0 140px; }
.contact-hero > img.bg { object-fit: contain; background: #FFFFFF; }
.contact-card { background: #FFFFFF; color: var(--ink); text-align: left; max-width: 820px; margin: 56px auto 0; border-radius: 26px; padding: 44px 40px 40px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.contact-card .field label { font-size: 19px; }
.join h2 { font-size: clamp(36px, 4.4vw, 62px); margin-bottom: 34px; }
.join p { font-size: 20px; color: var(--ink); }
.join ul + p, .join p + p { margin-top: 30px; }
.join ul { margin: 34px 0 0; padding: 0; list-style: none; }
.join li { position: relative; padding-left: 48px; font-size: 20px; color: var(--ink); }
.join li + li { margin-top: 30px; }
.join li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; margin-top: 70px; }
.faq h3 { font-size: 23px; }
.faq h3 + p { margin-top: 26px; }
.faq p { font-size: 20px; color: var(--ink); }
.faq p + h3 { margin-top: 60px; }
.faq-img { width: 100%; aspect-ratio: 768 / 512; object-fit: cover; margin-top: 140px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-img { margin-top: 0; } .join li { padding-left: 34px; } }

/* ---------- Joven ---------- */
.joven-hero { padding: 40px 0 20px; text-align: center; }
.joven-hero img { width: min(560px, 80%); margin: 0 auto; }
.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.split-2 h2 { font-size: clamp(34px, 3.8vw, 54px); }
.split-2 p { font-size: 18px; color: var(--muted); }
.split-2 .text h2 + p { margin-top: 70px; }
.split-2 .btn { margin-top: 36px; min-width: 210px; }
.split-2 img { width: 100%; border-radius: 22px; object-fit: cover; }
.mission .text h2 + p { margin-top: 36px; }
.statement { text-align: center; font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2.3vw, 34px); color: var(--ink); line-height: 1.35; max-width: 1200px; margin: 0 auto; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; gap: 32px; } .split-2 .text h2 + p { margin-top: 24px; } .mission .pic { order: 2; } }

/* ---------- Eventos ---------- */
.events-hero { padding: 140px 0; }
.event-title { font-size: clamp(36px, 4.4vw, 62px); text-align: center; }
.event-sub { text-align: center; margin-top: 26px; font-size: 21px; color: var(--ink); }
.event-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.event-pics img { width: 100%; aspect-ratio: 768 / 609; object-fit: cover; border-radius: 22px; }
.event-desc { text-align: center; max-width: 1300px; margin: 60px auto 0; font-family: var(--font-nav); font-size: 20px; color: var(--ink); }
@media (max-width: 760px) { .event-pics { grid-template-columns: 1fr; } }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #72A1D1; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
