/* AME theme: tokens, base, header, navigation, footer, shared components. */

@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/barlow-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/barlow-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 800; font-style: italic; font-display: swap; src: url(../fonts/barlow-latin-800-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); }

:root {
	/* Brand */
	--navy: #1B1F4B;
	--navy-2: #262B66;
	--blue: #3A3F9A;
	--orange: #F08030;
	--orange-2: #D9661A;
	--green: #4C9A2A;

	/* Surfaces & text (light) */
	--bg: #FFFFFF;
	--surface: #F3F5F8;
	--surface-2: #E9EDF3;
	--card: #FFFFFF;
	--well: #F6F7FA;
	--text: #1A1D33;
	--muted: #5B6178;
	--line: #DFE3EC;
	--link: #3A3F9A;
	--focus: #F08030;
	--shadow: 0 1px 2px rgba(20, 24, 60, .06), 0 8px 24px rgba(20, 24, 60, .06);
	--shadow-lg: 0 18px 50px rgba(20, 24, 60, .14);

	--font-head: "Barlow", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 12px;
	--radius-sm: 8px;
	--gap: clamp(1rem, 2.4vw, 1.75rem);
	--container: 1280px;
	color-scheme: light;
}

:root[data-theme="dark"] {
	--bg: #0D0F16;
	--surface: #141824;
	--surface-2: #1B2030;
	--card: #161A26;
	--well: #E8EBF1;
	--text: #E7E9F2;
	--muted: #9BA2B8;
	--line: #262C3D;
	--link: #9EA4FF;
	--navy: #0A0C14;
	--navy-2: #131726;
	--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
	--shadow-lg: 0 18px 50px rgba(0, 0, 0, .5);
	color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 160px; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; transition: background-color .25s, color .25s; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--orange-2); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-weight: 800; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .6rem 1rem; background: var(--orange); color: #111; font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 28px; } }
.container--narrow { max-width: 860px; }
.site-main { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #B4500E; margin-bottom: .75rem; }
[data-theme="dark"] .eyebrow { color: var(--orange); }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--muted); }
.page-title { font-size: clamp(1.9rem, 4vw, 2.75rem); }

/* Buttons */
.button, .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 46px; padding: .65em 1.35em; border: 2px solid transparent; border-radius: 10px;
	font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
	text-decoration: none; cursor: pointer; line-height: 1.1; transition: background-color .2s, border-color .2s, color .2s, transform .2s;
	background: var(--blue); color: #fff;
}
.button:hover, .btn:hover { background: var(--navy-2); color: #fff; }
.button:active, .btn:active { transform: translateY(1px); }
.button--primary, .btn--primary { background: var(--orange); color: #16182b; }
.button--primary:hover, .btn--primary:hover { background: var(--orange-2); color: #fff; }
.button--ghost, .btn--ghost { background: transparent; border-color: currentColor; color: var(--link); }
.button--ghost:hover, .btn--ghost:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.button--light { background: #fff; color: var(--navy); }
.button--sm { min-height: 38px; padding: .45em .95em; font-size: .92rem; }
.button[disabled] { opacity: .6; cursor: progress; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--blue); color: var(--link); }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="url"], select, textarea {
	width: 100%; min-height: 46px; padding: .6em .85em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); color: var(--text);
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58, 63, 154, .2); }
textarea { min-height: 120px; resize: vertical; }
label { font-weight: 600; font-size: .95rem; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand__mark { width: 56px; height: 56px; flex: none; }
.brand__words { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 1.6rem; letter-spacing: -.01em; color: #2E3192; text-transform: uppercase; }
.brand__sub { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .52em; color: #B4500E; text-transform: uppercase; margin-top: .3rem; padding-top: .3rem; border-top: 2px solid currentColor; }
[data-theme="dark"] .brand__name { color: #fff; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__sub, [data-theme="dark"] .brand__sub { color: var(--orange); }

/* Header: one sticky unit; hides on scroll down, returns on scroll up (main.js) */
.site-header { position: sticky; top: 0; z-index: 60; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 12, 30, .18); }
.nav-open .site-header { z-index: 120; transform: none; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

/* Brand bar */
.brandbar { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 60; }
.brandbar__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.trust { list-style: none; margin: 0 auto; padding: 0; display: none; gap: 1.75rem; }
.trust li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; line-height: 1.25; color: var(--muted); }
.trust li .icon { width: 30px; height: 30px; color: var(--blue); stroke-width: 1.6; }
[data-theme="dark"] .trust li .icon { color: var(--orange); }
.trust strong { display: block; color: var(--text); font-family: var(--font-head); font-size: 1rem; }
.brandbar__search { display: none; width: 300px; }
.brandbar__tools { display: flex; gap: .5rem; margin-left: auto; }
.search-box { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58, 63, 154, .2); }
.search-box input { border: 0; min-height: 44px; box-shadow: none !important; background: transparent; }
.search-box button { display: grid; place-items: center; width: 48px; border: 0; background: var(--blue); color: #fff; cursor: pointer; }
.search-box button:hover { background: var(--navy-2); }
.search-mobile { padding-bottom: 12px; }
.theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
.brandbar__tools .nav-toggle { display: none; }
@media (max-width: 1023px) { .brandbar__tools .nav-toggle { display: inline-grid; } }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__close { display: block; }
.nav-open .nav-toggle__open { display: none; }

@media (min-width: 1100px) { .trust { display: flex; } }
@media (min-width: 900px) {
	.brandbar__search { display: block; }
	.search-toggle { display: none; }
	.brandbar__tools { margin-left: 0; }
}
@media (max-width: 899px) {
	.brandbar__inner { min-height: 68px; gap: .75rem; }
	.brand__mark { width: 44px; height: 44px; }
	.brand__name { font-size: 1.25rem; }
	.brand__sub { font-size: .62rem; letter-spacing: .42em; }
}

/* Navigation bar */
.navbar { position: relative; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 12px rgba(10, 12, 30, .18); }
.navbar__inner { display: flex; align-items: center; gap: 1rem; min-height: 58px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.nav__list > li { position: static; display: flex; align-items: center; }
.nav__list > li > a { display: flex; align-items: center; min-height: 58px; padding: 0 1.05rem; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; letter-spacing: .01em; }
.nav__list > li > a:hover, .nav__list > li:focus-within > a, .nav__list > .current-menu-item > a, .nav__list > .current-menu-ancestor > a, .nav__list > .current_page_item > a { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 -3px 0 var(--orange); }
.nav__sub-toggle { display: none; }
.nav__list .sub-menu { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; min-width: 220px; background: var(--card); color: var(--text); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); visibility: hidden; opacity: 0; transform: translateY(6px); transition: .18s; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.nav__list .sub-menu a { display: block; padding: .55rem .75rem; color: var(--text); text-decoration: none; border-radius: 6px; }
.nav__list .sub-menu a:hover { background: var(--surface); }
.navbar__actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); color: var(--text); border-top: 3px solid var(--orange); box-shadow: var(--shadow-lg); visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.is-open > .mega { visibility: visible; opacity: 1; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; padding-block: 1.75rem 2rem; }
.mega__head { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2; padding-bottom: .6rem; border-bottom: 3px solid var(--section-color); margin-bottom: .5rem; }
.mega__head small { color: var(--muted); font-weight: 600; font-size: .8rem; }
.mega__head:hover { color: var(--section-color); }
.mega__thumb { width: 48px; height: 48px; flex: none; border-radius: 8px; background: var(--well); overflow: hidden; display: grid; place-items: center; }
.mega__thumb img { width: 100%; height: 100%; object-fit: contain; }
.mega__col ul { list-style: none; margin: 0; padding: 0; }
.mega__col li a { display: block; padding: .28rem 0; color: var(--muted); text-decoration: none; font-size: .92rem; }
.mega__col li a:hover { color: var(--section-color); }
.mega__more { font-weight: 600; color: var(--link) !important; }

/* Header quote buttons (from ame-quote plugin) */
.header-quote { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .85rem; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 600; border: 1px solid rgba(255, 255, 255, .25); }
.header-quote:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.header-quote__count { display: inline-grid; place-items: center; min-width: 1.45em; height: 1.45em; padding: 0 .35em; border-radius: 999px; background: var(--orange); color: #16182b; font-size: .78rem; font-weight: 700; }
.header-quote__count[hidden] { display: none; }
.header-rfq { min-height: 40px; }

@media (max-width: 1023px) {
	.navbar { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); transform: translateX(105%); transition: transform .3s ease; overflow-y: auto; z-index: 100; box-shadow: -20px 0 60px rgba(0, 0, 0, .35); }
	.nav-open .navbar { transform: none; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(5, 7, 20, .55); z-index: 90; }
	.navbar__inner { flex-direction: column; align-items: stretch; padding-block: 1rem 2rem; }
	.nav__list { flex-direction: column; }
	.nav__list > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.nav__list > li > a { flex: 1; min-height: 52px; padding: 0 .5rem; }
	.nav__sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: #fff; cursor: pointer; }
	.nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.mega, .nav__list .sub-menu { position: static; display: none; visibility: visible; opacity: 1; transform: none; width: 100%; box-shadow: none; border: 0; border-radius: 8px; margin-bottom: .75rem; }
	.has-mega:hover > .mega { display: none; }
	.is-open > .mega, .is-open > .sub-menu { display: block !important; }
	.mega__grid { grid-template-columns: 1fr; gap: .25rem; padding: .5rem; }
	.mega__col ul { display: none; }
	.mega__head { border-bottom: 0; margin: 0; padding: .4rem 0; font-size: .98rem; }
	.mega__thumb { width: 36px; height: 36px; }
	.navbar__actions { margin: 1.25rem 0 0; flex-direction: column; align-items: stretch; }
	.header-quote, .header-rfq { justify-content: center; min-height: 48px; }
}

/* Page banner */
.page-banner { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.page-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 17, 48, .92) 0%, rgba(14, 17, 48, .7) 45%, rgba(14, 17, 48, .15) 100%); }
.page-banner::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent, var(--orange)), transparent 70%); }
.page-banner__inner { padding-block: clamp(2.75rem, 7vw, 4.75rem); }
.page-banner__title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; max-width: 18ch; }
.page-banner__sub { margin: .6rem 0 0; font-size: clamp(1rem, 1.8vw, 1.2rem); color: rgba(255, 255, 255, .85); max-width: 56ch; }

.breadcrumb, .rank-math-breadcrumb { font-size: .9rem; color: var(--muted); padding-block: 1rem 0; }
.breadcrumb a, .rank-math-breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover, .rank-math-breadcrumb a:hover { color: var(--link); }
.rank-math-breadcrumb p { margin: 0; }

/* Content */
.entry-content > * + * { margin-top: 1em; }
.entry-content img { border-radius: var(--radius); }
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Feature tiles */
.tiles { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); list-style: none; padding: 0; margin: 0; }
.tile { padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.tile .icon { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: rgba(240, 128, 48, .12); color: var(--orange-2); stroke-width: 1.8; margin-bottom: 1rem; }
.tile h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Badges */
.badge-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.badge-strip li { background: #fff; border-radius: 10px; padding: .5rem .9rem; box-shadow: var(--shadow); }
.badge-strip img { height: 64px; width: auto; }

/* Footer */
.site-footer { background: var(--navy); color: #C5C9DE; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 4.5rem) 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.4fr 1.1fr .8fr 1.3fr; } }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__tagline { color: var(--orange); font-style: italic; font-family: var(--font-head); font-size: 1.1rem; }
.footer__heading { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer__contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer__contact .icon { color: var(--orange); margin-top: .15em; }
.footer__contact a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.45); }
.footer__marks { padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__marks .badge-strip img { height: 52px; }
.footer__legal { background: rgba(0, 0, 0, .2); font-size: .85rem; }
.footer__legal p { margin: 0; padding-block: 1rem; }

/* Reveal helper (home.js / main.js add .is-in) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

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

/* ---------- Inner pages ---------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-top: clamp(2rem, 5vw, 3rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } }
.split__media { margin: 0; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split__media figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.entry-content p { font-size: 1.05rem; }

.people { list-style: none; margin: 0 0 var(--gap); padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 25%; }
.person__body { padding: 1.25rem 1.35rem 1.4rem; }
.person__body h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.person__body p:last-child { margin: 0; color: var(--muted); }
.person__role { margin: 0 0 .2rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-2); }
.people--team { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); max-width: 760px; }
.person--small { flex-direction: row; align-items: center; }
.person--small img { width: 120px; aspect-ratio: 1; flex: none; }
.person--small h3 { margin: 0; font-size: 1.2rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.step__body { padding: 1.2rem 1.3rem 1.4rem; position: relative; }
.step__num { position: absolute; right: 1.2rem; top: -1.4rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--orange); color: #16182b; font-family: var(--font-head); font-weight: 800; box-shadow: var(--shadow); }
.step h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; }
.step h3 .icon { color: var(--blue); }
[data-theme="dark"] .step h3 .icon { color: var(--orange); }
.step p { margin: 0; color: var(--muted); }

.material-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.material-list a { display: inline-flex; gap: .5rem; align-items: center; padding: .55rem 1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; }
.material-list a:hover { border-color: var(--blue); color: var(--link); }
.material-list span { font-size: .78rem; color: var(--muted); font-weight: 500; }

.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }

.contact__grid { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: .85fr 1.15fr; } }
.contact__info { display: grid; gap: 1rem; }
.contact-card { padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.contact-card h2 { font-size: 1.25rem; margin-bottom: .9rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .icon { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: rgba(58, 63, 154, .1); color: var(--blue); flex: none; }
[data-theme="dark"] .contact-list .icon { background: rgba(240, 128, 48, .14); color: var(--orange); }
.contact-list__label { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; }
.contact__form { padding: clamp(1.25rem, 3vw, 2rem); }
.contact__form > h2 { font-size: 1.6rem; }
.contact__hint { margin: 1.25rem 0 0; color: var(--muted); }

.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; color: #D3D6EE; }
.quote-mini { position: relative; }
.quote-mini .header-quote__count { position: absolute; top: -6px; right: -6px; }
@media (min-width: 1024px) { .quote-mini { display: none; } }
