/* Ambulance Rescue Limited — site styles (DataMapWave) */
:root {
  --navy: #0b2545; --navy-900: #061528; --red: #d7262e; --red-700: #a91b22;
  --ink: #1b2533; --muted: #5a6677; --line: #dde3ec; --soft: #f3f6fa; --white: #fff;
  --radius: 14px; --shadow: 0 10px 30px rgba(6,21,40,.10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head: "Barlow", "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-700); }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; }
.kicker { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-size: .85rem; margin-bottom: .4em; }

/* Top bar + header */
.topbar { background: var(--navy-900); color: #cfd8e6; font-size: .92rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 16px; height: 16px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-family: var(--head); font-weight: 800; font-size: 1.2rem; line-height: 1.1; }
.brand img { width: 64px; height: auto; }
.nav-toggle { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--soft); }
.main-nav .nav-call a { background: var(--red); color: #fff; }
.main-nav .nav-call a:hover { background: var(--red-700); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-family: var(--head); font-size: 1.05rem; }
.btn svg { width: 20px; height: 20px; }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: var(--red-700); color: #fff; }
.btn-light { background: #fff; color: var(--navy); } .btn-light:hover { background: var(--soft); }
.btn-outline { border-color: #fff; color: #fff; } .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; } .btn-navy:hover { background: var(--navy-900); color: #fff; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,21,40,.92) 0%, rgba(6,21,40,.7) 45%, rgba(6,21,40,.15) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(70px, 12vw, 140px); padding-bottom: clamp(70px, 12vw, 140px); max-width: 1180px; }
.hero-text { max-width: 620px; }
.hero h1 { color: #fff; }
.hero .eyebrow { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: #ffd0d2; margin-bottom: .3em; }
.hero p.lead { font-size: 1.15rem; color: #e3e9f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #fff; padding: 56px 0 46px; }
.page-hero h1 { color: #fff; margin: 0; }
.breadcrumbs { font-size: .92rem; color: #b9c6d8; margin-bottom: 10px; }
.breadcrumbs a { color: #fff; }

/* Sections */
.section { padding: clamp(50px, 8vw, 90px) 0; }
.section-soft { background: var(--soft); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 10px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 4px 14px rgba(6,21,40,.05); display: flex; flex-direction: column; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #fdecec; color: var(--red); margin-bottom: 14px; }
.card .icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); margin: 0; }
.card .tag { display: inline-block; font-family: var(--head); font-weight: 700; color: var(--red-700); margin-bottom: 6px; }

/* NUCAS promo */
.promo { background: linear-gradient(135deg, var(--red), var(--red-700)); color: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.promo h2 { color: #fff; margin-bottom: .25em; }
.promo p { margin: 0; color: #ffe3e4; max-width: 640px; }

/* Contact */
.contact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-item h3 { display: flex; align-items: center; gap: 10px; }
.contact-item h3 svg { width: 24px; height: 24px; color: var(--red); }
.contact-item p { margin: 0 0 .4em; }
.contact-item a { color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.contact-item small { display: block; color: var(--muted); }
.map { border: 0; width: 100%; height: 360px; border-radius: var(--radius); margin-top: 28px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgba(6,21,40,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 10px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* Footer */
.site-footer { background: var(--navy-900); color: #cfd8e6; padding: 50px 0 26px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .88rem; color: #9fb0c6; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 16px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .grid-2, .cards, .contact-list, .footer-grid { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(6,21,40,.75), rgba(6,21,40,.9)); }
  .hero-actions .btn { width: 100%; }
}
