/* NightLine Plumbing & Air — main stylesheet
   Change the brand colors here and they update across the whole site. */
:root {
  --navy-900: #071528;
  --navy-800: #0b1f3a;
  --navy-700: #12305a;
  --amber: #f5a524;
  --amber-dark: #d98a0b;
  --sky: #3aa0ff;
  --ink: #1b2533;
  --muted: #5b6676;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 21, 40, .12);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; color: var(--navy-800); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-800); color: #dbe5f3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 10px; }
.section--dark .eyebrow { color: var(--amber); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s; font-family: var(--font); }
.btn:hover { transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: var(--navy-900); }
.btn--amber:hover { background: #ffb53d; }
.btn--outline { border-color: #fff; color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Ticker */
.ticker { background: var(--amber); color: var(--navy-900); font-weight: 700; font-size: .9rem; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; gap: 60px; padding: 8px 0; animation: ticker 32s linear infinite; }
.ticker__track span::before { content: "\25CF"; margin-right: 14px; font-size: .6rem; vertical-align: middle; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo img { width: 46px; height: 46px; }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.05; letter-spacing: .02em; }
.logo__text small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .22em; color: var(--amber); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__drop > button { color: #e6edf7; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: var(--font); }
.nav > a:hover, .nav__drop > button:hover, .nav a.is-active { color: var(--amber); }
.nav__drop { position: relative; }
.nav__drop > button::after { content: ""; display: inline-block; margin-left: 6px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.nav__menu { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.open .nav__menu { display: block; }
.nav__menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav__menu a:hover { background: var(--bg-soft); color: var(--navy-700); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.burger svg { width: 30px; height: 30px; }

@media (max-width: 1080px) {
  .header__phone { display: none; }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .header__cta .btn { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-900); flex-direction: column; align-items: stretch; padding: 12px 20px 24px; display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a, .nav__drop > button { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; width: 100%; font-size: 1.05rem; }
  .nav__menu { position: static; box-shadow: none; background: var(--navy-800); display: none; }
  .nav__drop:hover .nav__menu { display: none; }
  .nav__drop.open .nav__menu { display: block; }
  .nav__menu a { color: #dbe5f3; }
  .nav__menu a:hover { background: var(--navy-700); color: #fff; }
}

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-800); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,21,40,.94) 0%, rgba(7,21,40,.78) 45%, rgba(7,21,40,.35) 100%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 90px 20px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p { font-size: 1.2rem; color: #d4def0; max-width: 560px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 30px; padding: 0; list-style: none; font-weight: 600; }
.hero__badges li::before { content: "\2713"; color: var(--amber); font-weight: 800; margin-right: 8px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero { padding: 0; }
.page-hero .hero__inner { grid-template-columns: 1fr; padding: 80px 20px 70px; }
.crumbs { font-size: .9rem; color: #b8c6dc; margin-bottom: 12px; }
.crumbs a { color: #b8c6dc; }

/* Form card */
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border-top: 6px solid var(--amber); }
.form-card h2, .form-card h3 { margin-bottom: 4px; }
.form-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: .85rem; font-weight: 600; color: var(--navy-800); display: block; margin-bottom: 4px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(58,160,255,.18); }
textarea { min-height: 96px; resize: vertical; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 14px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* Quick service strip */
.quick { background: var(--navy-900); }
.quick__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 10px; color: #e6edf7; text-decoration: none; font-weight: 700; font-size: .92rem; text-align: center; border-right: 1px solid rgba(255,255,255,.07); transition: background .15s; }
.quick a:last-child { border-right: 0; }
.quick a:hover { background: var(--navy-700); color: var(--amber); }
.quick svg { width: 34px; height: 34px; color: var(--amber); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--rev > :first-child { order: 2; }
.photo-stack { position: relative; padding-bottom: 60px; }
.photo-stack img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--bg-soft); }
.photo-stack img + img { position: absolute; width: 55%; right: -10px; bottom: 0; border: 6px solid #fff; aspect-ratio: 1/1; }
.stat { position: absolute; left: -10px; bottom: 20px; background: var(--amber); color: var(--navy-900); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); max-width: 190px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.stat span { font-weight: 700; font-size: .9rem; }
.photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg-soft); }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checks li { padding-left: 32px; position: relative; font-weight: 500; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: var(--navy-900); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.phone-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.3rem; text-decoration: none; color: var(--navy-800); }
.phone-link span { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: var(--amber); display: grid; place-items: center; }
.phone-link svg { width: 22px; height: 22px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(7,21,40,.08); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; border: 1px solid var(--line); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--navy-700); }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: .97rem; flex: 1; }
.card__link { font-weight: 700; color: var(--navy-700); text-decoration: none; }
.card__link::after { content: " \2192"; color: var(--amber-dark); }
.card__meta { font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }

/* Promise cards (dark) */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.promise { background: var(--navy-700); border-radius: var(--radius); padding: 26px; border: 1px solid rgba(255,255,255,.06); }
.promise svg { width: 38px; height: 38px; color: var(--amber); margin-bottom: 14px; }
.promise p { color: #b8c6dc; font-size: .95rem; margin: 0; }
.review-cta { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.stars { color: var(--amber); font-size: 1.4rem; letter-spacing: 3px; }

/* Areas */
.area-list { columns: 2; list-style: none; padding: 0; margin: 0 0 28px; }
.area-list li { padding: 7px 0 7px 26px; position: relative; font-weight: 600; break-inside: avoid; }
.area-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245,165,36,.2); }
.map-svg { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--navy-800); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff; padding: 64px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band h2 em { font-style: normal; color: var(--amber); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-800); color: var(--amber); display: grid; place-items: center; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--navy-800); }
.info-list a { text-decoration: none; }

/* Article / prose */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.4em; font-size: 1.7rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.aside-card { background: var(--navy-800); color: #dbe5f3; border-radius: var(--radius); padding: 28px; position: sticky; top: 100px; }
.aside-card h3 { color: #fff; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.aside-card ul { padding: 0; list-style: none; margin: 0 0 16px; }
.aside-card li a { color: #dbe5f3; text-decoration: none; display: block; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 600; }
.aside-card li a:hover { color: var(--amber); }
.with-aside { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--navy-800); }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.value { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.value b { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--amber-dark); line-height: 1; margin-bottom: 8px; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.numbers b { display: block; font-family: var(--font-head); font-size: 2.6rem; color: var(--amber); line-height: 1.1; }
.numbers span { color: #b8c6dc; font-weight: 600; }

/* Footer */
.footer { background: var(--navy-900); color: #a9b8cf; padding: 64px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #a9b8cf; text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .logo { margin-bottom: 14px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-700); display: grid; place-items: center; color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }

/* Floating call button */
.float-call { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: var(--amber); color: var(--navy-900); font-weight: 800; text-decoration: none; padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 26px rgba(0,0,0,.3); }
.float-call svg { width: 20px; height: 20px; }
.float-call::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(245,165,36,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(245,165,36,0); } 100% { box-shadow: 0 0 0 0 rgba(245,165,36,0); } }

/* Responsive */
@media (max-width: 1000px) {
  .quick__grid { grid-template-columns: repeat(3, 1fr); }
  .quick a:nth-child(3n) { border-right: 0; }
  .quick a { border-bottom: 1px solid rgba(255,255,255,.07); }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .with-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 860px) {
  .hero__inner, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--rev > :first-child { order: 0; }
  .cards, .values { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 64px 0; }
  .hero__inner { padding: 60px 20px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero__inner { padding: 48px 16px; }
  .cards, .values, .promises, .form-grid { grid-template-columns: 1fr; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .quick a:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.07); }
  .quick a:nth-child(2n) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .area-list { columns: 1; }
  .photo-stack img + img { right: 0; }
  .stat { left: 0; }
  .float-call span { display: none; }
  .float-call { padding: 16px; }
  .form-card { padding: 22px; }
  .logo__text { font-size: 1rem; }
}
