/* Lan-Tel Communications
   Layout: white header, navy photo hero with the quote form in it, alternating paper/white bands,
   orange (the utility color code for communications conduit) reserved for quote actions. */
:root {
  --navy: #0a1d36;
  --navy-2: #12305a;
  --blue: #1668b8;
  --sky: #4eb3ea;
  --orange: #f26a1b;
  --orange-dark: #d45510;
  --ink: #16263c;
  --text: #33455c;
  --muted: #617186;
  --paper: #f3f6fa;
  --white: #ffffff;
  --line: #d9e1ea;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.05; margin: 0; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; letter-spacing: .03em; }
p { margin: 0; max-width: 68ch; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.5rem; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--orange); border-radius: 2px; }
.lead { font-size: 1.2rem; color: var(--ink); }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: .7rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; line-height: 1.2; }
.btn-quote { background: var(--orange); color: var(--white); }
.btn-quote:hover { background: var(--orange-dark); }
.btn-ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-line:hover { background: var(--blue); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Header */
.topbar { background: var(--navy); color: #c9d6e6; font-size: .92rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .4rem; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 500; }
.site-header { background: var(--white); 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: 1rem; padding-block: .6rem; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > ul { display: flex; align-items: center; gap: 1.5rem; }
.nav a.navlink, .nav button.navlink { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; background: none; border: 0; padding: .4rem 0; cursor: pointer; }
.nav a.navlink:hover, .nav a.navlink[aria-current="page"] { color: var(--blue); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -1rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--orange); min-width: 220px; padding: .5rem 0; display: none; box-shadow: 0 12px 30px rgba(10,29,54,.12); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { display: block; padding: .5rem 1rem; color: var(--ink); text-decoration: none; font-weight: 500; }
.sub a:hover { background: var(--paper); color: var(--blue); }
.menu-btn { display: none; background: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: .35rem .7rem; font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { position: relative; background: var(--navy); color: #d6e1ee; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url(/img/directional-drill.jpg) center 60% / cover no-repeat; opacity: .5; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(10,29,54,.82) 45%, rgba(10,29,54,.35) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; padding-block: 4rem 4.5rem; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero .eyebrow { color: var(--sky); }
.hero .lead { color: #e4ecf5; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-weight: 500; color: var(--white); }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points li::before { content: ""; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }

.page-hero { background: var(--navy); color: #d6e1ee; position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; padding-block: 3.2rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero .eyebrow { color: var(--sky); }
.page-hero .lead { color: #e4ecf5; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--orange) 0 22%, var(--blue) 22% 100%); }

/* Bore path strip */
.bore { background: var(--navy); line-height: 0; border-top: 1px solid rgba(255,255,255,.08); }
.bore svg { width: 100%; height: 70px; display: block; }

/* Stats */
.stats { background: var(--navy-2); color: var(--white); }
.stats ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding-block: 1.8rem; }
.stats strong { display: block; font-family: var(--display); font-size: 2.7rem; font-weight: 700; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.stats span { font-size: .98rem; color: #c3d2e4; }

/* Sections */
.band { padding-block: 4.5rem; }
.band-paper { background: var(--paper); }
.band-navy { background: var(--navy); color: #d6e1ee; }
.band-navy h2, .band-navy h3, .band-navy h4 { color: var(--white); }
.band-navy .eyebrow { color: var(--sky); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.split.top { align-items: start; }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 4 / 3; }
.photo-pair { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem; align-items: end; }
figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--muted); padding-top: .4rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }

.point { border-top: 3px solid var(--blue); padding-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.band-navy .point { border-top-color: var(--orange); }

.svc { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; background: var(--navy); isolation: isolate; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,29,54,.05) 20%, rgba(10,29,54,.93) 78%); }
.svc:hover img { transform: scale(1.04); }
.svc-body { padding: 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.svc h3 { color: var(--white); }
.svc p { font-size: .98rem; line-height: 1.45; color: #dbe5f0; }
.svc .more { font-family: var(--display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; }
.checks.one { grid-template-columns: 1fr; }
.checks li { position: relative; padding-left: 1.6rem; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .45rem; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.checks li span { display: block; font-weight: 400; color: var(--text); }
.band-navy .checks li { color: var(--white); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 3px solid var(--line); }
.steps li::before { content: "0" counter(step); font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--orange); }

.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
blockquote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
blockquote p { font-size: 1.02rem; }
blockquote footer { margin-top: auto; font-size: .95rem; color: var(--muted); }
blockquote footer strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
blockquote.feature { background: var(--navy); border-color: var(--navy); color: #d6e1ee; }
blockquote.feature p { font-size: 1.15rem; color: #e9f0f7; max-width: none; }
blockquote.feature footer { color: #a9bcd3; }
blockquote.feature footer strong { color: var(--white); }

.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.badge-row img { height: 74px; width: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; }
.note { background: var(--paper); border-left: 4px solid var(--orange); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; }
.note strong { color: var(--ink); }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.person { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; background: var(--white); display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.person .role { color: var(--blue); font-weight: 600; margin-bottom: .4rem; }
.person a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.person a:hover { color: var(--blue); text-decoration: underline; }

/* Quote form */
.quote-card { background: var(--white); color: var(--text); border-radius: 8px; padding: 1.6rem; box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 5px solid var(--orange); }
.quote-card.flat { box-shadow: none; border: 1px solid var(--line); border-top: 5px solid var(--orange); }
.quote-card h2 { font-size: 1.9rem; }
.quote-card .sub-line { font-size: .97rem; color: var(--muted); margin: .3rem 0 1rem; }
form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
form .field { display: flex; flex-direction: column; gap: .25rem; margin-bottom: .8rem; min-width: 0; }
label { font-weight: 600; font-size: .92rem; color: var(--ink); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid #b9c6d4; border-radius: var(--radius); padding: .6rem .7rem; width: 100%; min-width: 0; }
input[type="file"] { padding: .45rem; font-size: .92rem; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .btn { width: 100%; }
.form-msg { margin-top: .8rem; padding: .8rem 1rem; border-radius: var(--radius); font-weight: 500; }
.form-msg.ok { background: #e6f5ec; color: #14562f; border: 1px solid #a9d9bb; }
.form-msg.err { background: #fdecea; color: #8a1c12; border: 1px solid #f1b5ae; }
.fine { font-size: .85rem; color: var(--muted); margin-top: .7rem; }
.done { text-align: center; padding: 1.5rem .5rem; display: flex; flex-direction: column; gap: .8rem; align-items: center; }
.done h3 { font-size: 1.8rem; }

/* CTA band */
.cta { background: var(--blue); color: var(--white); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.8rem; }
.cta h2 { color: var(--white); }
.cta p { color: #e2eefb; }
.cta .phone { color: var(--white); font-family: var(--display); font-size: 1.5rem; font-weight: 600; text-decoration: none; letter-spacing: .03em; }

/* Contact */
.contact-list { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-list dt { font-family: var(--display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-size: 1rem; }
.contact-list dd { margin: 0; color: var(--ink); font-size: 1.15rem; font-weight: 500; }
.contact-list dd a { color: var(--ink); text-decoration: none; }
.contact-list dd a:hover { color: var(--blue); }
dl { margin: 0; }
.prose { display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1rem; }

/* Footer */
.site-footer { background: var(--navy); color: #b4c4d8; font-size: .97rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.site-footer h4 { color: var(--white); margin-bottom: .8rem; }
.site-footer a { color: #d6e1ee; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer li { margin-bottom: .35rem; }
.site-footer .logo-chip { background: var(--white); border-radius: var(--radius); padding: .5rem .7rem; display: inline-block; margin-bottom: 1rem; }
.site-footer .logo-chip img { height: 46px; width: auto; }
.legal { border-top: 1px solid rgba(255,255,255,.12); }
.legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.1rem; font-size: .88rem; }

.mobile-bar { display: none; }

@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .hero .wrap { padding-block: 2.8rem 3rem; }
  .grid-4, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .steps { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 20px 1.2rem; box-shadow: 0 20px 30px rgba(10,29,54,.12); }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); padding: .45rem 0; }
  .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
  .nav .btn { margin-top: 1rem; }
  .band { padding-block: 3.2rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .topbar .hide-sm { display: none; }
  .logo img { height: 42px; }
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats strong { font-size: 2.2rem; }
  .grid-4, .team, .quotes, .grid-2, .checks, form .row, .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
  form .row { gap: 0; }
  .svc { min-height: 260px; }
  .quote-card { padding: 1.2rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px; box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
  .mobile-bar .btn { padding: .6rem .5rem; font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .svc img { transition: none; } }
