/* ==========================================================================
   Rich content pages, photo cards, carousels, pricing, accordions
   (loaded after site.css)
   ========================================================================== */
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--blue-50); }
.flip { transform: scaleX(-1); }

/* ---------- Detail hero ---------- */
.d-hero { position: relative; overflow: hidden; isolation: isolate; color: #C3CDE6; background: var(--navy-950); padding: 28px 0 clamp(56px, 7vw, 96px); }
.d-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .4; transform: scale(1.05); animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.14) translateX(-2%); } }
.d-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 15, 44, .97) 0%, rgba(10, 27, 77, .88) 48%, rgba(0, 85, 255, .3) 100%); }
.d-hero__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin: clamp(28px, 4vw, 48px) 0 20px; border-radius: 16px; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.d-hero h1 { color: #fff; max-width: 860px; font-size: clamp(2rem, 4.2vw, 3.3rem); }
.d-hero__lead { max-width: 680px; font-size: 1.12rem; color: #C3CDE6; }
.d-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sticky in-page nav ---------- */
.toc { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.toc__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.toc__inner::-webkit-scrollbar { display: none; }
.toc a { flex-shrink: 0; padding: 8px 14px; font-size: .88rem; font-weight: 600; color: var(--muted); border-radius: 99px; transition: color .2s, background .2s; }
.toc a:hover { color: var(--ink); background: var(--tint); }
.toc a.is-active { color: #fff; background: var(--navy-900); }

/* ---------- Detail layout ---------- */
.section--detail { padding-top: clamp(40px, 5vw, 64px); }
.d-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.d-main > * + * { margin-top: clamp(48px, 6vw, 72px); }
.d-aside { position: sticky; top: calc(var(--header-h) + 72px); display: grid; gap: 18px; }

.d-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.d-intro__media { position: relative; margin: 0; }
.d-intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--tint); }
.d-intro__badge { position: absolute; left: -14px; bottom: -18px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); color: var(--blue-600); animation: float 6s ease-in-out infinite; }
.d-intro__badge strong { display: block; font-size: .9rem; color: var(--ink); }
.d-intro__badge small { font-size: .78rem; color: var(--muted); }
.d-intro__copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.d-intro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.d-intro__actions .btn { min-height: 44px; padding: 0 16px; font-size: .9rem; }

/* ---------- Generic block ---------- */
.block { scroll-margin-top: calc(var(--header-h) + 70px); }
.block__head { max-width: 760px; margin-bottom: 24px; }
.block__title { position: relative; font-size: clamp(1.4rem, 2.3vw, 1.9rem); padding-left: 18px; }
.block__title::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(var(--blue-600), var(--cyan-400)); }
.block__text { color: var(--muted); }
.block--media { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.block__figure { margin: 0; }
.block__figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.block__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- Feature cards ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feat {
    position: relative; display: flex; align-items: center; gap: 14px; padding: 18px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feat:hover { color: var(--ink); transform: translateY(-3px); border-color: var(--blue-100); box-shadow: var(--shadow); }
.feat__icon { display: grid; place-items: center; flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); transition: background .25s, transform .25s; }
.feat__icon img { width: 32px; height: 32px; object-fit: contain; }
.feat:hover .feat__icon { background: var(--blue-100); transform: rotate(-6deg) scale(1.05); }
.feat__body strong { display: block; font: 700 .98rem/1.3 var(--font-head); }
.feat__body small { display: block; margin-top: 6px; font-size: .88rem; line-height: 1.55; color: var(--muted); }
.feat-grid--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feat-grid--rich .feat { align-items: flex-start; padding: 22px; }

/* ---------- Photo tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--text); transition: box-shadow .25s, transform .25s; }
.tile:hover { color: var(--text); box-shadow: var(--shadow); transform: translateY(-4px); }
.tile > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.tile:hover > img { transform: scale(1.06); }
.tile__body { position: relative; display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; background: #fff; }
.tile__body strong { font: 700 1.02rem/1.3 var(--font-head); color: var(--ink); }
.tile__body small { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.tile__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: .86rem; font-weight: 600; color: var(--blue-600); }
.tile__more .icon { transition: transform .2s; }
.tile:hover .tile__more .icon, .post:hover .tile__more .icon, .pcard:hover .tile__more .icon { transform: translateX(3px); }
.tile--plain .tile__body { padding: 24px; }

/* ---------- Tick lists ---------- */
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.ticks li > .icon { flex-shrink: 0; margin-top: 2px; padding: 3px; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: var(--blue-600); stroke-width: 3; }
.ticks li small { display: block; font-weight: 400; color: var(--muted); }
.block > .ticks { padding: 24px; background: var(--tint); border-radius: var(--r); }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.ticks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; }
.ticks--3 li { font-size: .9rem; }

/* ---------- Accordion ---------- */
.acc-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.acc-search { flex: 1; min-width: 220px; max-width: 420px; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.acc-search:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(0, 85, 255, .12); }
.acc-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; color: var(--ink); background: none; }
.acc-toggle-all { height: 40px; padding: 0 16px; font-size: .88rem; font-weight: 600; color: var(--blue-600); border: 1px solid var(--blue-100); border-radius: 99px; background: var(--blue-50); }
.acc-toggle-all:hover { background: var(--blue-100); }
.acc { display: grid; gap: 10px; }
.acc__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.acc__item[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.acc__item summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; font: 700 1rem/1.35 var(--font-head); color: var(--ink); transition: background .2s; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary:hover { background: var(--tint); }
.acc__item[open] summary { background: linear-gradient(90deg, var(--blue-600), var(--navy-800)); color: #fff; }
.acc__num { font-size: .8rem; color: var(--blue-600); }
.acc__item[open] .acc__num { color: var(--cyan-400); }
.acc__title { flex: 1; }
.acc__count { min-width: 28px; padding: 4px 8px; font: 700 .75rem/1 var(--font-body); text-align: center; color: var(--blue-600); background: var(--blue-50); border-radius: 99px; }
.acc__item[open] .acc__count { color: #fff; background: rgba(255, 255, 255, .18); }
.acc__chev { display: grid; place-items: center; transition: transform .3s; }
.acc__item[open] .acc__chev { transform: rotate(180deg); }
.acc__panel { padding: 20px 22px 24px; animation: fade-up .3s ease; }
.acc-empty { margin-top: 12px; padding: 16px; text-align: center; color: var(--muted); background: var(--tint); border-radius: 12px; }
mark { background: #FFE58A; color: inherit; border-radius: 3px; padding: 0 2px; }
.acc--faq .acc__item[open] summary { background: var(--tint); color: var(--ink); }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Steps, stats, tabs ---------- */
.steps-line li { position: relative; display: flex; gap: 20px; padding-bottom: 28px; }
.steps-line li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line); }
.steps-line li:last-child::before { display: none; }
.steps-line__num { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 800 .9rem/1 var(--font-head); color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); }
.steps-line strong { display: block; margin: 10px 0 4px; font: 700 1.05rem/1.3 var(--font-head); color: var(--ink); }
.steps-line p { color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.mini-stat { padding: 22px; border-radius: var(--r); background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); color: #fff; }
.mini-stat strong { display: block; font: 800 2.2rem/1 var(--font-head); color: #fff; margin-bottom: 6px; }
.mini-stat span { font-size: .88rem; color: #C3CDE6; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs__list button { height: 42px; padding: 0 18px; font-size: .9rem; font-weight: 600; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 99px; transition: all .2s; }
.tabs__list button:hover { border-color: var(--ink); }
.tabs__list button[aria-selected="true"] { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.tabs__panel { padding: 28px; background: var(--tint); border-radius: var(--r-lg); animation: fade-up .35s ease; }
.tabs__panel--media { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.tabs__panel img { width: 100%; border-radius: var(--r); }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; padding: 4px; margin-bottom: 20px; border-radius: 99px; background: var(--tint); border: 1px solid var(--line); }
.billing-toggle button { height: 38px; padding: 0 20px; font-size: .9rem; font-weight: 600; color: var(--muted); border-radius: 99px; transition: all .2s; }
.billing-toggle button[aria-pressed="true"] { color: #fff; background: var(--navy-900); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan__icon { width: 48px; height: 48px; object-fit: contain; margin-bottom: 14px; }
.plan h3 { font-size: 1.1rem; margin-bottom: 6px; }
.plan__price { font: 800 1.4rem/1.2 var(--font-head); color: var(--blue-600); margin-bottom: 6px; }
.plan__text { font-size: .88rem; color: var(--muted); }
.plan .ticks { margin: 14px 0 20px; flex: 1; }
.plan .ticks li { font-size: .88rem; }
.plan--featured { background: var(--navy-900); border-color: var(--navy-900); color: #C3CDE6; box-shadow: var(--shadow-lg); }
.plan--featured h3, .plan--featured .ticks li { color: #fff; }
.plan--featured .plan__price { color: var(--cyan-400); }
.plan--featured .plan__text { color: #AEBADB; }

/* ---------- Logos & CTA strip ---------- */
.logo-row { display: flex; flex-wrap: wrap; gap: 14px; }
.logo-row li { display: grid; place-items: center; width: 130px; height: 70px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.logo-row li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-row img { max-height: 44px; width: auto; object-fit: contain; }
.cta-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 32px; border-radius: var(--r-lg); color: #C3CDE6; background: linear-gradient(110deg, var(--navy-900), var(--blue-600)); }
.cta-strip h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Demo band ---------- */
.demo-band {
    position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
    padding: 30px 34px; border-radius: var(--r-lg); color: #fff;
    background: linear-gradient(110deg, var(--blue-600), var(--navy-800));
}
.demo-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .07); }
.demo-band__call { display: flex; align-items: center; gap: 14px; padding-right: 28px; border-right: 1px solid rgba(255, 255, 255, .25); }
.demo-band__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .14); animation: ring 2.4s ease-in-out infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); } 50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } }
.demo-band__call small { display: block; font-size: .82rem; color: rgba(255, 255, 255, .8); }
.demo-band__call a { font: 800 1.3rem/1.2 var(--font-head); color: #fff; white-space: nowrap; }
.demo-band h2 { position: relative; z-index: 1; margin: 0; color: #fff; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.demo-band .btn { position: relative; z-index: 1; }

/* ---------- Sidebar ---------- */
.aside-card--nav { padding: 22px; }
.side-nav { display: grid; gap: 6px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; font-size: .92rem; font-weight: 600; color: var(--ink); background: var(--tint); border-radius: 10px; transition: all .2s; }
.side-nav a .icon { color: var(--line-2); transition: transform .2s, color .2s; }
.side-nav a:hover { color: var(--blue-600); background: var(--blue-50); }
.side-nav a:hover .icon { color: var(--blue-600); transform: translateX(3px); }
.side-nav a.is-current { color: #fff; background: var(--blue-600); }
.side-nav a.is-current .icon { color: #fff; }
.help-card { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: 280px; border-radius: var(--r-lg); }
.help-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s; }
.help-card:hover img { transform: scale(1.05); }
.help-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 27, 77, .05) 0%, rgba(10, 27, 77, .94) 68%); }
.help-card__body { padding: 24px; }
.help-card h2 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.profile-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--ink); transition: border-color .2s, background .2s; }
.profile-card:hover { color: var(--ink); border-color: var(--blue-600); background: var(--blue-50); }
.profile-card strong { display: block; font-size: .95rem; }
.profile-card small { color: var(--muted); font-size: .8rem; }
.profile-card > .icon { margin-left: auto; color: var(--blue-600); }
.form--mini .form__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.form--mini .field label { font-size: .8rem; }
.form--mini .field input, .form--mini .field textarea { min-height: 42px; padding: 10px 12px; font-size: .9rem; }
.form--mini .form__foot { margin-top: 14px; }
.form--mini .btn { width: 100%; }

/* ---------- Photo cards ---------- */
.photo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); transition: transform .3s, box-shadow .3s; }
.pcard:hover { color: var(--text); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pcard__img { position: relative; display: block; flex-shrink: 0; aspect-ratio: 16 / 10; }
.pcard__icon { z-index: 1; }
.pcard__img > img, .pcard__ph { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; }
.pcard__ph { display: grid; place-items: center; color: rgba(255, 255, 255, .7); background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); }
.pcard__icon { position: absolute; left: 18px; bottom: -22px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: #fff; background: var(--blue-600); border: 3px solid #fff; box-shadow: var(--shadow); transition: transform .3s; }
.pcard:hover .pcard__icon { transform: rotate(-8deg); }
.pcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 34px 22px 22px; }
.pcard__body strong { font: 700 1.1rem/1.3 var(--font-head); color: var(--ink); }
.pcard__body small { font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* ---------- Testimonial carousel ---------- */
.carousel { position: relative; }
/* scroll-padding matches the side padding so the first card's snap point is exactly 0: otherwise the browser nudges
   the track on load, which counts as a scroll and stops Chrome measuring the page's largest paint (LCP). */
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scrollbar-width: none; padding: 6px 2px 18px; }
.carousel__track::-webkit-scrollbar { display: none; }
.quote-card { scroll-snap-align: start; display: flex; flex-direction: column; margin: 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.quote-card__stars { color: #FFB930; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.quote-card blockquote { flex: 1; margin: 0 0 22px; font-size: 1rem; line-height: 1.7; color: var(--ink); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-card figcaption strong { display: block; }
.quote-card figcaption small { font-size: .82rem; color: var(--muted); }
.carousel__nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 10px; }
.carousel__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); background: #fff; border: 1px solid var(--line); transition: all .2s; }
.carousel__btn:hover { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
/* The dot stays 8px but the button is 24px tall, a comfortable tap target (padding is not painted). */
.carousel__dots { display: flex; gap: 0; }
.carousel__dots button { width: 24px; height: 24px; padding: 8px; border-radius: 99px; background: var(--line-2); background-clip: content-box; transition: all .3s; }
.carousel__dots button[aria-current="true"] { width: 44px; background: var(--blue-600); background-clip: content-box; }
.section--navy .quote-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section--navy .quote-card blockquote, .section--navy .quote-card figcaption strong { color: #fff; }
.section--navy .quote-card figcaption { border-color: rgba(255, 255, 255, .12); }
.section--navy .quote-card figcaption small { color: #AEBADB; }
.section--navy .carousel__btn { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .3); }
.section--navy .carousel__dots button { background: rgba(255, 255, 255, .3); }
.section--navy .carousel__dots button[aria-current="true"] { background: var(--cyan-400); }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); transition: transform .3s, box-shadow .3s; }
.post:hover { color: var(--text); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post__img { position: relative; display: block; aspect-ratio: 392 / 260; overflow: hidden; background: var(--tint); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post:hover .post__img img { transform: scale(1.06); }
.post__cat { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; font: 700 .72rem/1 var(--font-body); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--blue-600); border-radius: 6px; }
.post__body { display: flex; flex-direction: column; gap: 8px; padding: 22px; flex: 1; }
.post__date { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.post__body strong { font: 700 1.1rem/1.35 var(--font-head); color: var(--ink); }
.post__excerpt { font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Header "Call now" ---------- */
.call-now { display: flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); background: #fff; white-space: nowrap; transition: border-color .2s, box-shadow .2s; }
.call-now:hover { color: var(--blue-600); border-color: rgba(0, 85, 255, .35); box-shadow: 0 8px 20px -14px rgba(0, 85, 255, .6); }
.call-now__icon { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--blue-600); background: var(--blue-50); }
.call-now__icon::after { content: ""; position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: #22C55E; border: 2px solid #fff; }
.header-cta { gap: 8px; padding-inline: 20px; box-shadow: 0 10px 22px -12px rgba(0, 85, 255, .8); }
.header-cta .icon { transition: transform .2s; }
.header-cta:hover .icon { transform: translateX(3px); }
.call-now:hover .call-now__icon .icon { animation: shake .5s ease-in-out; }
@keyframes shake { 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
.call-now__text small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }
.call-now__text strong { display: block; font: 700 .95rem/1.25 var(--font-head); color: inherit; }
.site-header__inner { gap: 24px; }
.nav__link { padding: 0 12px; }
@media (max-width: 1320px) and (min-width: 1181px) { .nav__link { padding: 0 11px; font-size: .9rem; } .call-now__text small { display: none; } }
@media (max-width: 640px) {
    .call-now { gap: 7px; padding: 3px 12px 3px 3px; }
    .call-now__icon { width: 32px; height: 32px; }
    .call-now__text small { display: none; }
    .call-now__text strong { font-size: .86rem; letter-spacing: -.01em; }
    .site-header__actions { gap: 6px; }
}
@media (max-width: 350px) { .call-now { padding: 0; border: 0; } .call-now__text { display: none; } }
@media (max-width: 760px) { .topbar__offices, .topbar__link, .topbar__sep { display: none !important; } }

/* ---------- Long sidebar lists, directory chips, footer locations ---------- */
.side-nav { max-height: 460px; overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
.chips--dir .chip { font-weight: 500; }
.chip.is-current { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.chip.is-current .icon { color: #fff; }
.footer__locations { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__locations summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 600; color: #C3CDE6; }
.footer__locations summary::-webkit-details-marker { display: none; }
.footer__locations summary .icon:first-child { color: var(--cyan-400); }
.footer__locations summary .icon:last-child { transition: transform .3s; }
.footer__locations[open] summary .icon:last-child { transform: rotate(180deg); }
.footer__locations ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 20px; margin-top: 16px; animation: fade-up .3s ease; }
.footer__locations a { font-size: .85rem; }

/* ---------- Back to top + scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; z-index: 100; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); pointer-events: none; }
.to-top { position: fixed; right: 22px; bottom: 88px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: var(--navy-900); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-600); }
.to-top .icon { transform: rotate(-90deg); }

@media (max-width: 1180px) {
    .d-layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .feat-grid, .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ticks--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .carousel__track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 960px) {
    .d-layout, .d-intro, .block--media, .tabs__panel--media { grid-template-columns: minmax(0, 1fr); }
    .d-aside { position: static; }
    .demo-band { grid-template-columns: minmax(0, 1fr); }
    .demo-band__call { border-right: 0; padding-right: 0; }
    .photo-cards, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .feat-grid, .feat-grid--rich, .tile-grid, .ticks--2, .ticks--3, .photo-cards, .post-grid { grid-template-columns: minmax(0, 1fr); }
    .carousel__track { grid-auto-columns: 88%; }
    .d-intro__badge { left: 10px; }
    .demo-band { padding: 26px 22px; }
    .to-top { right: 24px; bottom: 86px; }
}
