/* Calibre Licensing Services — styles based on the Nexor business-consulting layout */
:root {
  --gutter: clamp(1rem, 2.5vw, 1.25rem);
  --navy: #062742;
  --navy-2: #072658;
  --navy-3: #0A3B63;
  --ink: #0B1B2B;
  --text: #424242;
  --muted: #5B6470;
  --line: #E0E0E0;
  --grey: #F1F1F1;
  --paper: #FFFFFF;
  --gold: #E2C77A;
  --gold-deep: #C9A227;
  --gold-text: #8A6D14;
  --radius: 6px;
  --maxw: 1200px;
  --font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; overflow-wrap: anywhere; line-height: 1.7; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
img[width][height] { height: auto; }
/* grid/flex children may shrink below their content width */
.services-grid > *, .reviews > *, .cases > *, .team > *, .footer-grid > *, .contact-split > *, .about-grid > *, .faq-grid > *, .team-head > *, .footer-cta > *, .contact-grid > *, .services-layout > *, .service-detail > *, .form-row > *, .features-grid > * { min-width: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 1rem + 3.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container > .container { padding-inline: 0; }
.section { padding: clamp(3.25rem, 6.5vw, 6.5rem) 0; }
.section-tight-top { padding-top: 1rem; }
.section-grey { background: var(--grey); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.8); }
.section-navy h2, .section-navy h3 { color: #fff; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--gold-text); margin-bottom: .75rem; letter-spacing: .02em; }
.section-navy .eyebrow { color: var(--gold); }
.title-2 { margin-bottom: 1rem; }
.title-2 span { display: block; color: var(--gold-text); }
.section-navy .title-2 span { color: var(--gold); }
.section-head { max-width: 720px; margin: 0 auto 3rem; }
.section-head p { font-size: 1.05rem; }
.lead { font-size: 1.1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.7rem; border-radius: var(--radius); font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; transition: background .15s, color .15s, transform .15s; cursor: pointer; white-space: nowrap; max-width: 100%; min-height: 44px; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-deep); color: var(--ink); border-color: var(--gold-deep); font-weight: 700; }
.btn-gold:hover { background: #B5911F; color: var(--ink); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-3); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.play-link { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.play-link .play { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-deep); display: grid; place-items: center; }
.play-link .play svg { width: 16px; height: 16px; margin-left: 2px; }
.pattern { pointer-events: none; }

/* ===== Header ===== */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.topbar .social { display: flex; }
.topbar .social a { width: 42px; height: 42px; display: grid; place-items: center; background: var(--gold-deep); color: #fff; border-right: 1px solid rgba(255,255,255,.15); }
.topbar .social a svg { width: 15px; height: 15px; }
.topbar .meta { display: flex; gap: 1.75rem; }
.topbar .meta a, .topbar .meta span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .meta svg { width: 15px; height: 15px; color: var(--gold); }
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header > .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 72px; height: 72px; object-fit: contain; }
.footer .brand img { width: 58px; height: 58px; }
.brand-text strong { display: block; font-size: 1.15rem; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
.brand-text span { font-size: .72rem; color: var(--gold-text); font-weight: 600; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.2rem); margin-left: auto; margin-right: clamp(1rem, 2vw, 2rem); }
.nav a { font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-text); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; margin-right: -.6rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }
.header .mobile-nav { display: none; }

/* ===== Hero ===== */
.hero { position: relative; background: var(--navy); color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,39,66,.97) 0%, rgba(6,39,66,.9) 40%, rgba(6,39,66,.35) 100%); }
.hero-inner { position: relative; padding: clamp(3.5rem, 8vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem); max-width: 780px; }
.hero-stars { color: var(--gold); font-size: 1.25rem; letter-spacing: .15em; margin-bottom: .75rem; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 1.25rem; font-size: clamp(2rem, 1rem + 3.4vw, 3.7rem); }
.hero h1 span { display: block; color: var(--gold); }
.hero p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 540px; margin-bottom: 2rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-cards { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 0; margin-top: 1rem; margin-bottom: -64px; max-width: 640px; box-shadow: 0 20px 50px rgba(6,39,66,.18); }
.hero-count { background: var(--gold-deep); color: var(--ink); padding: 1.5rem 1.75rem; min-width: 170px; }
.hero-count strong { display: block; font-size: 2.4rem; line-height: 1; font-weight: 700; margin-bottom: .3rem; }
.hero-count span { font-size: .85rem; opacity: .85; }
.hero-note { background: #fff; color: var(--ink); padding: 1.5rem 1.75rem; flex: 1 1 240px; display: flex; align-items: center; }
.hero-note strong { font-size: 1.15rem; margin: 0; }

/* BBB seal */
.bbb-seal { display: inline-block; }
.bbb-seal img { width: 280px; max-width: 100%; height: auto; }
.reviews-seal { margin-top: 1.25rem; }
.reviews-seal img { width: 240px; }
.footer-seal { margin-top: 1.25rem; }
.footer-seal img { width: 220px; }

/* Feature strip under hero */
.features { --pat: clamp(220px, 26vw, 380px); position: relative; padding: 5rem 0 2rem; overflow: hidden; min-height: 440px; display: flex; align-items: center; }
.features > .container { width: 100%; }
.features .pattern { position: absolute; left: 0; top: 64px; width: var(--pat); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-left: clamp(230px, 27vw, 410px); }
.features-grid .feature { padding: .25rem 1.5rem 1.25rem; border-left: 1px solid var(--line); }
.features-grid .feature:first-child { border-left: 0; padding-left: 0; }
.features-grid .feature:first-child::after { left: 61px; }
.features-grid .feature:not(:first-child)::after { left: calc(1.5rem + 61px); }
.feature { display: flex; gap: 1.1rem; align-items: flex-start; position: relative; padding-bottom: 1.25rem; }
.feature::after { content: ""; position: absolute; left: 66px; bottom: 0; width: 36px; height: 2px; background: var(--gold-deep); }
.features-grid .feature:first-child::after { left: 66px; }
.feature .ico { width: 50px; height: 50px; color: var(--gold-deep); display: grid; place-items: center; flex: none; }
.feature .ico svg { width: 46px; height: 46px; stroke-width: 1.4; }
.feature h3, .feature .feature-h { font-size: 1.35rem; line-height: 1.1; margin-bottom: .6rem; letter-spacing: -.02em; }
.feature p { font-size: .92rem; margin: 0; line-height: 1.45; }
.feature a { font-size: .85rem; font-weight: 600; color: var(--gold-text); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.checks { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .7rem 1.25rem; list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.checks li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; color: var(--ink); font-size: .9rem; line-height: 1.4; }
@media (min-width: 1200px) { .checks li { white-space: nowrap; } }
.checks li > span { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.checks li svg { width: 20px; height: 20px; color: var(--gold-deep); }
.about-bottom { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: stretch; }
.counter { background: var(--navy); color: #fff; padding: 1.5rem 1.75rem; min-width: 190px; max-width: 240px; }
.counter strong { display: block; font-size: 2.6rem; line-height: 1; font-weight: 700; color: var(--gold); margin-bottom: .3rem; }
.counter span { font-size: .88rem; opacity: .85; }
.mini-quote { background: var(--grey); padding: 1.5rem 1.75rem; position: relative; }
.mini-quote .q { font-size: 1.9rem; color: var(--gold-deep); line-height: 0; font-family: Georgia, serif; font-weight: 700; vertical-align: -.35em; padding: 0 .1em; }
.mini-quote p { font-weight: 500; color: var(--ink); margin: 0 0 .75rem; font-size: .98rem; }
.mini-quote strong { display: block; font-size: .95rem; color: var(--ink); }
.mini-quote small { color: var(--muted); }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.about-media .pattern { position: absolute; right: 0; bottom: -30px; width: clamp(140px, 16vw, 220px); }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service { background: #fff; padding: 1.75rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.service:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(6,39,66,.1); }
.service .ico { width: 52px; height: 52px; color: var(--gold-deep); margin-bottom: 1rem; }
.service .ico svg { width: 40px; height: 40px; }
.service h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.service p { font-size: .92rem; margin: 0 0 1rem; flex: 1; }
.service .more { font-size: .85rem; font-weight: 600; color: var(--gold-text); }

/* ===== Dark banner ===== */
.banner { position: relative; color: #fff; overflow: hidden; }
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,39,66,.96) 0%, rgba(6,39,66,.85) 50%, rgba(6,39,66,.3) 100%); }
.banner .container { position: relative; }
.banner-inner { padding: clamp(4rem, 7vw, 6rem) 0; max-width: min(640px, 100% - 400px); }
.banner h2 { color: #fff; }
.banner h2 span { display: block; color: var(--gold); }
.banner .rule { width: 60px; height: 3px; background: var(--gold-deep); margin: 1.25rem 0 1.5rem; }
.banner p { color: rgba(255,255,255,.82); max-width: 480px; }
.banner-stats { position: absolute; right: 0; bottom: 0; display: flex; }
.banner-stats > div { padding: 1.75rem 2rem; min-width: 190px; }
.banner-stats > div:first-child { background: var(--gold-deep); color: var(--ink); }
.banner-stats > div:last-child { background: var(--navy-2); }
.banner-stats strong { display: block; font-size: 2.6rem; line-height: 1; font-weight: 700; margin-bottom: .3rem; }
.banner-stats span { font-size: .88rem; opacity: .9; }
.banner-stats .stat-ico { display: block; width: 42px; height: 42px; margin-bottom: .55rem; opacity: 1; }
.banner-stats .stat-ico svg { width: 42px; height: 42px; color: var(--gold); }

/* ===== Industries (case-study style) ===== */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.case-intro { background: var(--navy); color: #fff; padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.case-intro h3 { color: #fff; font-size: 1.6rem; }
.case-intro p { color: rgba(255,255,255,.78); }
.case-intro ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.case-intro li { background: rgba(255,255,255,.06); border-left: 3px solid var(--gold-deep); padding: .6rem .9rem; font-size: .9rem; font-weight: 500; }
.case { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.case img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; max-height: 360px; }
.case-body { padding: 1.75rem; }
.case-body .num { color: var(--gold-text); font-weight: 700; font-size: .9rem; }
.case-body h3 { font-size: 1.15rem; margin: .3rem 0 .5rem; }
.case-body p { font-size: .9rem; margin: 0 0 .75rem; }
.case-body a { font-size: .85rem; font-weight: 600; color: var(--gold-text); }

/* ===== Testimonials ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { background: #fff; border: 1px solid var(--line); padding: 2rem; position: relative; margin: 0; display: flex; flex-direction: column; }
.review .stars { color: var(--gold-deep); letter-spacing: .12em; margin-bottom: 1rem; }
.review blockquote { margin: 0 0 1.5rem; font-weight: 500; color: var(--ink); font-size: 1.02rem; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.review .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 700; }
.review strong { display: block; color: var(--ink); font-size: .95rem; }
.review small { color: var(--muted); }
.review .mark { position: absolute; right: 1.5rem; top: 1.5rem; width: 40px; height: 40px; background: var(--gold-deep); color: #fff; display: grid; place-items: center; font-family: Georgia, serif; font-size: 1.8rem; line-height: 1; padding-top: .35rem; }

/* ===== Contact split ===== */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; }
.contact-split > img { width: 100%; height: 100%; object-fit: cover; }
.contact-form-wrap { background: var(--grey); padding: clamp(2.5rem, 5vw, 4.5rem); position: relative; }
.contact-form-wrap .pattern { position: absolute; right: 1.25rem; top: 1.25rem; width: 150px; opacity: .9; }
.contact-form-wrap .form-head { padding-right: clamp(120px, 15vw, 180px); }
.contact-form-wrap .title-2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.contact-form-wrap .title-2, .contact-form-wrap form { position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .3rem; margin-bottom: 1rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; padding: .85rem 1rem; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; border-radius: var(--radius); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-deep); border-color: var(--gold-deep); }
.field textarea { min-height: 120px; resize: vertical; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: .82rem; }
.form-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius); font-size: .92rem; display: none; }
.form-status.ok { display: block; background: #E6F4EA; color: #1E6B33; }
.form-status.err { display: block; background: #FBE9E9; color: #8A2323; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ===== Team ===== */
.team-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.member { background: #fff; border: 1px solid var(--line); }
.member .photo { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--navy-3), var(--navy)); display: grid; place-items: center; color: var(--gold); font-size: 4rem; font-weight: 700; overflow: hidden; }
.member .photo { position: relative; }
.member .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member .info { padding: 1.25rem 1.5rem; }
.member h3 { margin-bottom: .1rem; font-size: 1.15rem; }
.member .role { color: var(--gold-text); font-weight: 600; font-size: .85rem; margin-bottom: .6rem; }
.member p { font-size: .9rem; margin: 0; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.faq-card { background: var(--navy); color: #fff; padding: 2.5rem; position: relative; overflow: hidden; }
.faq-card .pattern { position: absolute; right: -40px; bottom: -40px; width: 200px; opacity: .6; }
.faq-card h3 { color: #fff; font-size: 1.8rem; margin-bottom: 1.5rem; position: relative; }
.faq-card p { color: rgba(255,255,255,.78); position: relative; }
.faq-card .btn { position: relative; }
.faq details { background: #fff; border: 1px solid var(--line); margin-bottom: .6rem; padding: 0 1.25rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.75rem 1rem 0; min-height: 44px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .9rem; width: 26px; height: 26px; background: var(--gold-deep); color: #fff; display: grid; place-items: center; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.1rem; font-size: .95rem; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 3.5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta h2 { color: #fff; margin: 0; }
.footer-cta h2 span { display: block; color: var(--gold); }
.footer-cta .box { background: rgba(255,255,255,.05); padding: 1.75rem; }
.footer-cta .box strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: .3rem; }
.footer-cta .box p { font-size: .9rem; margin-bottom: 1rem; }
.footer-cta .box .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 2.5rem; padding: 3.5rem 0; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: var(--gold); }
.footer p { font-size: .9rem; }
.footer .footer-h { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer ul a { font-size: .92rem; display: inline-block; padding: .25rem 0; }
.footer ul a:hover { color: var(--gold); }
.footer ul.arrows li::before { content: "›"; color: var(--gold-deep); font-weight: 700; margin-right: .5rem; }
.footer .contact-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.footer .contact-list svg { width: 16px; height: 16px; color: var(--gold-deep); flex: none; margin-top: .3rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer .social { display: flex; gap: .4rem; margin-top: 1rem; }
.footer .social a { width: 34px; height: 34px; background: var(--gold-deep); color: #fff; display: grid; place-items: center; }
.footer .social a svg { width: 14px; height: 14px; }

/* ===== Inner pages ===== */
.page-title { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-title > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-title .container { position: relative; padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.page-title h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: .5rem; }
.page-title p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 640px; margin: 0; }
.crumbs { font-size: .85rem; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.service-list { display: grid; gap: 1.25rem; }
.service-detail { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.5rem; align-items: start; background: #fff; border: 1px solid var(--line); padding: 2rem; scroll-margin-top: 110px; }
.service-detail .ico { width: 64px; height: 64px; color: var(--gold-deep); }
.service-detail .ico svg { width: 44px; height: 44px; }
.service-detail h3 { font-size: 1.4rem; margin-bottom: .2rem; }
.service-detail .agency { font-size: .82rem; font-weight: 600; color: var(--gold-text); margin-bottom: .7rem; }
.service-detail ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .93rem; }
.service-detail .act { align-self: center; }
.service-detail .act-stack { display: flex; flex-direction: column; gap: .6rem; }
.service-detail .act-stack .btn { justify-content: center; width: 100%; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value { background: #fff; border: 1px solid var(--line); padding: 2rem; border-top: 4px solid var(--gold-deep); }
.value .num { color: var(--gold-text); font-weight: 700; margin-bottom: .5rem; }
.value h3 { font-size: 1.15rem; }
.value p { margin: 0; font-size: .93rem; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-details { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail .ico { width: 46px; height: 46px; background: var(--gold-deep); color: #fff; display: grid; place-items: center; flex: none; }
.contact-detail .ico svg { width: 20px; height: 20px; }
.contact-detail strong { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.contact-detail a, .contact-detail span { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line); padding: 2rem; }

/* ===== Scroll-in motion ===== */
[data-anim] { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
[data-anim="fade-up"] { transform: translateY(40px); }
[data-anim="fade-down"] { transform: translateY(-30px); }
[data-anim="fade-right"] { transform: translateX(-50px); }
[data-anim="fade-left"] { transform: translateX(50px); }
[data-anim="slide-left"] { transform: translateX(-120px); }
[data-anim="zoom"] { transform: scale(.92); }
[data-anim].in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .12s; } [data-delay="2"] { transition-delay: .24s; } [data-delay="3"] { transition-delay: .36s; } [data-delay="4"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) { [data-anim] { opacity: 1; transform: none; transition: none; } }

/* Team section side patterns */
.team-section { position: relative; overflow: hidden; }
.team-section .pattern-left, .team-section .pattern-right { position: absolute; top: 50%; width: clamp(140px, 18vw, 300px); transform: translateY(-50%); opacity: .9; }
.team-section .pattern-left { left: -20px; }
.team-section .pattern-right { right: -20px; transform: translateY(-50%) scaleX(-1); }
.team-section .container { position: relative; }

/* Services page side navigation */
.services-layout { display: grid; grid-template-columns: minmax(240px, 280px) 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.side-nav { position: sticky; top: 100px; max-height: calc(100vh - 116px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (max-height: 900px) { .side-nav-cta { display: none; } }
.side-nav-title { font-weight: 700; color: var(--ink); font-size: 1rem; padding: 0 0 .5rem; border-bottom: 2px solid var(--gold-deep); margin-bottom: .4rem; }
.side-nav ul { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); }
.side-nav li + li { border-top: 1px solid var(--line); }
.side-nav a { display: block; padding: .55rem .9rem; font-weight: 600; font-size: .9rem; line-height: 1.35; color: var(--ink); border-left: 3px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.side-nav a:hover { background: var(--grey); color: var(--gold-text); }
.side-nav a.active { border-left-color: var(--gold-deep); background: #FBF6E6; color: var(--gold-text); }
.side-nav-cta { margin-top: 1.25rem; background: var(--navy); color: #fff; padding: 1.5rem; }
.side-nav-cta strong { display: block; margin-bottom: .3rem; }
.side-nav-cta p { font-size: .88rem; color: rgba(255,255,255,.75); margin-bottom: 1rem; }
.side-nav-cta .btn { width: 100%; justify-content: center; }

/* Notes inside a service entry */
.service-note { margin-top: 1.25rem; padding: 1.25rem 1.4rem; background: var(--grey); border-left: 3px solid var(--gold-deep); }
.service-note h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--ink); }
.service-note p { font-size: .93rem; margin-bottom: .6rem; }
.service-note ol { margin: 0 0 .6rem; padding-left: 1.2rem; font-size: .93rem; }
.service-note ol li { margin-bottom: .35rem; }
.service-note-links { font-size: .85rem; margin: 0; }
.service-note-links a { color: var(--gold-text); font-weight: 600; text-decoration: underline; overflow-wrap: anywhere; }

/* ===== Permit landing pages ===== */
.landing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.landing-body { background: #fff; border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.75rem); }
.landing-body h2 { font-size: clamp(1.4rem, 1rem + 1.2vw, 1.8rem); margin: 2rem 0 .75rem; }
.landing-body h2:first-of-type { margin-top: 1.5rem; }
.landing-body p, .landing-body li { font-size: 1rem; }
.landing-list, .landing-steps { padding-left: 1.25rem; margin: 0 0 1rem; }
.landing-list li, .landing-steps li { margin-bottom: .55rem; }
.landing-steps li::marker { color: var(--gold-text); font-weight: 700; }
.landing-body a:not(.btn) { color: var(--gold-text); font-weight: 600; text-decoration: underline; }
.landing-body .faq { margin-top: .5rem; }
.landing-aside { position: sticky; top: 100px; display: grid; gap: 1.25rem; }
.landing-card { background: var(--navy); color: #fff; padding: 1.75rem; display: grid; gap: .75rem; }
.landing-card h3 { color: #fff; font-size: 1.25rem; margin: 0; }
.landing-card p { color: rgba(255,255,255,.78); font-size: .92rem; margin: 0 0 .25rem; }
.landing-card .btn { width: 100%; justify-content: center; }
.landing-phone { display: inline-flex; align-items: center; gap: .5rem; justify-content: center; font-weight: 700; font-size: 1.1rem; color: var(--gold); padding: .4rem 0; }
.landing-card small { color: rgba(255,255,255,.6); font-size: .8rem; text-align: center; }
.landing-related { background: #fff; color: var(--text); border: 1px solid var(--line); }
.landing-related h3 { color: var(--ink); font-size: 1.05rem; }
.landing-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.landing-related a { display: block; padding: .45rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); }
.landing-related li:last-child a { border-bottom: 0; }
.landing-related a:hover { color: var(--gold-text); }
.crumbs a:hover { text-decoration: underline; }
.service-note.sources { margin-top: 2rem; }
.service-note.sources ul { margin: 0; padding-left: 1.1rem; font-size: .92rem; }
.service-note.sources li { margin-bottom: .3rem; }


   Breakpoints: 1200 large laptop · 1000 tablet · 900 navigation switch · 760 phone · 480 small phone */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .checks { grid-template-columns: 1fr; gap: .5rem; }
  .contact-form-wrap .pattern { width: 110px; }
  .contact-form-wrap .form-head { padding-right: 130px; }
  .about-bottom { grid-template-columns: 1fr; }
  .counter { max-width: none; }
  .team-section .pattern-left, .team-section .pattern-right { opacity: .5; }
}
@media (max-width: 1000px) {
  .landing-grid { grid-template-columns: 1fr; }
  .landing-aside { position: static; }
  .about-grid, .contact-split, .team-head, .faq-grid, .footer-cta, .contact-grid, .services-layout { grid-template-columns: 1fr; }
  .about-grid, .team-head { gap: 2.5rem; }
  .about-media { order: -1; max-width: 640px; }
  .about-media img { aspect-ratio: 16 / 10; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases, .reviews, .team, .values { grid-template-columns: 1fr; }
  .reviews { max-width: 720px; margin-inline: auto; }
  .team.two { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .features { min-height: 0; padding: 7.5rem 0 2.5rem; }
  .features-grid { margin-left: 0; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .features .pattern { display: none; }
  .banner-inner { max-width: 640px; padding-bottom: 0; }
  .banner .container { padding-bottom: 3rem; }
  .banner-stats { position: static; margin-top: 2rem; }
  .contact-split > img { aspect-ratio: 16 / 9; max-height: 420px; }
  .topbar .meta span.addr { display: none; }
  .service-detail { grid-template-columns: 56px 1fr; }
  .service-detail .act, .service-detail .act-stack { grid-column: 2; flex-direction: row; flex-wrap: wrap; justify-self: start; }
  .service-detail .act-stack .btn { width: auto; }
  .side-nav { position: static; max-height: none; overflow: visible; }
  .side-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .side-nav li + li { border-top: 0; }
  .side-nav li { border-bottom: 1px solid var(--line); }
  .side-nav-cta { display: none; }
  /* horizontal entrance motion would widen the page on narrow screens; move vertically instead */
  [data-anim="fade-right"], [data-anim="fade-left"], [data-anim="slide-left"] { transform: translateY(30px); }
  [data-anim].in { transform: none; }
}
@media (max-width: 900px) {
  .nav, .header .btn-gold { display: none; }
  .nav-toggle { display: block; }
  .header > .container { height: 76px; }
  .header .mobile-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 76px); overflow-y: auto; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-direction: column; padding: .5rem var(--gutter) 1rem; box-shadow: 0 14px 30px rgba(6,39,66,.12); }
  .header .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: .9rem 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; color: var(--gold-text); }
  .features-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .features-grid .feature { border-left: 0; padding-left: 0; padding-right: 0; }
  .features-grid .feature:not(:first-child)::after { left: 61px; }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .brand img { width: 52px; height: 52px; }
  .brand-text span { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(6,39,66,.92) 0%, rgba(6,39,66,.88) 60%, rgba(6,39,66,.7) 100%); }
  .hero-bg { object-position: 70% top; }
  .hero-cards { margin-bottom: 0; box-shadow: none; max-width: none; }
  .hero-count { flex: 1 1 100%; }
  .hero-actions { gap: 1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .features { padding-top: 2.5rem; }
  .services-grid, .team.two, .footer-grid, .form-row, .checks { grid-template-columns: 1fr; }
  .footer-grid { gap: 1.75rem; padding: 2.5rem 0; }
  .footer-cta { padding: 2.5rem 0; gap: 1.5rem; }
  .footer-cta .box .actions .btn { width: 100%; justify-content: center; }
  .case { grid-template-columns: 1fr; }
  .case img { max-height: 220px; }
  .about-media .pattern { display: none; }
  .banner-stats { flex-direction: column; }
  .banner-stats > div { min-width: 0; }
  .service-detail { grid-template-columns: 1fr; padding: 1.25rem; gap: 1rem; }
  .service-detail .act, .service-detail .act-stack { grid-column: 1; flex-direction: column; }
  .service-detail .ico { width: 48px; height: 48px; }
  .service-detail .ico svg { width: 36px; height: 36px; }
  .service-detail .act, .service-detail .act-stack { width: 100%; }
  .service-detail .act .btn, .service-detail .act-stack .btn { width: 100%; justify-content: center; }
  .contact-form-wrap { padding: 2rem var(--gutter); }
  .contact-form-wrap .pattern { display: none; }
  .contact-form-wrap .form-head { padding-right: 0; }
  .form { padding: 1.5rem 1.25rem; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; justify-content: center; }
  .form-foot small { text-align: center; }
  .faq-card { padding: 1.75rem; }
  .faq-card .pattern { display: none; }
  .case-intro { padding: 1.75rem; }
  .review { padding: 1.5rem; }
  .review .mark { display: none; }
  .team-section .pattern-left, .team-section .pattern-right { display: none; }
  .side-nav ul { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .cta-band .container { flex-direction: column; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero-count strong, .counter strong, .banner-stats strong { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .section-head { margin-bottom: 2rem; }
  .service { padding: 1.35rem 1.15rem; }
  .member .info { padding: 1rem 1.15rem; }
  .faq details { padding: 0 1rem; }
  .page-title .container { padding-block: 2.75rem; }
}
@media (min-width: 901px) { .header .mobile-nav { display: none !important; } }

