/* ==========================================================
   Pharmacy Ontario Limited – site styles
   Brand colours (from the supplied business document):
   blue #0150cb · green #028126 · mint #f8fffa
   ========================================================== */

:root {
  --blue: #0150cb;
  --blue-dark: #0a2f7a;
  --navy: #0a2559;
  --green: #028126;
  --green-dark: #01611c;
  --mint: #f8fffa;
  --blue-50: #eef4ff;
  --green-50: #e8f6ed;
  --ink: #14213d;
  --muted: #4f5d75;
  --line: #dbe5f1;
  --white: #fff;
  --danger: #b3261e;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 89, .06);
  --shadow: 0 12px 32px rgba(10, 37, 89, .10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 89, .16);
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid #f5a524; outline-offset: 3px; border-radius: 6px; }

/* ---------- Icons ---------- */
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; display: inline-grid; place-items: center; flex: none;
  background: var(--blue-50); color: var(--blue);
}
.icon-wrap .i { width: 26px; height: 26px; }
.icon-green { background: var(--green-50); color: var(--green); }
.icon-blue { background: var(--blue-50); color: var(--blue); }
.icon-white { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .95em 1.7em; font-size: 1rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(1,80,203,.28); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(2,129,38,.28); }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-whatsapp { background: #fff; color: var(--green); border-color: var(--green); }
.btn-whatsapp:hover { background: var(--green); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { width: 100px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: .5em .85em; border-radius: 999px; color: var(--ink);
  font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .2s, color .2s;
}
.main-nav a:not(.btn):hover, .main-nav a.is-current { background: var(--blue-50); color: var(--blue); }
.nav-cta-mobile { display: none; }
.header-cta { flex: none; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0; margin-left: auto; position: relative;
}
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s, top .25s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(1,80,203,.12), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(2,129,38,.12), transparent 60%),
    var(--mint);
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
}
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; color: var(--blue-dark); margin-bottom: .45em; }
.hero h1 span { color: var(--green); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 28px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: .5em 1em; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.trust-chips .i { color: var(--green); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-visual::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 28px;
  background: linear-gradient(145deg, var(--blue), var(--green)); opacity: .9; z-index: 0;
}
.hero-photo { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--blue-50); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-badge {
  position: absolute; z-index: 2; left: -18px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--shadow); max-width: 290px;
}
.hero-badge-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.hero-badge strong { display: block; font-size: .88rem; color: var(--navy); line-height: 1.25; }
.hero-badge small { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--mint); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.subhead { text-align: center; font-size: 1.35rem; margin: clamp(40px, 5vw, 64px) 0 24px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-copy p { color: var(--muted); }
.vm-stack { display: grid; gap: 18px; }
.vm-card { padding: 28px; border-radius: var(--radius); color: #fff; box-shadow: var(--shadow); }
.vm-card h3 { color: #fff; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5em; opacity: .95; }
.vm-card p { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.5; }
.vm-vision { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.vm-mission { background: linear-gradient(135deg, var(--green), var(--green-dark)); }

.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.values li { padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.values li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.values h4 { font-size: 1.05rem; margin: 14px 0 .4em; }
.values p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Cards (services) */
.cards { display: grid; gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .icon-wrap { margin-bottom: 18px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; }

/* Products */
.products-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.products-photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; max-width: 460px; justify-self: center; width: 100%; }
.products-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.products-copy > p { color: var(--muted); }
.category-list { display: grid; gap: 16px; margin: 24px 0; }
.category-list li { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.category-list h3 { font-size: 1.1rem; margin-bottom: .25em; }
.category-list p { margin: 0; color: var(--muted); font-size: .95rem; }
.note { color: var(--muted); font-size: .95rem; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: stretch; }
.hours-card {
  background: linear-gradient(150deg, var(--blue), var(--navy)); color: #fff; border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.hours-card h3 { color: #fff; margin: 16px 0 6px; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.hours-big { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; margin: 0; line-height: 1.1; }
.hours-sub { opacity: .9; margin: 4px 0 20px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table th, .hours-table td { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.18); text-align: left; font-weight: 500; }
.hours-table td { text-align: right; font-weight: 700; }
.hours-table tr:last-child td { color: #ffd9d6; }

.branches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.branch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, transform .2s; }
.branch:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.branch-top { display: flex; align-items: center; gap: 14px; }
.branch-top h3 { margin: 0; font-size: 1.25rem; }
.branch-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); text-decoration: none; }
.branch-phone:hover { color: var(--blue); }
.branch-actions { display: flex; gap: 10px; margin-top: auto; }
.link-btn { flex: 1; text-align: center; padding: .6em 1em; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--blue); transition: background .2s, border-color .2s, color .2s; }
.link-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Leadership */
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.leader { display: flex; gap: 20px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: .04em; flex: none; }
.avatar-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.leader h3 { font-size: 1.2rem; margin-bottom: .2em; }
.role { color: var(--green); font-weight: 700; font-size: .88rem; margin-bottom: .8em; }
.leader p:last-child { color: var(--muted); margin: 0; font-size: .95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 26vw, 320px); gap: 16px; }
.g-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--blue-50); }
.g-tall { grid-row: span 2; }
.g-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-btn .pos-top { object-position: 50% 22%; }
.g-btn .pos-mid { object-position: 50% 45%; }
.g-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,89,.35), transparent 45%); opacity: 0; transition: opacity .3s; }
.g-btn:hover img { transform: scale(1.05); }
.g-btn:hover::after, .g-btn:focus-visible::after { opacity: 1; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgba(6, 16, 38, .92); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 16px; }
.lb-figure { margin: 0; min-width: 0; display: grid; justify-items: center; gap: 12px; }
.lb-figure img { max-height: 82vh; width: auto; max-width: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); object-fit: contain; }
.lb-figure figcaption { font-size: .95rem; text-align: center; opacity: .92; }
.lb-close, .lb-nav { background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-close { position: absolute; top: 16px; right: 16px; z-index: 2; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { display: grid; gap: 18px; margin: 28px 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list span, .contact-list a { display: block; color: var(--muted); font-size: .95rem; }
.contact-list a { color: var(--blue); font-weight: 600; }
.contact-list span a { display: inline; }
.warn { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff8e6; border: 1px solid #f3dfa4; color: #5c4400; font-size: .9rem; margin: 0; }
.warn .i { margin-top: 2px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.req { color: var(--danger); }
.opt { font-weight: 500; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; padding: .8em 1em;
  border: 1.5px solid #c6d3e4; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 130px; }
input:hover, select:hover, textarea:hover { border-color: #9db3d1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1,80,203,.15); }
[aria-invalid="true"] { border-color: var(--danger); }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179,38,30,.15); }
.err { color: var(--danger); font-size: .84rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-status { margin-top: 18px; border-radius: 12px; font-weight: 600; }
.form-status:not(:empty) { padding: 14px 16px; }
.form-status.is-success { background: var(--green-50); color: var(--green-dark); border: 1px solid #b9e3c7; }
.form-status.is-error { background: #fdecea; color: var(--danger); border: 1px solid #f5c2be; }
.form-status.is-info { background: var(--blue-50); color: var(--blue-dark); border: 1px solid #c4d7f7; }
.form-status a { color: inherit; }

/* Map */
.map-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.map-tab { padding: .6em 1.2em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 .9rem var(--font); color: var(--navy); cursor: pointer; transition: all .2s; }
.map-tab:hover { border-color: var(--blue); color: var(--blue); }
.map-tab.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.map-frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--blue-50); aspect-ratio: 16 / 7; min-height: 340px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* Footer */
.site-footer { background: var(--navy); color: #d6e0f2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr; gap: 40px; padding: 64px 0 44px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 14px; margin-bottom: 16px; }
.footer-logo img { width: 130px; height: auto; }
.footer-brand p { max-width: 38ch; font-size: .95rem; }
.footer-title { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer a { color: #d6e0f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin-bottom: 8px; font-size: .95rem; }
.social { display: flex; gap: 10px; }
.social li { margin: 0; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .2s, transform .2s; }
.social a:hover { background: var(--green); transform: translateY(-2px); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .88rem; }
.footer-bottom p { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.tagline { color: #8fd3a5; font-weight: 600; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .header-cta { display: none; }
  .main-nav { margin-left: auto; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 22px; display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a:not(.btn) { padding: .9em 1em; font-size: 1rem; }
  .nav-cta-mobile { display: flex; margin-top: 14px; }
  .hero-grid, .about-grid, .products-grid, .contact-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(100%, 380px); margin-bottom: 20px; }
  .hero-badge { left: 8px; }
  .hero-copy { text-align: left; }
  .products-photo { max-width: 380px; }
  .leaders { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .map-frame { aspect-ratio: auto; height: 380px; min-height: 0; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; gap: 12px; }
  .g-tall { grid-row: span 2; }
  .values { grid-template-columns: 1fr 1fr; }
  .values li:last-child { grid-column: 1 / -1; }
  .branches { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .leader { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 48px; }
  .form-actions .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .lightbox[open] { grid-template-columns: 1fr; grid-template-rows: 1fr; padding: 12px; }
  .lb-nav { position: absolute; bottom: 20px; z-index: 2; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-figure img { max-height: 70vh; }
}

@media (max-width: 420px) {
  .values { grid-template-columns: 1fr; }
  .values li:last-child { grid-column: auto; }
  .brand img { width: 92px; }
}

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

@media print {
  .site-header, .menu-toggle, .map-section, .lightbox, .form-card { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Thank-you and 404 pages */
.message-page { min-height: 100vh; display: grid; place-items: center; background: var(--mint); text-align: center; }
.message-box { max-width: 560px; }
.message-logo { width: 150px; height: auto; margin: 0 auto 24px; }
.message-box h1 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--blue-dark); }
.message-box .btn { margin-top: 12px; }

/* ---- Update: why-us, services grid, catalogue, partnerships, FAQ ---- */
[hidden] { display: none !important; }
.why-title { font-size: 1.1rem; margin: 26px 0 12px; }
.why-list { display: flex; flex-wrap: wrap; gap: 10px; }
.why-list li { display: inline-flex; align-items: center; gap: 8px; padding: .45em 1em; border-radius: 999px; background: var(--green-50); color: var(--green-dark); font-weight: 600; font-size: .9rem; }
.cards-6 { grid-template-columns: repeat(3, 1fr); }
.eyebrow-light { color: #8fd3a5; }

.category-list { grid-template-columns: 1fr 1fr; }
.category-list li { align-items: center; padding: 14px 16px; gap: 12px; }
.category-list .icon-wrap { width: 44px; height: 44px; }
.category-list .icon-wrap .i { width: 22px; height: 22px; }
.category-list h3 { font-size: .95rem; margin: 0; }
.catalog { margin-top: clamp(40px, 6vw, 72px); }
.catalog .subhead { margin-top: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 14px; }
.filter-btn { padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 .88rem var(--font); color: var(--navy); cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.p-count { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-btn { display: block; width: 100%; padding: 0; border: 0; background: var(--blue-50); cursor: zoom-in; aspect-ratio: 3 / 4; overflow: hidden; }
.p-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-card:hover .p-btn img { transform: scale(1.04); }
.p-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-body h3 { font-size: .98rem; margin: 0; line-height: 1.3; }
.p-body p { color: var(--muted); font-size: .82rem; margin: 0 0 8px; line-height: 1.45; }
.p-body .link-btn { margin-top: auto; flex: none; font-size: .85rem; }
.catalog-note { text-align: center; margin-top: 28px; }

.partner-card { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(24px, 5vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; color: #e3ebfa; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: var(--shadow-lg); }
.partner-card h2 { color: #fff; }
.partner-card p { color: #d6e0f2; }
.partner-cta { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 26px; }
.partner-cta h3 { color: #fff; font-size: 1.2rem; }

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); transition: transform .2s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

@media (max-width: 960px) {
  .cards-6 { grid-template-columns: repeat(2, 1fr); }
  .partner-card { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .cards-6 { grid-template-columns: 1fr; }
  .category-list { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-body { padding: 10px 10px 12px; }
  .p-body h3 { font-size: .88rem; }
  .p-body p { font-size: .76rem; }
  .filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .filter-btn { flex: none; }
}
@media print { .filters { display: none; } }
