/* ============================================
   Clean Ops Solutions — Design System
   ============================================ */

:root {
  --navy: #163a63;
  --navy-dark: #0e2647;
  --blue: #0ea5e9;
  --blue-light: #38bdf8;
  --blue-pale: #e0f6ff;
  --gold: #f5b400;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --border: #e3e8f0;
  --text: #16213a;
  --text-muted: #5b6472;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 30, 60, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 30, 60, 0.14);
  --max-width: 1180px;
  --font-head: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--blue); text-decoration: none; }

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

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

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #b9c3d6; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.35);
}
.btn-primary:hover { background: var(--blue-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
}
.logo span { color: var(--blue-light); }
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.mobile-cta-group { display: none; }
.mobile-call-btn { display: none; }
.main-nav a {
  color: #dbe3f4;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav .dropdown { position: relative; padding-bottom: 4px; margin-bottom: -4px; }
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  margin-top: 4px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  padding: 10px;
  z-index: 50;
}
.main-nav .dropdown:hover .dropdown-menu,
.main-nav .dropdown.open .dropdown-menu { display: block; }
.main-nav .dropdown-menu a {
  display: block;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.main-nav .dropdown-menu a:hover { background: var(--bg-alt); }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-phone {
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.05rem;
  white-space: nowrap;
}
.header-phone small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #9fb0cf;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero > .container.hero-inner { width: 100%; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: saturate(0.45) brightness(0.65) contrast(1.05);
  transition: opacity 1.4s ease;
}
.hero-bg-slide.active { opacity: 1; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,30,60,0.92) 0%, rgba(15,30,60,0.85) 38%, rgba(15,30,60,0.68) 65%, rgba(14, 165, 233,0.45) 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 70px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: #cfe0ff;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--blue-light); }
.hero p.lead { font-size: 1.15rem; color: #c3cede; max-width: 540px; }
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
  color: #cfe0ff;
  font-weight: 600;
}
.hero-trust span { display: flex; align-items: center; gap: 8px; }

.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--text);
}
.quote-card-head {
  background: linear-gradient(120deg, var(--blue), var(--blue-light));
  color: var(--white);
  padding: 22px 26px;
}
.quote-card-head h3 { color: var(--white); margin-bottom: 4px; }
.quote-card-head p { color: rgba(255,255,255,0.9); margin: 0; font-size: 0.9rem; }
.quote-card-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 14px; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--bg-alt);
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Stats bar */
.stats-bar {
  background: var(--navy-dark);
  color: var(--white);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-grid .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--blue-light);
}
.stats-grid .label { font-size: 0.85rem; color: #a9b7d1; font-weight: 600; }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card.popular { border-color: var(--blue); }
.card .badge-popular {
  position: absolute;
  top: -13px; right: 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card ul { padding-left: 0; list-style: none; margin: 16px 0 0; }
.card ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}
.card .card-link { display: inline-block; margin-top: 14px; font-weight: 700; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-left: 60px; }
.step .step-num {
  position: absolute;
  left: 0; top: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* Testimonials */
/* Desktop: static responsive grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.reviews-track { display: contents; }
.testimonial-dup { display: none; }
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* Mobile: auto-scrolling infinite track */
@media (max-width: 768px) {
  .hero {
    padding: 44px 0 32px;
    min-height: 0;
    display: block;
  }
  .hero .quote-card { display: none; }
  .hero-inner { padding-bottom: 0; gap: 0; }
  .hero-badge { font-size: 0.78rem; padding: 7px 14px; margin-bottom: 16px; }
  .hero p.lead { font-size: 1rem; }
  .hero-ctas { margin: 24px 0; }
  .hero-trust { gap: 16px 22px; padding-top: 20px; font-size: 0.85rem; }
  .reviews-grid {
    display: flex;
    overflow: hidden;
    gap: 0;
    position: relative;
  }
  .reviews-track {
    display: flex;
    gap: 16px;
    animation: reviewsScroll 24s linear infinite;
    will-change: transform;
  }
  .reviews-track:hover,
  .reviews-track.paused { animation-play-state: paused; }
  .testimonial-dup { display: block; }
  .testimonial {
    flex: 0 0 85vw;
    max-width: 340px;
  }
}
@keyframes reviewsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
}
.testimonial-author .name { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.testimonial-author .sub { font-size: 0.8rem; color: var(--text-muted); }

/* Service areas */
.area-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.area-pill {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 100px;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
  gap: 20px;
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer-inner { padding-bottom: 22px; color: var(--text-muted); }
.faq-item.open .faq-answer { max-height: 500px; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue), #1d4fc4);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #dbe6ff; max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #a9b7d1;
  padding: 70px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: #a9b7d1; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: #a9b7d1; }

/* Breadcrumb / page header (interior pages) */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 64px;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: #c3cede; max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: #9fb0cf;
  margin-bottom: 18px;
}
.breadcrumb a { color: #9fb0cf; }
.breadcrumb a:hover { color: var(--white); }

/* Image placeholder */
.img-placeholder {
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  min-height: 220px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.tag-list span {
  background: var(--blue-pale);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 100px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.nav-open { display: flex; }
  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: normal;
  }
  .main-nav .dropdown-menu {
    display: block;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .main-nav .dropdown-menu a { color: #dbe3f4; padding: 10px 0; }
  .main-nav .dropdown-menu a:hover { background: none; color: var(--white); }
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  .header-right .btn-book-now { display: none; }
  .header-right .btn-primary {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 8px;
    white-space: nowrap;
  }
  .header-right { gap: 8px; }
  .mobile-call-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
  }
  .mobile-call-btn:hover { background: rgba(56,189,248,0.15); color: var(--blue-light); }
  .mobile-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .mobile-cta-group .btn { width: 100%; }
  .mobile-cta-phone {
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 1.05rem;
    text-align: center;
    padding: 6px 0;
  }
}

@media (max-width: 620px) {
  .logo-img { height: 34px; }
}

@media (max-width: 720px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .section { padding: 60px 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .testimonial { flex-basis: 84vw; }
  .cta-band .btn { width: 100%; margin-left: 0 !important; margin-top: 12px; }
  .cta-band > .btn:first-of-type,
  .cta-band a.btn:first-of-type { margin-top: 0; }
}

/* Photos */
.photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 100%;
  object-fit: cover;
}
.photo-tall { max-height: 520px; }
.photo-gallery { height: 280px; }

/* Discount popup */
.discount-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 21, 48, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.discount-popup-overlay.visible { display: flex; }
.discount-popup-overlay.show { opacity: 1; }
.discount-popup-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
  padding: 44px 32px 36px;
  text-align: center;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s ease;
}
.discount-popup-overlay.show .discount-popup-card {
  transform: scale(1) translateY(0);
}
.discount-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.discount-popup-close:hover { background: var(--border); }
.discount-popup-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--blue);
  margin-bottom: 6px;
}
.discount-popup-card h3 {
  margin-bottom: 10px;
}
.discount-popup-card p {
  font-size: 1rem;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .discount-popup-card { padding: 36px 22px 28px; }
  .discount-popup-badge { font-size: 2.2rem; }
}
