/* Al-Bashash Bureau De Change
   Brand: red #EE2B32, slate #4B5556. Red text/buttons use a darker red for contrast. */

:root {
  --ink: #1b2527;
  --ink-2: #263234;
  --slate: #4b5556;
  --muted: #5d696a;
  --line: #d9dfdf;
  --mist: #f1f4f4;
  --paper: #ffffff;
  --red: #ee2b32;
  --red-ink: #d51f28;
  --red-deep: #b3161e;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --serif: "Source Serif 4", "Georgia", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.012em; }
p { margin: 0; }
dl, dd, ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums lining-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 4px; border: 1.5px solid transparent;
  font: 600 0.95rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s;
}
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-red { background: var(--red-ink); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--slate); }

/* Utility bar */
.utility { background: var(--ink); color: #c9d2d2; font-size: 0.8rem; }
.utility-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility-links { display: flex; align-items: center; gap: 22px; }
.utility a { text-decoration: none; }
.utility a:hover { color: #fff; }
.socials { display: flex; gap: 6px; }
.socials a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.socials a:hover { background: rgba(255,255,255,.12); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.socials svg.stroke { fill: none; stroke: currentColor; stroke-width: 1.8; }
.socials svg .dot { fill: currentColor; stroke: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { text-decoration: none; padding: 8px 14px; font-weight: 500; font-size: 0.95rem; color: var(--slate); border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a.on { color: var(--ink); border-bottom-color: var(--red); }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .2s, top .2s; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.drawer { border-top: 1px solid var(--line); background: #fff; padding: 8px var(--gutter) 20px; }
.drawer a { display: block; padding: 14px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer a:last-child { border: 0; color: var(--red-ink); }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; min-height: 600px; padding-bottom: 72px; display: flex; align-items: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; width: 56%; padding: 72px 24px 56px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.75rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; max-width: 14em; }
.lede { margin-top: 24px; font-size: 1.125rem; line-height: 1.65; color: #c9d4d4; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-licence { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); font-size: 0.85rem; color: #9fb0b0; max-width: 34em; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 24%, #000 58%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 24%, #000 58%); }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.slide:nth-child(1) { object-position: 76% 38%; }
.slide:nth-child(2) { object-position: 60% 40%; }
.slide:nth-child(3) { object-position: 55% 30%; }
.slide.on { opacity: 1; }
.pager { position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 92px; display: flex; gap: 6px; }
.pager button { position: relative; width: 44px; height: 24px; border: 0; background: none; cursor: pointer; padding: 0; }
.pager button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: rgba(255,255,255,.4); }
.pager button::after { content: ""; position: absolute; left: 0; top: 10px; height: 3px; width: 0; background: #fff; }
.pager button[aria-current="true"]::after { width: 100%; animation: fill var(--slide-ms, 6500ms) linear; }
.pager.paused button[aria-current="true"]::after { animation: none; }
@keyframes fill { from { width: 0; } }

/* Hero entrance: one sequence, once */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .lede, .hero-actions, .hero-licence { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .lede { animation-delay: .08s; }
  .hero-actions { animation-delay: .16s; }
  .hero-licence { animation-delay: .24s; }
  .slide.on { animation: drift 8s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes drift { from { transform: scale(1.07); } }
  @keyframes settle { from { transform: scale(1.05); } }
}

/* Converter bar */
.calc-wrap { position: relative; z-index: 5; margin-top: -72px; }
.calc {
  display: grid; grid-template-columns: 1fr 1.3fr .8fr 1.75fr 1.4fr;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 24px 48px -24px rgba(27,37,39,.35);
}
.calc > .field { padding: 20px 20px 18px; border-right: 1px solid var(--line); min-width: 0; }
.calc-result { background: var(--red-ink); color: #fff; padding: 18px 24px; border-radius: 0 5px 5px 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.calc-result strong { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.1; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.calc-small { font-size: 0.8rem; opacity: .85; }
.calc-note { margin-top: 12px; font-size: 0.82rem; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field .label { font-size: 0.82rem; font-weight: 600; color: var(--slate); }
select, input[type="number"], input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: 500 1rem/1.3 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 4px; padding: 11px 12px;
  transition: border-color .15s;
}
select { appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.200l4 4 4-4' fill='none' stroke='%234b5556' stroke-width='1.600'/%3E%3C/svg%3E") no-repeat right 11px center / 12px; }
select:hover, input:hover, textarea:hover { border-color: #aab5b5; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27,37,39,.12); }
input[type=number] { font-variant-numeric: tabular-nums; }

.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); border-radius: 4px; overflow: hidden; }
.seg button { font: 500 0.92rem/1.2 var(--sans); padding: 11px 6px; border: 0; background: #fff; color: var(--slate); cursor: pointer; }
.seg button + button { border-left: 1.5px solid var(--line); }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.seg button:focus-visible { outline-offset: -3px; }

.combo { position: relative; }
.combo-btn { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; font: 500 1rem/1.3 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 4px; padding: 11px 12px; cursor: pointer; }
.combo-btn:hover { border-color: #aab5b5; }
.combo-btn svg { width: 12px; height: 12px; flex: none; fill: none; stroke: var(--slate); stroke-width: 1.6; }
.combo-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 300px; overflow-y: auto; list-style: none; background: #fff; border: 1.5px solid var(--ink); border-radius: 4px; box-shadow: 0 18px 36px -12px rgba(27,37,39,.35); min-width: 260px; }
.combo-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer; font-size: 0.95rem; }
.combo-list li:hover, .combo-list li.active { background: var(--mist); }
.combo-list li[aria-selected="true"] { font-weight: 600; box-shadow: inset 3px 0 0 var(--red); }

.fi { flex: none; display: inline-block; width: 24px; height: 17px; border-radius: 2px; background-size: cover; background-position: center; background-repeat: no-repeat; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section.tint { background: var(--mist); }
.section-head { margin-bottom: 44px; max-width: 40rem; }
.section-head h2, .section > .wrap > div > h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
.section-head p { margin-top: 14px; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head.split > div { max-width: 36rem; }

/* Rates */
.tabs { display: flex; flex-wrap: wrap; border: 1.5px solid var(--line); border-radius: 4px; overflow: hidden; }
.tabs button { font: 500 0.92rem/1.2 var(--sans); padding: 11px 18px; border: 0; background: #fff; color: var(--slate); cursor: pointer; }
.tabs button + button { border-left: 1.5px solid var(--line); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs button:focus-visible { outline-offset: -3px; }
.rate-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
table { width: 100%; border-collapse: collapse; }
thead th { text-align: left; font-size: 0.82rem; font-weight: 600; color: var(--slate); padding: 0 0 12px; border-bottom: 2px solid var(--ink); }
thead th.num { text-align: right; }
tbody td { padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody td.num { font-weight: 600; font-size: 1.05rem; width: 24%; }
tbody tr:hover td { background: var(--mist); }
.cur { display: flex; align-items: center; gap: 12px; padding-left: 2px; }
.cur b { font-weight: 600; display: block; line-height: 1.25; }
.cur small { color: var(--muted); font-size: 0.82rem; }
.fine { margin-top: 24px; font-size: 0.85rem; color: var(--muted); max-width: 46rem; }
td.num span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) { td.num span.tick { animation: tick .35s ease; } @keyframes tick { from { opacity: 0; transform: translateY(-6px); } } }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.svc-grid article { padding: 26px 0 32px; border-top: 1px solid #c3cccc; }
.svc-grid article::before { content: ""; display: block; width: 36px; height: 3px; background: var(--red); margin: -27px 0 24px; }
.svc-grid h3 { font-size: 1.3rem; margin-bottom: 10px; }
.svc-grid p { color: var(--muted); max-width: 26em; }

.steps { margin-top: 56px; background: var(--ink); color: #fff; border-radius: 6px; padding: clamp(28px, 4vw, 48px); }
.steps h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 32px; }
.steps ol { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; position: relative; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 8px; position: relative; padding-top: 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 600 1rem var(--serif); z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 17px; left: 34px; right: -40px; height: 1.5px; background: rgba(255,255,255,.25); }
.steps li:last-child::after { display: none; }
.steps strong { font-size: 1.1rem; font-weight: 600; }
.steps span { color: #b8c5c5; font-size: 0.95rem; max-width: 24em; }

/* Branches */
.section.branches { padding: 0 0 clamp(64px, 8vw, 112px); }
.banner { position: relative; height: clamp(240px, 28vw, 340px); overflow: hidden; background: var(--ink); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,37,39,.78) 0%, rgba(27,37,39,.3) 55%, rgba(27,37,39,0) 100%); }
.banner-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 36px; color: #fff; }
.banner h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.banner p { margin-top: 8px; color: #d4dddd; }
.dir { display: grid; grid-template-columns: 340px 1fr; margin-top: 48px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.dir-list { display: flex; flex-direction: column; justify-content: flex-start; background: var(--mist); border-right: 1px solid var(--line); }
.dir-list button { text-align: left; font: inherit; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 18px 22px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; position: relative; }
.dir-list button:last-child { border-bottom: 0; }
.dir-list button b { font-weight: 600; }
.dir-list button small { grid-column: 1; color: var(--muted); font-size: 0.85rem; }
.dir-list button:hover { background: #e8ecec; }
.dir-list button[aria-selected="true"] { background: #fff; box-shadow: inset 4px 0 0 var(--red); }
.dir-list button:focus-visible { outline-offset: -3px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #aab5b5; grid-row: 1 / span 2; grid-column: 2; }
.dot.open { background: #1f8a4f; box-shadow: 0 0 0 4px rgba(31,138,79,.18); }
.dir-panels { background: #fff; }
.panel { padding: clamp(28px, 4vw, 48px); }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.status { margin-top: 10px; font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.status.open { color: #17703f; }
.panel dl { margin-top: 28px; }
.panel dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.panel dl > div:last-child { border-bottom: 1px solid var(--line); }
dt { font-weight: 600; font-size: 0.9rem; color: var(--slate); }
.panel dd a { text-decoration-color: #aab5b5; text-underline-offset: 3px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-main h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); margin-bottom: 24px; max-width: 14em; }
.about-main p { max-width: 38em; color: #2f3c3e; }
.about-main p + p { margin-top: 16px; }
.se-logo { width: 200px; height: auto; margin-top: 36px; }
.facts { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 0 0 6px 6px; padding: 8px 28px; }
.facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dd { margin-top: 2px; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 72px; }
.pillars article { border-top: 1px solid #c3cccc; padding-top: 22px; }
.pillars h3 { font-size: 1.35rem; margin-bottom: 12px; }
.pillars p, .pillars li { color: #2f3c3e; }
.pillars ul { list-style: none; display: grid; gap: 10px; }
.pillars li strong { font-weight: 600; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
.faq .muted { margin-top: 14px; }
.ask { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ask a:not(.btn) { font-weight: 500; text-underline-offset: 3px; }
.ask .btn { margin-top: 10px; }
.faq-list { border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
summary:hover { color: var(--red-ink); }
summary:focus-visible { outline-offset: -2px; }
details p { padding: 0 40px 22px 0; color: #2f3c3e; max-width: 40em; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
.contact .muted { margin-top: 14px; }
.ct-list { margin-top: 36px; border-top: 1px solid #c3cccc; }
.ct-list > div { padding: 16px 0; border-bottom: 1px solid #c3cccc; display: grid; grid-template-columns: 100px 1fr; gap: 12px; }
.ct-list a { text-underline-offset: 3px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; min-width: 170px; }
.form .btn:disabled { opacity: .65; cursor: wait; }
.form-msg { font-size: 0.92rem; font-weight: 500; min-height: 1.4em; }
.form-msg.ok { color: #17703f; }
.form-msg.err { color: var(--red-deep); }

/* Footer */
.site-footer { background: var(--ink); color: #b9c5c5; padding-top: 64px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot-brand p { margin-top: 18px; max-width: 22em; }
.chip { display: inline-block; background: #fff; border-radius: 6px; padding: 10px 16px; }
.chip img { height: 54px; width: auto; }
.foot h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.foot nav, .foot > div:last-child { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot a:not(.chip) { text-decoration: none; }
.foot a:not(.chip):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 0.82rem; }

/* Responsive */
@media (max-width: 1100px) {
  .calc { grid-template-columns: 1fr 1fr 1fr; }
  .calc > .field { border-bottom: 1px solid var(--line); }
  .calc > .field:nth-of-type(3) { border-right: 0; }
  .calc > .field:nth-of-type(4) { grid-column: span 2; border-bottom: 0; }
  .calc-result { grid-column: span 1; border-radius: 0 0 5px 0; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 80px; }
  .hero-media { order: -1; position: relative; width: 100%; height: 320px; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
  .hero-copy { width: 100%; padding: 8px var(--gutter) 44px; margin-top: -24px; }
  .pager { right: auto; left: var(--gutter); bottom: auto; top: 240px; }
  .rate-tables { grid-template-columns: 1fr; gap: 0; }
  .svc-grid, .pillars { grid-template-columns: 1fr 1fr; }
  .about, .faq, .contact { grid-template-columns: 1fr; }
  .dir { grid-template-columns: 1fr; }
  .dir-list { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; }
  .dir-list button { flex: 0 0 auto; min-width: 190px; border-bottom: 0; border-right: 1px solid var(--line); scroll-snap-align: start; }
  .dir-list button[aria-selected="true"] { box-shadow: inset 0 -4px 0 var(--red); }
  .steps ol { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding-top: 0; padding-left: 54px; }
  .steps li::after { top: 40px; bottom: -22px; left: 16.500px; right: auto; width: 1.5px; height: auto; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 680px) {
  .utility p { display: none; }
  .utility-in { justify-content: flex-end; }
  .utility-links a:nth-child(2) { display: none; }
  .calc { grid-template-columns: 1fr 1fr; }
  .calc > .field { grid-column: span 2; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .calc-result { grid-column: span 2; border-radius: 0 0 5px 5px; }
  .svc-grid, .pillars { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tabs button { flex: 1 1 auto; padding: 11px 8px; }
  .panel dl > div, .ct-list > div { grid-template-columns: 1fr; gap: 2px; }
  .foot { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Careers */
.nav a.on-page { color: var(--ink); border-bottom-color: var(--red); }
.page-hero { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: 0; bottom: 0; width: 46%; background: linear-gradient(90deg, rgba(238,43,50,0) 0%, rgba(238,43,50,.16) 100%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 14em; letter-spacing: -0.02em; }
.page-hero .lede { max-width: 36em; }
.career { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.career h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 8px; }
.jobs { margin-top: 28px; border-top: 2px solid var(--ink); }
.job { padding: 26px 0; border-bottom: 1px solid var(--line); }
.job h3 { font-size: 1.4rem; }
.job-meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.9rem; color: var(--muted); }
.job p { margin-top: 12px; max-width: 40em; color: #2f3c3e; }
.job ul { margin: 12px 0 0 1.1em; padding: 0; color: #2f3c3e; display: grid; gap: 4px; }
.job .btn { margin-top: 18px; }
.empty { margin-top: 28px; padding: 28px; border: 1.5px dashed #b9c3c3; border-radius: 6px; background: #fff; }
.empty strong { display: block; font-family: var(--serif); font-size: 1.25rem; margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 34em; }
.perks { margin-top: 48px; display: grid; gap: 0; }
.perks article { padding: 18px 0; border-top: 1px solid var(--line); }
.perks h3 { font-size: 1.15rem; margin-bottom: 4px; }
.perks p { color: var(--muted); max-width: 34em; }
.apply { position: sticky; top: calc(var(--nav-h) + 20px); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 0 0 6px 6px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.apply h2 { font-size: 1.6rem; margin-bottom: 0; }
.apply .hint { font-size: 0.85rem; color: var(--muted); margin-top: -8px; }
input[type="file"] { padding: 10px; border-style: dashed; background: var(--mist); font-size: 0.92rem; cursor: pointer; }
input[type="file"]::file-selector-button { font: 600 0.88rem var(--sans); border: 0; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 3px; margin-right: 12px; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: #2f3c3e; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red-ink); flex: none; }
.apply .btn { justify-self: start; min-width: 170px; }
.apply .btn:disabled { opacity: .65; cursor: wait; }
@media (max-width: 960px) { .career { grid-template-columns: 1fr; } .apply { position: static; } }

.nowrap { white-space: nowrap; }

/* IT support */
.utility a.staff { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red); }
.apply.flow { position: static; }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.fs legend { padding: 0; margin-bottom: 8px; font-size: 0.82rem; font-weight: 600; color: var(--slate); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: block; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; font-weight: 500; font-size: 0.92rem; color: var(--slate); transition: background-color .15s, border-color .15s; }
.opt:hover span { border-color: #aab5b5; }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt.urgent input:checked + span { background: var(--red-ink); border-color: var(--red-ink); }
.opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.ticket-ok { background: #fff; border: 1px solid var(--line); border-top: 4px solid #1f8a4f; border-radius: 0 0 6px 6px; padding: clamp(24px, 3vw, 36px); }
.ticket-ok:focus { outline: none; }
.ticket-ok h2 { font-size: 1.6rem; margin-bottom: 10px; }
.ticket-ok > p { color: var(--muted); }
.ticket-id { margin: 18px 0 !important; padding: 16px 18px; background: var(--mist); border-radius: 4px; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; color: var(--ink) !important; letter-spacing: 0.01em; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.ok-list { margin-bottom: 24px; border-top: 1px solid var(--line); }
.ok-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }

[hidden] { display: none !important; }

.foot .foot-btn { margin-top: 12px; color: #fff; }
.foot .foot-btn:hover { text-decoration: none; }
