/* Plus Jakarta Sans (SIL Open Font License), served from this site instead of fonts.googleapis.com:
   one variable font file per subset covers weights 300-800, so there is no third-party request to wait for. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Shared Avrent chrome: tokens, top bar, masthead, buttons, call-to-action and footer.
   Loaded by every page. Inner pages also load Bootstrap 3 and the legacy global.css, so each
   component sets its own font, margins, list styles and link decoration instead of trusting a reset.
   Palette comes from the existing site: blue #1573c7, navy #2b3071, sky #65b1f4 / #c0e2fe,
   cream #f4f3ed, crimson #b40044. */

:root {
	--blue: #1573c7;
	--blue-600: #0f5fa8;
	--navy: #2b3071;
	--navy-900: #1d2152;
	--sky: #65b1f4;
	--sky-100: #c0e2fe;
	--tint: #eef6fd;
	--cream: #f4f3ed;
	--crimson: #b40044;
	--ink: #1b1d2a;
	--text: #4a4f63;
	--muted: #5d6275;
	--line: #e3e7ef;
	--white: #fff;
	--font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
	--max: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 18px;
	--shadow: 0 18px 50px -24px rgba(29, 33, 82, .28);
	--ease: cubic-bezier(.2, .7, .1, 1);
}

.topbar, .masthead, .cta, .sitefoot { font-family: var(--font); -webkit-font-smoothing: antialiased; }
.topbar *, .masthead *, .cta *, .sitefoot * { box-sizing: border-box; }
.masthead ul, .sitefoot ul { margin: 0; padding: 0; list-style: none; }
.masthead a, .sitefoot a, .cta a, .topbar a, .pill { text-decoration: none; }
.masthead a:hover, .sitefoot a:hover, .cta a:hover, .topbar a:hover, .pill:hover, .pill:focus { text-decoration: none; }
.masthead img, .sitefoot img { display: block; max-width: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; font-family: var(--font); }
.skip:focus { left: 16px; top: 16px; color: #fff; }

/* ---------- pills ---------- */
.pill {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 22px; border-radius: 999px;
	font-family: var(--font); font-size: .9rem; font-weight: 600; line-height: 1; letter-spacing: 0;
	border: 1.5px solid transparent; cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
}
.pill svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pill:hover svg { transform: translateX(3px); }
.pill--dark, .pill--dark:hover, .pill--dark:focus { background: var(--navy); color: #fff; }
.pill--dark:hover { background: var(--navy-900); }
.pill--blue, .pill--blue:hover, .pill--blue:focus { background: var(--blue); color: #fff; }
.pill--blue:hover { background: var(--blue-600); }
.pill--outline, .pill--outline:focus { border-color: var(--blue); color: var(--blue); background: transparent; }
.pill--outline:hover { background: var(--blue); color: #fff; }
.pill--white, .pill--white:hover, .pill--white:focus { background: #fff; color: var(--navy); }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .78rem; line-height: 1.4; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__phones { display: flex; gap: 22px; }
.topbar a, .topbar a:hover, .topbar a:focus { color: #fff; }
.topbar a:hover { color: var(--sky-100); }
.topbar b { font-weight: 600; color: var(--sky); margin-right: 4px; }

/* ---------- masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); line-height: 1.5; }
.masthead__inner { position: relative; display: flex; align-items: center; gap: 24px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 50px; height: 50px; }
.brand { flex: none; }
.brand__name { white-space: nowrap; display: flex; flex-direction: column; font-size: 1.45rem; font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -.01em; }
.brand__name small { margin-top: 4px; font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.sitenav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.sitenav ul { display: flex; gap: 2px; }
.sitenav ul li { float: none; margin: 0; padding: 0; }
.sitenav ul a { position: relative; display: block; white-space: nowrap; padding: 8px 12px; font-size: .9rem; font-weight: 500; color: var(--ink); background: none; }
.sitenav ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s var(--ease); }
.sitenav ul a:hover, .sitenav ul a:focus, .sitenav ul a.is-current { color: var(--blue); background: none; }
.sitenav ul a:hover::after, .sitenav ul a.is-current::after { transform: scaleX(1); }

.search { position: relative; display: flex; align-items: center; margin: 0; }
.search input { width: 180px; height: auto; margin: 0; padding: 9px 38px 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #f7f9fc; color: var(--ink); font: 400 .86rem/1.4 var(--font); box-shadow: none; transition: width .3s var(--ease), border-color .2s, background .2s; -webkit-appearance: none; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; width: 220px; border-color: var(--blue); background: #fff; }
.search button { position: absolute; right: 6px; width: 28px; height: 28px; margin: 0; padding: 0; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.search button:hover { color: var(--blue); }

.cartlink, .cartlink:hover, .cartlink:focus { position: static; display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--crimson); color: #fff; font-size: .82rem; font-weight: 600; white-space: nowrap; }
/* global.css absolutely positions the old banner's a#showcart; pull it back into the header row */
.masthead a#showcart.cartlink { position: static; top: auto; right: auto; flex: none; }
.cartlink svg { flex: none; }
.cartlink__n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .25); display: grid; place-items: center; font-size: .72rem; }

.navtoggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.navtoggle span:not(.sr) { display: block; width: 18px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- call to action ---------- */
.cta { padding: clamp(48px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); line-height: 1.6; }
body.home .cta { padding-top: 0; background: linear-gradient(180deg, var(--tint) 0 50%, #fff 50%); }
.cta__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(32px, 4vw, 48px); border-radius: 26px; background: var(--navy); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.cta__inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(101, 177, 244, .45), transparent 70%); }
.cta h2 { margin: 0 0 6px; color: #fff; font-family: var(--font); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.15; text-align: left; }
.cta p { margin: 0; font-size: 1rem; color: rgba(255, 255, 255, .8); }
.cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.cta__phone, .cta__phone:hover, .cta__phone:focus { display: flex; flex-direction: column; color: #fff; font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.cta__phone small { font-size: .72rem; font-weight: 500; color: var(--sky); text-transform: uppercase; letter-spacing: .08em; }
.cta__phone:hover { color: var(--sky-100); }

/* ---------- footer ---------- */
.sitefoot { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: #fff; line-height: 1.6; }
.sitefoot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 28px; }
.sitefoot .brand img { width: 42px; height: 42px; }
.sitefoot .brand__name { font-size: 1.2rem; }
.sitefoot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: .88rem; font-weight: 500; }
.sitefoot__links li { float: none; padding: 0; }
.sitefoot__links a, .sitefoot__links a:focus { color: var(--ink); }
.sitefoot__links a:hover { color: var(--blue); }
.sitefoot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.sitefoot__legal a, .sitefoot__legal a:hover { color: var(--muted); }
.sitefoot__orb { position: absolute; right: -70px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: var(--sky-100); opacity: .55; pointer-events: none; }
.sitefoot__inner, .sitefoot__legal { position: relative; z-index: 1; }

/* ---------- responsive ---------- */
/* mid widths: everything still fits on one row */
@media (max-width: 1240px) {
	.masthead__inner { gap: 16px; }
	.sitenav { gap: 12px; }
	.sitenav ul a { padding: 8px 9px; }
	.sitenav ul a::after { left: 9px; right: 9px; }
	.search input { width: 150px; }
	.search input:focus { width: 190px; }
	.cartlink__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* icon + count only; label stays for screen readers */
	.cartlink, .cartlink:hover, .cartlink:focus { padding: 8px 8px 8px 12px; }
}
@media (max-width: 1080px) {
	.brand__name small { display: none; }
	.sitenav ul a { padding: 8px 7px; font-size: .85rem; }
	.sitenav ul a::after { left: 7px; right: 7px; }
	.search input { width: 120px; }
	.search input:focus { width: 160px; }
}

@media (max-width: 900px) {
	.topbar__inner > span:first-child { display: none; }
	.topbar__inner { justify-content: center; }
	.navtoggle { display: flex; }
	.sitenav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 12px var(--gutter) 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
	.sitenav.is-open { visibility: visible; opacity: 1; transform: none; }
	.sitenav ul { flex-direction: column; }
	.sitenav ul a { padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 1rem; }
	.sitenav ul a::after { display: none; }
	.search input, .search input:focus { width: 100%; padding: 12px 40px 12px 16px; font-size: 1rem; }
	.cartlink { align-self: flex-start; }
	.cartlink__t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

@media (max-width: 560px) {
	.topbar__phones { gap: 14px; }
	.topbar__phones a:last-child { display: none; }
	.brand img { width: 42px; height: 42px; }
	.brand__name { font-size: 1.25rem; }
	.cta__inner { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.pill, .sitenav, .search input, .sitenav ul a::after { transition: none !important; }
}

/* ---------- 404 page ---------- */
body.notfound { margin: 0; background: #f5f8fc; color: var(--text); font: 400 16px/1.7 var(--font); }
.notfound__main { text-align: center; padding-top: clamp(56px, 10vw, 120px); padding-bottom: clamp(56px, 10vw, 120px); }
.notfound__code { margin: 0; font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; line-height: 1; color: var(--sky-100); }
.notfound__main h1 { margin: 8px 0 12px; color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
