/* Catering Services Repairs — site styles (v2, after Eddy's mockups)
   Layout: navy header band with the logo on a white badge; white page body; big bold navy headings
   with a short blue rule; icon circles for key points; real install photo fading into the hero. */
:root {
  --navy: #100f6c;        /* logo colour */
  --navy-band: #0c1a4a;   /* header, CTA and footer bands */
  --navy-deep: #08113a;   /* footer */
  --blue: #2d5bd7;        /* rules, active nav, small accents */
  --blue-soft: #8fb0ff;   /* active nav on dark */
  --ink: #1b1d2e;
  --muted: #555a72;
  --line: #dde0ea;
  --tint: #f3f5fa;
  --white: #ffffff;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
svg.i { width: 1em; height: 1em; flex: none; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

/* Section label: uppercase navy with a short blue rule, as in the mockups */
.label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  display: grid;
  gap: 8px;
}
.label::after, .rule::after { content: ""; width: 56px; height: 3px; background: var(--blue); display: block; }
.rule { display: grid; gap: 16px; }
.rule::after { width: 80px; height: 4px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy-band); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--navy-band); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.brand {
  background: var(--white);
  border-radius: 0 0 14px 14px;
  padding: 8px 16px 10px;
  align-self: flex-start;
  margin-right: auto;
  box-shadow: 0 6px 18px rgba(8, 17, 58, 0.25);
  position: relative;
  top: 0;
  margin-bottom: -26px;   /* badge hangs below the band */
  display: block;
}
.brand img { width: 118px; height: auto; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 10px 12px;
}
.nav a:hover { color: var(--blue-soft); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--white); }
.header-call {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  font-variant-numeric: tabular-nums; color: var(--white); text-decoration: none; white-space: nowrap;
}
.header-call .ic { width: 34px; height: 34px; border-radius: 8px; background: var(--blue); display: grid; place-items: center; font-size: 18px; }
.header-call:hover { color: var(--blue-soft); }

@media (max-width: 1020px) {
  .header-row { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-block: 0; }
  .brand img { width: 92px; }
  .brand { margin-bottom: -18px; padding: 6px 12px 8px; }
  .header-call { margin-top: 14px; align-self: flex-start; }
  .nav { order: 3; width: 100%; justify-content: flex-end; padding-block: 6px 4px; gap: 0; }
  .nav a { font-size: 0.86rem; padding: 10px 8px; }
}
@media (max-width: 560px) {
  .brand img { width: 74px; }
  .brand { margin-bottom: 0; border-radius: 0 0 10px 10px; }
  .header-call { font-size: 1.05rem; }
  .header-call .ic { width: 30px; height: 30px; }
  .nav { justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.15); margin-top: 8px; }
  .nav a { font-size: 0.74rem; letter-spacing: 0.02em; padding: 10px 2px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.03em; text-transform: uppercase;
  text-decoration: none; padding: 16px 26px; border-radius: var(--radius); border: 2px solid var(--navy-band); cursor: pointer; line-height: 1.2;
}
.btn svg.i { font-size: 1.3em; }
.btn-primary { background: var(--navy-band); color: var(--white); }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); font-variant-numeric: tabular-nums; }
.btn-outline:hover { background: var(--tint); }
.btn-light { background: var(--white); color: var(--navy-band); border-color: var(--white); }
.btn-light:hover { background: var(--tint); border-color: var(--tint); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-ghost-light:hover { border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-block { width: 100%; }

/* ---------- Icon circles ---------- */
.ic-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--navy-band); color: var(--white); display: grid; place-items: center; font-size: 30px; flex: none; }
.ic-circle.sm { width: 52px; height: 52px; font-size: 24px; }

.icon-list { list-style: none; margin: 0; padding: 0; display: grid; }
.icon-list li { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding-block: 14px; }
.icon-list li + li .il-text { border-top: 1px solid var(--line); }
.icon-list li + li { border-top: 0; }
.il-text { display: grid; gap: 2px; padding-top: 4px; min-width: 0; }
.il-text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--navy); line-height: 1.2; }
.il-text span { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero-photo { position: absolute; inset: 0 0 0 46%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--white) 0%, rgba(255,255,255,0.85) 12%, rgba(255,255,255,0) 40%); z-index: 1; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; display: grid; gap: 22px; padding-block: 64px 56px; }
.hero h1 { line-height: 1.0; }
.hero-sub { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 600; color: var(--blue); }
.hero .rule::after { margin-top: 2px; }
@media (max-width: 900px) {
  .hero-photo { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .hero-photo::before { background: linear-gradient(0deg, var(--white) 0%, rgba(255,255,255,0) 30%); }
  .hero-copy { padding-block: 8px 44px; }
}

/* Trust strip under the hero */
.strip { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 28px; }
.strip-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; min-width: 0; }
.strip-item .si-ic { font-size: 44px; color: var(--navy); }
.strip-item strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); display: block; line-height: 1.2; }
.strip-item span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 820px) { .strip-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section-tint { background: var(--tint); }
.section-head { display: grid; gap: 14px; margin-bottom: 30px; max-width: 48rem; }
.section-head p { color: var(--muted); }
@media (max-width: 600px) { .section { padding-block: 44px; } }

.page-head { padding-block: 56px 8px; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 46rem; margin-top: 4px; }
.page-head .rule { gap: 18px; }
@media (max-width: 900px) { .page-head { padding-block: 44px 0; } }

/* Feature cards (Services: What we do) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 28px 22px 26px; display: grid; justify-items: center; text-align: center; gap: 12px; align-content: start; background: var(--white); box-shadow: 0 1px 2px rgba(12, 26, 74, 0.05); }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .card { justify-items: start; text-align: left; grid-template-columns: auto 1fr; column-gap: 18px; } .card .ic-circle { grid-row: span 2; } }

.services-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.services-photo { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.services-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1020px) { .services-top { grid-template-columns: 1fr; } .services-photo { aspect-ratio: 16 / 9; } }

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.cols-2.divided > :first-child { padding-right: 48px; border-right: 1px solid var(--line); }
.cols-2.divided { gap: 0 48px; }
@media (max-width: 860px) { .cols-2, .cols-2.divided { grid-template-columns: 1fr; gap: 40px; } .cols-2.divided > :first-child { padding-right: 0; border-right: 0; } }
.block { display: grid; gap: 18px; align-content: start; min-width: 0; }

.icon-list.compact li { padding-block: 10px; gap: 18px; }
.icon-list.compact .il-text strong { font-size: 1.15rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.chips.brands li { font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); border-color: #c9cfe3; }
.sub-label { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Equipment grid with icons */
.equip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 12px; list-style: none; margin: 0; padding: 0; }
.equip li { display: grid; justify-items: center; text-align: center; gap: 6px; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 0.98rem; line-height: 1.2; }
.equip svg.i { font-size: 38px; color: var(--navy); }
@media (max-width: 560px) { .equip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .equip li { font-size: 0.86rem; } .equip svg.i { font-size: 32px; } }

/* Sites tiles */
.sites { border: 1px solid var(--line); border-radius: 8px; background: var(--white); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-tile { padding: 24px 18px; display: grid; justify-items: center; text-align: center; gap: 6px; align-content: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.site-tile:nth-child(4n) { border-right: 0; }
.site-tile:nth-last-child(-n+4) { border-bottom: 0; }
.site-tile svg.i { font-size: 48px; color: var(--navy); }
.site-tile strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }
.site-tile span { color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
@media (max-width: 860px) {
  .sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-tile:nth-child(4n) { border-right: 1px solid var(--line); }
  .site-tile:nth-child(2n) { border-right: 0; }
  .site-tile:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .site-tile:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.gallery figure { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--tint); cursor: zoom-in; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: 0.86rem; color: var(--muted); padding-top: 6px; line-height: 1.35; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 10, 34, 0.92); }
.lightbox-inner {
  height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 12px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 4px; }
.lightbox-bar { display: flex; align-items: center; gap: 12px; color: #fff; width: min(100%, 900px); }
.lightbox-bar p { flex: 1; font-size: 0.95rem; min-width: 0; }
.lb-btn { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius); font: 600 0.95rem var(--font-display); padding: 9px 14px; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,0.22); }

/* Navy feature band (bottom of pages) */
.band { background: var(--navy-band); color: var(--white); padding-block: 34px; }
.band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 24px 32px; align-items: center; }
.band-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; min-width: 0; }
.band-item svg.i { font-size: 46px; color: var(--blue-soft); }
.band-item strong { font-family: var(--font-display); font-size: 1.15rem; display: block; line-height: 1.2; }
.band-item span { color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.4; display: block; }
@media (max-width: 1020px) { .band-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .band-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--navy-band); color: var(--white); padding-block: 44px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.82); margin-top: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.details { display: grid; gap: 0; }
.detail { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); }
.detail strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); display: block; line-height: 1.2; }
.detail .big { font-size: 1.6rem; font-variant-numeric: tabular-nums; color: var(--ink); text-decoration: none; font-weight: 500; }
.detail em { color: var(--muted); }
.contact-note { margin-top: 24px; display: grid; gap: 16px; }
.contact-note .area { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.contact-note .area svg.i { font-size: 26px; color: var(--navy); }

.service-tag { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center; border: 1px solid var(--line); background: var(--white); padding: 14px 18px; border-radius: var(--radius); max-width: 440px; }
.service-tag img { width: 46px; grid-row: span 3; }
.service-tag .st-label { font-style: italic; font-size: 0.82rem; color: var(--muted); }
.service-tag .st-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.2; }
.service-tag .st-meta { font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.form-note { font-size: 0.9rem; color: var(--muted); }

.form { display: grid; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 30px; box-shadow: 0 1px 3px rgba(12,26,74,0.06); }
@media (max-width: 480px) { .form { padding: 20px 16px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.field label .opt { font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid #b9bdcc; border-radius: var(--radius); padding: 12px 14px; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.field ::placeholder { color: #8a8fa6; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.8); padding-block: 44px 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand .logo-chip { background: var(--white); border-radius: var(--radius); padding: 6px; }
.footer-brand img { width: 56px; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 32px; padding-top: 18px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Services "What we do": horizontal cards stacked beside the photo */
.services-top .cards { grid-template-columns: 1fr; gap: 14px; }
.services-top .card { justify-items: start; text-align: left; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 4px; padding: 20px 22px; align-items: center; }
.services-top .card .ic-circle { grid-row: span 2; }
.services-top .card h3 { align-self: end; }
.services-top .card p { align-self: start; }
.services-top { align-items: end; }

.detail .big.email { font-size: 1.25rem; overflow-wrap: anywhere; }
