/* Empire Towing — styles */
:root {
  --red: #ce2026;
  --red-dark: #a8181d;
  --black: #000;
  --ink: #2f2e2e;
  --white: #fff;
  --grey-bg: #f5f5f5;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --container: 1100px;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--black); line-height: 1.2; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 900px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: var(--white); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo img { width: 110px; height: auto; }
.site-nav { display: flex; gap: 48px; }
.site-nav a {
  text-decoration: none; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .04em; color: var(--black);
  transition: color .2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--red); }
.header-phone {
  font-weight: 700; font-size: 24px; color: var(--black); text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--red); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 3px; background: var(--black); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 540px;
  display: flex; align-items: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.6));
}
.hero-content { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
}
.hero-phone {
  display: inline-block; margin: 18px 0 14px;
  font-size: clamp(30px, 5vw, 46px); font-weight: 700;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.hero-phone:hover { color: #ffd9da; }
.hero p {
  max-width: 760px; margin: 0 auto;
  font-size: 18px; font-weight: 700; line-height: 1.5;
}

/* ---------- Highlights (red band) ---------- */
.highlights { background: var(--red); color: var(--white); padding: 32px 0 36px; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.highlight img { width: 96px; height: 96px; margin: 0 auto 4px; }
.highlight h2 { color: var(--white); font-size: 16px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.highlight p { font-size: 14px; max-width: 260px; margin: 0 auto; }

/* ---------- Generic section ---------- */
.section { padding: 56px 0; }
.section h2 { font-size: 24px; margin-bottom: 16px; }

.btn {
  display: inline-block; margin-top: 8px;
  background: var(--red); color: var(--white);
  text-decoration: none; text-transform: uppercase; font-size: 14px; letter-spacing: .04em;
  padding: 12px 56px;
  transition: background .2s;
}
.btn:hover { background: var(--red-dark); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.about-images { display: grid; gap: 16px; }
.about-images img { width: 100%; aspect-ratio: 381 / 256; object-fit: cover; }

/* ---------- Call band ---------- */
.call-band { background: var(--red); padding: 36px 0; }
.call-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.call-band h2 { color: var(--white); font-size: clamp(24px, 3.6vw, 42px); font-weight: 400; line-height: 1.3; }
.call-pill {
  display: inline-flex; align-items: center; gap: 18px;
  background: var(--white); color: var(--black);
  padding: 16px 36px; border-radius: 999px;
  font-size: clamp(24px, 3vw, 34px); font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s;
}
.call-pill:hover { transform: translateY(-2px); }
.call-pill svg { flex: none; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 32px; align-items: stretch; }
.services-images { display: contents; }
.services-images img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.services-images img:first-child { object-position: 0% 50%; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 14px; color: var(--black); margin-bottom: 8px; }
.services-text h2 { color: var(--red); font-size: 32px; margin-bottom: 12px; }
.services-text > p { font-size: 15px; }
.service-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.service-list li { display: flex; align-items: center; gap: 16px; }
.service-list h3 { font-size: 18px; }
.service-list svg, .feature svg, .info-title svg {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.service-list svg { width: 26px; height: 26px; color: var(--red); flex: none; }

/* ---------- Solution ---------- */
.solution { text-align: center; }
.solution h2 { font-size: 24px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }
.feature svg { width: 34px; height: 34px; color: var(--red); margin: 0 auto 10px; }
.feature h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.35; }

/* ---------- Photo strip ---------- */
.photo-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  border-bottom: 12px solid var(--red);
}
.photo-strip img { width: 100%; aspect-ratio: 348 / 236; object-fit: cover; }

/* ---------- London ---------- */
.london h2 { font-size: 24px; }

/* ---------- Certificates ---------- */
.certificates { position: relative; padding: 48px 0; overflow: hidden; }
.certificates-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.certificates::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.45); }
.certificates-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.certificates-grid img { width: 100%; box-shadow: 0 8px 30px rgba(0,0,0,.4); background: var(--white); }

/* ---------- Footer ---------- */
.info-bar { background: var(--red); color: var(--white); padding: 28px 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.info-item p { margin: 0; font-size: 14px; }
.info-item a { color: var(--white); text-decoration: none; }
.info-item a:hover { text-decoration: underline; }
.info-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 6px !important;
}
.info-title svg { width: 22px; height: 22px; flex: none; }

.footer-grid {
  display: grid; grid-template-columns: 1.1fr 1fr .8fr 1.2fr; gap: 32px;
  padding-top: 36px; padding-bottom: 24px;
}
.footer-brand img { width: 150px; }
.social {
  display: inline-flex; margin-top: 18px; width: 36px; height: 36px;
  color: var(--black); transition: color .2s;
}
.social:hover { color: #1877f2; }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.footer-title { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.footer-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer-list li::before { content: "-"; }
.footer-list a, .site-footer address a { text-decoration: none; }
.footer-list a:hover, .site-footer address a:hover { color: var(--red); }
.site-footer address { font-style: normal; font-size: 14px; overflow-wrap: anywhere; }
.copyright { border-top: 1px solid #333; padding-top: 14px; padding-bottom: 14px; text-align: center; }
.copyright p { margin: 0; font-size: 14px; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 120px 0; }
.not-found h1 { font-size: clamp(32px, 6vw, 56px); margin-bottom: 16px; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .site-nav { gap: 28px; }
  .header-phone { font-size: 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-text { grid-column: 1 / -1; grid-row: 1; }
  .services-images img { min-height: 0; aspect-ratio: 4 / 5; }
  .call-band-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --header-h: 76px; }
  body { font-size: 15px; line-height: 1.4; }
  p, li { line-height: 1.4; }
  .container { padding: 0 16px; }

  .logo img { width: 84px; }
  .nav-toggle { display: block; order: 3; }
  .header-phone { font-size: 18px; margin-left: auto; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white); border-top: 1px solid #eee;
    box-shadow: 0 8px 16px rgba(0,0,0,.1);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 20px; border-bottom: 1px solid #eee; font-size: 15px; }

  .hero { min-height: 460px; }
  .hero-content { padding-top: 40px; padding-bottom: 40px; }
  .hero p { font-size: 15px; }

  .highlights-grid, .about-grid, .features, .info-grid, .certificates-grid { grid-template-columns: 1fr; }
  .highlights-grid { gap: 22px; }
  .highlight img { width: 76px; height: 76px; }
  .section { padding: 40px 0; }
  .section h2, .solution h2, .london h2 { font-size: 21px; }
  .services-text h2 { font-size: 26px; }
  .features { gap: 20px; }
  .about-images { grid-template-columns: 1fr 1fr; gap: 12px; }

  .call-band { padding: 28px 0; }
  .call-band-inner { gap: 18px; }
  .call-pill { padding: 12px 24px; gap: 10px; }
  .call-pill svg { width: 24px; height: 24px; }

  .photo-strip { grid-template-columns: 1fr; }
  .certificates { padding: 32px 0; }
  .info-grid { gap: 18px; }
  .certificates-grid { gap: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 400px) {
  .header-phone { font-size: 16px; }
}

/* ---------- Footer map ---------- */
.footer-map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 760px) {
  .footer-map iframe { height: 300px; }
}

.nowrap { white-space: nowrap; }
