/* ==========================================================================
   MR Scrap Dealer - main stylesheet
   Palette: dark navy ink, recycling green, safety amber accent, cool paper.
   Type: Barlow Condensed (headings, signage feel) + Barlow (body).
   ========================================================================== */

:root {
  --ink: #14222e;
  --ink-2: #1c2f3e;
  --ink-3: #2a4252;
  --green: #15803d;
  --green-d: #106331;
  --green-bright: #34c273;
  --green-soft: #e6f3eb;
  --amber: #e8a317;
  --amber-d: #cf8f0c;
  --paper: #f2f5f3;
  --white: #ffffff;
  --line: #d8e1dc;
  --text: #1a2630;
  --muted: #53626c;
  --focus: #1d62c9;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 34, 46, .06), 0 8px 24px -12px rgba(20, 34, 46, .18);
  --head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green-d); text-underline-offset: 3px; }
a:hover { color: var(--green); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; color: inherit; }
h1, h2 { font-family: var(--head); font-weight: 700; letter-spacing: -.005em; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.site-header, .hero, .page-hero, .section--ink, .cta-band, .site-footer, .mobile-bar { --focus: var(--amber); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 860px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: var(--ink); padding: 10px 16px; font-weight: 600; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.25em; border: 2px solid transparent; border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn-sm { min-height: 42px; padding: .5em .95em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-quote { background: var(--amber); color: var(--ink); }
.btn-quote:hover { background: var(--amber-d); color: var(--ink); }
.btn-wa { background: var(--green); color: var(--white); }
.btn-wa:hover { background: var(--green-d); color: var(--white); }
.btn-call { background: var(--ink); color: var(--white); }
.btn-call:hover { background: var(--ink-3); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* Call button on dark surfaces */
.site-header .btn-call, .hero .btn-call, .page-hero .btn-call, .cta-band .btn-call, .nav-mobile-cta .btn-call { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.site-header .btn-call:hover, .hero .btn-call:hover, .page-hero .btn-call:hover, .cta-band .btn-call:hover, .nav-mobile-cta .btn-call:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.75rem 0 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--ink); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--white); }
.brand-logo { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 42px; background: var(--green); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.45rem; }
.brand-sub { font-size: .8rem; color: #b7c4cc; }

.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 2px; }
.nav-list a { display: block; white-space: nowrap; padding: .55em .5em; color: #dbe4ea; text-decoration: none; font-weight: 500; border-radius: 6px; font-size: .97rem; }
.nav-list a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav-list a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--green-bright); border-radius: 0; }
.nav-mobile-cta { display: none; }
.header-cta .btn-icon { padding-left: .7em; padding-right: .7em; }
.header-cta .btn-icon .icon { width: 1.4em; height: 1.4em; }
.btn-icon-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 1261px) { .site-header .brand-sub { display: none; } }
@media (min-width: 1500px) { .btn-icon-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; flex-direction: column; line-height: 1.15; text-decoration: none; color: var(--white); margin-right: 4px; }
.header-phone-label { font-size: .75rem; color: #b7c4cc; }
.header-phone-number { font-family: var(--head); font-size: 1.25rem; font-weight: 700; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: transparent; border: 1.5px solid rgba(255,255,255,.35); border-radius: var(--radius-sm); color: var(--white); cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }


@media (max-width: 1260px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; margin: 0; background: var(--ink); padding: 12px var(--gutter) 32px; overflow-y: auto; display: none; border-top: 1px solid rgba(255,255,255,.08); }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav-list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green-bright); padding-left: 16px; }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-sub { display: none; } .nav-toggle-label { display: none; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .9rem; margin-bottom: 1.25rem; }
.breadcrumbs li { display: flex; align-items: center; color: #b7c4cc; }
.breadcrumbs li + li::before { content: "/"; margin: 0 .55em; opacity: .6; }
.breadcrumbs a { color: #dbe4ea; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current] { color: var(--white); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: linear-gradient(90deg, rgba(8,27,23,.94), rgba(8,27,23,.73) 42%, rgba(8,27,23,.2)), linear-gradient(0deg, rgba(8,27,23,.55), transparent 60%), url('../images/mumbai-scrap-yard-hero.png') center / cover; color: var(--white); padding: clamp(48px, 6vw, 84px) 0; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #80d7a5, #dcb66a, transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-family: var(--body); font-size: clamp(3rem, 5.4vw, 4.7rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.06; margin-bottom: 24px; max-width: 15ch; }
.hero h1 > span { color: #95e5b3; }
.home-eyebrow { display: flex; align-items: center; gap: 10px; color: #c4e5d0; font-size: .75rem; font-weight: 600; letter-spacing: .14em; margin-bottom: 24px; }
.home-eyebrow > span { width: 7px; height: 7px; background: #95e5b3; border-radius: 50%; box-shadow: 0 0 0 5px rgba(149,229,179,.12); }
.hero .lead { max-width: 43ch; color: #e0e8e3; font-size: 1.13rem; line-height: 1.75; }
.hero .btn-quote { background: #a5ebbc; color: #102b20; box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.hero .btn-quote:hover { background: #c4f6d5; }
.hero .btn-quote > span { font-size: 1.4rem; margin-left: 16px; }
.hero .btn { min-height: 52px; border-radius: 9px; }
.hero .btn-call { border-color: rgba(255,255,255,.35); background: rgba(10,29,22,.3); }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 12px 22px; list-style: none; margin-top: 30px; font-size: .85rem; color: #e0e8e3; }
.hero-benefits li { display: flex; align-items: center; gap: 7px; }
.hero-benefits .icon { color: #95e5b3; }
.hero .hero-areas { border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; margin-top: 24px; font-size: .85rem; color: #c9d7cf; }
.area-divider { margin: 0 8px; opacity: .5; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #d3dde3; max-width: 60ch; }
.hero-areas { display: flex; gap: 10px; align-items: flex-start; margin: 1.75rem 0 0; color: #b7c4cc; font-size: .95rem; max-width: 60ch; }
.hero-areas .icon { color: var(--green-bright); margin-top: 3px; }

/* Pickup slip (the WhatsApp builder) */
.slip { position: relative; background: #fffefa; color: var(--text); border: 1px solid rgba(255,255,255,.7); border-radius: 20px; padding: 28px; box-shadow: 0 24px 70px rgba(0,0,0,.24); scroll-margin-top: 100px; }
.slip-eyebrow { display: flex; align-items: center; gap: 8px; font-size: .69rem; letter-spacing: .12em; font-weight: 600; color: var(--green-d); margin-bottom: 14px; }
.slip-eyebrow .icon { width: 25px; height: 25px; }
.slip-title { font-family: var(--body); font-size: 1.65rem; letter-spacing: -.04em; margin-bottom: .35em; }
.slip-sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.slip-field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.slip-field legend, .slip-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.slip-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.slip-chip { position: relative; cursor: pointer; }
.slip-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slip-chip span { display: inline-block; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: .86rem; font-weight: 500; background: #fff; transition: background-color .15s, border-color .15s; }
.slip-chip:hover span { border-color: var(--green); }
.slip-chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.slip-chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.slip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slip select, .slip input[type="text"] { width: 100%; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.slip .btn { margin-top: 4px; min-height: 52px; font-size: 1.05rem; }
.slip-foot { margin: 12px 0 0; font-size: .88rem; color: var(--muted); }

/* ---------- Highlights strip ---------- */
.highlights { background: var(--white); border-bottom: 1px solid var(--line); }
.highlight-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.highlight-list li { display: flex; align-items: center; gap: 12px; padding: 22px 16px; font-weight: 600; line-height: 1.3; }
.highlight-list li + li { border-left: 1px solid var(--line); }
.highlight-list .icon { width: 30px; height: 30px; color: var(--green); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.section-title .count { color: var(--muted); font-weight: 600; font-size: .6em; }
.section-intro { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--ink .section-intro { color: #b7c4cc; }
.more-link { margin-top: 1.25rem; font-weight: 600; }

/* ---------- Category cards ---------- */
.category-section { background: #f7f8f4; }
.category-eyebrow { color: var(--green-d); font-size: .75rem; font-weight: 600; letter-spacing: .14em; margin-bottom: 12px; }
.category-section .section-title { font-family: var(--body); font-size: clamp(2rem, 3.5vw, 2.8rem); letter-spacing: -.045em; }
.category-section .section-intro { max-width: 60ch; }
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.cat-card { display: flex; flex-direction: column; position: relative; overflow: hidden; background: var(--white); color: var(--ink); text-decoration: none; border: 1px solid #e0e6dd; border-radius: 16px; padding: 0; box-shadow: 0 3px 12px rgba(20,40,28,.03); transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat-card:hover, .cat-card:focus-visible { color: var(--ink); border-color: #83b59a; box-shadow: 0 14px 28px rgba(20,40,28,.12); transform: translateY(-5px); }
.cat-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #dde4dc; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat-card:hover .cat-photo img { transform: scale(1.06); }
.cat-photo-icon { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f5fff3; color: var(--green-d); box-shadow: 0 2px 8px #0002; }
.cat-content { display: flex; flex: 1; flex-direction: column; padding: 20px 16px 16px; }
.cat-action { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-size: .82rem; font-weight: 600; color: var(--green-d); }
.cat-action > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); font-size: 1.1rem; }
.cat-card:hover .cat-action > span { background: var(--green); color: white; }
.cat-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--green-soft); color: var(--green-d); margin-bottom: 14px; }
.cat-icon .icon { width: 28px; height: 28px; }
.cat-card h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin-bottom: 10px; letter-spacing: -.02em; }
.cat-card h3 a { color: var(--ink); text-decoration: none; }
.cat-card p { color: var(--muted); font-size: .875rem; line-height: 1.6; margin-bottom: 8px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cat-sub { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; position: relative; z-index: 2; font-size: .88rem; }
.cat-sub a { color: var(--green-d); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-grid--4 { grid-template-columns: repeat(4, 1fr); }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.service-card:hover { border-color: var(--green); box-shadow: var(--shadow); color: var(--text); }
.service-card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--ink); color: var(--green-bright); margin-bottom: 14px; }
.service-card-icon .icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: .35em; }
.service-card p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.service-card .btn { align-self: flex-start; }
.card-link { font-weight: 600; color: var(--green-d); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Why choose ---------- */
/* Photo-led homepage services; other service lists retain their compact layout. */
.popular-section { background: #edf3ee; border-top: 1px solid #dfe8df; }
.popular-section .section-head { align-items: center; gap: 24px; }
.popular-section .section-title { font-family: var(--body); font-size: clamp(2rem, 3.5vw, 2.8rem); letter-spacing: -.045em; margin-bottom: 12px; }
.popular-section .section-intro { font-size: 1rem; max-width: 54ch; }
.popular-section .btn-outline { color: #16432a; border-color: #bfd0c2; background: #ffffff80; border-radius: 999px; font-size: .9rem; gap: 18px; }
.popular-section .btn-outline:hover { color: white; background: #16432a; border-color: #16432a; }
.popular-section .service-grid { gap: 24px; }
.service-card--photo { padding: 0; overflow: hidden; border-radius: 18px; border-color: #dce5dc; box-shadow: 0 4px 16px rgba(24,54,35,.04); transition: transform .2s, border-color .2s, box-shadow .2s; }
.service-card--photo:hover, .service-card--photo:focus-visible { transform: translateY(-5px); border-color: #86af93; box-shadow: 0 16px 32px rgba(24,54,35,.13); }
.service-photo { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #dae2d8; }
.service-photo::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(8,28,17,.42)); pointer-events: none; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card--photo:hover .service-photo img { transform: scale(1.05); }
.service-photo-label { position: absolute; bottom: 14px; left: 14px; z-index: 1; padding: 5px 10px; border-radius: 6px; color: #163b26; background: #f3faf0; font-size: .7rem; font-weight: 600; }
.service-photo-content { padding: 22px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.service-photo-content h3 { font-size: 1.13rem; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 10px; }
.service-photo-content p { font-size: .9rem; line-height: 1.65; margin-bottom: 20px; }
.service-photo-action { border-top: 1px solid #e8eee6; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; color: #176036; font-size: .87rem; font-weight: 600; }
.service-photo-action > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #e9f3e8; font-size: 1.2rem; }
.service-card--photo:hover .service-photo-action > span { color: white; background: #176036; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 32px; }
.why-grid--2 { grid-template-columns: repeat(2, 1fr); }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-item > .icon { width: 30px; height: 30px; color: var(--green); margin-top: 2px; }
.why-item h3 { margin-bottom: .25em; }
.why-item p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { counter-increment: step; position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); }
.step::before { content: counter(step); display: block; font-family: var(--head); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--amber); margin-bottom: 10px; }
.step > .icon { position: absolute; right: 22px; top: 28px; width: 28px; height: 28px; color: var(--green-bright); }
.step h3 { font-size: 1.2rem; }
.step p { color: #c4d0d7; margin: 0; font-size: .97rem; }
.steps--compact { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
.steps--compact .step { background: var(--paper); border-color: var(--line); padding: 20px; }
.steps--compact .step::before { font-size: 2.2rem; color: var(--green); }
.steps--compact .step p { color: var(--muted); }

/* ---------- Home feature bands ---------- */
.band { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.band--alt { background: var(--paper); }
.band-grid { display: grid; grid-template-columns: 120px minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.band-mark { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 20px; background: var(--ink); color: var(--green-bright); }
.band-mark .icon { width: 60px; height: 60px; }
.band-copy p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin: 0; }
.band-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.band-links a, .link-list a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.25; transition: border-color .15s; }
.band-links a:hover, .link-list a:hover { border-color: var(--green); color: var(--green-d); }
.band-links .icon, .link-list .icon { color: var(--green); }

/* ---------- Western line map ---------- */
.line-map { list-style: none; display: grid; grid-template-columns: repeat(9, 1fr); position: relative; padding-top: 6px; }
.line-map::before { content: ""; position: absolute; left: calc(100% / 18); right: calc(100% / 18); top: 22px; height: 6px; border-radius: 3px; background: var(--green); }
.station a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 4px 4px 10px; text-decoration: none; color: var(--ink); text-align: center; }
.station-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 5px solid var(--ink); transition: transform .15s, background-color .15s; }
.station-name { font-family: var(--head); font-weight: 700; font-size: 1.2rem; line-height: 1.1; }
.station a:hover .station-dot { background: var(--amber); transform: scale(1.15); }
.station a:hover .station-name { color: var(--green-d); text-decoration: underline; }
.station.is-current .station-dot { background: var(--amber); }
.line-band { background: var(--paper); border-bottom: 1px solid var(--line); padding: 22px 0 12px; }

@media (max-width: 860px) {
  .line-map { grid-template-columns: 1fr; padding: 0; }
  .line-map::before { left: 11px; right: auto; top: 14px; bottom: 14px; width: 6px; height: auto; }
  .station a { flex-direction: row; gap: 16px; padding: 7px 0; text-align: left; }
  .station-dot { width: 28px; height: 28px; }
  .line-band .line-map { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .line-band .line-map::before { display: none; }
  .line-band .station-dot { width: 18px; height: 18px; border-width: 4px; }
  .line-band .station-name { font-size: 1.05rem; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-d); color: var(--white); padding: clamp(40px, 6vw, 64px) 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .2em; }
.cta-band p { margin: 0; color: #d8efe0; font-size: 1.1rem; }
.cta-band .cta-row { margin: 0; }
.cta-band .btn-wa { background: var(--white); color: var(--green-d); }
.cta-band .btn-wa:hover { background: var(--amber); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { margin: 0; font-size: 1.05rem; font-weight: 600; font-family: var(--body); }
.faq-toggle { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--green); transition: transform .2s; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(0); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-a { padding: 14px 18px 4px; color: var(--muted); }

/* ---------- Forms ---------- */
.quote-section { background: var(--paper); }
.quote-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.quote-copy p { color: var(--muted); max-width: 48ch; }
.quote-for { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green-d) !important; font-weight: 600; }
.contact-lines { list-style: none; display: grid; gap: 12px; margin-top: 1.5rem; }
.contact-lines li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-lines .icon { color: var(--green); width: 22px; height: 22px; }
.quote-form-wrap, .contact-form-card, .contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.req { color: #b42318; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #b9c6bf; border-radius: var(--radius-sm); background: var(--white); font-size: 1rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #b42318; background: #fff8f7; }
.field-error { color: #b42318; font-size: .88rem; margin: 6px 0 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.form-alert p { margin: .3em 0 0; }
.form-alert--error { background: #fef3f2; border: 1px solid #f4b8b1; color: #7a1b10; }
.form-alert--success { background: var(--green-soft); border: 1px solid #a8d8b9; color: #0c4a26; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Enquiry popup (footer.php) */
.enquiry-modal { width: min(500px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--white); color: var(--text); box-shadow: 0 24px 64px -16px rgba(20, 34, 46, .45); overflow-y: auto; overscroll-behavior: contain; }
.enquiry-modal::backdrop { background: rgba(20, 34, 46, .6); }
.enquiry-modal[open] { animation: modal-in .25s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.enquiry-modal-box { position: relative; padding: 20px 22px 22px; }
.enquiry-modal-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eef3ea; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.enquiry-modal-close:hover { background: #deecd5; }
.enquiry-modal .enquiry-form-heading { display: flex; align-items: center; gap: 12px; padding: 0 36px 14px 0; margin-bottom: 14px; border-bottom: 1px solid #e6ece1; }
.enquiry-modal .enquiry-form-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: #ecf3e5; color: #35633e; }
.enquiry-modal h2 { font-size: 1.3rem; margin: 0 0 2px; }
.enquiry-modal .enquiry-form-heading p { color: #657160; font-size: .82rem; line-height: 1.4; margin: 0; }
.enquiry-modal .form-grid { gap: 10px 12px; }
.enquiry-modal .field label { font-size: .8rem; margin-bottom: 4px; }
.enquiry-modal .field input, .enquiry-modal .field select, .enquiry-modal .field textarea { min-height: 40px; border: 1px solid #cddbc7; border-radius: 8px; background: #fcfdfb; font-size: .9rem; padding: 8px 10px; }
.enquiry-modal .field input:focus, .enquiry-modal .field select:focus, .enquiry-modal .field textarea:focus { border-color: #4a7b44; outline: 2px solid #77996a; outline-offset: 1px; background: #fff; }
.enquiry-modal .field [aria-invalid="true"] { border-color: #b42318; background: #fff8f7; }
.enquiry-modal .field textarea { min-height: 60px; }
.enquiry-modal .form-actions { margin-top: 14px; }
.enquiry-modal .form-actions .btn-quote { width: 100%; min-height: 46px; border-radius: 10px; font-size: .92rem; background: #215d35; color: #fff; }
.enquiry-modal .form-actions .btn-quote:hover { background: #174828; }
.enquiry-modal-success { padding: 18px 8px 6px; text-align: center; outline: none; }
.enquiry-modal-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.enquiry-modal-success-icon .icon { width: 34px; height: 34px; }
.enquiry-modal-success h2 { font-size: 1.6rem; margin: 0 0 8px; }
.enquiry-modal-success p { color: var(--muted); font-size: .95rem; max-width: 36ch; margin: 0 auto 20px; }
.enquiry-modal-success .btn { min-width: 160px; background: #215d35; color: #fff; border-radius: 10px; }
.enquiry-modal-success .btn:hover { background: #174828; }
@media (prefers-reduced-motion: reduce) { .enquiry-modal[open] { animation: none; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--white); padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1; max-width: 18ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--green-bright); font-weight: 600; margin-bottom: .8rem; }
.hero-kicker .icon { width: 22px; height: 22px; }
.hero-panel { background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px; }
.hero-panel-title { font-family: var(--head); font-size: 1.4rem; margin-bottom: .6em; }
.hero-panel-note { font-size: .9rem; color: #b7c4cc; margin: 12px 0 0; }
.locality-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.locality-list li { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: .9rem; color: #dbe4ea; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.jump-links a { padding: 8px 14px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 500; font-size: .95rem; }
.jump-links a:hover { background: var(--white); color: var(--ink); }

/* ---------- Two-column content ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 80px); align-items: start; }
.content-main { max-width: 780px; }
.content-block + .content-block { margin-top: clamp(36px, 5vw, 52px); }
.content-block h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.content-block > p { max-width: 70ch; }
.content-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; }
.aside-card:first-child { border-top: 4px solid var(--amber); }
.aside-card p { margin: 0 0 4px; color: var(--muted); font-size: .96rem; }
.aside-title { font-family: var(--head); font-size: 1.45rem; margin: 0; }
.aside-links ul { list-style: none; display: grid; gap: 2px; }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; color: var(--ink); text-decoration: none; border-radius: 6px; font-size: .95rem; }
.aside-links a:hover { background: var(--paper); color: var(--green-d); }
.aside-links a[aria-current="page"] { background: var(--green-soft); color: var(--green-d); font-weight: 600; }
.aside-links .icon { color: var(--green); }

.item-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.item-grid li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.item-grid .icon { color: var(--green); margin-top: 3px; }
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.who-item { padding: 18px 20px; border-left: 4px solid var(--green); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.who-item h3 { margin-bottom: .2em; }
.who-item p { margin: 0; color: var(--muted); font-size: .96rem; }
.tick-list { list-style: none; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .icon { color: var(--green); margin-top: 3px; }
.tick-list--dark li { color: #dbe4ea; }
.tick-list--dark .icon { color: var(--green-bright); }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; }
.chip .icon { width: 16px; height: 16px; color: var(--green); }
.chip:hover { border-color: var(--green); color: var(--green-d); }
.chip--muted { background: var(--paper); }
.link-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.mini-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.mini-cat { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.25; }
.mini-cat .icon { width: 26px; height: 26px; color: var(--green); }
.mini-cat:hover { border-color: var(--green); color: var(--green-d); }

/* ---------- Areas page ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area-card { position: relative; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 22px; transition: border-color .15s; }
.area-card:hover { border-color: var(--green); }
.area-card h3 { font-family: var(--head); font-size: 1.5rem; font-weight: 700; }
.area-card h3 a { color: var(--ink); text-decoration: none; }
.area-card p { color: var(--muted); font-size: .96rem; }
.area-localities { font-size: .88rem !important; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.card-title { font-family: var(--head); font-size: 1.8rem; }
.contact-dl { margin: 0 0 20px; display: grid; gap: 0; }
.contact-dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-dl dt { font-weight: 600; color: var(--muted); }
.contact-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-card-cta { display: grid; gap: 10px; }
.contact-card .btn-call { background: var(--ink); }
.contact-tip { font-size: .92rem; color: var(--muted); margin: 16px 0 0; }

/* ---------- Testimonials (shown only when real ones are added) ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.testimonial { margin: 0; padding: 22px; background: var(--paper); border-radius: var(--radius); }
.testimonial blockquote { margin: 0 0 12px; }
.testimonial figcaption { font-weight: 600; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4d0d7; padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 16px 0; max-width: 40ch; }
.footer-title { font-family: var(--head); font-size: 1.3rem; color: var(--white); margin-bottom: .8em; }
.footer-col ul, .footer-contact { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #dbe4ea; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--green-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .88rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom p { margin: 0; }

/* ---------- Floating buttons and mobile bar ---------- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; gap: 12px; }
.float-btn { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--white); box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .15s; }
.float-btn:hover { transform: translateY(-2px); color: var(--white); }
.float-btn .icon { width: 28px; height: 28px; }
.float-wa { background: var(--green); }
.float-call { background: var(--ink); border: 2px solid var(--amber); }
.mobile-bar { display: none; }

@media (max-width: 767px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--ink); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -6px 18px rgba(0,0,0,.2); }
  .mobile-bar-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; font-weight: 600; font-size: 1.05rem; color: var(--white); text-decoration: none; }
  .mobile-bar-btn .icon { width: 22px; height: 22px; }
  .mobile-bar-call { background: var(--ink); }
  .mobile-bar-wa { background: var(--green); }
  .mobile-bar-btn:hover { color: var(--white); }
  /* The sticky bar replaces the round floating buttons on phones so nothing covers content. */
  .float-cta { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .highlight-list { grid-template-columns: repeat(3, 1fr); }
  .highlight-list li { border-left: 0 !important; }
  .band-grid { grid-template-columns: 96px minmax(0, 1fr); }
  .band-mark { width: 96px; height: 96px; }
  .band-links { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .service-grid, .service-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .content-main { max-width: none; }
  .content-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .quote-grid, .contact-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 0; }
  .highlight-list { grid-template-columns: 1fr 1fr; }
  .highlight-list li { padding: 14px 8px; font-size: .95rem; }
  .highlight-list li:last-child { grid-column: 1 / -1; }
  .band-grid { grid-template-columns: 1fr; }
  .band-mark { width: 72px; height: 72px; border-radius: 14px; }
  .band-mark .icon { width: 40px; height: 40px; }
  .band-links { grid-column: auto; }
  .why-grid, .why-grid--2, .who-grid, .item-grid, .link-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn, .cta-row .btn { flex: 1 1 100%; }
  .slip { padding: 26px 18px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-dl div { grid-template-columns: 1fr; gap: 2px; }
  .steps--compact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cat-grid, .service-grid, .service-grid--4, .area-grid, .steps, .band-links { grid-template-columns: 1fr; }
  .slip-row { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
}
/* Compact enquiry popup on phones: keep fields in pairs so the whole form fits on screen. */
@media (max-width: 767px) {
  .enquiry-modal { width: calc(100% - 24px); border-radius: 14px; }
  .enquiry-modal-box { padding: 14px 14px 16px; }
  .enquiry-modal-close { top: 8px; right: 8px; width: 30px; height: 30px; font-size: 1.2rem; }
  .enquiry-modal .enquiry-form-heading { padding: 0 34px 10px 0; margin-bottom: 10px; }
  .enquiry-modal .enquiry-form-icon, .enquiry-modal .enquiry-form-heading p { display: none; }
  .enquiry-modal h2 { font-size: 1.15rem; margin: 0; }
  .enquiry-modal .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .enquiry-modal .field label { font-size: .75rem; margin-bottom: 3px; }
  /* 16px text stops iPhones zooming in when a field is tapped. */
  .enquiry-modal .field input, .enquiry-modal .field select, .enquiry-modal .field textarea { min-height: 38px; padding: 6px 8px; font-size: 16px; }
  .enquiry-modal .field select { padding-right: 4px; }
  .enquiry-modal .field textarea { min-height: 52px; }
  .enquiry-modal .form-actions { margin-top: 10px; }
  .enquiry-modal .form-actions .btn-quote { min-height: 42px; }
}
