/* Summerfield Services Inc. - pipeline site. Colors match the Summerfield RV site (v3d). */
:root {
  --navy: #001126;
  --navy2: #000d1c;
  --navyMid: #00142d;
  --navyFoot: #001530;
  --copper: #bb612d;
  --copperD: #b05420;
  --copperL: #e0a070;
  --cream: #f1f1f1;
  --ink: #00142d;
  --muted: #b8bec8;
  --max: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  background: var(--navy2);
  color: #fff;
  line-height: 1.5;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 0; background: var(--copper); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 900px) { .wrap { padding-left: 56px; padding-right: 56px; } }

/* Header: logo + phone + Contact button only (no navigation menu) */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy2);
  border-bottom: 2px solid var(--copper);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
.logo img { width: 38px; height: auto; flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo .name { font-family: Oswald, "Arial Narrow", sans-serif; font-weight: 600; font-size: 19px; letter-spacing: .6px; }
.logo .sub { font-family: Oswald, "Arial Narrow", sans-serif; font-weight: 500; font-size: 11px; letter-spacing: 3px; color: var(--copperL); margin-top: 4px; white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: 14px; }
.ph { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.ph svg { color: var(--copper); flex: 0 0 auto; }
.ph:hover, .ph:focus-visible { color: var(--copperL); }
@media (max-width: 599px) {
  .header-right .btn-contact { display: none; }
  .ph span { font-size: 14px; }
}
@media (min-width: 600px) {
  .header-in { min-height: 84px; }
  .logo img { width: 50px; }
  .logo .name { font-size: 28px; letter-spacing: 1px; }
  .logo .sub { font-size: 14px; letter-spacing: 5px; }
  .ph { font-size: 18px; }
}

.btn {
  display: inline-block; background: var(--copper); color: #fff; font-weight: 700;
  font-family: Poppins, sans-serif; border: 0; border-radius: 10px;
  padding: 10px 18px; font-size: 15px; text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: var(--copperD); }
.btn-lg { padding: 14px 32px; font-size: 18px; }
a:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .hero-map-scroll:focus-visible {
  outline: 2px solid var(--copperL); outline-offset: 2px;
}

/* Hero: the map image is the stage; headline/copy are live text on top (desktop) or above (phone) */
.hero { background: linear-gradient(180deg, #000c1c 0%, #001126 100%); container-type: inline-size; }
.hero-stage { position: relative; max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; }
.hero-copy { order: -1; padding: 28px 20px 18px; }
/* phone: spans flow inline */
.hero-copy h1 {
  font-family: Oswald, "Arial Narrow", sans-serif; font-weight: 700; margin: 0 0 14px;
  font-size: clamp(38px, 11vw, 60px); line-height: 1.02; letter-spacing: -.2px; color: #fff;
}
.fed { margin: 0 0 12px; font-family: Oswald, "Arial Narrow", sans-serif; font-weight: 600; color: var(--copper); font-size: clamp(22px, 6vw, 32px); line-height: 1.15; }
.tagline { margin: 0 0 20px; font-size: clamp(16px, 4.2vw, 19px); font-weight: 500; color: #ecedf1; }
.hero-copy p:last-child { margin: 0; }
.hero-map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); }
.hero-map { display: block; width: 840px; max-width: none; height: auto; }
.map-note { margin: 0; padding-top: 10px; padding-bottom: 14px; font-size: 13px; color: var(--muted); }
.swipe-hint { display: inline; color: var(--copperL); }

@media (min-width: 900px) {
  .hero-stage { display: block; }
  .hero-map-scroll { overflow: visible; border-top: 0; }
  .hero-map { width: 100%; max-width: 100%; }
  .hero-copy {
    position: absolute; left: 3.4%; top: 10%; width: 55%; padding: 0; order: 0;
  }
  .hero-copy h1 { font-size: clamp(32px, 6cqw, 92px); line-height: 1.05; margin-bottom: 4.6cqw; white-space: nowrap; }
  .hero-copy h1 span { display: block; }
  .map-note { display: none; }
  .tagline span { display: block; }
  .fed { font-size: clamp(18px, 2.7cqw, 38px); margin-bottom: 1.6cqw; }
  .tagline { font-size: clamp(14px, 2cqw, 26px); margin-bottom: 1.8cqw; max-width: 38cqw; }
  .hero-copy .btn-lg { font-size: clamp(15px, 1.9cqw, 24px); padding: .6em 1.6em; }
  .swipe-hint { display: none; }
}

/* Services */
.services { background: var(--navyMid); border-top: 1px solid rgba(255,255,255,.08); padding: 36px 0 40px; }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.svc { display: grid; grid-template-columns: 76px 1fr; column-gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.svc:first-child { border-top: 0; }
.svc-ico { grid-row: 1 / span 2; width: 72px; height: 72px; border: 2px solid var(--copper); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.svc-ico img { width: 40px; height: 40px; }
.svc h3 { margin: 0 0 4px; font-family: Oswald, "Arial Narrow", sans-serif; font-weight: 600; font-size: 21px; letter-spacing: .6px; text-transform: uppercase; line-height: 1.15; align-self: end; }
.svc p { margin: 0; font-size: 15px; color: #dfe4ea; }
@media (min-width: 640px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .svc { border-top: 0; }
}
@media (min-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 0; }
  .svc { display: block; text-align: center; padding: 6px 22px; border-left: 1px solid rgba(255,255,255,.12); }
  .svc:nth-child(3n+1) { border-left: 0; }
  .svc-ico { width: 96px; height: 96px; margin: 0 auto 16px; }
  .svc-ico img { width: 54px; height: 54px; }
  .svc h3 { font-size: 22px; margin-bottom: 8px; min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
}
@media (min-width: 1360px) {
  .svc-grid { grid-template-columns: repeat(6, 1fr); }
  .svc:nth-child(3n+1) { border-left: 1px solid rgba(255,255,255,.12); }
  .svc:nth-child(6n+1) { border-left: 0; }
  .svc { padding: 6px 16px; }
  .svc h3 { font-size: 19px; }
  .svc p { font-size: 14px; }
}

/* 30+ years band */
.band { background: var(--cream); color: var(--ink); padding: 26px 0; }
.band-in { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.years { font-family: Oswald, "Arial Narrow", sans-serif; font-weight: 700; color: var(--copperD); line-height: 1; white-space: nowrap; }
.years .num { font-size: 68px; }
.years .yrs { font-size: 40px; }
.band-copy p { margin: 0; }
.b1 { font-weight: 700; font-size: 19px; color: var(--ink); }
.b2 { margin-top: 6px !important; font-weight: 600; font-size: 17px; color: var(--ink); }
.b2 i { color: var(--copperD); font-style: normal; margin: 0 10px; }
@media (min-width: 760px) {
  .band-in { flex-direction: row; justify-content: center; gap: 48px; text-align: left; }
  .band-copy { border-left: 2px solid rgba(0,20,45,.35); padding-left: 48px; }
  .years .num { font-size: 92px; }
  .years .yrs { font-size: 56px; }
  .b1 { font-size: 26px; }
  .b2 { font-size: 22px; }
}

/* Contact form */
.request { background: var(--navy); padding: 44px 0 56px; }
.request h2 { margin: 0 0 6px; font-family: Oswald, "Arial Narrow", sans-serif; font-weight: 600; font-size: 34px; letter-spacing: .5px; text-transform: uppercase; }
.request .s { color: #dfe4ea; margin-bottom: 22px; font-size: 16px; }
.request .s a { color: var(--copperL); font-weight: 600; }
.form-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 22px 18px; border-top: 4px solid var(--copper); max-width: 920px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .form-card { padding: 30px 32px; } .form-grid { grid-template-columns: 1fr 1fr; gap: 18px 22px; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
.req { color: var(--copperD); }
.opt { font-weight: 500; color: #5a6470; font-size: 13px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; border: 1px solid #d4d8de; border-radius: 10px; background: #f3f4f6; padding: 13px 14px;
  font-family: Poppins, sans-serif; font-size: 16px; color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
.honey { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-actions .hint { color: #3a4250; font-size: 15px; }

/* Footer */
footer { background: var(--navyFoot); border-top: 4px solid var(--copper); padding: 24px 0 18px; }
.footer-in { display: flex; flex-direction: column; gap: 16px; }
.f-item { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 16px; }
.f-phone { font-weight: 600; font-size: 20px; }
.f-phone:hover { color: var(--copperL); }
.copyright { margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (min-width: 760px) { .footer-in { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Thanks page */
.thanks-main { padding: 56px 0; background: var(--navy); min-height: 55vh; display: flex; align-items: center; justify-content: center; }
.thanks-card { background: #fff; color: var(--ink); border-radius: 16px; border-top: 4px solid var(--copper); padding: 34px 28px; max-width: 560px; margin: 0 20px; text-align: center; }
.thanks-card h1 { margin: 0 0 12px; font-family: Oswald, "Arial Narrow", sans-serif; font-size: 34px; }
.thanks-card p { margin: 0 0 14px; font-size: 17px; }
.thanks-card a.phone { color: var(--copperD); font-weight: 700; }
