:root {
    --ink: #26323a;
    --ink-soft: #52616a;
    --paper: #fffdfa;
    --white: #ffffff;
    --cream: #fff8ed;
    --line: #e9e4dc;
    --pink: #c8238b;
    --pink-dark: #9f176d;
    --cyan: #1da8d2;
    --cyan-dark: #117e9f;
    --lime: #99ca2f;
    --orange: #f4a32a;
    --purple: #7553c7;
    --shadow-sm: 0 10px 30px rgba(49, 42, 34, .08);
    --shadow-md: 0 20px 60px rgba(49, 42, 34, .12);
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 38px;
    --container: 1180px;
    --header-height: 88px;
    --font-body: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    --font-heading: "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
body.nav-open,
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
address { font-style: normal; }

::selection { background: rgba(200, 35, 139, .2); color: var(--ink); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-soft { background: #f8fbfc; }
.section-cream { background: var(--cream); }
.section-title { max-width: 760px; margin-bottom: 48px; }
.section-title.center { margin-inline: auto; text-align: center; }
.section-title h2,
.page-copy h2,
.footer-cta h2,
.hero h1,
.page-hero h1 {
    font-family: var(--font-heading);
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 0;
}
.section-title h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
.section-title p { margin: 18px 0 0; font-size: 1.08rem; color: var(--ink-soft); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--pink);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 27px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--pink)); }
.eyebrow.light { color: white; }
.eyebrow.light::before { background: white; }
.muted { color: var(--ink-soft); }
.smartway-note { padding-left: 14px; border-left: 4px solid var(--orange); color: var(--ink-soft); font-size: .95rem; }

.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 22px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(29,168,210,.35); outline-offset: 3px; }
.button-primary { background: var(--pink); color: white; box-shadow: 0 12px 25px rgba(200,35,139,.22); }
.button-primary:hover { background: var(--pink-dark); box-shadow: 0 16px 28px rgba(200,35,139,.3); }
.button-secondary { background: var(--cyan); color: white; box-shadow: 0 12px 25px rgba(29,168,210,.18); }
.button-secondary:hover { background: var(--cyan-dark); }
.button-outline { border-color: var(--line); background: white; color: var(--ink); }
.button-outline:hover { border-color: var(--cyan); }
.button-white { background: white; color: var(--pink-dark); }
.button-ghost-light { color: white; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.button-ghost-light:hover { background: rgba(255,255,255,.16); border-color: white; }
.button .icon { transition: transform .2s ease; }
.button:hover .icon { transform: translateX(3px); }

.skip-link {
    position: fixed;
    left: 20px;
    top: -100px;
    z-index: 9999;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--ink);
    color: white;
    transition: top .2s;
}
.skip-link:focus { top: 20px; }

.topbar { background: var(--ink); color: white; font-size: .86rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: flex-end; gap: 25px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; opacity: .92; }
.topbar a:hover { opacity: 1; color: #bfeeff; }
.topbar-facebook { margin-left: 5px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255,253,250,.94);
    border-bottom: 1px solid rgba(233,228,220,.7);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 12px 35px rgba(37,45,50,.08); background: rgba(255,255,255,.97); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand-group { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: min(300px, 30vw); height: auto; }
.brand-divider { width: 1px; height: 48px; background: var(--line); }
.smartway-logo { width: 112px; height: auto; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 3px; font-size: .92rem; font-weight: 800; }
.main-nav > a,
.nav-dropdown > button {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
}
.main-nav > a:not(.nav-cta):hover,
.nav-dropdown > button:hover,
.main-nav > a.active:not(.nav-cta),
.nav-dropdown.active > button { color: var(--pink); background: rgba(200,35,139,.06); }
.main-nav > a.nav-cta { margin-left: 5px; padding-inline: 17px !important; color: white; background: var(--pink); box-shadow: 0 8px 18px rgba(200,35,139,.2); }
.main-nav > a.nav-cta:hover { color: white; background: var(--pink-dark); transform: translateY(-1px); }
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 13px);
    left: 50%;
    width: 360px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dropdown-menu::before { content: ""; position: absolute; top: -8px; left: 50%; width: 15px; height: 15px; background: white; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-menu a { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 13px; border-radius: 14px; }
.dropdown-menu a:hover { background: #f7fbfc; }
.dropdown-menu .icon { width: 27px; height: 27px; color: var(--cyan); }
.dropdown-menu span { display: grid; line-height: 1.3; }
.dropdown-menu strong { font-size: .92rem; }
.dropdown-menu small { margin-top: 3px; color: var(--ink-soft); font-weight: 500; }
.nav-toggle { display: none; border: 0; background: transparent; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .menu-close { display: none; }
.nav-toggle[aria-expanded="true"] .menu-open { display: none; }
.nav-toggle[aria-expanded="true"] .menu-close { display: block; }

.hero {
    position: relative;
    overflow: clip;
    padding: 76px 0 95px;
    background:
        radial-gradient(circle at 8% 12%, rgba(244,163,42,.18) 0 95px, transparent 96px),
        radial-gradient(circle at 92% 20%, rgba(29,168,210,.14) 0 145px, transparent 146px),
        linear-gradient(135deg, #fffaf4 0%, #ffffff 58%, #f4fbfd 100%);
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    opacity: .9;
}
.hero::before { width: 360px; height: 18px; left: -95px; bottom: 66px; background: var(--lime); transform: rotate(-7deg); }
.hero::after { width: 280px; height: 18px; right: -75px; bottom: 125px; background: var(--pink); transform: rotate(9deg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(460px, .97fr); gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.3rem); max-width: 760px; }
.hero h1 .word-pink { color: var(--pink); }
.hero h1 .word-cyan { color: var(--cyan-dark); }
.hero-lead { max-width: 670px; margin: 24px 0 0; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .94rem; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--lime); width: 20px; height: 20px; stroke-width: 2.5; }
.hero-visual { position: relative; min-height: 550px; }
.hero-photo { position: absolute; overflow: hidden; border: 8px solid white; box-shadow: var(--shadow-md); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.one { width: 67%; height: 66%; top: 3%; right: 2%; border-radius: 46% 54% 42% 58% / 52% 43% 57% 48%; transform: rotate(2deg); }
.hero-photo.two { width: 46%; height: 48%; left: 0; bottom: 1%; border-radius: 30px 70px 35px 70px; transform: rotate(-4deg); }
.hero-photo.three { width: 37%; height: 34%; right: 1%; bottom: 5%; border-radius: 70px 24px 70px 28px; transform: rotate(5deg); }
.hero-sticker {
    position: absolute;
    z-index: 3;
    left: 35%;
    top: 10%;
    display: grid;
    place-items: center;
    width: 122px;
    height: 122px;
    padding: 14px;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    text-align: center;
    font-family: var(--font-heading);
    font-size: .88rem;
    line-height: 1.15;
    transform: rotate(-9deg);
    box-shadow: 0 15px 28px rgba(244,163,42,.3);
}
.hero-sticker::before { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(255,255,255,.75); border-radius: inherit; }
.hero-dots { position: absolute; right: 7%; top: 42%; display: grid; grid-template-columns: repeat(4, 9px); gap: 9px; transform: rotate(8deg); }
.hero-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); opacity: .65; }

.quick-links { position: relative; z-index: 4; margin-top: -42px; }
.quick-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-link {
    min-height: 150px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.quick-link:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: transparent; }
.quick-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; flex: 0 0 auto; }
.quick-icon .icon { width: 29px; height: 29px; }
.quick-link:nth-child(1) .quick-icon { background: rgba(200,35,139,.1); color: var(--pink); }
.quick-link:nth-child(2) .quick-icon { background: rgba(29,168,210,.12); color: var(--cyan-dark); }
.quick-link:nth-child(3) .quick-icon { background: rgba(153,202,47,.15); color: #608d0d; }
.quick-link:nth-child(4) .quick-icon { background: rgba(244,163,42,.14); color: #a66300; }
.quick-link span { display: grid; line-height: 1.25; }
.quick-link strong { font-family: var(--font-heading); font-size: 1.05rem; }
.quick-link small { margin-top: 7px; color: var(--ink-soft); font-size: .82rem; line-height: 1.35; }

.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.program-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px;
    border-radius: var(--radius-lg);
    color: white;
    isolation: isolate;
}
.program-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgba(21,30,36,.92) 0%, rgba(21,30,36,.55) 48%, rgba(21,30,36,.07) 100%); }
.program-card::after { content: ""; position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; transition: transform .45s ease; }
.program-card:hover::after { transform: scale(1.04); }
.program-card.study::after { background-image: url('/assets/images/hero-activity.webp'); }
.program-card.languages::after { background-image: url('/assets/images/gallery-team.webp'); }
.program-card.it::after { background-image: url('/assets/images/gallery-computers.webp'); }
.program-card.skills::after { background-image: url('/assets/images/gallery-drawing.webp'); }
.program-card .program-number { position: absolute; top: 26px; right: 28px; font-size: 3rem; font-weight: 900; opacity: .35; line-height: 1; }
.program-card .program-icon { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 18px; background: rgba(255,255,255,.16); margin-bottom: 18px; }
.program-card .program-icon .icon { width: 27px; height: 27px; }
.program-card h3 { margin: 0; font-family: var(--font-heading); font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.1; }
.program-card p { max-width: 520px; margin: 13px 0 22px; color: rgba(255,255,255,.86); line-height: 1.55; }
.program-card .text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; }
.program-card .text-link .icon { transition: transform .2s ease; }
.program-card:hover .text-link .icon { transform: translateX(5px); }

.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 70px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .main-photo { width: 100%; aspect-ratio: 4/4.3; object-fit: cover; border-radius: 42px 120px 42px 90px; box-shadow: var(--shadow-md); }
.split-media::before { content: ""; position: absolute; z-index: -1; width: 52%; height: 45%; left: -24px; bottom: -22px; border-radius: 60px 30px 70px 30px; background: var(--lime); opacity: .8; transform: rotate(-5deg); }
.split-media .floating-card { position: absolute; right: -28px; bottom: 34px; width: min(280px, 70%); padding: 22px; border-radius: 22px; background: white; box-shadow: var(--shadow-md); }
.floating-card strong { display: block; font-family: var(--font-heading); font-size: 1.12rem; line-height: 1.2; }
.floating-card p { margin: 7px 0 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.45; }
.split-copy h2 { font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.035em; margin: 0; }
.split-copy > p { color: var(--ink-soft); }
.check-list { display: grid; gap: 13px; margin: 27px 0 30px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list .icon { margin-top: 5px; width: 20px; height: 20px; color: var(--pink); stroke-width: 2.6; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.value-card .icon-wrap { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px; }
.value-card:nth-child(1) .icon-wrap { background: rgba(200,35,139,.1); color: var(--pink); }
.value-card:nth-child(2) .icon-wrap { background: rgba(29,168,210,.12); color: var(--cyan-dark); }
.value-card:nth-child(3) .icon-wrap { background: rgba(153,202,47,.16); color: #5d8911; }
.value-card:nth-child(4) .icon-wrap { background: rgba(244,163,42,.15); color: #9f6207; }
.value-card .icon { width: 26px; height: 26px; }
.value-card h3 { margin: 0; font-family: var(--font-heading); font-size: 1.18rem; line-height: 1.25; }
.value-card p { margin: 10px 0 0; color: var(--ink-soft); font-size: .94rem; line-height: 1.55; }

.stats-band { overflow: hidden; background: var(--ink); color: white; }
.stats-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .7fr); align-items: center; }
.stats-intro { padding: 56px 50px 56px 0; }
.stats-intro h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.1; }
.stats-intro p { margin: 12px 0 0; color: rgba(255,255,255,.72); }
.stat { min-height: 160px; display: grid; place-content: center; text-align: center; border-left: 1px solid rgba(255,255,255,.13); padding: 30px; }
.stat strong { font-family: var(--font-heading); font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1; color: #bfe8f3; }
.stat span { margin-top: 9px; color: rgba(255,255,255,.78); font-size: .9rem; }

.gallery-strip { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: repeat(2, 245px); gap: 14px; }
.gallery-strip a { position: relative; overflow: hidden; border-radius: 24px; }
.gallery-strip a:first-child { grid-row: 1 / 3; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-strip a:hover img { transform: scale(1.05); }
.gallery-strip a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.25), transparent 55%); }
.gallery-strip .gallery-label { position: absolute; z-index: 2; left: 18px; bottom: 16px; color: white; font-weight: 800; }

.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: white; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 23px; border: 0; background: transparent; text-align: left; font-weight: 800; cursor: pointer; }
.faq-question .faq-plus { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #f4f8f9; }
.faq-question .faq-plus::before,
.faq-question .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--cyan-dark); transform: translate(-50%,-50%); transition: transform .2s ease; }
.faq-question .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-question[aria-expanded="true"] .faq-plus::after { transform: translate(-50%,-50%) rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 23px 22px; color: var(--ink-soft); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.page-hero {
    position: relative;
    overflow: clip;
    padding: 70px 0 76px;
    background:
      radial-gradient(circle at 90% 10%, rgba(29,168,210,.15) 0 140px, transparent 141px),
      radial-gradient(circle at 4% 86%, rgba(153,202,47,.14) 0 120px, transparent 121px),
      linear-gradient(135deg, #fff9f1, #fff 62%, #f3fbfd);
}
.page-hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }
.page-hero h1 { font-size: clamp(2.8rem, 5.4vw, 5rem); }
.page-hero p { max-width: 700px; margin: 21px 0 0; color: var(--ink-soft); font-size: 1.16rem; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; aspect-ratio: 4/3.35; object-fit: cover; border: 8px solid white; border-radius: 80px 30px 80px 30px; box-shadow: var(--shadow-md); }
.page-hero-media::before { content: ""; position: absolute; z-index: -1; width: 68%; height: 28%; right: -20px; bottom: -18px; border-radius: 99px; background: var(--orange); transform: rotate(4deg); }
.page-tag { position: absolute; left: -25px; bottom: 30px; padding: 14px 18px; border-radius: 15px; background: white; box-shadow: var(--shadow-sm); font-size: .88rem; font-weight: 800; }
.breadcrumbs { margin-bottom: 19px; font-size: .82rem; color: var(--ink-soft); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .45; }
.breadcrumbs a:hover { color: var(--pink); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 60px; align-items: start; }
.page-copy { max-width: 820px; }
.page-copy h2 { margin-top: 52px; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.page-copy h2:first-child { margin-top: 0; }
.page-copy h3 { margin: 34px 0 8px; font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.25; }
.page-copy p { color: var(--ink-soft); }
.page-copy ul { padding-left: 1.2em; color: var(--ink-soft); }
.page-copy li + li { margin-top: 8px; }
.page-copy .lead { font-size: 1.18rem; color: var(--ink); }
.highlight-box { margin: 36px 0; padding: 27px; border-radius: 23px; background: linear-gradient(135deg, rgba(29,168,210,.1), rgba(153,202,47,.11)); border: 1px solid rgba(29,168,210,.16); }
.highlight-box h3 { margin-top: 0; }
.steps { display: grid; gap: 16px; margin-top: 30px; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.step-number { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: var(--pink); color: white; font-family: var(--font-heading); font-size: 1.3rem; }
.step h3 { margin: 1px 0 5px; }
.step p { margin: 0; }
.sidebar-card { position: sticky; top: 125px; padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow-sm); }
.sidebar-card h2 { margin: 0; font-family: var(--font-heading); font-size: 1.45rem; line-height: 1.2; }
.sidebar-card p { color: var(--ink-soft); font-size: .94rem; }
.sidebar-card .button { width: 100%; }
.sidebar-details { display: grid; gap: 12px; margin: 22px 0; }
.sidebar-details a { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.sidebar-details .icon { margin-top: 5px; color: var(--pink); }

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 35px; }
.feature-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.feature-card .icon { width: 28px; height: 28px; color: var(--cyan-dark); }
.feature-card h3 { margin-top: 14px; font-size: 1.1rem; }
.feature-card p { margin-bottom: 0; font-size: .91rem; }

.about-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: timeline; }
.timeline-card { position: relative; padding: 28px; border-radius: 24px; background: white; border: 1px solid var(--line); }
.timeline-card::before { counter-increment: timeline; content: "0" counter(timeline); display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; background: var(--ink); color: white; font-size: .8rem; font-weight: 800; }
.timeline-card h3 { margin: 0; font-family: var(--font-heading); font-size: 1.3rem; }
.timeline-card p { margin: 10px 0 0; color: var(--ink-soft); }

.full-gallery { columns: 3 280px; column-gap: 18px; }
.gallery-item { display: block; break-inside: avoid; position: relative; overflow: hidden; margin: 0 0 18px; border-radius: 22px; background: #eee; }
.gallery-item img { width: 100%; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption { position: absolute; inset: auto 0 0; padding: 25px 18px 16px; color: white; background: linear-gradient(to top, rgba(0,0,0,.62), transparent); font-size: .88rem; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 55px; align-items: start; }
.contact-info-card { padding: 33px; border-radius: 28px; background: var(--ink); color: white; }
.contact-info-card h2 { margin: 0; font-family: var(--font-heading); font-size: 2rem; }
.contact-info-card > p { color: rgba(255,255,255,.72); }
.contact-list { display: grid; gap: 15px; margin-top: 28px; }
.contact-list a { display: flex; align-items: flex-start; gap: 13px; padding: 15px; border-radius: 15px; background: rgba(255,255,255,.07); }
.contact-list a:hover { background: rgba(255,255,255,.12); }
.contact-list .icon { margin-top: 3px; color: #7cd3e8; }
.contact-list span { display: grid; line-height: 1.35; }
.contact-list small { color: rgba(255,255,255,.58); }
.contact-map-link { margin-top: 20px; }
.contact-form-card { padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow-sm); }
.contact-form-card h2 { margin: 0 0 6px; font-family: var(--font-heading); font-size: 2rem; }
.contact-form-card > p { margin-top: 0; color: var(--ink-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 800; font-size: .9rem; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; border: 1px solid #dcd8d2; border-radius: 13px; background: #fff; padding: 12px 14px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(29,168,210,.11); }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #cc2f4c; }
.field-error { color: #a91e38; font-size: .8rem; }
.checkbox-field { grid-column: 1/-1; display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--ink-soft); }
.checkbox-field input { margin-top: 6px; accent-color: var(--pink); }
.checkbox-field a { color: var(--pink-dark); text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-alert { margin: 18px 0; padding: 15px 17px; border-radius: 13px; font-size: .92rem; }
.form-alert.success { color: #185f39; background: #eaf8ef; border: 1px solid #bee6cb; }
.form-alert.error { color: #8c1f31; background: #fff0f2; border: 1px solid #f3c2ca; }
.form-note { margin: 14px 0 0; color: var(--ink-soft); font-size: .79rem; }

.legal-copy { max-width: 900px; }
.legal-copy h2 { margin-top: 45px; font-family: var(--font-heading); font-size: 1.8rem; }
.legal-copy h3 { margin-top: 30px; }
.legal-copy p,
.legal-copy li { color: var(--ink-soft); }
.legal-copy a { color: var(--pink-dark); text-decoration: underline; }
.table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.legal-table th,
.legal-table td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: #f7fafb; }

.footer-cta { position: relative; overflow: hidden; padding: 70px 0; color: white; background: linear-gradient(125deg, var(--pink-dark), var(--pink) 55%, #d94e9f); }
.footer-cta::before { content: ""; position: absolute; width: 280px; height: 280px; right: 7%; top: -130px; border: 30px solid rgba(255,255,255,.09); border-radius: 50%; }
.footer-cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.footer-cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 760px; }
.footer-cta p { max-width: 720px; margin: 15px 0 0; color: rgba(255,255,255,.78); }
.footer-cta-actions { display: grid; gap: 12px; min-width: 250px; }
.site-footer { padding: 72px 0 25px; background: #f8f5ef; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1fr; gap: 48px; }
.footer-brand img { width: 300px; }
.footer-brand p { max-width: 390px; color: var(--ink-soft); font-size: .92rem; }
.social-button { display: inline-flex; align-items: center; gap: 9px; margin-top: 7px; color: var(--cyan-dark); font-weight: 800; }
.footer-title { margin: 0 0 19px; font-family: var(--font-heading); font-size: 1.05rem; }
.footer-links { display: grid; gap: 9px; color: var(--ink-soft); font-size: .9rem; }
.footer-links a:hover { color: var(--pink); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact a { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: .88rem; word-break: break-word; }
.footer-contact .icon { margin-top: 4px; color: var(--pink); }
.newsletter-box { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.68); }
.newsletter-badge { display: inline-flex; padding: 4px 9px; margin-bottom: 13px; border-radius: 999px; background: rgba(244,163,42,.16); color: #865006; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.newsletter-box > p { margin: 0 0 14px; color: var(--ink-soft); font-size: .86rem; }
.newsletter-row { display: grid; grid-template-columns: 1fr 46px; gap: 8px; }
.newsletter-row input { min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #d9d4cb; border-radius: 999px; background: white; color: var(--ink); }
.newsletter-row input:focus { outline: 3px solid rgba(29,168,210,.2); border-color: var(--cyan); }
.newsletter-row button { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--pink); color: white; cursor: pointer; }
.newsletter-consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 11px; color: var(--ink-soft); font-size: .72rem; line-height: 1.35; }
.newsletter-consent input { margin-top: 3px; accent-color: var(--pink); }
.newsletter-consent a { text-decoration: underline; }
.footer-logos { display: flex; align-items: center; gap: 14px; }
.footer-brand .footer-logos > img:first-child { width: 240px; }
.footer-smartway { width: 78px !important; height: auto; padding-left: 12px; border-left: 1px solid var(--line); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 55px; padding-top: 22px; border-top: 1px solid #ddd7ce; font-size: .78rem; color: var(--ink-soft); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-bottom button { border: 0; padding: 0; background: none; color: inherit; cursor: pointer; }
.footer-bottom a:hover,
.footer-bottom button:hover { color: var(--pink); }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.form-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.activity-albums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 980px; margin-inline: auto; }
.activity-album { position: relative; min-height: 330px; overflow: hidden; border-radius: 26px; background: var(--ink); box-shadow: var(--shadow-sm); }
.activity-album picture, .activity-album img { width: 100%; height: 100%; }
.activity-album img { position: absolute; inset: 0; object-fit: cover; transition: transform .35s ease; }
.activity-album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,28,34,.88)); }
.activity-album:hover img { transform: scale(1.035); }
.activity-album-content { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: white; }
.activity-album-content small { display: block; margin-bottom: 4px; color: rgba(255,255,255,.72); font-weight: 700; }
.activity-album-content h3 { margin: 0; font-family: var(--font-heading); font-size: 1.45rem; }

.archive-feature { margin-top: 72px; padding: 42px; border: 1px solid var(--line); border-radius: 34px; background: white; box-shadow: var(--shadow-sm); }
.archive-feature-copy { max-width: 820px; margin-bottom: 30px; }
.archive-feature-copy h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; }
.archive-feature-copy p { margin: 16px 0 0; color: var(--ink-soft); }
.archive-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.archive-gallery picture { display: block; min-width: 0; min-height: 0; }
.archive-gallery picture:first-child { grid-column: span 2; grid-row: span 2; }
.archive-gallery picture:nth-child(4) { grid-row: span 2; }
.archive-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 19px; }

.cookie-banner { position: fixed; z-index: 1500; left: 20px; right: 20px; bottom: 20px; }
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-banner-content { width: min(100%, 1260px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(31,40,46,.97); color: white; box-shadow: 0 25px 70px rgba(0,0,0,.25); }
.cookie-banner-content > div:first-child { flex: 1 1 560px; min-width: 0; }
.cookie-banner h2 { margin: 0; font-family: var(--font-heading); font-size: 1.2rem; }
.cookie-banner p { margin: 6px 0 0; max-width: 650px; color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.5; }
.cookie-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.cookie-actions .button { min-height: 42px; padding: 9px 14px; font-size: .78rem; }
.cookie-modal { position: fixed; inset: 0; z-index: 1600; display: grid; place-items: center; padding: 20px; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(20,27,31,.72); }
.cookie-modal-panel { position: relative; width: min(100%, 650px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 34px; border-radius: 25px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal-close { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f4f6f7; cursor: pointer; }
.cookie-modal h2 { margin: 0 45px 24px 0; font-family: var(--font-heading); font-size: 2rem; line-height: 1.15; }
.consent-option { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 19px 0; border-top: 1px solid var(--line); }
.consent-option strong { display: block; }
.consent-option p { margin: 5px 0 0; color: var(--ink-soft); font-size: .83rem; line-height: 1.5; }
.always-on { white-space: nowrap; color: #4b7d2f; font-size: .75rem; font-weight: 800; }
.switch { position: relative; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; }
.switch span { display: block; width: 51px; height: 29px; border-radius: 999px; background: #cad1d5; cursor: pointer; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 21px; height: 21px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + span { background: var(--pink); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid rgba(29,168,210,.3); outline-offset: 3px; }
.modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.modal-legal { text-align: center; color: var(--ink-soft); font-size: .76rem; }
.modal-legal a { text-decoration: underline; }

.back-to-top { position: fixed; z-index: 700; right: 22px; bottom: 22px; display: grid; place-items: center; width: 47px; height: 47px; border: 0; border-radius: 50%; background: var(--ink); color: white; box-shadow: 0 12px 25px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(10px) rotate(-90deg); transition: opacity .2s, visibility .2s, transform .2s; cursor: pointer; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0) rotate(-90deg); }

.error-page { min-height: 70vh; display: grid; place-items: center; padding: 90px 0; text-align: center; }
.error-page .error-code { font-family: var(--font-heading); font-size: clamp(6rem, 15vw, 12rem); line-height: .8; color: var(--pink); opacity: .13; }
.error-page h1 { margin: -20px 0 12px; font-family: var(--font-heading); font-size: 2.5rem; }
.error-page p { max-width: 620px; color: var(--ink-soft); }

@media (max-width: 1180px) {
    .cookie-banner-content { align-items: flex-start; flex-direction: column; }
    .cookie-banner-content > div:first-child { flex-basis: auto; }
    .cookie-actions { width: 100%; }
    .cookie-actions .button { flex: 1; }
}

@media (max-width: 1080px) {
    :root { --header-height: 78px; }
    .topbar-inner { justify-content: center; }
    .brand img { width: 295px; max-width: 63vw; }
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: calc(38px + var(--header-height));
        height: calc(100dvh - 38px - var(--header-height));
        overflow-y: auto;
        display: block;
        padding: 24px 20px 50px;
        background: white;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .25s ease, visibility .25s;
    }
    .main-nav.open { transform: translateX(0); visibility: visible; }
    .main-nav > a,
    .nav-dropdown > button { width: 100%; min-height: 52px; justify-content: space-between; padding-inline: 14px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.02rem; }
    .nav-cta { margin: 22px 0 0; justify-content: center !important; border-radius: 999px !important; border-bottom: 0 !important; }
    .nav-dropdown { width: 100%; }
    .dropdown-menu { position: static; width: 100%; padding: 0 0 8px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
    .dropdown-menu::before { display: none; }
    .nav-dropdown.open .dropdown-menu { display: block; transform: none; }
    .dropdown-menu a { margin-top: 6px; background: #f8fafb; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-visual { width: min(100%, 720px); margin: 0 auto; }
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-intro { grid-column: 1/-1; padding: 45px 0 20px; text-align: center; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: 1fr; }
    .sidebar-card { position: static; }
    .page-hero-grid { grid-template-columns: 1fr; }
    .page-hero-copy { text-align: center; }
    .page-hero p { margin-inline: auto; }
    .page-hero-actions { justify-content: center; }
    .breadcrumbs ol { justify-content: center; }
    .page-hero-media { width: min(100%, 730px); margin: auto; }
}

@media (max-width: 820px) {
    body { font-size: 16px; }
    .section { padding: 78px 0; }
    .topbar-inner { justify-content: space-between; gap: 12px; }
    .topbar-inner a:nth-child(2) { display: none; }
    .hero { padding-top: 58px; }
    .hero-grid { gap: 35px; }
    .hero-visual { min-height: 460px; }
    .quick-links { margin-top: -20px; }
    .program-grid { grid-template-columns: 1fr; }
    .program-card { min-height: 360px; }
    .split,
    .split.reverse { grid-template-columns: 1fr; gap: 55px; }
    .split.reverse .split-media { order: initial; }
    .split-media { width: min(100%, 650px); margin-inline: auto; }
    .feature-cards { grid-template-columns: 1fr; }
    .about-timeline { grid-template-columns: 1fr; }
    .gallery-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
    .gallery-strip a:first-child { grid-column: 1/-1; grid-row: auto; }
    .footer-cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-cta-actions { width: 100%; grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 64px 0; }
    .topbar { font-size: .78rem; }
    .topbar-inner { min-height: 34px; }
    .main-nav { top: calc(34px + var(--header-height)); height: calc(100dvh - 34px - var(--header-height)); }
    .brand img { width: 250px; max-width: 72vw; }
    .hero { padding: 48px 0 72px; }
    .hero h1 { font-size: clamp(2.55rem, 13vw, 3.65rem); }
    .hero-actions { display: grid; }
    .hero-actions .button { width: 100%; }
    .hero-trust { display: grid; gap: 10px; }
    .hero-visual { min-height: 390px; }
    .hero-photo { border-width: 5px; }
    .hero-photo.one { width: 70%; height: 62%; }
    .hero-photo.two { width: 49%; height: 44%; }
    .hero-photo.three { width: 39%; height: 32%; }
    .hero-sticker { width: 92px; height: 92px; left: 30%; font-size: .7rem; }
    .quick-links-grid { grid-template-columns: 1fr; }
    .quick-link { min-height: auto; }
    .program-card { padding: 27px; border-radius: 28px; }
    .value-grid { grid-template-columns: 1fr; }
    .split-media .floating-card { right: -4px; bottom: 20px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat { min-height: 130px; border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
    .gallery-strip { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 260px); }
    .gallery-strip a:first-child { grid-column: auto; }
    .page-hero { padding: 50px 0 60px; }
    .page-hero h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
    .page-tag { left: 8px; }
    .step { grid-template-columns: 46px 1fr; padding: 17px; }
    .step-number { width: 46px; height: 46px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field.full,
    .checkbox-field { grid-column: auto; }
    .contact-form-card,
    .contact-info-card { padding: 25px; }
    .footer-cta-actions { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 38px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
    .cookie-banner-content { padding: 18px; border-radius: 18px; }
    .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-actions .button:last-child { grid-column: 1/-1; }
    .cookie-modal-panel { padding: 26px 20px; }
    .consent-option { align-items: flex-start; }
    .modal-actions { display: grid; }
    .modal-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1080px) {
    .brand-group { gap: 10px; }
    .smartway-logo { width: 96px; }
    .brand-divider { height: 42px; }
}
@media (max-width: 820px) {
    .archive-feature { padding: 28px; }
    .archive-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
    .archive-gallery picture:first-child { grid-column: 1 / -1; grid-row: span 2; }
    .archive-gallery picture:nth-child(4) { grid-row: auto; }
    .activity-albums { grid-template-columns: 1fr; }
    .activity-album { min-height: 300px; }
}
@media (max-width: 600px) {
    .archive-feature { margin-top: 45px; padding: 20px; border-radius: 25px; }
    .archive-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 145px; gap: 8px; }
    .archive-gallery picture:first-child { grid-row: span 2; }
    .archive-gallery img { border-radius: 14px; }
    .brand img { width: 205px; max-width: 54vw; }
    .smartway-logo { width: 72px; }
    .brand-divider { height: 34px; }
    .footer-logos { align-items: flex-end; }
    .footer-brand .footer-logos > img:first-child { width: 210px; }
    .footer-smartway { width: 70px !important; }
}

@supports (content-visibility: auto) {
    main > .section, .stats-band, .footer-cta, .site-footer { content-visibility: auto; contain-intrinsic-size: 800px; }
    main > .hero, main > .page-hero { content-visibility: visible; }
}

/* v1.3.1: stable in-page galleries, cache-safe deployment and archive cleanup */
.footer-copyright { display: grid; gap: 5px; }
.site-credit { width: fit-content; font-weight: 800; color: var(--cyan-dark); }
.site-credit:hover { color: var(--pink); }
.stat strong { overflow-wrap: anywhere; }
.stat strong.stat-text { font-size: clamp(1.45rem, 2.2vw, 2.25rem); line-height: 1.05; }
.activity-album:is(button) {
    width: 100%;
    padding: 0;
    border: 0;
    color: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
}
.activity-album:focus-visible { outline: 4px solid rgba(29,168,210,.4); outline-offset: 4px; }
.album-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .84rem; font-weight: 800; color: #fff; }
.album-open .icon { width: 17px; height: 17px; transition: transform .2s ease; }
.activity-album:hover .album-open .icon { transform: translateX(4px); }
body.gallery-open { overflow: hidden; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 1900; display: grid; place-items: center; padding: 20px; }
.gallery-lightbox-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(11,16,20,.92); cursor: zoom-out; }
.gallery-lightbox-panel { position: relative; width: min(100%, 1220px); max-height: calc(100vh - 40px); display: grid; grid-template-rows: auto minmax(0,1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: #11191e; color: white; box-shadow: 0 30px 90px rgba(0,0,0,.48); }
.gallery-lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.gallery-lightbox-header h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(1.15rem,2vw,1.65rem); }
.gallery-lightbox-header p { margin: 3px 0 0; color: rgba(255,255,255,.68); font-size: .82rem; }
.gallery-lightbox-close { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: white; cursor: pointer; }
.gallery-lightbox-close:hover { background: rgba(255,255,255,.18); }
.gallery-lightbox-stage { min-height: 0; display: grid; grid-template-columns: 62px minmax(0,1fr) 62px; align-items: center; gap: 10px; padding: 18px; }
.gallery-lightbox-stage figure { min-width: 0; min-height: 0; height: min(76vh, 820px); margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; align-items: center; justify-items: center; }
.gallery-lightbox-stage img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 14px; background: #0a0f12; }
.gallery-lightbox-stage figcaption { min-height: 24px; padding-top: 8px; color: rgba(255,255,255,.72); font-size: .82rem; text-align: center; }
.gallery-lightbox-nav { display: grid; place-items: center; width: 48px; height: 48px; margin: auto; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: white; cursor: pointer; }
.gallery-lightbox-nav:hover { background: var(--pink); }
.gallery-lightbox-nav .icon { width: 24px; height: 24px; }
.gallery-lightbox-nav.previous .icon { transform: rotate(180deg); }
.gallery-lightbox-nav[hidden] { display: none; }
@media (max-width: 700px) {
    .gallery-lightbox { padding: 8px; }
    .gallery-lightbox-panel { max-height: calc(100vh - 16px); border-radius: 18px; }
    .gallery-lightbox-stage { grid-template-columns: 42px minmax(0,1fr) 42px; gap: 4px; padding: 10px 6px 14px; }
    .gallery-lightbox-stage figure { height: calc(100vh - 145px); }
    .gallery-lightbox-nav { width: 38px; height: 38px; }
    .gallery-lightbox-header { padding: 12px 14px; }
}


/* Content-protection deterrents. Inputs remain selectable and paste-friendly. */
body {
    -webkit-user-select: none;
    user-select: none;
}

input,
textarea,
select,
option,
[contenteditable="true"],
[data-allow-copy] {
    -webkit-user-select: text;
    user-select: text;
}

img,
picture,
svg {
    -webkit-user-drag: none;
    user-drag: none;
}
