/*
Theme Name: Pagalbos gija
Theme URI: https://gija.bigweb.eu/
Author: BigWeb
Description: Individuali, prieinama tema VšĮ „Pagalbos gija“.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: pagalbos-gija
*/

:root {
  --ink: #073d32;
  --ink-strong: #062e27;
  --paper: #fffefa;
  --warm: #fbf8f2;
  --sage: #f0f2ea;
  --sage-strong: #e3e8dc;
  --orange: #ca551d;
  --orange-dark: #9f3d12;
  --muted: #455c56;
  --line: #dfe2db;
  --focus: #065fd4;
  --max: 1320px;
  --radius: 14px;
  --font-scale: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: calc(16px * var(--font-scale)); }
body {
  margin: 0;
  color: var(--ink-strong);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: .2em; }
a:hover { color: var(--orange-dark); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.screen-reader-text { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; z-index: 99999; left: 1rem; top: 1rem; transform: translateY(-220%); background: #fff; color: #000; padding: .8rem 1rem; border: 3px solid var(--focus); }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.compact-section { position: relative; padding: clamp(2.75rem, 4.5vw, 4.75rem) 0; }
.anchor-target { position: absolute; top: -8rem; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(3.15rem, 4.25vw, 4.3rem); }
h2 { font-size: clamp(2rem, 2.4vw, 2.75rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1rem; }
.section-kicker { margin-bottom: .65rem; color: var(--orange-dark); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.7rem; }
.section-head--compact h2 { font-size: clamp(1.65rem, 2.1vw, 2.2rem); }
.section-head a, .card-link { font-size: .9rem; font-weight: 600; text-decoration: none; }

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .75rem 1.15rem;
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { border-color: var(--orange); background: var(--orange); color: #fff; }
.btn--primary:hover { border-color: var(--orange-dark); background: var(--orange-dark); color: #fff; }
.btn--secondary { background: rgba(255,255,255,.88); }
.btn--light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.site-header { position: sticky; top: 0; z-index: 1000; display: flex; flex-direction: column; background: rgba(255,254,250,.97); border-bottom: 1px solid #ebe9e3; backdrop-filter: blur(12px); }
.access-toolbar { order: 1; border-bottom: 1px solid #ebe9e3; background: #fdfbf7; }
.access-toolbar__inner { display: flex; min-height: 48px; align-items: center; justify-content: flex-end; gap: .45rem; }
.access-toolbar__label { margin-right: .2rem; color: var(--muted); font-size: .76rem; }
.access-toolbar button, .access-toolbar a { min-height: 40px; }
.access-toolbar button { display: inline-flex; min-width: 42px; align-items: center; justify-content: center; gap: .4rem; padding: .35rem .6rem; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; font-size: .85rem; }
.access-toolbar button:hover, .access-toolbar button[aria-pressed="true"] { border-color: var(--ink); background: var(--sage); }
.access-toolbar__controls { display: flex; gap: .1rem; }
.access-toolbar__links { display: flex; margin-left: .6rem; border-left: 1px solid var(--line); }
.access-toolbar__links a { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-right: 1px solid var(--line); font-size: .8rem; font-weight: 500; text-decoration: none; }
.access-symbol { display: inline-grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--ink); border-radius: 4px; font-family: Georgia, serif; font-size: .72rem; }
.access-symbol--hands { border: 0; font-family: inherit; font-size: 1.05rem; }
.nav-row { order: 2; display: flex; min-height: 88px; align-items: center; gap: 1.4rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { width: 183px; height: 72px; object-fit: contain; }
.main-nav ul { display: flex; align-items: center; gap: 1.45rem; margin: 0; padding: 0; list-style: none; }
.main-nav a { font-size: .84rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.header-phone { display: inline-flex; min-height: 44px; align-items: center; gap: .45rem; color: var(--ink); font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; min-width: 50px; min-height: 48px; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: .85rem; }
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after { display: block; width: 18px; height: 1.5px; background: currentColor; content: ""; }
.menu-toggle__icon { position: relative; }
.menu-toggle__icon::before { position: absolute; top: -6px; }
.menu-toggle__icon::after { position: absolute; top: 6px; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid #eeeae2; background: var(--paper); }
.hero__grid { display: grid; min-height: 560px; grid-template-columns: minmax(370px, .82fr) minmax(580px, 1.48fr); align-items: stretch; }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding: 4rem clamp(2.5rem, 5vw, 5.25rem) 4.2rem 0; }
.hero h1 { max-width: 620px; margin-bottom: 1.35rem; }
.hero__lede { max-width: 570px; margin-bottom: .75rem; color: #273f39; font-size: 1.12rem; line-height: 1.52; }
.hero__promise { max-width: 570px; margin: 0 0 1.75rem; color: var(--muted); font-size: .91rem; line-height: 1.5; }
.hero__media { min-height: 560px; margin: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.thread { pointer-events: none; }
.thread--hero { position: absolute; z-index: 3; right: 0; bottom: 24px; left: 0; height: 34px; border-bottom: 2px solid var(--orange); transform: rotate(-.5deg); }
.thread--hero::before { position: absolute; bottom: -13px; left: 19%; width: 26px; height: 34px; border: 2px solid var(--orange); border-right-color: transparent; border-radius: 50%; content: ""; transform: rotate(28deg); }

.services { background: var(--paper); }
.services .container { position: relative; }
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.3rem; }
.service-card { position: relative; display: grid; min-height: 210px; grid-template-columns: 180px 1fr; align-items: center; gap: 1.15rem; padding: 1.8rem 2rem; overflow: hidden; border: 1px solid #ecece5; border-radius: var(--radius); background: linear-gradient(110deg,#f7f7f1,#fffefa); }
.service-card h3 { margin-bottom: .65rem; font-size: 1.55rem; }
.service-card p { max-width: 430px; color: #314943; font-size: .92rem; }
.service-card a { font-size: .87rem; font-weight: 600; text-decoration: none; }
.feature-icon, .sprite-icon { display: inline-block; flex: 0 0 auto; background-repeat: no-repeat; }
.feature-icon { width: 88px; height: 88px; background-image: url("assets/images/feature-icons.png"); background-size: 900% auto; background-position-y: center; }
.service-card .feature-icon { width: 160px; height: 160px; }
.feature-icon--0 { background-position-x: 0%; }
.feature-icon--1 { background-position-x: 12.5%; }
.feature-icon--2 { background-position-x: 25%; }
.feature-icon--3 { background-position-x: 37.5%; }
.feature-icon--4 { background-position-x: 50%; }
.feature-icon--5 { background-position-x: 62.5%; }
.feature-icon--6 { background-position-x: 75%; }
.feature-icon--7 { background-position-x: 87.5%; }
.feature-icon--8 { background-position-x: 100%; }
.thread--services { position: absolute; right: -6vw; bottom: -22px; left: 22%; height: 40px; border-bottom: 2px solid var(--orange); border-radius: 50%; opacity: .9; }
.thread--services::before { position: absolute; bottom: -12px; left: 46%; width: 26px; height: 34px; border: 2px solid var(--orange); border-left-color: transparent; border-radius: 50%; content: ""; transform: rotate(-28deg); }

.process { padding-top: 3.5rem; }
.process > .container > h2 { margin-bottom: 1.8rem; text-align: center; }
.process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.process-step { position: relative; display: grid; grid-template-columns: 34px 90px 1fr; gap: .9rem; padding: 0 2rem; border-right: 1px dashed #b7c0bb; }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; border-right: 0; }
.step-number { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; }
.step-icon { width: 90px; height: 100px; background-image: url("assets/images/steps-icons.png"); background-size: 300% auto; background-position-y: center; }
.step-icon--0 { background-position-x: 0%; }
.step-icon--1 { background-position-x: 50%; }
.step-icon--2 { background-position-x: 100%; }
.process-step h3 { margin: .2rem 0 .5rem; font-family: inherit; font-size: .98rem; font-weight: 600; letter-spacing: 0; }
.process-step p { color: #314943; font-size: .88rem; }
.process-step a { font-size: .84rem; font-weight: 600; text-decoration: none; }

.audiences { background: #fff; }
.audience-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.audience-item { padding: .5rem 1.6rem 0; text-align: center; border-right: 1px dashed #c7cec9; }
.audience-item:first-child { padding-left: 0; }
.audience-item:last-child { padding-right: 0; border-right: 0; }
.audience-icon { width: 150px; height: 150px; background-image: url("assets/images/audience-icons.png"); background-size: 400% auto; background-position-y: center; }
.audience-icon--0 { background-position-x: 0%; }
.audience-icon--1 { background-position-x: 33.333%; }
.audience-icon--2 { background-position-x: 66.666%; }
.audience-icon--3 { background-position-x: 100%; }
.audience-item h3 { min-height: 2.45em; margin: .55rem 0 .45rem; font-family: inherit; font-size: .92rem; font-weight: 600; letter-spacing: 0; }
.audience-item p { margin: 0 auto; color: #314943; font-size: .82rem; }

.trust { padding-top: 1.5rem; }
.trust__panel { padding: 1.8rem 2rem; border: 1px solid #e7e9e1; border-radius: var(--radius); background: var(--sage); }
.trust__panel > h2 { margin-bottom: 1.4rem; font-size: 1.65rem; }
.trust-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.trust-grid article { display: grid; grid-template-columns: 66px 1fr; gap: .7rem; padding: 0 1.15rem; border-right: 1px dashed #bdc5bf; }
.trust-grid article:first-child { padding-left: 0; }
.trust-grid article:last-child { padding-right: 0; border-right: 0; }
.trust-grid .feature-icon { width: 64px; height: 64px; }
.trust-grid h3 { margin: .15rem 0 .3rem; font-family: inherit; font-size: .82rem; font-weight: 600; letter-spacing: 0; }
.trust-grid p { margin: 0; color: #314943; font-size: .75rem; line-height: 1.45; }

.territory-section { background: var(--paper); }
.territory { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(2.5rem,6vw,6rem); }
.territory__visual { margin: 0; }
.territory__visual img { width: 100%; max-height: 520px; object-fit: contain; }
.territory__content h2 { margin-bottom: 1rem; }
.territory__content p:not(.section-kicker) { max-width: 540px; margin-bottom: 1.4rem; color: #314943; font-size: 1.05rem; }

.access-section { background: #fdfbf7; }
.access-section > .container > h2 { margin-bottom: 1.5rem; }
.access-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.1rem; }
.access-card { display: flex; min-height: 280px; flex-direction: column; padding: 1.4rem; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.access-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.access-card .feature-icon { width: 72px; height: 72px; margin-bottom: 1rem; }
.access-card h3 { margin-bottom: .55rem; font-size: 1.22rem; }
.access-card p { color: #314943; font-size: .9rem; }
.access-card .card-link { margin-top: auto; }
.access-card--media { padding: 0; }
.access-card--media img { width: 100%; height: 145px; object-fit: cover; }
.access-card--media > div { display: flex; flex: 1; flex-direction: column; padding: 1rem 1.15rem 1.15rem; }
.access-card--media small { margin-bottom: 1rem; color: var(--muted); font-size: .72rem; }

.news-forms { background: #fff; }
.news-forms__grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(300px,.8fr); gap: 2rem; }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.news-card__image { height: 155px; background-image: url("assets/images/audiences-triptych.png"); background-size: 300% 100%; background-repeat: no-repeat; }
.news-card:nth-child(1) .news-card__image { background-position: left; }
.news-card:nth-child(2) .news-card__image { background-position: center; }
.news-card:nth-child(3) .news-card__image { background-position: right; }
.news-card__body { padding: 1rem; }
.news-card time { color: var(--muted); font-size: .72rem; }
.news-card h3 { margin: .45rem 0 .8rem; font-size: 1.12rem; line-height: 1.25; }
.news-card h3 a { text-decoration: none; }
.forms-panel { padding: 1.3rem 1.5rem; border-radius: 10px; background: var(--sage); }
.forms-panel .section-head { align-items: center; }
.forms-panel h2 { font-size: 1.5rem; }
.forms-panel ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d5dbd2; }
.forms-panel li { border-bottom: 1px solid #d5dbd2; }
.forms-panel li a { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ink); font-size: .86rem; text-decoration: none; }

.contact-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 2.4rem 0; }
.contact-band .container { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 1.5rem; }
.contact-band__icon { display: grid; width: 76px; height: 76px; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); font-size: 2rem; }
.contact-band h2 { margin-bottom: .25rem; color: #fff; font-size: 2rem; }
.contact-band p { margin: 0; color: rgba(255,255,255,.86); font-size: .9rem; }
.thread--footer { position: absolute; right: -18px; bottom: -20px; width: 130px; height: 70px; border: 2px solid var(--orange); border-left-color: transparent; border-radius: 50%; }
.site-footer { padding: 3rem 0 1.4rem; border-top: 1px solid #eee9e0; background: var(--paper); color: var(--ink-strong); }
.site-footer a { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr 1fr; gap: 4rem; }
.footer-brand .brand { margin-bottom: .75rem; }
.footer-brand p { max-width: 330px; color: var(--muted); font-size: .83rem; }
.site-footer h3 { margin-bottom: .85rem; font-family: inherit; font-size: .82rem; font-weight: 600; letter-spacing: 0; }
.site-footer p, .footer-nav { font-size: .8rem; line-height: 1.8; }
.footer-nav { margin: 0; padding: 0; list-style: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }

.page-hero { padding: 4.5rem 0 3rem; background: var(--sage); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem,5vw,4.2rem); }
.content { padding: 3.5rem 0 5.5rem; }
.content > * + * { margin-top: 1.15rem; }
.content h2 { margin-top: 2.2rem; font-size: 2rem; }
.content h3 { margin-top: 1.5rem; }
.content ul, .content ol { padding-left: 1.4rem; }
.content li + li { margin-top: .5rem; }
.post-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; }
.entry-meta { color: var(--muted); font-size: .85rem; }
.card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.lede { max-width: 760px; color: var(--muted); font-size: 1.1rem; }

.gija-form { max-width: 760px; }
.gija-field { margin-bottom: 1.2rem; }
.gija-field label, .gija-field legend { display: block; margin-bottom: .45rem; font-weight: 600; }
.gija-field input:not([type=radio]):not([type=checkbox]), .gija-field select, .gija-field textarea { width: 100%; min-height: 52px; padding: .7rem .8rem; border: 2px solid #7c8d87; border-radius: 6px; background: #fff; color: var(--ink-strong); }
.gija-field textarea { min-height: 150px; resize: vertical; }
.gija-choice { display: flex; align-items: flex-start; gap: .65rem; margin: .55rem 0; }
.gija-choice input { width: 24px; height: 24px; flex: 0 0 auto; }
.gija-help { color: var(--muted); font-size: .9rem; }
.gija-alert { margin-bottom: 1.25rem; padding: 1rem; border: 2px solid; border-radius: 6px; }
.gija-alert--success { border-color: #31743a; background: #e7f6e8; }
.gija-alert--error { border-color: #a33b24; background: #fff0ed; }
.gija-hp { position: absolute!important; left: -9999px!important; }

html.gija-high-contrast { --ink: #000; --ink-strong: #000; --paper: #fff; --warm: #fff; --sage: #fff; --sage-strong: #fff; --orange: #9a2f00; --orange-dark: #6d2100; --muted: #111; --line: #000; --focus: #0047b3; }
html.gija-high-contrast body, html.gija-high-contrast .site-header, html.gija-high-contrast .access-toolbar { background: #fff; color: #000; }
html.gija-high-contrast .service-card, html.gija-high-contrast .access-card, html.gija-high-contrast .forms-panel, html.gija-high-contrast .trust__panel { border: 2px solid #000; background: #fff; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; max-height: calc(100vh - 88px); padding: 1.2rem 2rem 2rem; overflow: auto; border-top: 1px solid var(--line); background: var(--paper); }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: grid; gap: 0; }
  .main-nav a { display: block; min-height: 48px; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .header-phone { display: none; }
  .hero__grid { grid-template-columns: .82fr 1.18fr; }
  .service-card { grid-template-columns: 130px 1fr; padding: 1.5rem; }
  .service-card .feature-icon { width: 125px; height: 125px; }
  .process-step { grid-template-columns: 30px 70px 1fr; padding-inline: 1rem; }
  .step-icon { width: 70px; height: 90px; }
  .trust-grid { grid-template-columns: repeat(3,1fr); row-gap: 1.5rem; }
  .trust-grid article:nth-child(3) { border-right: 0; }
  .trust-grid article:nth-child(4) { padding-left: 0; }
  .news-forms__grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .site-header .nav-row { order: 1; min-height: 76px; }
  .site-header .access-toolbar { order: 2; }
  .brand img { width: 154px; height: auto; }
  .access-toolbar__inner { display: grid; grid-template-columns: repeat(5,1fr); gap: .4rem; padding-block: .6rem; }
  .access-toolbar__label { display: none; }
  .access-toolbar__controls { display: contents; }
  .access-toolbar button { min-height: 46px; border-color: var(--line); background: #fff; font-size: .92rem; }
  .access-toolbar__contrast span:last-child, .access-toolbar__reset span:last-child { display: none; }
  .access-toolbar__links { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 0; gap: .45rem; }
  .access-toolbar__links a { min-height: 48px; justify-content: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
  .hero__grid { min-height: auto; grid-template-columns: 1fr; }
  .hero__content { padding: 2.25rem 0 2rem; }
  .hero h1 { font-size: clamp(2.35rem, 10.2vw, 3.1rem); }
  .hero__lede { font-size: 1rem; }
  .hero__promise { font-size: .84rem; }
  .hero__media { min-height: 0; aspect-ratio: 4/3; }
  .hero__media img { object-position: 70% center; }
  .thread--hero { bottom: -5px; }
  .service-grid, .process-grid, .audience-grid, .access-grid, .news-grid, .post-list { grid-template-columns: 1fr; }
  .service-card { min-height: 0; grid-template-columns: 110px 1fr; padding: 1.25rem; }
  .service-card .feature-icon { width: 105px; height: 105px; }
  .process > .container > h2 { text-align: left; }
  .process-step { grid-template-columns: 34px 82px 1fr; padding: 1.15rem 0; border-right: 0; border-bottom: 1px dashed #b7c0bb; }
  .process-step:last-child { border-bottom: 0; }
  .step-icon { width: 80px; height: 90px; }
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem .7rem; }
  .audience-item, .audience-item:first-child, .audience-item:last-child { padding: 0 .75rem; border-right: 0; }
  .audience-icon { width: 130px; height: 130px; }
  .audience-item h3 { min-height: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article, .trust-grid article:nth-child(4) { grid-template-columns: 64px 1fr; padding: .8rem 0; border-right: 0; border-bottom: 1px dashed #bdc5bf; }
  .trust-grid article:last-child { border-bottom: 0; }
  .territory { grid-template-columns: 1fr; gap: 1.2rem; }
  .territory__visual { order: 2; }
  .territory__content { order: 1; }
  .access-card { min-height: 230px; }
  .access-card--media img { height: 220px; }
  .contact-band .container { grid-template-columns: 64px 1fr; }
  .contact-band__icon { width: 58px; height: 58px; }
  .contact-band .actions { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .compact-section { padding: 2.7rem 0; }
  .section-head { align-items: flex-start; gap: .8rem; }
  .section-head--compact { flex-direction: column; }
  .brand img { width: 146px; }
  .menu-toggle span:first-child { display: none; }
  .hero__content .actions { display: grid; }
  .hero__content .btn { width: 100%; }
  .hero__media { aspect-ratio: 1.25/1; }
  .service-card { grid-template-columns: 92px 1fr; gap: .65rem; padding: 1rem; }
  .service-card .feature-icon { width: 88px; height: 96px; }
  .service-card h3 { font-size: 1.25rem; }
  .service-card p { font-size: .84rem; }
  .process-step { grid-template-columns: 30px 64px 1fr; gap: .65rem; }
  .step-icon { width: 62px; height: 78px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-item { padding-bottom: 1rem; border-bottom: 1px dashed #c7cec9; }
  .audience-item:last-child { border-bottom: 0; }
  .access-toolbar__links a { padding-inline: .35rem; font-size: .72rem; }
  .contact-band .container { grid-template-columns: 1fr; text-align: center; }
  .contact-band__icon { margin-inline: auto; }
  .contact-band .actions { display: grid; grid-column: auto; width: 100%; }
  .contact-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; }
}
