/* primaco.eu – izgled prema starom webu (tema Transcargo): plavo zaglavlje, Titillium Web i Open Sans, zeleni naglasci */
:root {
  --blue: #0d5b97;
  --blue-dark: #0a4a7c;
  --green: #61ba46;
  --green-text: #44962d;   /* tamnija zelena za tekst na bijeloj podlozi (čitljivost) */
  --ink: #404040;
  --text: #6d6d6d;
  --line: #e6e6e6;
  --soft: #f7f7f7;
  --wrap: 1140px;
  --head: 90px;
  --body: "Open Sans", Arial, Helvetica, sans-serif;
  --title: "Titillium Web", "Open Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; font: 16px/26px var(--body); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-text); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }
strong, b { color: var(--ink); }
h1, h2, h3, h4, h5, h6, .h1, .h2 { font-family: var(--title); font-weight: 300; text-transform: uppercase; color: var(--blue); margin: 0; }
h1, .h1 { font-size: 42px; line-height: 46px; margin: 0 0 33px; }
h2, .h2 { font-size: 36px; line-height: 42px; margin: 0 0 32px; }
h3 { font-size: 26px; line-height: 32px; margin: 0 0 24px; }
h4 { font-size: 20px; line-height: 26px; margin: 0 0 20px; font-weight: 400; }
h5 { font-size: 18px; line-height: 24px; margin: 0 0 5px; font-weight: 600; }
h6 { font-size: 14px; line-height: 20px; margin: 0 0 15px; font-weight: 400; letter-spacing: .02em; }
p { margin: 0 0 26px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 15px; }
.sr, .hp { 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; background: #fff; color: var(--blue); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
svg { width: 1em; height: 1em; flex: none; }

/* ---------- gumbi ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; background: transparent; color: var(--blue); border: 2px solid var(--green); border-radius: 50px; padding: 10px 28px; font: 700 14px/16px var(--body); text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .3s, color .3s; }
.btn svg { width: 16px; height: 16px; }
.btn:hover { background: var(--green); color: #fff; text-decoration: none; }
.btn.white { color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- zaglavlje ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--blue); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--head); }
.logo img { width: 197px; height: auto; }
#nav > ul { list-style: none; margin: 0; padding: 0; display: flex; }
#nav li { position: relative; }
#nav > ul > li > a { display: flex; align-items: center; gap: 6px; height: var(--head); padding: 0 15px; font: 600 16px/1 var(--title); color: #fff; text-decoration: none; position: relative; }
#nav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); transform: scaleX(0); transition: transform .25s; }
#nav > ul > li:hover > a::after, #nav > ul > li:focus-within > a::after, #nav > ul > li.active > a::after { transform: scaleX(1); }
#nav .lang img { width: 16px; height: 11px; }
#nav .sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.16); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
#nav li:hover > .sub, #nav li:focus-within > .sub { opacity: 1; visibility: visible; }
#nav .sub a { display: block; padding: 8px 24px; color: var(--blue); font: 400 15px/22px var(--title); text-decoration: none; }
#nav .sub a:hover, #nav .sub a[aria-current] { color: var(--green-text); background: var(--soft); }
.sub-toggle, .menu-toggle { display: none; }

/* ---------- naslovnica ---------- */
.hero { position: relative; height: 610px; overflow: hidden; background: var(--blue-dark); }
.slide { position: absolute; inset: 0; background: var(--img) center/cover no-repeat; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; z-index: 1; }
.slide .wrap { height: 100%; display: flex; align-items: center; }
.slide-box { display: block; width: 540px; max-width: 100%; margin: -20px 0 0 6px; padding: 40px 56px 44px; background: rgba(13, 91, 151, .86); color: #fff; text-decoration: none; }
.slide-box:hover { color: #fff; text-decoration: none; background: rgba(13, 91, 151, .93); }
.slide-box::before { content: ""; display: block; width: 50px; height: 3px; background: var(--green); margin-bottom: 26px; }
.slide-title { color: #fff; font-size: 40px; line-height: 42px; font-weight: 400; letter-spacing: .03em; margin: 0 0 26px; }
.slide-box p { font-size: 18px; line-height: 28px; margin: 0; }
.slide.active .slide-box { animation: rise .8s both; }
@keyframes rise { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
.hero-nav { background: var(--blue); }
.hero-nav .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-nav button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 23px 8px 20px; color: #fff; font: 400 18px/24px var(--title); cursor: pointer; transition: border-color .3s; }
.hero-nav button:hover, .hero-nav button[aria-current] { border-bottom-color: var(--green); }

.intro { padding: 78px 0 34px; }

.counters { background: var(--green); color: #fff; padding: 40px 0 30px; }
.counters .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.counter { display: flex; gap: 26px; align-items: flex-start; }
.counter svg { width: 64px; height: 66px; color: #fff; flex: none; }
.counter strong { display: block; font: 300 42px/1 var(--title); color: #fff; margin: 11px 0 11px; font-variant-numeric: tabular-nums; }
.counter span { display: block; font-size: 14px; line-height: 22px; font-weight: 600; max-width: 170px; }

.services { background: var(--blue); padding: 45px 0 40px; }
.services h2 { color: #fff; text-align: center; margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.service { background: #fff; display: flex; flex-direction: column; }
.service .img { display: block; aspect-ratio: 255/160; overflow: hidden; }
.service img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover img { transform: scale(1.05); }
.service .txt { padding: 50px 30px 26px; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: .02em; margin: 0 0 20px; }
.service h3 a { color: var(--green-text); text-decoration: none; }
.service p { flex: 1; margin-bottom: 22px; }
.more { color: var(--green-text); font-size: 16px; }

.special { background: var(--soft); }
.special .wrap { display: grid; grid-template-columns: 5fr 7fr; }
.feat-col { padding: 82px 30px 70px 15px; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 24px; }
.feat { display: flex; align-items: center; gap: 22px; }
.feat svg { width: 70px; height: 70px; color: var(--green); flex: none; }
.feat p { margin: 0; font: 600 14px/20px var(--title); text-transform: uppercase; color: var(--blue); }
.quote { background: var(--blue); padding: 82px 40px 60px; color: #fff; }
.quote h2 { color: #fff; margin-bottom: 40px; }
.quote .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; }
.quote .tall { grid-row: span 2; }
.quote textarea { height: 100%; min-height: 100px; }
.quote .submit { display: flex; align-items: center; }
.quote .submit .btn { width: 100%; justify-content: center; padding: 10px 20px; }
.quote .note { font-size: 13px; line-height: 20px; margin: 26px 0 0; color: rgba(255,255,255,.85); }
.quote .note a { color: #fff; text-decoration: underline; }

.reach { padding: 62px 15px 60px; }
.reach h2 { text-align: center; margin: 0; }

/* ---------- obrasci ---------- */
.form input:not([type=checkbox]), .form select, .form textarea, .search input { font: 14px/17px var(--body); color: var(--ink); padding: 10px 16px 9px; border: 1px solid var(--line); border-radius: 0; background: #fff; width: 100%; min-height: 38px; }
.form textarea { resize: vertical; display: block; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23404040' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/14px no-repeat; }
.form select:invalid { color: #767676; }
.form ::placeholder, .search ::placeholder { color: #767676; opacity: 1; }
.form input:focus, .form select:focus, .form textarea:focus, .search input:focus { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 0; }
.form label { display: block; }
.form .status { margin: 16px 0 0; font-weight: 600; }
.form .status:empty { display: none; }
.form .status.ok { color: var(--green-text); }
.form .status.err { color: #b3261e; }
.quote .form .status.ok, .quote .form .status.err, .quote .form-msg { color: #fff; }
.form-msg { display: none; font-weight: 600; margin: 16px 0 0; }
.form-msg:target { display: block; }
.form-msg.ok { color: var(--green-text); }
.form-msg.err { color: #b3261e; }

.contact-box { background: var(--soft); padding: 40px; margin: 0 0 70px; }
.contact-box .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-box .stack { display: grid; gap: 20px; align-content: start; }
.contact-box textarea { height: 100%; min-height: 212px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 26px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 20px; max-width: 520px; }
.check input { margin: 3px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--blue); }

/* ---------- podstranice ---------- */
.page-title { background: linear-gradient(rgba(13, 91, 151, .42), rgba(13, 91, 151, .42)), var(--blue) var(--img, none) center/cover no-repeat; color: #fff; }
.page-title .wrap { min-height: 160px; display: flex; align-items: center; }
.page-title .h1 { color: #fff; margin: 0; padding: 20px 0; text-shadow: 0 1px 12px rgba(9, 50, 85, .45); }
.crumbs { font-size: 13px; padding: 31px 0 74px; }
.crumbs a { color: var(--blue); }
.crumbs .sep { margin: 0 9px; }

.page-body { padding-bottom: 60px; }
.prose > :first-child, .prose .col > :first-child, .card > :first-child { margin-top: 0; }
.prose ul { list-style: none; padding: 0; margin: 0 0 26px; }
.prose ul li { position: relative; margin: 0 0 12px; padding-left: 14px; }
.prose ul li::before { content: "•"; position: absolute; left: 0; top: -1px; font-size: 18px; color: var(--green); }
.prose ol { padding-left: 1.3em; margin: 0 0 26px; }
.prose ol li { margin-bottom: 8px; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 26px; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose figure { margin: 0 0 40px; }
.prose figure img { width: 100%; }
.prose h2, .prose h3, .prose h4 { margin-top: 14px; }
.row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 30px; margin-bottom: 50px; }
.row .row { margin-bottom: 0; }
.col { grid-column: span var(--w, 12); min-width: 0; }
.col > h2:first-child { margin-top: 0; }
.col > .row { margin-bottom: 0; }
.col > .row > .col { margin-bottom: 22px; }
.col h5 + p { margin-bottom: 0; }
.card { border: 1px solid var(--line); border-top: 20px solid var(--green); padding: 30px; height: 100%; font-size: 14px; }
.card > :last-child { margin-bottom: 0; }
details { margin-bottom: 20px; }
summary { cursor: pointer; padding: 12px 30px; font: 400 18px/26px var(--title); text-transform: uppercase; color: #fff; background: rgba(13, 91, 151, .9); border: 1px solid var(--blue); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 8px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(-135deg); transition: transform .2s; flex: none; margin-top: 4px; }
details[open] summary::after { transform: rotate(45deg); margin-top: -4px; }
details > :not(summary) { padding: 0 30px; }
details > summary + * { padding-top: 22px; }
/* niz poveznica u stupcu (certifikati na stranici Kvaliteta) prikazuje se kao gumbi */
.col > a { display: block; border: 2px solid var(--green); border-radius: 50px; padding: 15px 30px 15px 55px; margin: 0 0 22px; font: 700 14px/18px var(--body); letter-spacing: .03em; text-transform: uppercase; color: var(--blue); transition: background .3s, color .3s; }
.col > a:hover { background: var(--green); color: #fff; text-decoration: none; }

.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 30px; padding-bottom: 80px; }
.post-row { display: flex; border: 1px solid var(--line); margin-bottom: 30px; }
.post-row .thumb { position: relative; width: 350px; flex: none; margin: -1px 0 -1px -1px; background: var(--soft); min-height: 220px; }
.post-row .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.date { width: 75px; height: 75px; background: var(--green); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; font-family: var(--body); }
.date .day { font-size: 24px; font-weight: 700; line-height: 22px; text-shadow: 0 0 1px rgba(0,0,0,.25); }
.date .month { font-size: 16px; line-height: 22px; text-transform: capitalize; }
.post-row .date { position: absolute; top: 0; right: 0; }
.post-row .body { padding: 26px 30px 6px; min-width: 0; }
.post-row h2 { font-size: 18px; line-height: 24px; font-weight: 400; margin: 0 0 8px; }
.post-row h2 a { color: var(--blue); }
.post-row h2 a:hover { color: var(--green-text); text-decoration: none; }
.cat { font-size: 13px; margin-bottom: 18px; }
.post-row p:last-child { line-height: 24px; }
.no-results { padding: 20px 0; }
[hidden] { display: none !important; }

.sidebar .search { position: relative; margin-bottom: 50px; }
.sidebar .search input { padding-right: 44px; }
.sidebar .search button { position: absolute; right: 0; top: 0; width: 40px; height: 38px; border: 0; background: none; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sidebar .search button svg { width: 18px; height: 18px; }
.widget { margin-bottom: 50px; }
.widget h2 { font-size: 24px; line-height: 30px; margin: 0 0 26px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget.boxed { border: 3px solid var(--green); padding: 70px 30px 22px; }
.widget.boxed li { position: relative; padding-left: 20px; margin-bottom: 14px; text-transform: uppercase; font: 700 16px/20px var(--title); }
.widget.boxed li::before { content: "›"; position: absolute; left: 2px; top: -1px; color: var(--text); font-weight: 400; }
.widget.boxed a { color: var(--blue); }
.recent li { margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.recent li:last-child { border: 0; margin: 0; padding: 0; }
.recent a { display: flex; gap: 15px; color: var(--blue); font: 700 16px/20px var(--title); text-transform: uppercase; }
.recent a:hover { color: var(--green-text); text-decoration: none; }
.recent img, .recent .ph { width: 65px; height: 65px; object-fit: cover; flex: none; background: var(--soft); }
.recent small { display: block; color: #767676; font: 400 11px/14px var(--body); margin: 3px 0 3px; }

.post-body .h2 { margin-bottom: 30px; }
.post-meta { display: flex; gap: 20px; margin: 0 0 50px; }
.post-meta > div { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 48px; padding: 0 20px; border: solid var(--line); border-width: 1px 0; font-size: 13px; }
.post-meta b { color: var(--green-text); font-weight: 400; }
.lead-img { width: 100%; margin-bottom: 30px; }
.post-body img { margin-bottom: 26px; }

/* ---------- karta ureda ---------- */
.omap { position: relative; background: #dfe9ec; }
.omap-in { position: relative; aspect-ratio: 2560 / 1360; }
.omap-in > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.pin { position: absolute; width: 0; height: 0; }
.pin .dot { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); color: #fff; font: 700 11px/20px var(--body); text-align: center; text-decoration: none; transition: transform .2s; }
.pin.partner .dot { background: #0db843; }
.pin .dot:hover, .pin.open .dot, .pin:target .dot { transform: scale(1.25); color: #fff; text-decoration: none; }
.pin .pop { display: none; position: absolute; z-index: 5; left: -140px; bottom: 24px; width: 280px; background: #fff; box-shadow: 0 6px 26px rgba(0,0,0,.28); padding: 18px 38px 6px 20px; font-size: 14px; line-height: 21px; max-height: 330px; overflow-y: auto; }
.pin.below .pop { bottom: auto; top: 24px; }
.pin.left .pop { left: auto; right: -30px; }
.pin.open, .pin:target { z-index: 6; }
.pin.open .pop, .pin:target .pop { display: block; }
.office { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.office:nth-last-child(2) { border: 0; padding-bottom: 0; }
.office strong { display: block; font: 600 16px/22px var(--title); text-transform: uppercase; color: var(--blue); }
.office span, .office a { display: block; overflow-wrap: anywhere; }
.office .route { font-size: 12px; color: var(--blue); margin-top: 4px; }
.pop .x { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--text); }
.pop .x svg { width: 16px; height: 16px; }
.omap-legend { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; padding: 10px 20px; font-size: 13px; line-height: 20px; background: var(--soft); }
.omap-legend span { display: inline-flex; align-items: center; gap: 8px; }
.omap-legend i { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; box-shadow: 0 0 0 1px #c8c8c8; }
.omap-legend .partner i { background: #0db843; }
.omap-legend small { margin-left: auto; font-size: 12px; }
.omap-legend small a { color: var(--text); text-decoration: underline; }

/* ---------- podnožje ---------- */
.site-footer { background: var(--blue); color: #fff; }
.site-footer .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 55px; padding-bottom: 30px; }
.flogo { width: 197px; height: auto; margin-bottom: 20px; }
.site-footer .about { text-align: justify; hyphens: auto; margin: 0; }
.site-footer h2 { color: rgba(255,255,255,.8); font: 600 13px/20px var(--title); letter-spacing: .06em; margin: 22px 0 40px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer .links li { position: relative; padding-left: 20px; margin-bottom: 12px; }
.site-footer .links li::before { content: "›"; position: absolute; left: 0; top: -2px; color: rgba(255,255,255,.6); }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .contact li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; font-size: 13px; line-height: 20px; color: rgba(255,255,255,.85); }
.site-footer .contact svg { width: 18px; height: 18px; color: rgba(255,255,255,.7); margin-top: 1px; }
.eu { padding-bottom: 36px; }
.eu a { display: inline-block; background: #fff; padding: 12px 16px; }
.eu img { width: 360px; max-width: 100%; height: auto; }
.copy { border-top: 1px solid rgba(255,255,255,.25); padding: 26px 0 30px; font-size: 13px; line-height: 15px; text-align: right; color: rgba(255,255,255,.85); }

/* ---------- responzivno ---------- */
@media (max-width: 1199px) {
  #nav > ul > li > a { padding: 0 10px; }
  .logo img { width: 170px; }
  .slide-box { padding: 34px 40px 38px; width: 480px; }
  .slide-title { font-size: 34px; line-height: 38px; }
  .special .wrap { grid-template-columns: 1fr; padding: 0; }
  .feat-col { padding: 60px 15px 50px; max-width: 720px; margin: 0 auto; width: 100%; }
  .quote { padding: 60px max(15px, calc((100% - 690px) / 2)) 50px; }
  .reach h2 { font-size: 30px; line-height: 36px; }
}
@media (max-width: 1023px) {
  :root { --head: 70px; }
  .menu-toggle { display: block; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
  .menu-toggle span:first-child, .menu-toggle span:first-child::before, .menu-toggle span:first-child::after { position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; content: ""; transition: .2s; }
  .menu-toggle span:first-child { top: 21px; }
  .menu-toggle span:first-child::before { left: 0; top: -7px; }
  .menu-toggle span:first-child::after { left: 0; top: 7px; }
  .menu-toggle[aria-expanded="true"] span:first-child { background: transparent; }
  .menu-toggle[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }
  #nav { position: fixed; inset: var(--head) 0 0 0; background: var(--blue-dark); overflow-y: auto; visibility: hidden; transform: translateX(100%); transition: transform .25s, visibility .25s; }
  #nav.open { transform: none; visibility: visible; }
  #nav > ul { flex-direction: column; padding: 8px 20px 40px; }
  #nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; }
  #nav > ul > li > a { height: auto; padding: 16px 0; flex: 1; font-size: 17px; }
  #nav > ul > li > a::after { display: none; }
  .sub-toggle { display: block; background: none; border: 0; width: 52px; color: #fff; cursor: pointer; }
  .sub-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  #nav .sub { position: static; opacity: 1; visibility: visible; box-shadow: none; background: none; padding: 0 0 10px; width: 100%; display: none; }
  #nav .sub.open { display: block; }
  #nav .sub a { color: rgba(255,255,255,.9); padding: 9px 14px; font-size: 16px; }
  #nav .sub a:hover, #nav .sub a[aria-current] { background: rgba(255,255,255,.08); color: #fff; }
  .hero { height: 500px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .counters .wrap { grid-template-columns: repeat(2, 1fr); }
  .with-aside { grid-template-columns: 1fr; }
  .sidebar { max-width: 520px; }
  .post-row .thumb { width: 260px; }
  .crumbs { padding-bottom: 44px; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .site-footer .grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  h1, .h1 { font-size: 32px; line-height: 38px; }
  h2, .h2 { font-size: 27px; line-height: 33px; margin-bottom: 22px; }
  .logo img { width: 150px; }
  .hero { height: 440px; }
  .slide { background-image: var(--img-sm, var(--img)); }
  .slide .wrap { align-items: flex-end; padding-bottom: 24px; }
  .slide-box { width: 100%; margin: 0; padding: 24px 22px 26px; }
  .slide-box::before { margin-bottom: 16px; }
  .slide-title { font-size: 26px; line-height: 30px; margin-bottom: 12px; }
  .slide-box p { font-size: 16px; line-height: 24px; }
  .hero-nav .wrap { grid-template-columns: repeat(2, 1fr); }
  .hero-nav button { padding: 14px 6px 11px; font-size: 16px; }
  .intro { padding: 44px 0 14px; }
  .counters .wrap { gap: 26px 16px; }
  .counter { gap: 14px; }
  .counter svg { width: 44px; height: 46px; }
  .counter strong { font-size: 32px; margin: 4px 0 6px; }
  .cards { grid-template-columns: 1fr; }
  .service .txt { padding: 30px 24px 22px; }
  .feat-grid { grid-template-columns: 1fr; gap: 26px; }
  .quote .fields, .contact-box .fields { grid-template-columns: 1fr; gap: 16px; }
  .quote .tall { grid-row: auto; }
  .contact-box { padding: 22px 16px; margin-bottom: 44px; }
  .contact-box textarea { min-height: 140px; }
  .form-foot { flex-direction: column; align-items: flex-start; }
  .reach { padding: 40px 15px; }
  .reach h2 { font-size: 24px; line-height: 30px; }
  .page-title .wrap { min-height: 120px; }
  .crumbs { padding: 20px 0 30px; }
  .col { grid-column: span 12; margin-bottom: 26px; }
  .row { margin-bottom: 14px; }
  .col > .row > .col { margin-bottom: 18px; }
  .post-row { flex-direction: column; }
  .post-row .thumb { width: auto; margin: -1px -1px 0; aspect-ratio: 16/10; min-height: 0; }
  .post-row .body { padding: 22px 20px 0; }
  .post-meta > div { gap: 2px 24px; padding: 8px 0; }
  .with-aside { padding-bottom: 50px; }
  .omap-scroll { overflow-x: auto; }
  .omap-in { width: 920px; }
  .site-footer .grid { grid-template-columns: 1fr; padding-top: 40px; }
  .site-footer h2 { margin: 0 0 18px; }
  .copy { text-align: center; }
  summary { padding: 12px 18px; font-size: 16px; }
  details > :not(summary) { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .hero-nav, .sidebar .search, .omap, .menu-toggle { display: none !important; }
  .site-footer, .page-title { background: none !important; color: #000; }
  .page-title .h1 { color: #000; text-shadow: none; }
}
