/*
Theme Name: Oxyair Plus
Theme URI: https://oxyairplus.com
Author: Oxyair Plus
Description: One-page business theme for Oxyair Plus — medical supplies, bedding, clothing and IT services from Pakistan and the UK. Includes a quote request form that saves every enquiry in the dashboard and emails it to you.
Version: 1.3.2
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: oxyair
*/

:root {
  --navy: #34454E;
  --navy-deep: #232F35;
  --ink: #1F2A30;
  --slate: #56666F;
  --mist: #E7ECEE;
  --paper: #F7F8F8;
  --teal: #C94A22;
  --teal-light: #F79A7B;
  --amber: #F16A43;
  --white: #FFFFFF;
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--white); padding: .6rem 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.4rem; border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--amber); color: var(--navy-deep); }
.btn-primary:hover { background: #F48563; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--teal); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--mist); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 38px; height: 38px; }
.brand-logo { display: block; height: 58px; width: auto; }
.site-footer .brand-logo { height: 60px; }
@media (max-width: 600px) { .brand-logo { height: 44px; } }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--teal); }
.nav .btn { padding: .6rem 1.1rem; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy); }

/* Hero */
.hero { background: var(--navy); color: #D9E1E5; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; padding-block: 5.5rem 5rem; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lead { font-size: 1.2rem; max-width: 46ch; color: #CAD4D9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-offices { margin-top: 2.4rem; display: flex; gap: 2rem; font-size: .95rem; color: #A3B2B9; }
.hero-offices strong { display: block; color: var(--white); font-family: var(--display); font-weight: 600; }

.manifest { background: var(--white); color: var(--ink); border-radius: 10px; padding: 1.6rem 1.6rem 1.2rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.route { margin: -.4rem 0 1rem; }
.route .path { stroke-dasharray: 6 7; animation: dash 1.6s ease-out both; }
.route .node-label { font-family: var(--body); font-size: 12px; fill: var(--slate); }
.route .node-name { font-family: var(--display); font-weight: 700; font-size: 14px; fill: var(--navy); }
@keyframes dash { from { stroke-dashoffset: 400; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
.manifest h2 { font-size: 1.05rem; margin: 0 0 .6rem; color: var(--slate); font-weight: 600; letter-spacing: 0; }
.manifest table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.manifest td { padding: .7rem 0; border-top: 1px solid var(--mist); vertical-align: middle; }
.manifest td:last-child { text-align: right; }
.manifest-count { color: var(--slate); font-size: .9rem; white-space: nowrap; }
.manifest a { color: var(--navy); font-weight: 600; text-decoration: none; }
.manifest a:hover { color: var(--teal); }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: .2rem .55rem; border-radius: 4px; white-space: nowrap; }
.tag-made { background: #E3EAEE; color: #34454E; }
.tag-traded { background: #FDE6DD; color: #9A3412; }
.tag-both { background: var(--mist); color: var(--navy); }

/* Sections */
.section { padding-block: 6rem; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { color: var(--slate); font-size: 1.12rem; }

/* Divisions */
.divisions { background: var(--paper); }
.division { display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: 2.5rem; padding-block: 2.6rem; border-top: 2px solid var(--navy); }
.division:last-child { border-bottom: 2px solid var(--navy); }
.division-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--teal); border: 1px solid var(--mist); }
.division-icon svg { width: 36px; height: 36px; }
.division h3 { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
.division p { color: var(--slate); max-width: 52ch; }
.division ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.division li { padding: .45rem 0 .45rem 1.1rem; position: relative; break-inside: avoid; border-bottom: 1px dashed #CDD6DA; }
.division li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.quote-link { font-weight: 600; font-family: var(--display); text-decoration: none; display: inline-block; margin-top: .4rem; border-bottom: 2px solid var(--teal-light); }
.quote-link:hover { border-color: var(--teal); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: calc((100% - 6.4rem) / 5 - 24px); height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 15px); }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 700; margin-bottom: 1.1rem; position: relative;
  box-shadow: 0 0 0 6px var(--white);
}
.steps h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.steps p { color: var(--slate); font-size: .97rem; }

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.about-grid > div > p { color: var(--slate); font-size: 1.08rem; }
.promises { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.promises li { padding-left: 2.1rem; position: relative; }
.promises li::before { content: ""; position: absolute; left: 0; top: .25rem; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.promises strong { display: block; font-family: var(--display); color: var(--navy); }
.promises span { color: var(--slate); font-size: .98rem; }
.offices { display: grid; gap: 1.2rem; }
.office { background: var(--white); border-left: 5px solid var(--teal); padding: 1.6rem 1.8rem; border-radius: 0 8px 8px 0; }
.office.pk { border-left-color: var(--amber); }
.office h3 { margin-bottom: .2rem; }
.office .role { color: var(--slate); margin-bottom: 1rem; }
.office address { font-style: normal; line-height: 1.7; }
.office a { color: var(--navy); font-weight: 600; }

/* Quote */
.quote { background: var(--navy); color: #CAD4D9; }
.quote h2 { color: var(--white); }
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; }
.quote-contact { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.quote-contact span { display: block; font-size: .9rem; color: #97A7AF; }
.quote-contact a { color: var(--white); font-weight: 600; text-decoration: none; font-size: 1.08rem; }
.quote-contact a:hover { color: var(--teal-light); }
.form-card { background: var(--white); color: var(--ink); border-radius: 10px; padding: 2.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; color: var(--navy); }
.field label small { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1.5px solid #CDD6DA; border-radius: 6px; background: var(--white); color: var(--ink); width: 100%;
}
.field input, .field select { height: 52px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(241,106,67,.2); outline-offset: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form-foot p { margin: 0; font-size: .9rem; color: var(--slate); max-width: 34ch; }
.notice { padding: 1rem 1.2rem; border-radius: 6px; margin-bottom: 1.4rem; font-weight: 500; }
.notice-ok { background: #DDF2EE; color: #0F5A50; }
.notice-err { background: #FBE3E1; color: #8A1F14; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #97A7AF; padding-block: 3rem; font-size: .95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; }
.site-footer .brand { color: var(--white); }
.site-footer nav a { color: #CAD4D9; text-decoration: none; margin-left: 1.4rem; }
.site-footer nav a:hover { color: var(--white); }

/* Inner pages */
.page-body { padding-block: 4rem 6rem; }
.page-body .entry { max-width: 72ch; }

/* ---------- Menu dropdown ---------- */
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.nav .sub { display: none; position: absolute; top: 100%; left: -1rem; min-width: 250px; background: var(--white); border: 1px solid var(--mist); border-radius: 8px; padding: .5rem; flex-direction: column; gap: 0; box-shadow: 0 18px 40px -20px rgba(35,47,53,.35); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav .sub { margin-top: 12px; }
.nav .sub a { display: block; padding: .55rem .8rem; border-radius: 5px; }
.nav .sub a:hover { background: var(--paper); }
.nav .sub-all { border-top: 1px solid var(--mist); margin-top: .3rem; padding-top: .3rem; }

/* ---------- Inner page header ---------- */
.page-hero { background: var(--navy); color: #CAD4D9; padding-block: 3.2rem 4rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: .4em; }
.page-hero .lead { font-size: 1.15rem; max-width: 60ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: end; }
.page-hero-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--teal-light); display: grid; place-items: center; margin: 1.8rem 0 1.2rem; }
.page-hero-icon svg { width: 34px; height: 34px; }
.page-hero-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.6rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .92rem; color: #97A7AF; }
.crumbs a { color: #CAD4D9; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: var(--white); }
.page-hero > .wrap > .crumbs + h1 { margin-top: 1.6rem; }
.supplied-to { border-left: 2px solid var(--teal); padding-left: 1.6rem; }
.supplied-to h2 { font-size: 1rem; color: var(--teal-light); font-weight: 600; letter-spacing: 0; margin-bottom: .8rem; }
.supplied-to ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; color: var(--white); font-family: var(--display); font-weight: 500; font-size: 1.1rem; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.product-grid.three { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--mist); border-radius: 10px; overflow: hidden; background: var(--white); }
.product-card-media { display: block; }
.product-media { aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; border-radius: 0; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media.is-placeholder { display: grid; place-items: center; color: #A3B2B9; background: linear-gradient(135deg, #EEF2F3, #E2E8EB); }
.product-media.is-placeholder svg { width: 22%; height: auto; }
.product-card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.product-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .5rem; }
.product-card h3 { margin: 0; font-size: 1.25rem; }
.product-card h3 a { color: var(--navy); text-decoration: none; }
.product-card h3 a:hover { color: var(--teal); }
.product-card p { color: var(--slate); margin-bottom: 1rem; }
.product-card .quote-link { margin-top: auto; align-self: flex-start; }
.mini-specs { margin: 0 0 1.3rem; font-size: .92rem; }
.mini-specs div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; padding: .45rem 0; border-top: 1px dashed #CDD6DA; }
.mini-specs dt { color: var(--slate); }
.mini-specs dd { margin: 0; color: var(--ink); }
.product-grid:not(.three) .product-media { aspect-ratio: 16 / 9; }
.product-grid.three .product-card-body { padding: 1.3rem 1.3rem 1.5rem; }
.product-grid.three .mini-specs { display: none; }
.custom-note { margin: 3rem 0 0; padding: 1.3rem 1.5rem; background: var(--paper); border-radius: 8px; color: var(--slate); }
.custom-note a { font-weight: 600; }

/* ---------- Other categories strip ---------- */
.other-ranges { padding-block: 0 5rem; }
.other-ranges h2 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.other-ranges ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.other-ranges a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border: 2px solid var(--navy); border-radius: 8px; color: var(--navy); text-decoration: none; font-family: var(--display); font-weight: 600; }
.other-ranges a:hover { background: var(--navy); color: var(--white); }
.other-ranges svg { width: 30px; height: 30px; flex: none; }

/* ---------- All products page ---------- */
.range-block + .range-block { margin-top: 5rem; }
.range-head { display: grid; grid-template-columns: 72px 1fr auto; gap: 1.6rem; align-items: start; padding-top: 2rem; border-top: 2px solid var(--navy); margin-bottom: 2rem; }
.range-head h2 { font-size: 1.7rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.range-head h2 a { color: var(--navy); text-decoration: none; }
.range-head h2 a:hover { color: var(--teal); }
.range-head p { color: var(--slate); max-width: 64ch; margin: 0; }

/* ---------- Single product ---------- */
.product-hero { background: var(--paper); padding-block: 2.2rem 4.5rem; }
.product-hero .crumbs { color: var(--slate); }
.product-hero .crumbs a { color: var(--slate); }
.product-hero .crumbs a:hover { color: var(--teal); }
.product-hero .crumbs [aria-current] { color: var(--navy); }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2rem; align-items: start; }
.product-hero-grid .product-media { border-radius: 10px; }
.product-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: .8rem; }
.product-hero .lead { font-size: 1.15rem; color: var(--slate); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1.6rem; }
.spec-table th, .spec-table td { text-align: left; padding: .8rem 0; border-top: 1px solid #D6DEE2; vertical-align: top; }
.spec-table th { width: 40%; font-weight: 500; color: var(--slate); padding-right: 1rem; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 1px solid #D6DEE2; }
.spec-table .moq th, .spec-table .moq td { color: var(--navy); font-weight: 700; font-family: var(--display); }
.product-desc .entry { max-width: 68ch; color: var(--ink); font-size: 1.1rem; }
.product-desc + .related { padding-top: 0; }
.related h2 { font-size: 1.6rem; margin-bottom: 1.6rem; }

/* ---------- Homepage additions ---------- */
.division li a { color: var(--ink); text-decoration: none; }
.division li a:hover { color: var(--teal); text-decoration: underline; }
.division-links { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 1rem; }
.division-links .btn { padding: .65rem 1.1rem; font-size: .95rem; }
.division-links .quote-link { margin-top: 0; }
.form-product { background: var(--paper); border-radius: 6px; padding: .8rem 1rem; margin: 0 0 1.2rem; color: var(--slate); }
.form-product strong { color: var(--navy); }

@media (max-width: 980px) {
  .page-hero-grid, .product-hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .product-grid.three { grid-template-columns: repeat(2, 1fr); }
  .other-ranges ul { grid-template-columns: 1fr; }
  .range-head { grid-template-columns: 72px 1fr; }
  .range-head .btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 820px) {
  .nav .sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; margin: 0; min-width: 0; }
  .nav .has-sub > a::after { display: none; }
  .nav .sub-all { border: 0; margin: 0; padding: 0; }
}
@media (max-width: 680px) {
  .product-grid, .product-grid.three { grid-template-columns: 1fr; }
  .range-head { grid-template-columns: 1fr; }
  .range-head .btn { grid-column: auto; }
  .mini-specs div { grid-template-columns: 6.5rem 1fr; }
}

/* ---------- About page ---------- */
.page-hero .wrap > .crumbs + h1 { max-width: 20ch; }
.story-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 5rem; align-items: start; }
.about-story .entry { font-size: 1.12rem; }
.about-story .entry p { max-width: 64ch; }
.glance { background: var(--paper); border-radius: 10px; padding: 1.8rem 2rem; }
.glance h2 { font-size: 1.2rem; }
.glance dl { margin: 0; }
.glance dl > div { padding: .85rem 0; border-top: 1px solid #D6DEE2; }
.glance dt { font-size: .9rem; color: var(--slate); }
.glance dd { margin: .15rem 0 0; font-family: var(--display); font-weight: 600; color: var(--navy); }
.glance dd a { display: block; color: var(--navy); text-decoration: none; padding: .1rem 0; }
.glance dd a:hover { color: var(--teal); }
.about-offices { background: var(--navy); color: #CAD4D9; }
.about-offices h2 { color: var(--white); }
.about-offices .section-head p { color: #CAD4D9; }
.office-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.office-full { background: var(--white); color: var(--ink); border-radius: 10px; padding: 2rem 2.2rem; border-top: 6px solid var(--teal); }
.office-full.pk { border-top-color: var(--amber); }
.office-city { font-family: var(--display); font-weight: 600; color: var(--slate); margin: 0 0 .2rem; }
.office-full h3 { font-size: 1.6rem; }
.duties { list-style: none; margin: 1rem 0 1.4rem; padding: 0; }
.duties li { padding: .5rem 0 .5rem 1.1rem; border-bottom: 1px dashed #CDD6DA; position: relative; }
.duties li::before { content: ""; position: absolute; left: 0; top: 1.1rem; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.office-full.pk .duties li::before { background: var(--amber); }
.office-full address, .office address { font-style: normal; line-height: 1.7; }
.office-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1rem 0 0; }
.office-links a { color: var(--navy); font-weight: 600; }
.office-links a + a { color: var(--teal); }
.office-email { margin: 2rem 0 0; }
.office-email a { color: var(--white); font-weight: 600; }
.quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.quality-grid > div { border-top: 2px solid var(--navy); padding-top: 1.3rem; }
.quality-grid p { color: var(--slate); }
.about-more { margin: 2rem 0 0; }
@media (max-width: 980px) {
  .story-grid, .office-pair { grid-template-columns: 1fr; gap: 2rem; }
  .quality-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 600px) { .office-full { padding: 1.6rem; } }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .about-grid, .quote-grid { grid-template-columns: 1fr; gap: 3rem; }
  .division { grid-template-columns: 72px 1fr; }
  .division > div:last-child { grid-column: 2; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--teal) 0 8px, transparent 8px 15px); }
  .steps li { padding-left: 4.2rem; }
  .steps li::before { position: absolute; left: 0; top: 0; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--mist); gap: 1rem; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav ul a { display: block; padding: .6rem 0; }
}
@media (max-width: 600px) {
  .section { padding-block: 4.2rem; }
  .hero .wrap { padding-block: 3.5rem; }
  .division { grid-template-columns: 1fr; gap: 1.2rem; }
  .division > div:last-child { grid-column: auto; }
  .division ul { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
  .site-footer nav a { margin: 0 1.2rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route .path { animation: none; }
}
