/* ============================================================
   OLC Services — On-Line Cooling Tower Cleaning
   Palette drawn from the OLC logo: ink black, OLC blue, navy tag
   ============================================================ */

:root {
  --ink: #16161a;
  --blue: #2e6ce0;
  --blue-dark: #1d4b8f;
  --navy: #12386e;
  --paper: #ffffff;
  --paper-alt: #f2f5f9;
  --line: #dde3ea;
  --text: #2a2d33;
  --muted: #5c636e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 22, 26, .08);
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

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

.wrap {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}
.wrap-narrow { width: min(840px, 100% - 2.5rem); }

.center { text-align: center; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4,
.brand-text,
.hero-tagline {
  font-family: "Archivo Black", "Archivo", sans-serif;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.01em;
}

h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }

.kicker {
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue);
  font-size: .82rem;
  margin-bottom: .55rem;
}
.kicker-light { color: #9cc0ff; }

.lead {
  font-size: clamp(1.02rem, 1.9vw, 1.15rem);
  color: var(--muted);
  max-width: 62ch;
}
.lead.center { margin-inline: auto; text-align: center; margin-top: 1.6rem; color: var(--ink); }

.sub-head {
  margin-top: 3.2rem;
  margin-bottom: .8rem;
  padding-left: .9rem;
  border-left: 6px solid var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  text-decoration: none;
  padding: .95rem 1.7rem;
  border-radius: 10px;
  letter-spacing: .02em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(46, 108, 224, .35);
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost {
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
.brand-bars { width: 26px; height: 30px; flex: none; }
.brand-text {
  font-size: 1.25rem;
  color: var(--ink);
  white-space: nowrap;
}
.brand-text em { font-style: normal; color: var(--blue); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
  position: relative;
}
.site-nav a:not(.nav-phone)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 3px;
  background: var(--blue);
  transition: right .2s ease;
}
.site-nav a:not(.nav-phone):hover::after { right: 0; }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--ink);
  color: #fff !important;
  padding: .55rem 1.05rem;
  border-radius: 9px;
  font-weight: 800;
  transition: background .15s ease;
}
.nav-phone:hover { background: var(--blue); }
.nav-phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.2rem, 6vw, 4.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.hero-copy p { margin-bottom: 1rem; max-width: 58ch; }

.logo-lockup { max-width: 400px; margin-bottom: 1.8rem; }
.logo-lockup img { width: 100%; height: auto; }

.hero-tagline {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin-bottom: 1.4rem;
}
.hero-tagline span { color: var(--blue); display: inline-block; }

.hero-better {
  font-family: "Archivo Black", "Archivo", sans-serif;
  color: var(--blue);
  font-size: 1.35rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.6rem;
}
.hero-ask {
  margin-top: .9rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .88rem;
}
.hero-ask.light { color: #b7c6dd; }

.hero-photo {
  position: relative;
  margin: 0;
}
.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 54px rgba(22, 22, 26, .22);
}
.live-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  padding: .5rem 1rem;
  border-radius: 999px;
  transform: rotate(-3deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}
.live-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #37d67a;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--ink);
  color: #fff;
  padding: 1.4rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .95rem;
  color: #c9cdd4;
}
.trust-item svg { width: 34px; height: 34px; flex: none; color: var(--blue); }
.trust-item strong { color: #fff; display: block; font-size: 1.02rem; }

/* ---------- Clients ---------- */
.clients {
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0 1.9rem;
  text-align: center;
}
.clients-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: .95rem;
}
.clients-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem .6rem;
}
.clients-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .42rem 1.05rem;
  font-weight: 700;
  font-size: .88rem;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.4rem, 8vw, 5.8rem) 0; }
.section-alt { background: var(--paper-alt); }
.section > .wrap > h2 { max-width: 24ch; }
.section > .wrap.center > h2 { margin-inline: auto; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  margin-top: 1.6rem;
  align-items: start;
}

.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 2.3rem;
  margin-bottom: 1.05rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4-4 1.7-1.7 2.3 2.3 4.9-4.9 1.7 1.7-6.6 6.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4-4 1.7-1.7 2.3 2.3 4.9-4.9 1.7 1.7-6.6 6.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list strong { color: var(--ink); }

.compliance-card {
  background: var(--ink);
  color: #d6dae1;
  border-radius: var(--radius);
  padding: 1.8rem 1.9rem;
  box-shadow: var(--shadow);
}
.compliance-card h3 {
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: .8rem;
  border-bottom: 3px solid var(--blue);
}
.compliance-card ul { list-style: none; }
.compliance-card li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: .85rem;
}
.compliance-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .6rem;
  height: .6rem;
  background: var(--blue);
  border-radius: 2px;
}

/* ---------- Services: cost cards ---------- */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.cost-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.cost-card svg {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: .9rem;
}
.cost-card h4 { font-size: 1.06rem; margin-bottom: .55rem; }
.cost-card p { font-size: .93rem; color: var(--muted); }

/* ---------- Services: process ---------- */
.process {
  list-style: none;
  counter-reset: step;
  margin-top: 1.7rem;
  display: grid;
  gap: 0;
}
.process li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.9rem 4.4rem;
}
.process li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}
.process li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.42rem;
  top: 2.9rem;
  bottom: .2rem;
  width: 3px;
  background: var(--line);
}
.process h4 { font-size: 1.12rem; margin-bottom: .3rem; }
.process p { color: var(--muted); max-width: 66ch; }

/* ---------- Services: why it works ---------- */
.why-list {
  margin-top: 1.6rem;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem 2.4rem;
}

/* ---------- Services: packages ---------- */
.packages {
  margin-top: 3.2rem;
  background: linear-gradient(120deg, var(--navy), var(--blue-dark) 60%, var(--blue));
  color: #dbe6f7;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.7rem, 4vw, 2.6rem);
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 18px 44px rgba(18, 56, 110, .35);
}
.packages h3 { color: #fff; margin-bottom: .8rem; }
.packages-copy p { margin-bottom: .9rem; }
.packages-copy strong { color: #fff; }
.packages-cta { text-align: center; }
.packages-cta .btn-primary {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  width: 100%;
}
.packages-cta .btn-primary:hover { background: #e8effa; }
.free-tag {
  font-size: 1.05rem;
  margin-bottom: .8rem;
  letter-spacing: .03em;
}
.free-tag strong {
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
  color: #fff;
  display: block;
}

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.industry-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  background: #fff;
}
.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.industry-card svg {
  width: 42px;
  height: 42px;
  color: var(--blue);
  margin-bottom: 1rem;
}
.industry-card h3 { font-size: 1.08rem; margin-bottom: .55rem; }
.industry-card p { font-size: .93rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1.9rem;
}
.gallery-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tile-art svg { width: 100%; height: auto; }
.tile-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 260;
  object-fit: cover;
  object-position: 50% 42%;
}
.gallery-tile figcaption {
  padding: .95rem 1.2rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  border-top: 4px solid var(--blue);
}
.gallery-note {
  margin-top: 1.3rem;
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
}
.gallery-note code {
  background: #e6ebf2;
  padding: .1rem .4rem;
  border-radius: 5px;
  font-size: .82rem;
}
.gallery-credits {
  margin-top: .5rem;
  font-size: .74rem;
  color: #8a919c;
  text-align: center;
}
.gallery-credits a {
  color: #8a919c;
  text-decoration: underline;
}
.gallery-credits a:hover { color: var(--blue); }

/* ---------- Testimonial ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.testimonial-copy .lead { margin-bottom: 1.4rem; }
.testimonial-attrib {
  border-left: 5px solid var(--blue);
  padding-left: 1rem;
  margin-bottom: 1.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.testimonial-attrib strong {
  color: var(--ink);
  font-size: 1.12rem;
}
.testimonial-video video {
  display: block;
  width: min(100%, 350px);
  height: auto;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 24px 54px rgba(22, 22, 26, .25);
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 1.7rem; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: .8rem;
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq-list details[open] { border-color: var(--blue); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3.2rem 1.05rem 1.3rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.4rem;
  color: var(--blue);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(46, 108, 224, .28), transparent 60%),
    var(--ink);
  color: #c6cdd8;
}
.contact h2 { color: #fff; }
.contact .lead { color: #aab3c2; margin-inline: auto; margin-bottom: 2.2rem; }
.contact-phones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.phone-big {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  transition: color .15s ease;
}
.phone-big:hover { color: var(--blue); }
.phone-tollfree { font-size: clamp(1.5rem, 5vw, 2.3rem); color: #9cc0ff; }
.phone-or {
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .78rem;
  font-weight: 700;
  color: #7d8698;
}
.contact-quotes {
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.contact-quotes p { font-size: 1.08rem; font-style: italic; }
.quote-strong {
  font-family: "Archivo Black", sans-serif;
  font-style: normal !important;
  color: #fff;
  font-size: 1.35rem !important;
  margin-top: .5rem;
  letter-spacing: .02em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0d0d10;
  color: #8b93a1;
  padding: 2.6rem 0;
  text-align: center;
  font-size: .92rem;
}
.footer-inner { display: grid; justify-items: center; gap: .55rem; }
.brand-footer .brand-text { color: #fff; }
.footer-phone a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-phone a:hover { color: var(--blue); }
.footer-fine { font-size: .8rem; color: #5d6470; margin-top: .6rem; }
.built-by {
  margin-top: 1.3rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6a7280;
  transition: color .15s ease;
}
.built-by img {
  width: 42px;
  height: 42px;
  transition: transform .15s ease;
}
.built-by:hover { color: #fff; }
.built-by:hover img { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Anchor offset for sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1020px) {
  .cost-grid, .industry-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 1rem 1.6rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 820px) {
  .about-grid, .packages, .testimonial-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .packages-cta { text-align: left; }
  .packages-cta .btn-primary { width: auto; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(22, 22, 26, .16);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.25rem;
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform .28s ease, visibility 0s .28s;
    z-index: 90;
  }
  .site-nav.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .28s ease, visibility 0s;
  }
  .site-nav a {
    padding: .85rem .2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .site-nav a:not(.nav-phone)::after { display: none; }
  .nav-phone {
    margin-top: 1rem;
    justify-content: center;
    border-bottom: none !important;
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cost-grid, .industry-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: .9rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .logo-lockup { max-width: 330px; }
  .clients-list li { font-size: .8rem; padding: .35rem .8rem; }
  .process li { padding-left: 3.6rem; }
  .process li::before { width: 2.5rem; height: 2.5rem; font-size: 1.05rem; }
  .process li:not(:last-child)::after { left: 1.15rem; top: 2.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
  .btn, .industry-card { transition: none; }
}
