/* =========================================================================
   BritEdu Modern — main stylesheet
   Palette inspired by Severn Business College (ink navy, brick red, antique
   gold) with a cleaner, modern layout: soft radii, airy spacing, Manrope +
   Source Serif 4.
   ========================================================================= */
:root {
	--ink: #111b2e;
	--ink-2: #1b2a47;
	--ink-3: #0b1322;
	--red: #b01f00;
	--red-hi: #d0361a;
	--gold: #b8975a;
	--gold-hi: #c9a96b;
	--gold-pale: #efe2c4;
	--text: #1d2840;
	--muted: #5b6678;
	--muted-light: #a7afbd;
	--rule: #e3e5ea;
	--tint: #f6f4ef;
	--tint-2: #ece8df;
	--white: #ffffff;

	--font-serif: 'Source Serif 4', 'Times New Roman', serif;
	--font-sans: 'Manrope', 'Segoe UI', system-ui, sans-serif;

	--text-sm: 0.9rem;
	--text-base: 1rem;
	--text-lg: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
	--text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--text-2xl: clamp(1.9rem, 1.4rem + 1.9vw, 2.9rem);
	--text-hero: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);

	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(17, 27, 46, .06), 0 2px 8px rgba(17, 27, 46, .04);
	--shadow: 0 14px 34px -16px rgba(17, 27, 46, .28);
	--shadow-lg: 0 30px 60px -28px rgba(17, 27, 46, .5);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--header-h: 74px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: var(--text-base); line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; margin: 0; color: var(--ink); text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - 2.5rem); }
.section { padding-block: clamp(4rem, 2.5rem + 5vw, 7rem); }
.section--tint { background: var(--tint); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.eyebrow--light { color: var(--gold-hi); }
.h-section { font-size: var(--text-2xl); }
.h-section--light { color: #fff; }

.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.section-top--center { justify-content: center; text-align: center; }
.section-top--center .eyebrow { justify-content: center; }
.section-top--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .8rem 1.5rem; border-radius: var(--r-sm); font-weight: 700; font-size: .95rem; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .875rem; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 22px -12px rgba(176, 31, 0, .8); }
.btn--red:hover { background: var(--red-hi); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--ghost-light { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--outline { background: transparent; color: var(--ink); border-color: rgba(17, 27, 46, .25); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink-3); color: rgba(255, 255, 255, .8); font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.topbar__info li { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__info svg { color: var(--gold); }
.topbar__info a:hover { color: #fff; }
.topbar__social { display: flex; gap: .9rem; }
.topbar__social a { display: inline-flex; color: rgba(255, 255, 255, .8); transition: color .2s; }
.topbar__social a:hover { color: var(--gold); }
@media (max-width: 720px) { .topbar__hide-sm, .topbar__social { display: none !important; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--rule); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(17, 27, 46, .45); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand__logo { width: 50px; height: 50px; object-fit: contain; border-radius: 10px; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem; color: var(--ink); line-height: 1; }
.brand__name em { display: block; font-style: normal; font-family: var(--font-sans); font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-top: .35rem; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: .15rem; }
.nav__list a { position: relative; display: block; padding: .5rem .8rem; font-weight: 600; font-size: .9rem; color: var(--ink); transition: color .2s; }
.nav__list a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__list a:hover, .nav__list a.is-active { color: var(--red); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--rule); background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
	.site-header__cta { display: none; }
	.nav-toggle { display: flex; }
	.nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: .75rem 1.25rem 1.25rem; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 20px 30px -24px rgba(17, 27, 46, .5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: .85rem .25rem; font-size: 1rem; border-bottom: 1px solid var(--rule); }
	.nav__list a::after { display: none; }
	.nav__cta-mobile { display: flex; width: 100%; margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(176, 31, 0, .35), transparent 60%),
		radial-gradient(50% 60% at 0% 100%, rgba(184, 151, 90, .18), transparent 60%),
		linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero__title { font-size: var(--text-hero); color: #fff; line-height: 1.02; letter-spacing: -0.025em; }
.hero__lead { margin-top: 1.25rem; font-size: var(--text-lg); color: rgba(255, 255, 255, .78); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__media { position: relative; }
.hero__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.hero__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero__media::before { content: ""; position: absolute; right: -14px; top: -14px; width: 46%; height: 52%; border: 2px solid var(--gold); border-radius: var(--r-lg); z-index: -1; opacity: .7; }
.hero__chip { position: absolute; left: -1.25rem; bottom: 1.5rem; display: flex; align-items: center; gap: .75rem; background: #fff; color: var(--muted); padding: .6rem 1rem .6rem .6rem; border-radius: var(--r); box-shadow: var(--shadow); font-size: .8rem; line-height: 1.3; }
.hero__chip img { width: 48px; height: 48px; object-fit: cover; object-position: 18% center; border-radius: 10px; background: #fff; }
.hero__chip strong { display: block; color: var(--ink); font-size: .9rem; }

.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); background: #fff; border-radius: var(--r) var(--r) 0 0; box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, .35); }
.facts li { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .15rem; }
.facts li + li { border-left: 1px solid var(--rule); }
.facts__k { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.facts__v { font-size: .85rem; color: var(--muted); font-weight: 500; }
.facts li:first-child .facts__k { color: var(--red); }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media { max-width: 620px; }
	.hero__chip { left: 1rem; bottom: 1rem; }
	.facts { grid-template-columns: repeat(2, 1fr); }
	.facts li:nth-child(3) { border-left: 0; }
	.facts li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 520px) {
	.hero__actions .btn { width: 100%; }
	.hero__media::before { right: -8px; top: -8px; }
	.facts li { padding: 1.1rem 1rem; }
	.facts__k { font-size: 1.2rem; }
}

/* ---------- Services ---------- */
.services { padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.services__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.services__text { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.05rem + .75vw, 1.6rem); line-height: 1.5; color: var(--ink); font-weight: 500; }
.services__text strong { color: var(--red); font-weight: 700; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.25rem; }
.pillar { padding: 1.4rem; border: 1px solid var(--rule); border-radius: var(--r); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.pillar:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.pillar__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--red); margin-bottom: 1rem; }
.pillar h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; }
.pillar p { margin-top: .35rem; font-size: .9rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) { .services__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Courses ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .4rem; padding: .3rem; background: #fff; border: 1px solid var(--rule); border-radius: 999px; }
.filter { border: 0; background: transparent; padding: .55rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; }
@media (max-width: 640px) { .filters { border-radius: var(--r); width: 100%; } .filter { flex: 1 1 auto; } }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.course-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--rule); padding: 1.25rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.course-card.is-hidden { display: none; }
.course-card__top { position: relative; border-radius: var(--r); background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); border: 1px solid var(--tint-2); padding: 1.25rem 1rem .75rem; }
.course-card__logo { width: 100%; max-width: 220px; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 45%; margin-inline: auto; mix-blend-mode: multiply; }
.course-card__badge { position: absolute; top: .75rem; left: .75rem; z-index: 1; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--gold-pale); padding: .25rem .55rem; border-radius: 6px; }
.course-card__title { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin-top: 1.1rem; padding-inline: .25rem; }
.course-card__meta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .45rem; padding-inline: .25rem; font-size: .875rem; color: var(--muted); font-weight: 500; }
.course-card__foot { margin-top: auto; padding: 1.1rem .25rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px dashed var(--rule); margin-top: 1.1rem; }
.course-card__price { font-family: var(--font-serif); font-size: 1.85rem; font-weight: 700; color: var(--red); line-height: 1; }
.course-card__link { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .95rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; transition: background-color .2s; }
.course-card__link svg { transition: transform .25s var(--ease); }
.course-card__link:hover { background: var(--red); }
.course-card:hover .course-card__link svg { transform: translateX(3px); }
@media (max-width: 960px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .course-grid { grid-template-columns: 1fr; } }

/* ---------- Visas ---------- */
.visa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 1040px; margin-inline: auto; }
.visa-card { position: relative; display: flex; flex-direction: column; padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); border-radius: var(--r-lg); border: 1px solid #e6dcc6; background: linear-gradient(180deg, #fffdf8 0%, #f8f3e8 100%); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.visa-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.visa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.visa-card .visa-card__head { border-color: #e6dcc6; }
.visa-card__num { background: #fff !important; border-color: #e6dcc6 !important; }
.visa-card__head { display: flex; flex-direction: column; gap: .9rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.visa-card__num { align-self: flex-start; font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--red); background: var(--tint); border: 1px solid var(--tint-2); padding: .35rem .8rem; border-radius: 999px; }
.visa-card h3 { font-size: var(--text-xl); }
.visa-card__text { margin-top: 1.25rem; color: var(--muted); }
.visa-card__text strong { color: var(--text); }
.visa-card__list { margin-top: 1.25rem; display: grid; gap: .75rem; }
.visa-card__list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.visa-card__list svg { flex-shrink: 0; margin-top: .15rem; }
.visa-card__list .is-yes svg { color: #2b7a4b; }
.visa-card__list .is-no svg { color: var(--red); }
.visa-card__btn { margin-top: 2rem; align-self: flex-start; }
.visa-card--dark { background: linear-gradient(160deg, #34507e 0%, #2a4068 100%); border-color: #34507e; color: rgba(255, 255, 255, .9); box-shadow: 0 24px 48px -26px rgba(42, 64, 104, .65); }
.visa-card--dark .visa-card__head { border-color: rgba(255, 255, 255, .2); }
.visa-card--dark h3 { color: #fff; }
.visa-card--dark .visa-card__num { background: rgba(255, 255, 255, .1); border-color: rgba(184, 151, 90, .4); color: var(--gold-hi); }
.visa-card--dark .visa-card__text { color: rgba(255, 255, 255, .82); }
.visa-card--dark .visa-card__text strong { color: #fff; }
.visa-card--dark .visa-card__list .is-yes svg { color: var(--gold-hi); }
.visa-card--dark .visa-card__list .is-no svg { color: #ff7a5c; }
@media (max-width: 820px) { .visa-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; background: var(--ink); overflow: hidden; isolation: isolate; }
.testimonials__photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .14; filter: grayscale(1); }
.testimonials::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(17, 27, 46, .88) 50%, var(--ink) 100%); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testi-card { margin: 0; display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(6px); transition: background-color .3s, transform .35s var(--ease); }
.testi-card:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.testi-card__q { color: var(--gold); }
.testi-card blockquote { margin: 0; flex: 1; }
.testi-card blockquote p { color: rgba(255, 255, 255, .85); line-height: 1.7; }
.testi-card figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.testi-card figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-card figcaption span { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted-light); line-height: 1.35; }
.testi-card figcaption strong { color: #fff; font-size: 1rem; }
.stars { margin-left: auto; color: var(--gold); letter-spacing: .1em; font-size: .9rem; line-height: 1; }
@media (max-width: 960px) { .testi-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------- Contact ---------- */
.contact__card { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.contact__info { padding: clamp(2rem, 1.25rem + 3vw, 3.5rem); position: relative; }
.contact__info::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--red), var(--gold)); }
.contact__list { display: grid; gap: 1rem; margin-top: 1.75rem; }
.contact__list li { display: flex; align-items: flex-start; gap: .9rem; }
.contact__icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(184, 151, 90, .14); color: var(--gold-hi); }
.contact__label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); font-weight: 700; }
.contact__list a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--gold-hi); }
.contact__map { min-height: 380px; background: var(--tint); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }
@media (max-width: 900px) { .contact__card { grid-template-columns: 1fr; } .contact__map, .contact__map iframe { min-height: 300px; } }
@media (max-width: 520px) { .contact .hero__actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-3); color: var(--muted-light); padding-top: 3.5rem; font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer__name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: #fff; }
.site-footer__sub { margin-top: .2rem; }
.site-footer__tag { margin-top: 1rem; color: rgba(255, 255, 255, .85); font-family: var(--font-serif); font-size: 1.05rem; max-width: 30ch; }
.site-footer__btns { display: flex; gap: .6rem; margin-top: 1.25rem; }
.site-footer__title { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 1rem; }
.site-footer .nav__list { flex-direction: column; gap: 0; }
.site-footer .nav__list a { padding: .3rem 0; color: var(--muted-light); font-weight: 500; font-size: .92rem; }
.site-footer .nav__list a::after { display: none; }
.site-footer .nav__list a:hover { color: #fff; }
.site-footer__contact { display: grid; gap: .65rem; }
.site-footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer__contact svg { color: var(--gold); flex-shrink: 0; margin-top: .3rem; }
.site-footer__contact a:hover { color: #fff; }
.site-footer__social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.site-footer__social a { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .15); transition: background-color .2s, border-color .2s, color .2s; }
.site-footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-block: 1.1rem; font-size: .85rem; }
.site-footer__bottom a:hover { color: #fff; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__bottom-inner { padding-bottom: 5.5rem; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; display: flex; align-items: center; gap: .6rem; }
.wa-float__icon { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .9); transition: transform .3s var(--ease); }
.wa-float__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.4s ease-out infinite; }
.wa-float__label { background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; padding: .55rem .95rem; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; }
.wa-float:hover .wa-float__icon { transform: scale(1.06); }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }
@media (max-width: 600px) { .wa-float__label { display: none; } }

/* ---------- Generic pages ---------- */
.page-content { min-height: 50vh; }
.entry + .entry { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.entry__title { font-size: var(--text-2xl); margin-bottom: 1.25rem; }
.entry__content > * + * { margin-top: 1rem; }
.entry__content a { color: var(--red); text-decoration: underline; }

/* ---------- Reveal on scroll (content stays visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Mobile refinements ---------- */
@media (max-width: 640px) {
	.hero__media::before { display: none; }
	.filters { flex-wrap: nowrap; overflow-x: auto; border-radius: 999px; scrollbar-width: none; }
	.filters::-webkit-scrollbar { display: none; }
	.filter { flex: 0 0 auto; white-space: nowrap; }
}
@media (max-width: 980px) {
	.site-footer .nav__list a { padding: .3rem 0; font-size: .92rem; border-bottom: 0; }
}
