/* ── Kelsor Cleaning Co. — Landing Page Styles ──────────────────────────── */

:root {
  --teal-dark:  #2d4f5e;
  --teal-mid:   #3a6070;
  --teal-light: #4a7282;
  --orange-red: #e84a1e;
  --orange-red-hover: #cf421a;
  --amber:      #f5a623;
  --amber-light:#f7b84a;
  --cream:      #f5e6d0;
  --white:      #ffffff;
  --off-white:  #f9f6f0;
  --gray-100:   #ede9e0;
  --gray-300:   #c8c4bc;
  --gray-600:   #6b6860;
  --gray-800:   #3a3835;
  --text:       #2a2825;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--orange-red);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-red-hover); box-shadow: 0 4px 16px rgba(232,74,30,0.35); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal-dark);
}
.btn-outline:hover { background: var(--teal-dark); color: var(--white); }

/* ── Header / Nav ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--teal-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.header-logo {
  display: flex;
  align-items: center;
}
.header-logo-img {
  height: 38px;
  width: auto;
}
.header-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.header-logo-mark svg { width: 20px; height: 20px; }
.header-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.header-logo-sub {
  font-size: 0.6rem;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  line-height: 1;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
}
.header-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.header-cta {
  background: var(--orange-red) !important;
  color: var(--white) !important;
  font-weight: 600;
}
.header-cta:hover { background: var(--orange-red-hover) !important; }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--teal-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,79,94,0.97) 0%, rgba(58,96,112,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 80px 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,74,30,0.15);
  border: 1px solid rgba(232,74,30,0.35);
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}
.hero-trust-item svg { width: 16px; height: 16px; color: var(--orange-red); }

/* ── Section Commons ──────────────────────────────────────────────────────── */

.section {
  padding: 88px 0;
}
.section-sm {
  padding: 56px 0;
}
.section-dark {
  background: var(--teal-dark);
  color: var(--white);
}
.section-light {
  background: var(--off-white);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-red);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange-red);
  border-radius: 1px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
  line-height: 1.7;
}
.section-dark .section-sub { color: rgba(255,255,255,0.65); }

/* ── Services ─────────────────────────────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(45,79,94,0.12);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; color: var(--orange-red); }
.service-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-red);
  margin-bottom: 8px;
}
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--teal-dark);
}
.service-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
}
.service-price {
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-mid);
}
.section-footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.section-footer p {
  color: var(--gray-600);
  font-size: 0.9rem;
}
.section-dark .section-footer p { color: rgba(255,255,255,0.55); }

/* ── Testimonials ─────────────────────────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-stars {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.7;
  font-style: italic;
}
.testimonial-quote::before { content: '\u201C'; }
.testimonial-quote::after  { content: '\u201D'; }
.testimonial-author {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--teal-dark);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 2px;
}

/* ── About ───────────────────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.about-image-placeholder {
  aspect-ratio: 4/3;
  background: var(--teal-mid);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.9rem;
}
.about-image-placeholder svg { width: 48px; height: 48px; margin-bottom: 12px; opacity: 0.5; }
.about-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}
.about-content p {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-values {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}
.about-value svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; margin-top: 2px; }

/* ── Service Areas ────────────────────────────────────────────────────────── */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.area-tag {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: background 0.15s, border-color 0.15s;
}
.area-tag:hover { background: rgba(232,74,30,0.15); border-color: rgba(232,74,30,0.4); color: var(--orange-red); }

/* ── Quote Form ────────────────────────────────────────────────────────────── */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.quote-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}
.quote-info p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
}
.quote-perks { list-style: none; }
.quote-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}
.quote-perks svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.quote-form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 7px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal-mid);
  box-shadow: 0 0 0 3px rgba(58,96,112,0.12);
}
textarea { resize: vertical; min-height: 90px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; padding: 15px; font-size: 1rem; }
.form-note {
  font-size: 0.78rem;
  color: var(--gray-600);
  text-align: center;
  margin-top: 12px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
}
.form-success.show { display: block; }
.form-success svg { width: 48px; height: 48px; color: var(--teal-mid); margin: 0 auto 16px; }
.form-success h4 { font-size: 1.2rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 8px; }
.form-success p { font-size: 0.9rem; color: var(--gray-600); }

/* ── Contact ──────────────────────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
.contact-card-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-card-icon svg { width: 24px; height: 24px; color: var(--amber); }
.contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.contact-card a {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-mid);
}
.contact-card a:hover { color: var(--orange-red); }
.contact-cta {
  text-align: center;
  margin-top: 48px;
}
.contact-cta p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */

.site-footer {
  background: #1a3344;
  padding: 48px 0 32px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.footer-brand-mark svg { width: 18px; height: 18px; }
.footer-logo-img {
  height: 32px;
  width: auto;
}
.footer-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-brand-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  line-height: 1.5;
}
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--orange-red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-license {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
}
.footer-license svg { width: 14px; height: 14px; }

/* ── Badges row ───────────────────────────────────────────────────────────── */

.badges-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 28px 0;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-dark);
}
.badge-item svg { width: 22px; height: 22px; color: var(--orange-red); }

/* ── Mobile Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .header-nav a:not(.header-cta) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .badges-row { gap: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}