/* ======================================================
   Ascend Cleaning and Waste — site styles
   Palette pulled from the logo: orange + deep blue on white
   ====================================================== */

:root {
  --orange: #E37128;
  --orange-dark: #C85F1D;
  --orange-light: #FBEADC;
  --blue: #1E5FB8;
  --blue-dark: #154691;
  --blue-deep: #0F2E5C;
  --ink: #1a2332;
  --ink-soft: #4a5568;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-tint: #f1f5fb;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 46, 92, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 46, 92, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 46, 92, 0.12);
  --maxw: 1180px;
  --container-pad: 24px;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-head: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--blue-deep);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
  min-height: 48px;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--blue);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--blue-deep);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blue-deep);
}
.brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text .bt-1 {
  font-weight: 800;
  color: var(--blue);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.brand-text .bt-2 {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--blue);
  background: var(--bg-tint);
}
.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle span {
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: transform 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(140deg, #fff 0%, var(--bg-tint) 70%, #eaf1fb 100%);
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(227, 113, 40, 0.16), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  margin-left: auto;
}
.hero-visual .hv-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.hero-visual .hv-logo {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
}
.hero-visual .hv-logo img { max-height: 72%; }
.hero-visual .hv-photo {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 !important;
  overflow: hidden;
  border: 4px solid #fff;
  background: #eef2f7 url("job-01.jpg") center center / cover no-repeat;
  z-index: 1;
}
.hero-visual .hv-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
}
.hero-visual .hv-badge {
  top: -18px;
  right: -18px;
  background: var(--blue-deep);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
  z-index: 2;
}
.hero-visual .hv-badge small { display: block; font-weight: 500; font-size: 0.7rem; opacity: 0.85; margin-top: 2px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-dark {
  background: var(--blue-deep);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.82); }
.section-soft { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 14px; }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(227, 113, 40, 0.4);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--orange-light);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 10px; color: var(--blue-deep); }
.service-card p { margin-bottom: 18px; flex: 1; }
.service-card ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.service-card ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 14px; height: 6px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.service-card a.link {
  margin-top: auto;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card a.link:hover { color: var(--orange); }

/* ---------- Clients strip ---------- */
.clients {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.clients-label {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 600;
}
.clients-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  align-items: center;
}
.client-name {
  text-align: center;
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 1.05rem;
  padding: 18px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

/* ---------- Feature row (about / why-us) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature {
  padding: 8px 4px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30, 95, 184, 0.1);
  color: var(--blue);
  margin-bottom: 14px;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 0.95rem; }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-tint), var(--orange-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 600;
  overflow: hidden;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.gallery .tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-tint), var(--orange-light));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tile .placeholder {
  padding: 20px;
  text-align: center;
  color: var(--blue);
  font-weight: 600;
}

/* ---------- Contact / Forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--blue-deep);
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form .field { margin-bottom: 18px; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 95, 184, 0.15);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.form .note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.form-success {
  display: none;
  padding: 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}
.form-success.show { display: block; }

.contact-info {
  background: var(--blue-deep);
  color: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
}
.contact-info h3 { color: #fff; margin-bottom: 20px; }
.contact-info .ci-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-info .ci-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.contact-info .ci-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}
.contact-info .ci-value {
  font-size: 1.02rem;
  color: #fff;
  font-weight: 500;
}
.contact-info a { color: #fff; }
.contact-info a:hover { color: var(--orange); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(110deg, var(--blue-deep), var(--blue));
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-primary { box-shadow: 0 10px 24px rgba(227, 113, 40, 0.35); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1a33;
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--orange); }
.site-footer .brand-text .bt-1 { color: #fff; }
.site-footer .brand-text .bt-2 { color: rgba(255, 255, 255, 0.6); }
.footer-about { max-width: 320px; margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Page header (sub pages) ---------- */
.page-header {
  background: linear-gradient(140deg, #fff 0%, var(--bg-tint) 100%);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin-bottom: 12px; }
.page-header p { font-size: 1.1rem; max-width: 640px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 60px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { margin: 0 auto; max-width: 340px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 64px 0; }
}

@media (max-width: 720px) {
  :root { --container-pad: 20px; }
  .nav-toggle { display: inline-flex; }

  /* Hamburger menu: hidden by default, drops down below header when .open */
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 2px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    z-index: 99;
    list-style: none;
    margin: 0;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu li {
    list-style: none;
    width: 100%;
    display: block;
  }
  .nav-menu a {
    display: block;
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu li:last-child a {
    border-bottom: none;
  }
  .nav-cta {
    margin: 14px 0 0;
  }
  .nav-cta a.btn {
    text-align: center;
    border-bottom: none;
  }
  .hero .lead { font-size: 1.05rem; }
  .form { padding: 24px; }
  .form .row { grid-template-columns: 1fr; }
  .form .submit-row { flex-direction: column; align-items: stretch; }
  .contact-info { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-band { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
