/* SC Commercial Concepts — Custom Styles
 * Brand fonts: Anton (display, ultra-bold) + Oswald (display alt) + Inter (body)
 */

:root {
  --sc-green: #8DAD2A;
  --sc-green-dark: #7a961f;
  --sc-green-light: #a3c33d;
  --sc-black: #1a1a1a;
  --sc-dark: #111111;
  --sc-grey: #f5f5f5;
  --sc-grey-2: #e5e5e5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Display headings — Anton matches the brochure's heavy condensed sans */
h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: 'Anton', 'Oswald', 'Montserrat', 'Inter', sans-serif;
  letter-spacing: 0.005em;
  font-weight: 400; /* Anton is single-weight; appears very heavy */
}

/* For longer heading copy where Anton looks too compressed, fall back to Oswald */
.font-oswald {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 700;
}

.font-body {
  font-family: 'Inter', sans-serif;
}

/* Brand color utilities */
.text-sc-green { color: var(--sc-green); }
.bg-sc-green { background-color: var(--sc-green); }
.bg-sc-green-dark { background-color: var(--sc-green-dark); }
.border-sc-green { border-color: var(--sc-green); }
.bg-sc-black { background-color: var(--sc-black); }
.bg-sc-dark { background-color: var(--sc-dark); }
.text-sc-black { color: var(--sc-black); }

/* Hover effects */
.btn-primary {
  background-color: var(--sc-green);
  color: #fff;
  transition: all 0.25s ease;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.btn-primary:hover {
  background-color: var(--sc-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(141, 173, 42, 0.6);
}
.btn-dark {
  background-color: var(--sc-black);
  color: #fff;
  transition: all 0.25s ease;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.btn-dark:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.4);
}
.btn-outline {
  border: 2px solid var(--sc-green);
  color: var(--sc-green);
  transition: all 0.25s ease;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.btn-outline:hover {
  background-color: var(--sc-green);
  color: #fff;
}

/* Section accent line */
.accent-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background-color: var(--sc-green);
  vertical-align: middle;
  margin: 0 12px;
}

/* === Brushstroke green underline (matches brochure design) ===
 * Two CSS-only variants used across the site.
 * The .brush-underline uses a thick, slightly tilted SVG-like green stroke.
 */
.brush-underline {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.brush-underline::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.05em;
  height: 0.18em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'><path d='M2 10 C 30 4, 60 14, 100 8 S 170 4, 198 10 L 198 14 C 170 8, 130 16, 100 12 S 30 8, 2 14 Z' fill='%238DAD2A'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -1;
  transform: skewX(-3deg);
  pointer-events: none;
}

/* Solid block underline alt (cleaner, used for small section eyebrows) */
.green-underline {
  position: relative;
  display: inline-block;
}
.green-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 5px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'><path d='M0 4 Q 50 0 100 4 T 200 4 L 200 8 Q 150 6 100 8 T 0 8 Z' fill='%238DAD2A'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Hero full-bleed gradient (matches reference: solid white on left fading to transparent) */
.hero-bg-section {
  position: relative;
  min-height: 700px;
  height: calc(100vh - 96px);
  max-height: 900px;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .hero-bg-section { height: auto; min-height: 0; max-height: none; }
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* Left-side white gradient that fades to transparent — matches the reference */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.95) 30%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.25) 70%,
    rgba(255, 255, 255, 0) 85%
  );
}
@media (max-width: 1024px) {
  .hero-gradient {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.97) 0%,
      rgba(255,255,255,0.92) 50%,
      rgba(255,255,255,0.85) 100%
    );
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
}
.hero-overlay-dark {
  background: linear-gradient(90deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.5) 60%, rgba(26,26,26,0.2) 100%);
}

/* Icon circles for feature sections */
.icon-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background-color: var(--sc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto 24px;
  box-shadow: 0 8px 20px -5px rgba(141, 173, 42, 0.5);
  transition: transform 0.3s ease;
}
.icon-circle:hover {
  transform: scale(1.08) rotate(-3deg);
}
.icon-circle-outline {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid var(--sc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-green);
  margin: 0 auto 24px;
  background-color: #fff;
  transition: all 0.3s ease;
}
.icon-circle-outline:hover {
  background-color: var(--sc-green);
  color: #fff;
  transform: scale(1.08);
}

/* Trust badge style */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(141, 173, 42, 0.4);
  border-radius: 999px;
  background-color: rgba(141, 173, 42, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  font-family: 'Inter', sans-serif;
}
.trust-badge svg {
  width: 22px;
  height: 22px;
  color: var(--sc-green);
}

/* Quote mark */
.quote-mark {
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 0.7;
  color: var(--sc-green);
  font-weight: 700;
  display: block;
}

/* Card hover */
.service-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
  border-color: var(--sc-green);
}

/* Mobile menu */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}
#mobile-menu.open {
  max-height: 600px;
  opacity: 1;
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: #fff;
  font-family: inherit;
}
.form-input:focus {
  outline: none;
  border-color: var(--sc-green);
  box-shadow: 0 0 0 3px rgba(141, 173, 42, 0.15);
}
.form-input::placeholder {
  color: #9ca3af;
}

/* === SMOOTH ANIMATIONS === */

/* Universal smooth easing for transitions */
* { transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }

/* Reveal on scroll — start hidden */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Variants */
.reveal-left   { transform: translateX(-50px); }
.reveal-left.is-visible  { transform: translateX(0); }
.reveal-right  { transform: translateX(50px); }
.reveal-right.is-visible { transform: translateX(0); }
.reveal-zoom   { transform: scale(0.92); }
.reveal-zoom.is-visible  { transform: scale(1); }

/* Stagger delays */
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.30s; }
.reveal-d4 { transition-delay: 0.40s; }
.reveal-d5 { transition-delay: 0.50s; }
.reveal-d6 { transition-delay: 0.60s; }

/* Hero entrance animations (auto-play on load) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes brushDraw {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 20px -5px rgba(141, 173, 42, 0.5); }
  50%      { box-shadow: 0 8px 28px 4px rgba(141, 173, 42, 0.7); }
}

.fade-up { animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.fade-in { animation: fadeIn 1s ease-out both; }
.slide-right { animation: slideRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }

.fade-up-delay-1 { animation-delay: 0.20s; }
.fade-up-delay-2 { animation-delay: 0.40s; }
.fade-up-delay-3 { animation-delay: 0.60s; }
.fade-up-delay-4 { animation-delay: 0.80s; }
.fade-up-delay-5 { animation-delay: 1.00s; }

.float-anim { animation: float 4s ease-in-out infinite; }
.pulse-glow { animation: pulseGlow 2.5s ease-in-out infinite; }

/* Smoother hover transitions everywhere */
a, button, .industry-tile, .testimonial, .service-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Image hover zoom helper */
.img-hover-zoom { overflow: hidden; }
.img-hover-zoom img { transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.img-hover-zoom:hover img { transform: scale(1.08); }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-image { animation: none; transform: none; }
}

/* Section padding helpers */
.section-py { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .section-py { padding-top: 6rem; padding-bottom: 6rem; } }
@media (min-width: 1024px) { .section-py { padding-top: 7rem; padding-bottom: 7rem; } }

/* Hero refinements */
.hero-headline {
  font-family: 'Anton', 'Oswald', sans-serif;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.display-xl {
  font-family: 'Anton', 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: 0.01em;
}

.display-lg {
  font-family: 'Anton', 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.012em;
}

/* Eyebrow text */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sc-green);
}

/* Testimonial card */
.testimonial {
  background: #fff;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 6px 24px -10px rgba(0,0,0,0.08);
  border: 1px solid #eee;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.18);
  border-color: var(--sc-green);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -16px;
  left: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--sc-green);
  background: #fff;
  padding: 0 8px;
}
.star {
  color: var(--sc-green);
  font-size: 1.1rem;
}

/* Industry tile */
.industry-tile {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.4s ease;
  background: #fff;
  border: 1.5px solid #e5e5e5;
}
.industry-tile:hover {
  transform: translateY(-6px);
  border-color: var(--sc-green);
  box-shadow: 0 20px 40px -15px rgba(141, 173, 42, 0.4);
}
.industry-tile .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(141, 173, 42, 0.12);
  color: var(--sc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.industry-tile:hover .icon-wrap {
  background: var(--sc-green);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

/* Responsive image safeguards */
img { max-width: 100%; height: auto; }

/* Responsive heading sizes */
@media (max-width: 640px) {
  .hero-headline { font-size: clamp(2rem, 9vw, 3.25rem) !important; }
}

/* Print-friendly */
@media print {
  header, footer, .no-print { display: none; }
}

/* ============================================================
   BOLD HERO (brochure-style — dark panel + diagonal slice)
   ============================================================ */
.hero-bold {
  position: relative;
  background: #0a0a0a;
  color: #fff;
  overflow: hidden;
  min-height: 720px;
  height: calc(100vh - 110px);
  max-height: 920px;
}
@media (max-width: 1024px) {
  .hero-bold { height: auto; min-height: 0; max-height: none; }
}

.hero-bold-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bold-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}

/* Diagonal dark overlay — solid black on left, fades on the right via diagonal */
.hero-bold-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(10, 10, 10, 0.97) 0%,
    rgba(10, 10, 10, 0.95) 38%,
    rgba(10, 10, 10, 0.78) 50%,
    rgba(10, 10, 10, 0.35) 65%,
    rgba(10, 10, 10, 0) 80%
  );
}
@media (max-width: 1024px) {
  .hero-bold-overlay {
    background: linear-gradient(
      180deg,
      rgba(10,10,10,0.97) 0%,
      rgba(10,10,10,0.92) 60%,
      rgba(10,10,10,0.78) 100%
    );
  }
}

/* Diagonal green slash accent (decorative, like the brochure) */
.hero-bold-slash {
  position: absolute;
  z-index: 2;
  top: -10%;
  bottom: -10%;
  left: 52%;
  width: 18px;
  background: var(--sc-green);
  transform: skewX(-12deg);
  box-shadow: 0 0 40px rgba(141,173,42,0.5);
  pointer-events: none;
}
@media (max-width: 1024px) { .hero-bold-slash { display: none; } }

.hero-bold-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

/* Hero heading sizes — beefier than the original */
.hero-bold-eyebrow {
  display: inline-block;
  background: var(--sc-green);
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 4px;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 18px -4px rgba(141,173,42,0.6);
}

.hero-bold-h1 {
  font-family: 'Anton', 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  color: #fff;
}
.hero-bold-h1 .tired-of {
  display: block;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  color: #fff;
}
.hero-bold-h1 .inconsistent {
  display: block;
  font-size: clamp(3rem, 6.8vw, 5.5rem);
  color: #fff;
  margin-top: 0.15em;
}
.hero-bold-h1 .cleaning {
  display: block;
  font-size: clamp(4.5rem, 11vw, 9rem);
  color: var(--sc-green);
  line-height: 0.88;
  margin-top: 0.05em;
  text-shadow: 0 6px 30px rgba(141,173,42,0.35);
}
.hero-bold-h1 .question {
  display: block;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  color: #fff;
  margin-top: 0.4em;
  letter-spacing: 0.02em;
}

.hero-bold-h2 {
  font-family: 'Anton', 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  margin-top: 1.25rem;
  letter-spacing: 0.01em;
  color: #fff;
}
.hero-bold-h2 .fix {
  color: var(--sc-green);
  display: inline-block;
}

/* Reliable. Accountable. Professional. tagline box (right side) */
.hero-tagline-box {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--sc-green);
  color: #0a0a0a;
  padding: 18px 28px;
  border-radius: 6px;
  margin-top: 2.25rem;
  box-shadow: 0 16px 38px -10px rgba(141,173,42,0.55);
  transform: skewX(-6deg);
}
.hero-tagline-box > * { transform: skewX(6deg); }
.hero-tagline-box .shield-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: #0a0a0a;
}
.hero-tagline-box .tag-text {
  font-family: 'Anton', 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
}
.hero-tagline-box .tag-text strong {
  font-weight: 400;
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

/* Bold hero CTAs */
.btn-primary-xl {
  background-color: var(--sc-green);
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border: 2px solid var(--sc-green);
}
.btn-primary-xl:hover {
  background-color: #0a0a0a;
  color: var(--sc-green);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(141, 173, 42, 0.7);
}
.btn-outline-xl {
  background-color: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-transform: uppercase;
  border: 2px solid #fff;
  transition: all 0.25s ease;
}
.btn-outline-xl:hover {
  background-color: #fff;
  color: #0a0a0a;
  transform: translateY(-2px);
}

/* Logo bigger across header */
.site-logo {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}
@media (min-width: 1024px) {
  .site-logo { height: 84px; }
}
