/* =========================================================================
   LitterPro — design system
   ========================================================================= */
:root {
  --navy-900: #07182e;
  --navy-800: #0c2340;
  --navy-700: #133156;
  --navy-600: #1d4377;
  --brand: #1a73e8;
  --brand-600: #1666cf;
  --accent: #16a34a;
  --accent-600: #128a3f;
  --warn: #f59e0b;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eef3f9;
  --line: #e3e8ef;
  --line-strong: #cbd3df;
  --text: #16243a;
  --text-soft: #475569;
  --text-mute: #6b7787;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 6px 14px rgba(15, 23, 42, .07), 0 2px 4px rgba(15, 23, 42, .05);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, .12), 0 6px 12px rgba(15, 23, 42, .06);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container: 1200px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --section-pad: clamp(3.5rem, 7vw, 6rem);
  --header-h: 72px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--text-soft); }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }
.section-tint { background: var(--bg-soft); }
.section-head { max-width: 740px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); text-align: center; }
.section-head .section-sub { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(22, 163, 74, .08);
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  line-height: 1;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(26, 115, 232, .25); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 10px 22px rgba(26, 115, 232, .32); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(22, 163, 74, .28); }
.btn-accent:hover { background: var(--accent-600); color: #fff; box-shadow: 0 10px 22px rgba(22, 163, 74, .35); }

.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); background: rgba(12,35,64,.04); }

.btn-ghost { background: transparent; color: var(--navy-800); }
.btn-ghost:hover { background: rgba(12,35,64,.06); color: var(--navy-800); }

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

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--navy-900); }
.brand-mark { width: 36px; height: 36px; }
.brand-accent { color: var(--accent); }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.primary-nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy-800);
  padding: .5rem 0;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--navy-800);
  font-size: .95rem;
}
.header-phone:hover { color: var(--brand); }
.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1rem var(--gutter) 1.5rem;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: .5rem; }
.mobile-menu a {
  display: block;
  font-weight: 600;
  color: var(--navy-800);
  padding: .7rem .25rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.btn { border-bottom: none; padding: 1rem 1.6rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(26,115,232,.16) 0%, rgba(26,115,232,0) 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(22,163,74,.14) 0%, rgba(22,163,74,0) 60%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(12,35,64,.04) 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 1rem; color: var(--navy-900); }
.hero-copy .lede { font-size: 1.15rem; max-width: 56ch; color: var(--text-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.25rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.hero-trust li {
  font-size: .9rem;
  color: var(--text-soft);
}
.hero-trust strong { color: var(--navy-900); font-weight: 700; }
.hero-art {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #cfe1ff, #e8f3ff);
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-art {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--bg-tint);
}
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}
.kpi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.kpi-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--brand);
  line-height: 1;
}
.kpi-label {
  display: block;
  margin-top: .35rem;
  font-size: .85rem;
  color: var(--text-mute);
}

/* ---------- services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #dfe9f7, #f3f7fd);
  overflow: hidden;
}
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 1.25rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { color: var(--navy-900); }
.service-body p { flex: 1; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--brand);
  margin-top: .5rem;
}
.link-arrow span { transition: transform .15s ease; }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.why-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(22,163,74,.12);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: .9rem;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { margin-bottom: .35rem; font-size: 1.1rem; }
.why-card p { margin: 0; color: var(--text-soft); font-size: .96rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(50% 80% at 100% 50%, rgba(22,163,74,.35) 0%, rgba(22,163,74,0) 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.cta-banner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cta-banner h2 { color: #fff; margin-bottom: .35rem; }
.cta-banner p { color: rgba(255,255,255,.78); margin: 0; }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-list { margin-top: 1.5rem; display: grid; gap: 1rem; }
.contact-list li {
  display: flex; gap: .9rem; align-items: flex-start;
}
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(26,115,232,.10);
  color: var(--brand);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label {
  display: block;
  font-weight: 700;
  font-size: .8rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .1rem;
}
.contact-list a { color: var(--navy-800); font-weight: 600; }
.contact-list a:hover { color: var(--brand); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-block { display: block; margin-bottom: 1rem; }
.contact-form label > span {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy-800);
  margin-bottom: .35rem;
}
.contact-form label em {
  color: #dc2626;
  font-style: normal;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .8rem .95rem;
  font: inherit;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(26,115,232,.15);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-help { color: var(--text-mute); font-size: .8rem; display: block; margin-top: .35rem; }
.form-note { font-size: .85rem; color: var(--text-mute); margin-top: .9rem; margin-bottom: 0; }
.form-status { font-size: .9rem; margin: .75rem 0 0; min-height: 1.2em; }
.form-status.ok { color: var(--accent-600); font-weight: 600; }
.form-status.err { color: #b91c1c; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.78);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.site-footer h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.7); margin-top: .8rem; max-width: 36ch; font-size: .95rem; }
.footer-col ul { display: grid; gap: .5rem; font-size: .95rem; }
.footer-contact li { line-height: 1.4; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 1.25rem 0;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
}

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

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .primary-nav,
  .header-phone,
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 5 / 3.5; order: -1; }
  .about-art { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kpi-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .kpi-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 1rem; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- a11y / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
}
