/* Up2date alternative2: the agglobal.pro style (slate contact bar, serif photo slider, pastel round-badge cards,
   dark photo bands, shadowed cards, CTA band, three-column dark footer, floating WhatsApp + chat stack)
   rebuilt with Up2date's own logo and plum palette (colours come from /assets/css/tokens.css). */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --a2-dark: #2B1934;                       /* footer / dark bands: darker plum derived from --u-plum-800 */
  --a2-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --a2-head: "Inter", "Segoe UI", system-ui, sans-serif;
  --a2-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --a2-light: "Poppins", "Segoe UI", system-ui, sans-serif;
  --wrap: 1140px;
  --gut: 20px;
  --ease-out: cubic-bezier(.2, .8, .3, 1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--u-paper); color: var(--u-ink-2); font: 400 16px/1.85 var(--a2-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--u-plum-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--u-ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--a2-head); color: var(--u-ink); margin: 0; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 200; background: var(--u-plum-800); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--u-orchid-600); outline-offset: 2px; }
.hero :focus-visible, .band-dark :focus-visible, .cta :focus-visible, .banner :focus-visible, .ftr :focus-visible, .topbar :focus-visible, .cat-dark :focus-visible { outline-color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { max-width: calc(1360px + 80px); padding-inline: 40px; }
.wrap-posts { max-width: calc(1170px + var(--gut) * 2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 30px; border: 2px solid transparent; border-radius: 3px; font: 600 14px/1.2 var(--a2-head); cursor: pointer; transition: background .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn-hero { background: var(--u-orchid-600); border-color: var(--u-orchid-600); color: #fff; }
.btn-hero:hover { background: var(--u-plum-600); border-color: var(--u-plum-600); color: #fff; }
.btn-pill { background: var(--u-plum-500); border: 1px solid var(--u-plum-600); color: #fff; border-radius: 50px; padding: 16px 28px; min-height: 58px; font: 400 18px/1.2 var(--a2-head); }
.btn-pill:hover { background: var(--u-plum-700); border-color: var(--u-plum-700); color: #fff; }
.btn-solid { background: var(--u-plum-600); border-color: var(--u-plum-600); color: #fff; padding: 16px 24px; border-radius: 4px; box-shadow: 0 0 20px rgba(0, 15, 35, .12); }
.btn-solid:hover { background: var(--u-plum-800); border-color: var(--u-plum-300); color: #fff; }
.btn-solid .ico { width: 16px; height: 16px; }
.btn-block { width: 100%; border-radius: 3px; background: var(--u-plum-700); border-color: var(--u-plum-700); color: #fff; min-height: 50px; text-transform: none; }
.btn-block:hover { background: var(--u-plum-800); border-color: var(--u-plum-800); color: #fff; }

/* ---------- Contact bar ---------- */
.topbar { background: var(--u-plum-700); color: #fff; font: 400 12px/1.2 var(--a2-body); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 26px; }
.tb-list { display: flex; align-items: center; flex-wrap: wrap; column-gap: 24px; }
.tb-link { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; color: #fff; transition: color .3s; }
a.tb-link:hover { color: var(--u-plum-100); }
.tb-dot { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.tb-dot .ico { width: 11px; height: 11px; }
.tb-ico { width: 13px; height: 13px; }
.tb-soc { display: inline-grid; place-items: center; width: 24px; height: 24px; color: #fff; transition: opacity .3s; }
.tb-soc .ico { width: 14px; height: 14px; }
.tb-soc:hover { color: #fff; opacity: .8; }
.tb-campus { padding-left: 14px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, .35); }

/* ---------- Header + menu ---------- */
.hdr { position: relative; z-index: 40; background: #fff; box-shadow: 0 0 10px rgba(62, 36, 73, .35); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 85px; }
.hdr-logo { display: block; }
.hdr-logo img { height: 84px; width: auto; margin: -3px 0 -3px calc(var(--gut) * -1); }
.nav-list { display: flex; align-items: center; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li:not(:last-child)::after { content: ""; width: 1px; height: 16px; background: var(--u-plum-800); opacity: .4; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 13px 10px; font: 400 16px/20px var(--a2-body); color: var(--u-plum-800); background: none; border: 0; cursor: pointer; transition: color .4s; }
.nav-link:hover, .nav-link.is-active { color: var(--u-orchid-600); }
.nav-drop-btn { color: var(--u-plum-600); padding-inline: 20px 10px; }
.nav-badge { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--u-plum-100); color: var(--u-plum-600); }
.nav-badge .ico { width: 14px; height: 14px; }
.caret { width: 14px; height: 14px; transition: transform .25s; }
.nav-drop-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.drop { position: absolute; top: 100%; right: 0; min-width: 240px; background: #fff; border-radius: 0 0 4px 4px; box-shadow: 0 10px 28px rgba(62, 36, 73, .22); padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 10; }
.drop.is-open { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 12px 20px; font: 400 14px/20px var(--a2-body); color: var(--u-ink); }
.drop a:hover { background: var(--u-plum-50); color: var(--u-plum-600); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 4px; background: var(--u-plum-300); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transition: background .2s; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger:hover { background: var(--u-plum-500); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger[aria-expanded="true"] { background: var(--u-plum-500); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(360px, 43vw, 623px); overflow: hidden; background: var(--a2-dark); color: #fff; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; z-index: 1; transition: opacity .7s ease; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 3; }
.slide.is-leaving { visibility: visible; z-index: 2; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; }
.slide-1 .slide-bg { background-image: linear-gradient(100deg, rgba(43, 25, 52, .9) 0%, rgba(62, 36, 73, .76) 52%, rgba(86, 51, 106, .64) 100%), url("/alt/img/hero.jpg"); background-position: center, 12% 50%; }
.slide-2 .slide-bg { background-image: linear-gradient(100deg, rgba(43, 25, 52, .9) 0%, rgba(62, 36, 73, .74) 52%, rgba(109, 67, 128, .5) 100%), url("/alt/img/band.jpg"); background-position: center, 30% 40%; }
.slide-3 .slide-bg { background-image: linear-gradient(100deg, rgba(43, 25, 52, .92) 0%, rgba(62, 36, 73, .72) 52%, rgba(169, 82, 155, .42) 100%), url("/alt/img/hero.jpg"); background-position: center, 95% 35%; }
.slide-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 24px 40px; }
.slide-title { font: 700 clamp(27px, 3.7vw, 53px)/1.02 var(--a2-serif); color: #fff; max-width: 15em; margin: 0 0 .32em; text-wrap: balance; }
.slide-sub { font: 300 clamp(15px, 1.6vw, 23px)/1.25 var(--a2-light); color: #fff; max-width: 34em; margin: 0 0 clamp(20px, 4.5vw, 62px); }
.slide.is-active .slide-title { animation: dropIn 1.3s var(--ease-out) .05s both; }
.slide.is-active .slide-sub { animation: dropIn 1.3s var(--ease-out) .18s both; }
.slide.is-active .btn-hero { animation: dropIn 1.3s var(--ease-out) .3s both; }
.slide.is-leaving .slide-in { animation: riseOut .55s ease both; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-120px); } to { opacity: 1; transform: none; } }
@keyframes riseOut { to { opacity: 0; transform: translateY(-70px); } }
.hero-arrow { position: absolute; top: 50%; z-index: 6; width: 50px; height: 50px; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; transform: translateY(-50%); transition: transform .25s, opacity .25s; }
.hero-arrow svg { width: 26px; height: 50px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-arrow:hover { transform: translateY(-50%) scale(1.12); }
.hero-pause { position: absolute; right: 20px; bottom: 18px; z-index: 6; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .75); background: rgba(43, 25, 52, .4); color: #fff; cursor: pointer; transition: background .25s; }
.hero-pause:hover { background: rgba(43, 25, 52, .75); }
.hero-pause .ico { width: 14px; height: 14px; fill: currentColor; stroke-width: 1; }
.hero-pause .ico-play { display: none; }
.hero-pause[aria-pressed="true"] .ico-play { display: block; }
.hero-pause[aria-pressed="true"] .ico-pause { display: none; }
html:not(.js) .hero-arrow, html:not(.js) .hero-pause { display: none; }

/* ---------- Sections, titles ---------- */
.sec { padding: 70px 0; }
.sec-title { font: 400 40px/70px var(--a2-head); color: var(--u-ink); text-align: center; text-wrap: balance; }
.kicker { text-align: center; font: 400 24px/30px var(--a2-head); text-transform: uppercase; color: var(--u-plum-800); margin-bottom: 8px; }

/* Entrance animations: fadeInUp with stagger delays, fadeInLeft (content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(40px); }
.js .reveal.reveal-left { transform: translateX(-60px); }
.js .reveal.is-in { animation: fadeInUp 1.25s var(--ease-out) var(--d, 0ms) both; }
.js .reveal.reveal-left.is-in { animation-name: fadeInLeft; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }

/* ---------- Service cards (tabs) ---------- */
.sec-services { position: relative; background: var(--u-plum-50); overflow: hidden; padding-bottom: 60px; }
.sec-services::before, .sec-services::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, transparent 49.8%, rgba(109, 67, 128, .09) 50%, transparent 50.2%) 0 0 / 560px 560px; }
.sec-services::after { background-position: 280px 120px; opacity: .7; }
.sec-services > .wrap { position: relative; z-index: 1; }
.svc { margin-top: 50px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-tablist { display: contents; }
.svc-card { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; min-height: 193px; padding: 40px 30px 20px; background: var(--u-plum-100); border: 0; border-radius: 15px; color: var(--u-ink); text-align: center; cursor: pointer; font: inherit; transition: background .3s, box-shadow .3s; }
.svc-card:hover { background: #fff; color: var(--u-ink); }
.svc-card[aria-selected="true"] { background: #fff; box-shadow: 0 0 0 2px var(--u-plum-600), 0 12px 30px -12px rgba(62, 36, 73, .35); }
.svc-title { font: 700 25px/33px var(--a2-head); text-transform: capitalize; color: var(--u-ink); }
.badge { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 50%; color: #fff; flex: none; transition: transform .3s var(--ease-out); }
.badge .ico { width: 46px; height: 46px; stroke-width: 1.5; }
.b1 { background: var(--u-plum-300); }
.b2 { background: var(--u-plum-500); }
.b3 { background: var(--u-orchid-600); }
.svc-card:hover .badge, .svc-card[aria-selected="true"] .badge { transform: scale(1.05); }
.svc-panels { margin-top: 20px; }
.svc-panel { background: #fff; border-radius: 15px; padding: 32px 40px 30px; box-shadow: 0 0 10px rgba(62, 36, 73, .15); animation: panelIn .45s var(--ease-out) both; }
.svc-panel h3 { font-size: 24px; margin-bottom: 8px; }
.svc-panel p { max-width: 62em; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.chips li { padding: 4px 14px; border-radius: 50px; background: var(--u-plum-50); border: 1px solid var(--u-plum-100); color: var(--u-plum-700); font: 600 13px/1.6 var(--a2-head); }
.more-link { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1.4 var(--a2-head); color: var(--u-plum-600); }
.more-link .ico { width: 16px; height: 16px; transition: transform .25s; }
.more-link:hover { color: var(--u-ink); }
.more-link:hover .ico { transform: translateX(4px); }

/* ---------- Dark statement band ---------- */
.band-dark { position: relative; overflow: hidden; min-height: 445px; display: flex; align-items: center; color: #fff; background: radial-gradient(52% 85% at 22% 52%, rgba(133, 88, 154, .5) 0%, rgba(43, 25, 52, 0) 70%), linear-gradient(120deg, #2B1934 0%, #3E2449 55%, #2B1934 100%); isolation: isolate; }
.band-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(196, 168, 208, .35) 1.2px, transparent 1.6px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .15) 70%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .15) 70%); }
.band-art { position: absolute; left: max(40px, calc(50% - 560px)); top: 50%; transform: translateY(-50%); width: min(400px, 34vw); z-index: -1; }
.band-art svg { width: 100%; height: auto; fill: none; stroke: var(--u-plum-300); stroke-width: 2.2; stroke-linejoin: round; filter: drop-shadow(0 0 12px rgba(196, 168, 208, .7)); }
.band-dark-in { width: 100%; padding-left: calc(var(--gut) + 31%); text-align: center; }
.band-dark h2 { font: 700 48px/62px var(--a2-head); color: #fff; text-wrap: balance; }
.band-dark-in > p { margin: 10px auto 0; max-width: 34em; color: var(--u-plum-100); }
.band-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.band-links a { display: inline-block; padding: 6px 18px; border: 1px solid var(--u-plum-300); border-radius: 50px; color: #fff; font: 600 14px/1.5 var(--a2-head); transition: background .3s, color .3s; }
.band-links a:hover { background: #fff; color: var(--u-plum-800); }

/* ---------- About teaser ---------- */
.sec-about { background: #fff; }
.about { display: grid; grid-template-columns: 468px 1fr; gap: 90px; align-items: center; }
.about-img { display: grid; gap: 12px; }
.about-img img { width: 100%; aspect-ratio: 560 / 295; object-fit: cover; border-radius: 20px; }
.about-text h2 { font: 700 24px/30px var(--a2-head); margin-bottom: 30px; }
.about-text p { font: 400 20px/32px var(--a2-head); color: var(--u-ink-2); margin-bottom: 36px; }

/* ---------- Posts strip ---------- */
.sec-posts { background: var(--u-paper); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.post { display: flex; flex-direction: column; background: #fff; border-radius: 3px; box-shadow: 0 0 10px rgba(62, 36, 73, .15); overflow: hidden; transition: box-shadow .25s; }
.post:hover, .post:focus-within { box-shadow: 0 0 30px rgba(62, 36, 73, .22); }
.post-img { display: block; overflow: hidden; }
.post-img img, .post-thumb { width: 100%; aspect-ratio: 370 / 244; object-fit: cover; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 20px 30px 0; }
.post-title { font: 400 21px/1.3 var(--a2-head); text-transform: capitalize; margin: 0 0 12px; }
.post-title a { color: var(--u-ink-2); }
.post-title a:hover { color: var(--u-plum-600); }
.post-body p { font-size: 15px; line-height: 1.7; margin-bottom: 18px; }
.read-more { margin-top: auto; align-self: flex-start; font: 700 12px/22px var(--a2-body); text-transform: uppercase; color: var(--u-plum-600); margin-bottom: 20px; }
.read-more:hover { color: var(--u-ink); }
.post-thumb { position: relative; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--u-plum-700), var(--u-orchid-600)); overflow: hidden; }
.post-thumb::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .28) 1.2px, transparent 1.6px); background-size: 22px 22px; opacity: .6; }
.post-thumb .ico { position: relative; width: 64px; height: 64px; stroke-width: 1.4; }
.post-thumb.t2 { background: linear-gradient(135deg, var(--u-plum-600), var(--u-plum-300)); }
.post-thumb.t3 { background: linear-gradient(135deg, var(--a2-dark), var(--u-plum-500)); }

/* ---------- CTA band ---------- */
.cta { padding: 100px 0; color: #fff; text-align: center; background: linear-gradient(rgba(43, 25, 52, .76), rgba(43, 25, 52, .76)), url("/alt/img/band.jpg") 50% 50% / cover no-repeat; }
.eyebrow { font: 400 14px/1.25 var(--a2-head); letter-spacing: 2px; text-transform: uppercase; color: var(--u-plum-100); margin-bottom: 14px; }
.cta h2 { font: 700 48px/62px var(--a2-head); color: #fff; text-transform: capitalize; margin-bottom: 14px; text-wrap: balance; }
.cta-sub { max-width: 720px; margin: 0 auto 22px; color: var(--u-plum-100); }

/* ---------- Footer ---------- */
.ftr { background: var(--a2-dark); color: #fff; }
.ftr-main { padding: 50px 0 20px; }
.ftr-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; align-items: start; }
.ftr-brand img { width: 170px; height: auto; margin: 0 0 14px -6px; }
.ftr-social { display: flex; gap: 16px; padding-left: 5px; }
.ftr-social a { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--u-plum-500); color: #fff; transition: background .3s, opacity .3s; }
.ftr-social .ico { width: 15px; height: 15px; }
.ftr-social a:hover { background: var(--u-orchid-600); color: #fff; opacity: .95; }
.ftr-col { padding: 0 10px 10px 20px; min-height: 161px; }
.ftr-col + .ftr-col { border-left: 1px solid rgba(255, 255, 255, .28); }
.ftr-brand + .ftr-col { border-left: 0; }
.ftr-h { display: flex; align-items: center; gap: 6px; font: 400 16px/1.85 var(--a2-body); color: #fff; margin-bottom: 14px; }
.ftr-h .ico { width: 16px; height: 16px; }
.ftr-row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font: 400 15px/1.6 var(--a2-body); color: #fff; }
.ftr-row .ico { width: 16px; height: 16px; margin-top: 4px; }
.ftr-row a { color: #fff; }
.ftr-row a:hover { color: var(--u-plum-100); text-decoration: underline; }
.ftr-wa a, .ftr-wa .ico { color: var(--u-green-100); }
.ftr-base { border-top: 1px solid rgba(255, 255, 255, .22); }
.ftr-base-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; align-items: center; min-height: 51px; font: 400 14px/1.6 var(--a2-body); color: var(--u-plum-100); }

/* ---------- Floating buttons ---------- */
.wa-fab { position: fixed; right: 28px; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--u-green-600); color: #fff; box-shadow: 1px 6px 24px rgba(35, 98, 71, .4); animation: popIn .5s var(--ease-out) 1.4s both; transition: transform .25s, background .25s; }
.wa-fab .ico { width: 32px; height: 32px; stroke-width: 1.8; }
.wa-fab:hover { background: var(--u-green-ink); color: #fff; transform: scale(1.06); }
@keyframes popIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.chat { position: fixed; left: 25px; bottom: calc(25px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.chat-btn { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--u-plum-500); color: #fff; cursor: pointer; box-shadow: 0 6px 20px rgba(62, 36, 73, .35); transition: background .25s; }
.chat-btn:hover { background: var(--u-plum-700); }
.chat-btn .ico { width: 26px; height: 26px; }
.chat-ic-close { display: none; }
.chat-btn[aria-expanded="true"] .chat-ic-open { display: none; }
.chat-btn[aria-expanded="true"] .chat-ic-close { display: block; }
.chat-list { display: flex; flex-direction: column; gap: 12px; }
.chat-list li { position: relative; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.7); transition: opacity .25s, transform .3s var(--ease-out), visibility .25s; }
.chat.is-open .chat-list li { opacity: 1; visibility: visible; transform: none; }
.chat.is-open .chat-list li:nth-child(3) { transition-delay: .02s; }
.chat.is-open .chat-list li:nth-child(2) { transition-delay: .08s; }
.chat.is-open .chat-list li:nth-child(1) { transition-delay: .14s; }
.chat-item { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; box-shadow: 0 6px 20px rgba(62, 36, 73, .3); transition: transform .2s; }
.chat-item:hover { color: #fff; transform: scale(1.08); }
.chat-item .ico { width: 24px; height: 24px; }
.c-mail { background: var(--u-orchid-600); }
.c-fb { background: var(--u-plum-700); }
.c-campus { background: var(--u-plum-600); }
.chat-tip { position: absolute; left: 64px; top: 50%; transform: translateY(-50%); padding: 3px 12px; border-radius: 6px; background: #fff; color: var(--u-ink); font: 400 13px/1.6 var(--a2-body); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.chat-list li:hover .chat-tip { opacity: 1; }
.chat-tip-close { display: none; }
.chat-btn[aria-expanded="true"] .chat-tip-close { display: block; opacity: 1; }
html:not(.js) .chat { display: none; }

/* ---------- Inner page banner ---------- */
.banner { position: relative; padding: 120px 0; color: #fff; background: var(--u-plum-700); overflow: hidden; isolation: isolate; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -3; background: var(--banner-img, none) var(--banner-pos, center) / cover no-repeat; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(86, 51, 106, .88); }
.banner-curve { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 310' preserveAspectRatio='xMaxYMid slice'%3E%3Cpath d='M580 310C640 225 700 175 790 180S1010 218 1075 118S1130 20 1150 0L1440 0L1440 310Z' fill='%23ffffff' fill-opacity='.07'/%3E%3Cpath d='M580 310C640 225 700 175 790 180S1010 218 1075 118S1130 20 1150 0' fill='none' stroke='%23ffffff' stroke-opacity='.32' stroke-width='1.5'/%3E%3C/svg%3E") center / cover no-repeat; }
.banner h1 { font: 700 50px/70px var(--a2-head); color: #fff; text-transform: capitalize; margin: 0; }

/* ---------- Nosotros ---------- */
.sec-white { background: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 50px; }
.col-kicker { font: 400 14px/1.25 var(--a2-head); letter-spacing: 2px; text-transform: uppercase; color: var(--u-plum-600); margin: 0 0 30px; }
.two-col p + p { margin-top: 16px; }
.two-col p { text-align: justify; hyphens: auto; }
.row-claim { display: grid; grid-template-columns: 300px 1fr; gap: 30px; padding-bottom: 50px; align-items: start; }
.flip { font: 700 28px/1.2 var(--a2-head); text-transform: uppercase; letter-spacing: -.01em; color: var(--u-orchid-600); margin: 0; }
.flip .ch { display: inline-block; white-space: pre; }
.js .flip:not(.is-in) .ch { opacity: 0; }
.js .flip.is-in .ch { animation: flipIn 1s cubic-bezier(.5, 0, .5, 1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes flipIn { from { transform: rotate(360deg) scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.row-claim p { text-align: justify; }
.sec-team { padding: 50px 0 60px; background: var(--u-paper); }
.team-title { font: 400 42px/54px var(--a2-head); text-align: center; text-transform: uppercase; color: var(--u-ink); }
.team-sub { text-align: center; font: 400 28px/1.4 var(--a2-head); color: var(--u-plum-700); margin: 24px 0 50px; }
.team-sub span { color: var(--u-plum-500); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.member { background: #fff; text-align: center; padding-bottom: 28px; }
.member-photo { position: relative; overflow: hidden; aspect-ratio: 1 / 1.13; background: var(--u-plum-50); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; border: 2px dashed var(--u-plum-300); margin: 10px; border-radius: 4px; color: var(--u-plum-700); font: 600 14px/1.5 var(--a2-head); text-align: center; transition: transform .3s; }
.member:hover .ph, .member:focus-within .ph { transform: scale(1.1); }
.member-ov { position: absolute; inset: 0; background: rgba(43, 25, 52, .82); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; opacity: 0; transition: opacity .5s; }
.member:hover .member-ov, .member:focus-within .member-ov { opacity: 1; }
.member-ov ul { display: flex; gap: 10px; }
.member-ov a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; color: #fff; transition: background .3s, color .3s; }
.member-ov a:hover { background: #fff; color: var(--u-plum-800); }
.member-ov p { color: #fff; font-size: 13px; line-height: 1.5; padding: 0 16px; }
.member h3 { font: 400 20px/1.5 var(--a2-body); color: var(--u-ink); margin: 18px 16px 0; }
.member .role { font-size: 15px; color: var(--u-ink-3); margin: 0 16px 12px; }
.member .bio { font-size: 15px; line-height: 1.85; margin: 0 20px; }

/* ---------- Servicios ---------- */
.cat { padding: 40px 0; }
.cat-in { display: grid; grid-template-columns: 433px minmax(0, 1fr); gap: 30px; }
.cat-a { background: var(--u-paper); }
.cat-b { background: var(--u-plum-50); }
.cat-w { background: #fff; }
.cat-tint { background: rgba(109, 67, 128, .06); }
.cat-dark { background: linear-gradient(rgba(62, 36, 73, .88), rgba(62, 36, 73, .88)), url("/alt/img/band.jpg") 50% 40% / cover; color: #fff; }
.cat-num { font: 500 34px/44px var(--a2-head); color: var(--u-plum-800); }
.cat-name { font: 500 28px/36px var(--a2-head); text-transform: uppercase; color: var(--u-plum-800); }
.cat-bar { display: block; width: 117px; height: 3px; background: currentColor; margin: 12px 0 8px; color: var(--u-plum-700); }
.cat-tag { font: 700 20px/1.85 var(--a2-body); color: var(--u-ink-2); margin-bottom: 20px; }
.cat-side p { margin-bottom: 16px; }
.cat-side { padding-right: 20px; }
.cat-dark .cat-num, .cat-dark .cat-name, .cat-dark .cat-tag, .cat-dark p, .cat-dark h3, .cat-dark .line-h { color: #fff; }
.cat-dark .cat-bar { color: #fff; }
.line-h { display: flex; align-items: center; gap: 12px; font: 400 16px/1.85 var(--a2-body); text-transform: uppercase; color: var(--u-plum-800); margin: 0 0 28px; }
.line-h::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .8; }
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; margin-bottom: 36px; }
.item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 15px; align-items: start; }
.item-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--u-plum-700); color: #fff; }
.item-ico .ico { width: 20px; height: 20px; }
.item-n { display: block; font: 400 16px/1.4 var(--a2-body); color: var(--u-ink-2); }
.item-title { font: 700 20px/1.1 var(--a2-head); text-transform: capitalize; color: var(--u-ink); margin: 6px 0 10px; }
.item p { font-size: 15px; line-height: 1.75; }
.items-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.items-4 .item { display: block; }
.items-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 30px; }
.lead-b { font: 700 20px/1.85 var(--a2-body); color: var(--u-ink-2); margin-bottom: 4px; }
.boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.box { border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .07); padding: 14px 18px 16px; }
.box-k { display: flex; align-items: center; gap: 8px; font: 600 16px/1.4 var(--a2-head); text-transform: uppercase; color: var(--u-plum-300); margin-bottom: 6px; }
.box-k .ico { width: 18px; height: 18px; }
.box h4 { font: 700 18px/1.2 var(--a2-head); color: #fff; text-transform: capitalize; margin: 0 0 8px; }
.box p { font-size: 15px; line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.step { padding: 10px 14px; }
.step + .step { border-left: 1px solid rgba(255, 255, 255, .3); }
.step-n { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 8px; border-radius: 50%; background: var(--u-plum-500); color: #fff; font: 600 14px/1 var(--a2-head); }
.step h4 { font: 400 18px/1.3 var(--a2-head); color: #fff; margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.8; }
.statement { display: flex; gap: 24px; align-items: flex-start; }
.statement .badge { width: 80px; height: 80px; }
.statement .badge .ico { width: 36px; height: 36px; }
.statement h3 { font: 700 20px/1.3 var(--a2-head); color: var(--u-ink); margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tags li { padding: 6px 18px; border-radius: 50px; background: #fff; border: 1px solid var(--u-plum-300); color: var(--u-plum-700); font: 600 14px/1.5 var(--a2-head); }
.cat-tint .tags li { background: #fff; }
.cta-b { padding: 100px 0; }

/* ---------- Metodo (blog-index layout with tabs) ---------- */
.sec-metodo { padding: 50px 0 70px; background: var(--u-paper); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.pill { min-height: 44px; padding: 0 24px; border: 1px solid var(--u-plum-300); border-radius: 50px; background: #fff; color: var(--u-plum-700); font: 600 15px/1.2 var(--a2-head); cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.pill:hover { border-color: var(--u-plum-600); background: var(--u-plum-50); }
.pill[aria-selected="true"] { background: var(--u-plum-600); border-color: var(--u-plum-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(62, 36, 73, .7); }
.tabpanel-head { text-align: center; max-width: 46em; margin: 0 auto 40px; }
.tabpanel-head h2 { font: 400 32px/1.3 var(--a2-head); margin-bottom: 10px; }
.mpanel { animation: panelIn .45s var(--ease-out) both; }
.posts-m { margin-top: 0; }
.more { margin: 0 0 20px; }
.more summary { cursor: pointer; list-style: none; display: inline-block; font: 700 12px/22px var(--a2-body); text-transform: uppercase; color: var(--u-plum-600); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " »"; }
.more[open] summary::after { content: " ×"; }
.more summary:hover { color: var(--u-ink); }
.more p { margin-top: 8px; font-size: 14px; line-height: 1.75; }
.levels { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.levels h3 { font: 700 24px/1.3 var(--a2-head); margin-bottom: 14px; }
.levels p + p { margin-top: 12px; }
.table-card { background: #fff; border-radius: 15px; box-shadow: 0 0 10px rgba(62, 36, 73, .15); overflow: hidden; }
.levels-table { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--a2-body); }
.levels-table th, .levels-table td { padding: 11px 18px; text-align: left; border-bottom: 1px solid var(--u-line); }
.levels-table thead th { background: var(--u-plum-700); color: #fff; font: 600 13px/1.4 var(--a2-head); text-transform: uppercase; letter-spacing: .06em; }
.levels-table tbody th { font-weight: 600; color: var(--u-ink); }
.levels-table tr:last-child th, .levels-table tr:last-child td { border-bottom: 0; }
.lvl { display: inline-block; min-width: 40px; text-align: center; padding: 1px 10px; border-radius: 50px; background: var(--u-plum-100); color: var(--u-plum-700); font: 700 13px/1.6 var(--a2-head); }
.campus { display: grid; grid-template-columns: 468px 1fr; gap: 60px; align-items: center; }
.campus img { width: 100%; aspect-ratio: 560 / 295; object-fit: cover; border-radius: 20px; }
.campus h3 { font: 700 24px/1.3 var(--a2-head); margin-bottom: 12px; }
.checks { margin: 16px 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { width: 20px; height: 20px; color: var(--u-plum-600); margin-top: 4px; }

/* ---------- Contacto ---------- */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 50px 40px; }
.office { padding: 0 20px 20px 50px; }
.office + .office { border-left: 1px solid var(--u-line); }
.office h2 { font: 400 24px/1.2 var(--a2-head); color: var(--u-ink); margin-bottom: 28px; }
.crow { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.crow-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--u-plum-100); color: var(--u-plum-600); }
.crow-ico .ico { width: 20px; height: 20px; }
.crow-t { font: 400 18px/1.5 var(--a2-head); color: var(--u-ink); display: block; }
.crow-v { display: block; font-size: 16px; line-height: 1.85; color: var(--u-ink-2); overflow-wrap: anywhere; }
.crow-v a { color: var(--u-ink-2); }
.crow-v a:hover { color: var(--u-plum-600); }
.map-ph { display: grid; place-items: center; margin: 24px 0 0 68px; height: 220px; border: 2px dashed var(--u-line-strong); border-radius: 4px; background: var(--u-plum-50); color: var(--u-plum-700); font: 600 14px/1.5 var(--a2-head); text-align: center; padding: 16px; }
.follow { background: var(--u-paper); padding: 40px 0 50px; text-align: center; }
.follow h2 { font: 400 32px/1.3 var(--a2-head); margin-bottom: 24px; }
.follow ul { display: flex; justify-content: center; gap: 15px; }
.follow a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--u-plum-600); color: #fff; transition: background .3s, opacity .3s; }
.follow a:hover { background: var(--u-plum-800); color: #fff; }
.form-sec { padding: 50px 0 70px; background: #fff; }
.form-lead { text-align: center; font: 400 24px/1.4 var(--a2-head); color: var(--u-ink); margin-bottom: 30px; }
.form-wrap { max-width: 800px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font: 400 16px/1.9 var(--a2-body); color: var(--u-ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--u-ink-3); border-radius: 3px; background: #fff; color: var(--u-ink); font: 400 15px/1.5 var(--a2-body); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 126px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--u-orchid-600); outline-offset: 1px; border-color: var(--u-plum-600); }
.field .err { display: none; color: var(--u-red-ink); font: 600 13px/1.5 var(--a2-head); margin-top: 4px; }
.field.has-err .err { display: block; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--u-red-600); }
.opt { color: var(--u-ink-3); }
.form-foot { margin-top: 16px; display: grid; gap: 12px; }
.consent { font-size: 14px; line-height: 1.6; color: var(--u-ink-2); }
.form-done { text-align: center; padding: 30px 20px; background: var(--u-plum-50); border: 1px solid var(--u-plum-100); border-radius: 15px; }
.form-done .done-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--u-green-100); color: var(--u-green-ink); margin-bottom: 12px; }
.form-done h3 { font-size: 24px; margin-bottom: 8px; }
.form-done .btn { margin-top: 16px; background: transparent; border-color: var(--u-plum-600); color: var(--u-plum-700); }
.form-done .btn:hover { background: var(--u-plum-600); color: #fff; }
.notfound { padding: 90px 0; text-align: center; background: #fff; }
.notfound h2 { font: 400 32px/1.3 var(--a2-head); margin-bottom: 12px; }
.notfound .btn { margin: 20px 6px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .slide-in { padding-inline: 72px; }
}
@media (max-width: 1100px) {
  .cat-in { grid-template-columns: 1fr; gap: 26px; }
  .cat-side { padding-right: 0; }
  .cta h2, .band-dark h2 { font-size: 40px; line-height: 1.25; }
  .about { grid-template-columns: 400px 1fr; gap: 50px; }
  .campus { grid-template-columns: 1fr 1fr; gap: 40px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .office { padding-left: 24px; }
}
@media (max-width: 960px) {
  .topbar { display: none; }
  .hdr-in { min-height: 87px; }
  .hdr-logo img { height: 80px; }
  .burger { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 14px 24px -12px rgba(62, 36, 73, .4); display: none; z-index: 5; }
  .nav.is-open { display: block; }
  html:not(.js) .nav { position: static; display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 0 0 6px; }
  .nav-list > li { flex-direction: column; align-items: stretch; }
  .nav-list > li:not(:last-child)::after { display: none; }
  .nav-link { padding: 11px 20px; font-size: 15px; width: 100%; justify-content: flex-start; }
  .nav-link.is-active { background: var(--u-plum-800); color: #fff; }
  .nav-drop-btn { padding-inline: 20px; }
  .drop { position: static; box-shadow: none; padding: 0 0 4px 20px; opacity: 1; visibility: visible; transform: none; display: none; }
  .drop.is-open { display: block; }
  .band-dark-in { padding-left: var(--gut); }
  .band-art { opacity: .2; width: min(340px, 70vw); left: 50%; transform: translate(-50%, -50%); }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about-img { grid-template-columns: 1fr 1fr; }
  .about-text { text-align: center; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .row-claim { grid-template-columns: 1fr; gap: 10px; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .offices { grid-template-columns: 1fr; }
  .office { padding: 0 0 10px; }
  .office + .office { border-left: 0; border-top: 1px solid var(--u-line); padding-top: 30px; margin-top: 20px; }
  .map-ph { margin-left: 0; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .ftr-brand { grid-column: 1 / -1; }
  .ftr-col { min-height: 0; }
  .ftr-brand + .ftr-col { border-left: 0; padding-left: 0; }
  .ftr-col:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, .28); }
  .ftr-col:nth-child(4) { border-left: 0; padding-left: 0; }
  .items, .items-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 0; }
  .step:nth-child(3) { border-left: 0; }
  .levels, .campus { grid-template-columns: 1fr; }
  .svc-title { font-size: 22px; }
  .two-col p { hyphens: none; }
}
@media (max-width: 700px) {
  :root { --gut: 16px; }
  .wrap-wide { padding-inline: 16px; }
  .sec { padding: 50px 0; }
  .sec-title { font-size: 33px; line-height: 40px; }
  .hero { height: clamp(340px, 98vw, 420px); }
  .slide-title { font-size: 27px; }
  .hero-arrow { width: 36px; }
  .hero-arrow svg { width: 20px; }
  .hero-prev { left: 4px; }
  .hero-next { right: 4px; }
  .slide-in { padding-inline: 44px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-card { min-height: 0; padding: 22px 10px 16px; gap: 10px; border-radius: 12px; }
  .svc-card .badge { width: 68px; height: 68px; }
  .svc-card .badge .ico { width: 32px; height: 32px; }
  .svc-title, .svc-card .svc-title { font-size: 17px; line-height: 1.25; }
  .svc-panel { padding: 26px 22px; }
  .band-dark { min-height: 400px; }
  .band-dark h2, .cta h2 { font-size: 32px; line-height: 41px; }
  .cta { padding: 70px 0; }
  .posts { grid-template-columns: 1fr; margin-top: 30px; }
  .kicker { font-size: 20px; }
  .banner { padding: 60px 0; }
  .banner h1 { font-size: 34px; line-height: 44px; }
  .team { grid-template-columns: 1fr; }
  .member-photo { aspect-ratio: 16 / 9; }
  .two-col p, .row-claim p { text-align: left; hyphens: none; }
  .team-title { font-size: 34px; }
  .team-sub { font-size: 22px; }
  .items, .items-4, .items-5, .boxes, .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
  .form-grid { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; }
  .ftr-col, .ftr-col + .ftr-col, .ftr-col:nth-child(3), .ftr-col:nth-child(4) { border-left: 0; padding-left: 0; }
  .wa-fab { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .chat { left: 14px; bottom: 14px; }
  .chat-btn, .chat-item { width: 48px; height: 48px; }
  .statement { flex-direction: column; }
  .about-img { grid-template-columns: 1fr; }
  .pills { gap: 8px; }
  .pill { padding: 0 16px; font-size: 14px; }
  main { padding-bottom: 0; }
  .ftr-base-in { padding-bottom: 70px; }
}

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