/* Section Line Contracting Limited — site styles */
:root {
  --navy: #152B43;
  --navy-dark: #0E1E30;
  --navy-mid: #1E3854;
  --orange: #E98A23;
  --orange-text: #8A4F0C; /* orange that passes contrast on light backgrounds */
  --charcoal: #343A40;
  --grey-bg: #F4F5F7;
  --grey-panel: #E9ECF0;
  --line: #E2E6EB;
  --muted: #5A6573;
  --radius: 12px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Barlow', system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--grey-bg);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }

/* Media and embeds always scale to fit their container */
img, video, canvas, svg, iframe, embed, object { max-width: 100%; }
img, video { height: auto; }
iframe, embed, object, video { display: block; }
iframe[src*="youtube"], iframe[src*="youtu.be"], iframe[src*="vimeo"], iframe[src*="google.com/maps"], .embed iframe {
  width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0;
}
.embed { width: 100%; }
table { max-width: 100%; }

/* Let grid/flex children shrink instead of pushing the page wider */
.hero .container > *, .split > *, .contact-grid > *, .grid-3 > *, .grid-4 > *, .form > *, .strip .container > *, .logo, .logo__text { min-width: 0; }
a { color: var(--navy); }
h1, h2, h3 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  color: var(--navy);
}
h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(36px, 4.5vw, 52px); font-weight: 700; }
h3 { font-size: 28px; font-weight: 700; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--grey { background: var(--grey-panel); }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 12px;
}
.section--navy .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--orange); }
.lead { font-size: 19px; max-width: 680px; margin-top: 14px; }
.section--navy .lead { color: #D5DCE4; }
.section-head { margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  border-radius: 6px; font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  font-family: inherit;
}
.btn--orange { background: var(--orange); color: var(--navy); }
.btn--orange:hover { background: #F39A38; color: var(--navy); }
.btn--outline { border-color: #fff; color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Top bar + header */
.topbar { background: var(--navy-dark); color: #fff; font-size: 14px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo svg { width: 48px; height: 48px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 1.5px; color: var(--navy); }
.logo__sub { font-size: 11px; font-weight: 700; letter-spacing: 2.6px; color: var(--charcoal); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; }
.nav a.active { color: var(--orange-text); }
.nav a:not(.btn):hover { color: var(--orange-text); }
.nav-toggle { display: none; flex: none; background: none; border: 0; width: 48px; height: 48px; padding: 0; cursor: pointer; color: var(--navy); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; }
.hero .rule { width: 96px; height: 6px; background: var(--orange); margin: 22px 0; }
.hero p { font-size: 19px; color: #D5DCE4; max-width: 520px; }
.hero img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); border-bottom: 6px solid var(--orange); }

.strip { background: var(--orange); color: var(--navy); }
.strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: 1px; text-transform: uppercase; }

/* Page header (inner pages) */
.page-head { background: var(--navy); color: #fff; padding: 64px 0; }
.page-head h1 { color: #fff; font-size: clamp(40px, 5vw, 60px); }
.page-head p { color: #D5DCE4; font-size: 19px; max-width: 640px; margin-top: 16px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(21,43,67,.12); }
.card img { width: 100%; height: 230px; object-fit: cover; }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.card__num { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 1.5px; color: var(--orange-text); }
.card__more { margin-top: 4px; font-weight: 700; color: var(--navy); }

.season { background: var(--navy-mid); border-radius: var(--radius); padding: 28px; border-top: 6px solid var(--orange); }
.season h3 { margin-bottom: 8px; }
.season .months { color: #B8C6D6; font-size: 14px; font-weight: 600; display: block; margin-bottom: 12px; }
.season p { color: #E4E9EF; font-size: 16px; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }
.split--reverse .split__media { order: 2; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.checks strong { display: block; color: var(--navy); }
.checks span { font-size: 15px; }
.checks--single { grid-template-columns: 1fr; gap: 10px; }

/* Service detail */
.service { padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service:nth-child(even) { background: #fff; }
.service h2 { margin-bottom: 16px; }

/* CTA band */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 72px 0; }
.cta h2 { color: #fff; }
.cta p { color: #D5DCE4; font-size: 19px; margin-top: 14px; }
.cta .phone { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 44px; font-weight: 700; color: var(--orange); text-decoration: none; margin-top: 10px; }
.cta .btn-row { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.info { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.info__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); }
.info__big { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 700; text-decoration: none; }
.form { background: #fff; border: 1px solid #DDE2E8; border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--navy); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--charcoal); width: 100%; min-width: 0;
  border: 1px solid #B9C2CD; border-radius: 6px; padding: 0 14px; height: 48px; background: #fff;
}
.form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(233,138,35,.45); border-color: var(--orange); }
.form .btn { grid-column: 1 / -1; min-height: 54px; font-size: 18px; border: 0; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-dark); color: #C9D3DE; padding: 56px 0 32px; font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand .logo__name { color: #fff; font-size: 28px; }
.footer-brand .logo__sub { color: #C9D3DE; }
.footer-brand .tag { color: var(--orange); font-weight: 600; margin-top: 14px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols strong { color: #fff; }
.footer-cols a { color: #C9D3DE; text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #24364B; margin-top: 32px; padding-top: 20px; font-size: 14px; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .strip .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0,0,0,.08); max-height: calc(100vh - 100%); max-height: calc(100dvh - 100%); overflow-y: auto; overscroll-behavior: contain; }
  .nav.open { display: flex; }
  .nav a { display: flex; align-items: center; min-height: 52px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a.btn { justify-content: center; margin-top: 14px; border-bottom: 0; }

  /* Readable body text (16px minimum) */
  .topbar, .site-footer, .footer-bottom, .form-note, .checks span, .season .months, .season p { font-size: 16px; }

  /* Tap targets at least 44 x 44px */
  .topbar .container { align-items: center; padding-top: 0; padding-bottom: 0; }
  .topbar a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-cols div { gap: 0; }
  .footer-cols strong { margin-bottom: 4px; }
  .footer-cols a { display: flex; align-items: center; min-height: 44px; }
  .info a, .form-note a { display: inline-flex; align-items: center; min-height: 44px; }
  .info { gap: 12px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .checks, .form { grid-template-columns: 1fr; }
  .hero img { height: 280px; }
  .split img { height: 280px; }
  .form { padding: 24px; }
  h1, .page-head h1 { font-size: clamp(34px, 11vw, 44px); }
  h2 { font-size: clamp(30px, 9.5vw, 36px); }
  .cta .phone { font-size: clamp(34px, 11vw, 44px); }
  .info__big { font-size: 32px; }
}
@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .site-header .container { gap: 10px; }
  .logo { gap: 10px; }
  .logo { min-height: 44px; }
  .logo svg { width: 42px; height: 42px; }
  .logo__name { font-size: 22px; letter-spacing: 1px; }
  .logo__sub { font-size: 9.5px; letter-spacing: 2px; }
  .nav { padding-left: 18px; padding-right: 18px; }
}
