/* ==========================================================================
   Go Canada — main stylesheet
   Logical properties throughout: one stylesheet serves LTR (EN/FR) and RTL (AR).
   ========================================================================== */

:root {
	--c-primary: #1d5fd6;
	--c-accent: #d52b1e;
	--c-dark: #0b1b33;
	--c-ink: #172033;
	--c-muted: #5a6478;
	--c-line: #e2e7f0;
	--c-light: #f3f6fb;
	--c-sky: #eaf2ff;
	--c-white: #fff;
	--c-success: #127a3a;

	--f-latin: system-ui;
	--f-arabic: "Segoe UI";
	--font: var(--f-latin), -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-ar: var(--f-arabic), "Noto Sans Arabic", "Geeza Pro", Tahoma, var(--f-latin), sans-serif;

	--radius: 14px;
	--radius-sm: 9px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 1px 3px rgba(11, 27, 51, .08);
	--shadow: 0 6px 24px -8px rgba(11, 27, 51, .18);
	--shadow-lg: 0 24px 60px -20px rgba(11, 27, 51, .35);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 28px);
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--c-ink); background: var(--c-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[dir="rtl"] body { font-family: var(--font-ar); line-height: 1.85; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; margin: 0 0 .6em; color: var(--c-dark); font-weight: 700; letter-spacing: -.01em; }
html[dir="rtl"] :is(h1, h2, h3, h4, h5, h6) { letter-spacing: 0; line-height: 1.45; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.25em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-primary); color: #fff; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 1000; background: var(--c-dark); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { inset-block-start: 12px; color: #fff; }
.flip-rtl { transition: transform .2s var(--ease); }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.center { text-align: center; }
.hide-sm { }
@media (max-width: 720px) { .hide-sm { display: none !important; } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1280px; }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--light { background: var(--c-light); }
.section--dark { background: var(--c-dark); color: #d7deea; }
.section--dark .section__title, .section--dark h2, .section--dark h3 { color: #fff; }
.section--page { padding-block: clamp(32px, 5vw, 64px); }
.section__head { max-width: 760px; margin-block-end: clamp(24px, 4vw, 44px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); margin: 0; }
.section__title--center { text-align: center; margin-block-end: 28px; }
.section__intro { color: var(--c-muted); font-size: 1.1rem; margin: 12px 0 0; }
.section--dark .section__intro { color: #b9c3d6; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .92rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--pill { background: #fff; border: 1px solid var(--c-line); padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--c-dark); }
.eyebrow--pill .icon { color: var(--c-accent); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.notice { background: var(--c-sky); border: 1px solid #cfe0ff; border-inline-start: 4px solid var(--c-primary); padding: 12px 16px; border-radius: var(--radius-sm); color: var(--c-dark); font-size: .95rem; margin-block-end: 24px; }
.lead { font-size: 1.15rem; color: var(--c-muted); }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--c-primary); --btn-fg: #fff; --btn-bd: var(--btn-bg); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border: 2px solid var(--btn-bd); border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s; }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--c-accent); }
.btn--accent:hover { --btn-bg: #b8231a; }
.btn--primary:hover { --btn-bg: #174fb4; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-dark); --btn-bd: var(--c-line); background: #fff; }
.btn--outline:hover { --btn-bd: var(--c-dark); --btn-fg: var(--c-dark); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --btn-bd: #fff; --btn-fg: #fff; background: rgba(255, 255, 255, .08); }
.btn--link, .btn--link-light { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--c-primary); padding-inline: 0; min-height: 0; }
.btn--link-light { --btn-fg: #c9d3e6; }
.btn--link:hover, .btn--link-light:hover { box-shadow: none; text-decoration: underline; }
.btn--lg { min-height: 54px; padding: 12px 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
html[dir="rtl"] .btn .icon--arrow { transform: scaleX(-1); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; color: var(--c-dark); }
.icon-btn:hover { border-color: var(--c-dark); color: var(--c-dark); }
.icon { flex: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-dark); color: #c7d0e0; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 40px; }
.topbar__text { margin: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: #e6ebf4; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
@media (max-width: 900px) { .topbar .topbar__text, .topbar .social--topbar { display: none; } .topbar__links { flex: 1; justify-content: center; gap: 14px; } .topbar a { white-space: nowrap; font-size: .8rem; } }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: #fff; border-block-end: 1px solid var(--c-line); }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.has-sticky-header .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: var(--shadow); }
/* No backdrop-filter on the header: it would trap the fixed mobile drawer inside the header box. */
.header__inner { display: flex; align-items: center; gap: 14px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-dark); flex: none; }
.brand__logo { height: 50px; width: auto; }
.brand__mark { color: var(--c-accent); }
.brand__name { font-weight: 800; font-size: 1.15rem; }
.header__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }

/* Menu (desktop) */
.nav { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; }
.nav__head, .nav__extra { display: none; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu--primary { display: flex; align-items: center; gap: 2px; }
.menu--primary > li { position: relative; }
.menu--primary a { display: flex; align-items: center; gap: 4px; padding: 10px 9px; border-radius: 10px; color: var(--c-dark); font-weight: 600; font-size: .94rem; text-decoration: none; white-space: nowrap; }
.menu--primary > li > a:hover, .menu--primary > li:focus-within > a, .menu--primary .current-menu-item > a, .menu--primary .current-menu-ancestor > a { color: var(--c-primary); background: var(--c-sky); }
.menu--primary .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); margin-inline-start: 4px; opacity: .6; }
.menu--primary .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; inset-inline-start: 0; top: calc(100% + 6px); min-width: 280px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 60; }
.menu--primary .sub-menu::before { content: ""; position: absolute; inset-inline: 0; top: -10px; height: 10px; }
.menu--primary li:hover > .sub-menu, .menu--primary li:focus-within > .sub-menu, .menu--primary li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu--primary .sub-menu a { padding: 9px 12px; font-weight: 500; font-size: .94rem; }
.menu--primary .sub-menu a:hover { background: var(--c-light); color: var(--c-primary); }
.menu--primary .pll-parent-menu-item, .menu--primary .lang-item { display: none; } /* Language links are handled by the theme switcher. */
.submenu-toggle { display: none; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch__toggle { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; color: var(--c-dark); font-weight: 600; font-size: .92rem; }
.lang-switch__toggle:hover { border-color: var(--c-dark); }
.lang-switch__list { list-style: none; margin: 0; padding: 6px; position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 170px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: none; z-index: 70; }
.lang-switch.is-open .lang-switch__list { display: block; }
.lang-switch__list a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--c-dark); text-decoration: none; font-weight: 600; }
.lang-switch__list a:hover { background: var(--c-light); }
.lang-switch__list a[aria-current] { color: var(--c-primary); background: var(--c-sky); }
.lang-switch__list a[lang="ar"] { font-family: var(--font-ar); }

.lang-switch__code { font-weight: 700; letter-spacing: .02em; }
.lang-switch--drawer .lang-switch__code { display: none; }
@media (max-width: 1320px) { .header__search { display: none; } }

/* Search panel */
.search-panel { border-block-start: 1px solid var(--c-line); padding-block: 14px; background: #fff; }
.search-form { display: flex; gap: 8px; }
.search-form__input { flex: 1; min-height: 48px; padding: 10px 16px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-light); }
.search-form__input:focus { outline: none; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 4px rgba(29, 95, 214, .12); }
.search-form__btn { min-width: 48px; padding-inline: 14px; }
.search-inline { max-width: 640px; margin: 0 auto 32px; }

/* Mobile navigation */
.nav__toggle { display: none; }
.nav-overlay { position: fixed; inset: 0; background: rgba(11, 27, 51, .5); z-index: 90; }
.nav-open .site-header { z-index: 110; }
@media (max-width: 1140px) {
	.nav__toggle { display: inline-grid; }
	.header__cta, .header__actions > .lang-switch { display: none; }
	.nav { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 100; width: min(400px, 90vw); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s var(--ease), visibility .22s; box-shadow: var(--shadow-lg); }
	.nav-open .nav { opacity: 1; visibility: visible; pointer-events: auto; }
	.nav-open { overflow: hidden; }
	.nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-block-end: 1px solid var(--c-line); position: sticky; top: 0; background: #fff; z-index: 1; }
	.nav__head .brand__logo { height: 40px; }
	.menu--primary { flex-direction: column; align-items: stretch; padding: 10px; gap: 0; }
	.menu--primary > li { border-block-end: 1px solid var(--c-light); display: flex; flex-wrap: wrap; align-items: center; }
	.menu--primary > li > a { flex: 1; padding: 14px 12px; font-size: 1.02rem; }
	.menu--primary .menu-item-has-children > a::after { display: none; }
	.submenu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--c-dark); border-radius: 10px; }
	.submenu-toggle .icon { transition: transform .2s; }
	.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
	.menu--primary .sub-menu { position: static; flex-basis: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; padding-inline-start: 12px; display: none; background: transparent; }
	.menu--primary li.is-open > .sub-menu { display: block; }
	.menu--primary li:hover > .sub-menu { display: none; }
	.menu--primary li.is-open:hover > .sub-menu { display: block; }
	.nav__extra { display: grid; gap: 12px; padding: 18px; }
	.nav__extra .lang-switch__toggle { display: none; }
	.nav__extra .lang-switch__list { display: flex; position: static; box-shadow: none; border: 0; padding: 0; gap: 8px; min-width: 0; }
	.nav__extra .lang-switch__list li { flex: 1; }
	.nav__extra .lang-switch__list a { text-align: center; border: 1px solid var(--c-line); }
}
@media (max-width: 480px) { .brand__logo { height: 40px; } .header__search { display: none; } :root { --header-h: 66px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #dbe8ff 0%, transparent 60%), radial-gradient(800px 400px at -10% 110%, #ffe3e0 0%, transparent 55%), linear-gradient(180deg, #f6f9ff 0%, #fff 100%); }
html[dir="rtl"] .hero { background: radial-gradient(1200px 500px at 15% -10%, #dbe8ff 0%, transparent 60%), radial-gradient(800px 400px at 110% 110%, #ffe3e0 0%, transparent 55%), linear-gradient(180deg, #f6f9ff 0%, #fff 100%); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero__title { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); line-height: 1.1; margin-block-end: 18px; letter-spacing: -.025em; }
html[dir="rtl"] .hero__title { line-height: 1.35; letter-spacing: 0; }
.hero__title em { font-style: normal; color: var(--c-primary); background: linear-gradient(transparent 62%, rgba(213, 43, 30, .16) 0); }
.hero__text { font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); color: var(--c-muted); max-width: 620px; margin-block-end: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-end: 34px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.hero__badges li { display: flex; flex-direction: column; padding: 12px 18px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); min-width: 130px; }
.hero__badges strong { font-size: 1.5rem; color: var(--c-dark); line-height: 1.1; direction: ltr; unicode-bidi: isolate; text-align: start; }
.hero__badges span { font-size: .86rem; color: var(--c-muted); }
.hero__visual { position: relative; }
.hero__img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__art { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0 38%, #fbe4e2 38% 39%, transparent 39%), conic-gradient(from 210deg, #e9f1ff, #fff3f2, #e9f1ff); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--c-line); }
.hero__leaf { color: var(--c-accent); width: 46%; height: auto; filter: drop-shadow(0 18px 30px rgba(213, 43, 30, .3)); }
.hero__card { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-weight: 700; color: var(--c-dark); font-size: .95rem; }
.hero__card .icon { color: var(--c-primary); }
.hero__card--a { inset-block-start: 12%; inset-inline-start: -4%; }
.hero__card--b { inset-block-end: 14%; inset-inline-end: -2%; }
.hero__card--b .icon { color: var(--c-success); }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; padding-block: 36px 48px; } .hero__visual { display: none; } .hero--image .hero__visual { display: block; order: -1; } .hero__badges li { min-width: 0; flex: 1 1 30%; padding: 10px 12px; } .hero__badges strong { font-size: 1.25rem; } .hero__actions .btn { flex: 1 1 100%; } }

/* ---------- Tiles (audience) ---------- */
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-dark); color: #fff; text-decoration: none; aspect-ratio: 16 / 11; isolation: isolate; box-shadow: var(--shadow); }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); z-index: -1; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 27, 51, 0) 30%, rgba(11, 27, 51, .88) 100%); z-index: -1; }
.tile:hover .tile__img { transform: scale(1.05); }
.tile:hover { color: #fff; }
.tile__body { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 22px; display: grid; gap: 4px; }
.tile__title { font-size: 1.35rem; font-weight: 800; }
.tile__text { color: #d6deeb; font-size: .95rem; padding-inline-end: 40px; }
.tile__arrow { position: absolute; inset-inline-end: 20px; inset-block-end: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; transition: transform .2s var(--ease); }
.tile:hover .tile__arrow { transform: translateX(4px); }
html[dir="rtl"] .tile:hover .tile__arrow { transform: translateX(-4px); }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3dbe8; }
.card__media { display: block; aspect-ratio: 16 / 9; background: var(--c-light); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: grid; place-items: center; height: 100%; color: #c9d3e3; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.card__title { font-size: 1.12rem; line-height: 1.4; margin: 0; }
.card__title a { color: var(--c-dark); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:hover { color: var(--c-primary); }
.card__excerpt { color: var(--c-muted); font-size: .96rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--service { padding: 26px; gap: 12px; }
.card__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--c-sky); color: var(--c-primary); transition: background .2s, color .2s; }
.card--service:hover .card__icon { background: var(--c-accent); color: #fff; }
.card--service .card__title { font-size: 1.22rem; }
.card__text { color: var(--c-muted); margin: 0; flex: 1; font-size: .98rem; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-accent); font-size: .95rem; }
.card--page .card__body { padding: 22px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--c-muted); font-size: .86rem; margin: 0; }
.meta > span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Videos ---------- */
.video { margin: 0; }
.video figcaption { margin-block-start: 10px; font-weight: 600; color: #e6ebf4; font-size: .98rem; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--c-accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .2s var(--ease); }
.yt__play .icon { margin-inline-start: 4px; }
.yt:hover .yt__play { transform: scale(1.08); }

/* ---------- About / FAQ ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
.about__img { border-radius: var(--radius-lg); margin-block: 20px; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checks .icon { color: #fff; background: var(--c-success); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: #d3dbe8; }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; font-weight: 700; font-size: 1.06rem; color: var(--c-dark); cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { transition: transform .2s; color: var(--c-accent); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 22px 18px; color: var(--c-muted); }

/* ---------- Testimonials ---------- */
.proof__head { max-width: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.stat { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.stat strong { font-size: clamp(2.2rem, 1.5rem + 2vw, 3.2rem); color: var(--c-accent); line-height: 1; }
.stat span { color: var(--c-muted); font-weight: 600; }
.slider__track { list-style: none; margin: 0; padding: 0; }
.quote { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.quote__stars { display: flex; gap: 2px; color: #f5a524; }
.quote__stars .icon { fill: currentColor; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { margin: 0; color: var(--c-ink); }
.quote__name { margin: 0; font-weight: 700; color: var(--c-dark); display: flex; flex-direction: column; }
.quote__name span { font-weight: 500; color: var(--c-muted); font-size: .88rem; }
@media (max-width: 720px) { .slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-block-end: 8px; } .quote { flex: 0 0 85%; scroll-snap-align: start; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--c-dark) 0%, #13305c 100%); color: #d7deea; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; inset-inline-end: -120px; inset-block-start: -160px; background: radial-gradient(circle, rgba(213, 43, 30, .45), transparent 65%); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-block: clamp(40px, 6vw, 72px); flex-wrap: wrap; }
.cta-band__text { max-width: 640px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin-block-end: 8px; }
.cta-band p { margin: 0; color: #b9c3d6; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page header & breadcrumbs ---------- */
.page-head { background: linear-gradient(180deg, #f3f7ff, #fff); border-block-end: 1px solid var(--c-line); padding-block: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 44px); }
.page-head__title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); margin: 0; max-width: 900px; }
.page-head__intro { margin: 14px 0 0; color: var(--c-muted); font-size: 1.12rem; max-width: 760px; }
.crumbs { font-size: .88rem; color: var(--c-muted); margin-block-end: 14px; }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-primary); }
.crumbs .separator { margin-inline: 6px; opacity: .6; }
.crumbs p { margin: 0; }

/* ---------- Prose (pages & articles) ---------- */
.prose { font-size: 1.07rem; overflow-wrap: break-word; }
.prose > * + * { margin-block-start: 1em; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-block: 1.8em .6em; }
.prose h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.4rem); margin-block: 1.6em .5em; }
.prose h4 { font-size: 1.1rem; margin-block: 1.4em .4em; }
.prose > :first-child { margin-block-start: 0; }
.prose h2[id], .prose h3[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose ul, .prose ol { margin-block: 0 1.2em; }
.prose li { margin-block: .35em; }
.prose li::marker { color: var(--c-accent); }
.prose a { font-weight: 600; }
.prose strong, .prose b { color: var(--c-dark); }
.prose hr { border: 0; height: 1px; background: var(--c-line); margin-block: 2em; }
.prose img { border-radius: var(--radius); margin-block: 1em; }
.prose figure { margin: 1.6em 0; }
.prose figcaption, .prose .wp-caption-text { color: var(--c-muted); font-size: .9rem; margin-block-start: 8px; text-align: center; }
.prose .wp-caption { max-width: 100%; }
.prose blockquote { margin: 1.6em 0; padding: 16px 22px; border-inline-start: 4px solid var(--c-accent); background: var(--c-light); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; color: var(--c-dark); }
html[dir="rtl"] .prose blockquote { border-radius: var(--radius) 0 0 var(--radius); }
.prose blockquote p:last-child { margin: 0; }
.prose iframe { border: 0; border-radius: var(--radius); }
.prose iframe[src*="youtube"], .prose iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.prose code { background: var(--c-light); padding: .1em .4em; border-radius: 6px; font-size: .92em; }
.prose pre { background: var(--c-dark); color: #e6ebf4; padding: 18px; border-radius: var(--radius); overflow-x: auto; }
.table-wrap { overflow-x: auto; margin-block: 1.4em; border: 1px solid var(--c-line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
.prose th, .prose td { padding: 12px 14px; border-block-end: 1px solid var(--c-line); text-align: start; vertical-align: top; }
.prose thead th, .prose tr:first-child th { background: var(--c-light); color: var(--c-dark); font-weight: 700; }
.prose tbody tr:nth-child(even) td { background: #fafbfd; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; }
html[dir="rtl"] .prose .alignleft { float: right; margin: .3em 0 1em 1.4em; }
html[dir="rtl"] .prose .alignright { float: left; margin: .3em 1.4em 1em 0; }
.prose .aligncenter { margin-inline: auto; }
.prose::after { content: ""; display: table; clear: both; }
.prose .btn { margin-block: .4em; }
.prose--form iframe { width: 100%; min-height: 900px; }
/* Legacy builder classes kept readable */
.prose .vc_row, .prose .wpb_row { display: block; }
.prose [style*="display: flex"] { flex-wrap: wrap; }

/* Page layout with aside */
.layout-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.prose--page { max-width: 820px; }
.page-figure { margin: 0 0 1.6em; }
.page-figure img { border-radius: var(--radius-lg); width: 100%; margin: 0; }
.page-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 22px; }
.aside-card h2 { font-size: 1.15rem; margin-block-end: 10px; }
.aside-card p { color: var(--c-muted); font-size: .96rem; }
.aside-card--cta { background: linear-gradient(160deg, var(--c-sky), #fff); border-color: #d2e1fb; }
.aside-card--inline { margin-block-start: 28px; }
@media (max-width: 980px) { .layout-page { grid-template-columns: 1fr; } .page-aside { position: static; } }

/* Contact list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--c-sky); color: var(--c-primary); }
.contact-list__label { display: block; font-size: .84rem; color: var(--c-muted); line-height: 1.4; }
.contact-list a, .contact-list li > span > span:not(.contact-list__label) { color: var(--c-dark); font-weight: 700; text-decoration: none; overflow-wrap: break-word; }
.contact-list li > span { min-width: 0; }
.contact-list a:hover { color: var(--c-primary); }
.contact-list [dir="ltr"] { unicode-bidi: isolate; display: inline-block; }
.contact-list--inline { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Contact page */
.contact { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact__info { position: sticky; top: calc(var(--header-h) + 24px); }
.contact__hours { margin-block-start: 20px; padding-block-start: 18px; border-block-start: 1px solid var(--c-line); }
.contact__hours h2 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.contact__hours ul { list-style: none; padding: 0; margin: 0; color: var(--c-muted); }
.contact__actions { display: grid; gap: 10px; margin-block-start: 20px; }
.contact__map { margin-block-start: 40px; }
.embed--map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius-lg); }
@media (max-width: 980px) { .contact { grid-template-columns: 1fr; } .contact__info { position: static; } }
.embed-defer { display: grid; place-items: center; min-height: 160px; background: var(--c-light); border-radius: var(--radius-lg); border: 1px dashed var(--c-line); }
.embed-defer iframe { width: 100%; border: 0; }

/* ---------- Article ---------- */
.article__head { padding-block: clamp(28px, 5vw, 56px) 24px; background: linear-gradient(180deg, #f3f7ff, #fff); }
.article__title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.75rem); line-height: 1.2; margin-block-end: 16px; }
.article__figure { margin-block: 0 clamp(24px, 4vw, 44px); }
.article__figure img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article__figure figcaption { color: var(--c-muted); font-size: .9rem; margin-block-start: 8px; text-align: center; }
.article__layout { max-width: 820px; padding-block-end: clamp(40px, 6vw, 80px); }
.article__layout.has-toc { max-width: 1160px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.article__toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc { font-size: .93rem; background: var(--c-light); border-radius: var(--radius); padding: 16px 18px; }
.toc summary { font-weight: 800; color: var(--c-dark); cursor: pointer; }
.toc ol { margin: 10px 0 0; padding-inline-start: 1.1em; display: grid; gap: 6px; }
.toc a { color: var(--c-muted); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--c-primary); }
@media (max-width: 980px) { .article__layout.has-toc { grid-template-columns: 1fr; } .article__toc { position: static; } }
.article__body { max-width: 760px; }
.article__foot { margin-block-start: 40px; padding-block-start: 24px; border-block-start: 1px solid var(--c-line); display: grid; gap: 18px; }
.tags { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.tags__label, .share__label { font-weight: 700; color: var(--c-dark); font-size: .92rem; }
.tags ul, .share ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--c-light); color: var(--c-muted); font-size: .86rem; font-weight: 600; text-decoration: none; }
.tags a:hover { background: var(--c-sky); color: var(--c-primary); }
.share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; color: var(--c-dark); }
.share a:hover, .share button:hover { border-color: var(--c-primary); color: var(--c-primary); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-block-start: 32px; }
.post-nav__link { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-dark); text-decoration: none; font-weight: 700; font-size: .96rem; line-height: 1.4; }
.post-nav__link span { font-size: .8rem; font-weight: 600; color: var(--c-muted); text-transform: uppercase; letter-spacing: .05em; }
.post-nav__link--next { text-align: end; grid-column: 2; }
.post-nav__link:hover { border-color: var(--c-primary); color: var(--c-primary); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: auto; } }

/* ---------- Pagination ---------- */
.pagination { margin-block-start: 44px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line); color: var(--c-dark); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .dots { border: 0; }

/* ---------- 404 ---------- */
.error-404__code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 900; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: #b9c3d6; font-size: .96rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .9fr 1.5fr 1fr; gap: clamp(28px, 4vw, 48px); padding-block: clamp(48px, 7vw, 80px); }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }
.site-footer .brand__logo { height: 48px; filter: brightness(0) invert(1); }
.footer__about p { margin-block: 18px; }
.footer__title { color: #fff; font-size: 1.02rem; margin-block-end: 16px; }
.footer__menu, .footer__hours, .footer__legal { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #dfe5ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.contact-list--footer .contact-list__icon { background: rgba(255, 255, 255, .08); color: #fff; width: 36px; height: 36px; }
.contact-list--footer .contact-list__label { color: #8f9bb3; }
.contact-list--footer a, .contact-list--footer li > span > span:not(.contact-list__label) { color: #fff; font-weight: 600; font-size: .94rem; }
.footer__actions { display: grid; justify-items: start; gap: 10px; margin-block-start: 18px; }
.footer__bottom { border-block-start: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-block: 20px; }
.footer__bottom p { margin: 0; }
.footer__disclaimer { color: #8f9bb3; flex-basis: 100%; order: 3; }
.footer__legal { display: flex; gap: 18px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; }
.social--footer a { background: rgba(255, 255, 255, .08); color: #fff; width: 40px; height: 40px; }
.social--footer a:hover { background: var(--c-accent); text-decoration: none; }
.social--topbar a { width: 28px; height: 28px; }

/* Floating buttons */
.fab-wa { position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .2s var(--ease); }
.fab-wa:hover { color: #fff; transform: scale(1.06); }
.to-top { position: fixed; inset-block-end: 90px; inset-inline-end: 27px; z-index: 39; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--c-dark); border: 1px solid var(--c-line); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Forms (Gravity Forms / CF7) ---------- */
.prose input[type="text"], .prose input[type="email"], .prose input[type="tel"], .prose input[type="number"], .prose input[type="url"], .prose input[type="date"], .prose select, .prose textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cfd7e4; border-radius: var(--radius-sm); background: #fff; color: var(--c-ink); }
.prose textarea { min-height: 140px; }
.prose input:focus, .prose select:focus, .prose textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(29, 95, 214, .12); }
.prose input[type="submit"], .prose button[type="submit"], .gform_button { display: inline-flex; min-height: 50px; padding: 12px 28px; border: 0; border-radius: 999px; background: var(--c-accent); color: #fff; font-weight: 700; cursor: pointer; }
.prose input[type="submit"]:hover, .gform_button:hover { background: #b8231a; }
.gform_wrapper .gfield_label { font-weight: 700; color: var(--c-dark); }
.gform_wrapper .gfield_required { color: var(--c-accent); }

/* ---------- Print ---------- */
@media print {
	.topbar, .site-header, .site-footer, .cta-band, .fab-wa, .to-top, .share, .post-nav, .related, .article__toc, .page-aside { display: none !important; }
	body { font-size: 12pt; color: #000; }
	a { color: #000; text-decoration: underline; }
}

/* Contact pages carry the reCAPTCHA badge in the bottom corner: lift the floating buttons above it. */
.page-template-page-templatescontact-php .fab-wa { inset-block-end: 92px; }
.page-template-page-templatescontact-php .to-top { inset-block-end: 162px; }
