/* ============================================================
   Open My Drain — Tope Sewer
   Rugged / trustworthy: navy + safety orange
   ============================================================ */

:root {
  --navy:       #0c2340;   /* deep industrial navy */
  --navy-2:     #0f2c50;
  --navy-3:     #16395f;
  --orange:     #f5821f;   /* safety orange */
  --orange-dk:  #d96d0c;
  --yellow:     #ffc233;   /* hi-vis accent */
  --ink:        #1c2330;   /* body text on light */
  --slate:      #5a6577;
  --line:       #e3e7ee;
  --bg:         #ffffff;
  --bg-soft:    #f4f6fa;
  --white:      #ffffff;

  --maxw: 1140px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(12,35,64,0.10);
  --shadow-sm: 0 4px 14px rgba(12,35,64,0.08);

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--orange-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0; letter-spacing: .2px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.4rem; font-weight: 700; }

.accent { color: var(--orange); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  font-size: .78rem;
  color: var(--yellow);
  margin: 0 0 .6rem;
}
.eyebrow.dark { color: var(--orange-dk); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-family: var(--font-body);
  padding: .75rem 1.4rem; border-radius: 8px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none; white-space: nowrap; font-size: 1rem;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-call { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(245,130,31,.35); }
.btn-call:hover { background: var(--orange-dk); color:#fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color:#fff; }

.btn-lg { padding: 1rem 1.8rem; font-size: 1.12rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--orange); color: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.brand-text em { font-style: normal; font-size: .72rem; color: var(--yellow); letter-spacing: .04em; }

.main-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.main-nav a {
  color: #d7deea; font-weight: 600; font-size: .98rem; padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: #fff; border-color: var(--orange); text-decoration: none; }

.header-call { padding: .6rem 1.1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy) url("../img/sewer-cabling.jpg") center 30% / cover no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,24,44,.94) 0%, rgba(8,24,44,.82) 45%, rgba(8,24,44,.55) 100%);
}
.hero-content { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 24px clamp(3.5rem, 8vw, 6rem); max-width: 780px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.7rem);
  font-weight: 800; text-transform: uppercase; margin: .2rem 0 1rem;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #d8e0ec; max-width: 620px; margin: 0 0 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.2rem; }
.hero-note { font-size: .92rem; color: #aab8cc; letter-spacing: .02em; margin: 0; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar { background: var(--orange); }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1rem; padding: 1.1rem 24px;
}
.trust-item {
  display: flex; align-items: center; gap: .7rem;
  color: #fff; justify-content: center; text-align: left;
}
.trust-item strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1; }
.trust-item span { font-size: .82rem; line-height: 1.2; font-weight: 600; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2 { color:#fff; }
.section-dark p { color:#cdd6e4; }
.section-accent { background: var(--bg-soft); }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-lead { font-size: 1.1rem; color: var(--slate); margin: 1rem 0 0; }
.section-dark .section-lead { color:#cdd6e4; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd6e4; }
.service-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--navy); color: var(--yellow);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: .5rem; color: var(--navy); }
.service-card p { margin: 0; color: var(--slate); font-size: .98rem; }

.services-cta { text-align: center; margin-top: 2.4rem; font-size: 1.1rem; font-weight: 600; color: var(--ink); }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; max-height: 520px; }
.split-text h2 { margin-bottom: 1rem; }
.split-text > p { margin-top: 0; }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; color:#dbe3ef; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px no-repeat;
}

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process li { position: relative; padding-top: .5rem; }
.step-num {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--yellow);
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 800;
  margin-bottom: 1rem; border: 3px solid var(--orange);
}
.process h3 { color: var(--navy); margin-bottom: .4rem; }
.process p { margin: 0; color: var(--slate); font-size: .96rem; }

/* ---------- Offers ---------- */
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.offer-card {
  background: #fff; border-radius: var(--radius); padding: 1.8rem 1.6rem;
  border-top: 5px solid var(--orange); box-shadow: var(--shadow-sm);
}
.offer-card h3 { color: var(--navy); margin-bottom: .6rem; }
.offer-card p { margin: 0; color: var(--slate); }

/* ---------- Service area ---------- */
.area-list {
  list-style: none; padding: 0; margin: 1.4rem 0 1.4rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem .8rem;
}
.area-list li { position: relative; padding-left: 1.4rem; color:#dbe3ef; font-weight: 500; }
.area-list li::before { content: "▸"; position: absolute; left: 0; color: var(--orange); }
.area-note { margin: 0; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; margin: 0; box-shadow: var(--shadow-sm);
}
.stars { color: var(--orange); font-size: 1.15rem; letter-spacing: 2px; margin-bottom: .7rem; }
.review p { font-size: 1.02rem; color: var(--ink); margin: 0 0 1rem; }
.review cite { font-style: normal; font-weight: 600; color: var(--slate); font-size: .92rem; }

.review-badges { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.4rem; flex-wrap: wrap; }
.badge {
  display: inline-block; background: var(--navy); color: #fff;
  font-weight: 700; padding: .55rem 1.1rem; border-radius: 6px;
  border-left: 4px solid var(--orange); font-size: .95rem;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.contact-card {
  background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.contact-card h3 { color: var(--yellow); margin-bottom: .35rem; font-size: 1.15rem; }
.contact-card h3 + p { margin-top: 0; }
.contact-card a { color: #fff; }
.contact-card address { font-style: normal; color: #cdd6e4; line-height: 1.7; }
.contact-primary { background: var(--orange); border-color: var(--orange-dk); display: flex; flex-direction: column; align-items: flex-start; }
.contact-primary h3 { color: #fff; }
.contact-primary p { color: #fff5ec; }
.big-phone { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: #fff !important; line-height: 1; margin: .2rem 0 .4rem; }
.big-phone:hover { text-decoration: none; }
.contact-primary .btn-call { background: var(--navy); margin-top: auto; }
.contact-primary .btn-call:hover { background: var(--navy-2); }
.map-link { display: inline-block; margin-top: .8rem; color: var(--yellow) !important; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #081a30; color: #aab8cc; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 2rem;
  padding: 3rem 24px 2.2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: .4rem; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.5rem; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.footer-brand span { font-size: .9rem; }
.footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a { color: #aab8cc; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact span { font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: center; }

/* ============================================================
   VIEW REPORT
   ============================================================ */
.report-intro h2 { margin-bottom: 1rem; }
.report-intro > p { margin-top: 0; color: var(--slate); }
.report-help { font-weight: 600; color: var(--ink) !important; }

.report-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; align-self: center; width: 100%;
}
.report-card-head {
  display: flex; align-items: center; gap: .6rem;
  background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; font-size: 1.3rem;
  padding: .9rem 1.4rem; border-bottom: 3px solid var(--orange);
}
.report-card-head svg { color: var(--yellow); }
.report-card-body { padding: 1.6rem 1.4rem; }
.report-card-body label { display: block; font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.report-hint { margin: .2rem 0 1rem; font-size: .9rem; color: var(--slate); }

.report-input-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.report-input-row input {
  flex: 1 1 160px; min-width: 0;
  padding: .75rem .9rem; font-size: 1rem; font-family: var(--font-body);
  border: 2px solid var(--line); border-radius: 8px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.report-input-row input:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,130,31,.18);
}
.report-input-row .btn { flex: 0 0 auto; }

.report-secure {
  display: flex; align-items: center; gap: .4rem;
  margin: 1rem 0 0; font-size: .82rem; color: var(--slate);
}
.report-secure svg { color: #2e9e5b; flex: 0 0 auto; }

/* ============================================================
   STICKY MOBILE CALL BAR
   ============================================================ */
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; justify-content: center; gap: .6rem;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 1.1rem;
  padding: .95rem; box-shadow: 0 -4px 18px rgba(0,0,0,.25);
}
.sticky-call:hover { text-decoration: none; color:#fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .services-grid, .offers-grid, .reviews-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .trustbar-inner { grid-template-columns: repeat(5, auto); overflow-x: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-call span { display: inline; }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .services-grid, .offers-grid, .reviews-grid, .contact-grid, .process { grid-template-columns: 1fr; }
  .trustbar-inner { grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .sticky-call { display: flex; }
  body { padding-bottom: 60px; }
  .header-call { font-size: .92rem; padding: .55rem .9rem; }
  .brand-text em { display: none; }
}

@media (max-width: 420px) {
  .header-call span { display: none; }
  .header-call { padding: .55rem .7rem; }
}
