/* =============================================
   SAM'S SPOTLESS SOLUTIONS — STYLESHEET
   Palette: Navy #0D1B3E | Gold #C9A84C | White #FFFFFF
   Type: Playfair Display (display) + Inter (body)
   ============================================= */

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

:root {
  --navy: #0D1B3E;
  --navy-mid: #162452;
  --navy-light: #1E336B;
  --gold: #C9A84C;
  --gold-light: #E2C26F;
  --gold-pale: #F5ECD4;
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --text-body: #2C2C2C;
  --text-muted: #6B6B6B;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(13,27,62,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.18; }
em { font-style: italic; color: var(--gold); }

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-eyebrow.light { color: var(--gold-light); }
.section-eyebrow.dark { color: var(--navy); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 2.5rem;
}
.section-title.light { color: var(--white); }
.section-title.dark { color: var(--navy); }

/* ---- LAYOUT ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-dark { background: var(--navy); }
.section-gold { background: var(--gold-pale); }
.section-light { background: var(--off-white); }

/* ---- NAVIGATION ---- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.25);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-icon { color: var(--gold); font-size: 1.2rem; }

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}
.logo-gold { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.2s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 92vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 1.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Gold accent line */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ---- HERO BADGES ---- */
.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.badge-check {
  color: var(--gold);
  font-size: 1rem;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-photo {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top center;
  border-radius: 220px 220px 0 0;
  border: 4px solid var(--gold);
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.hero-photo-badge {
  position: absolute;
  bottom: 1.25rem;
  left: -1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ---- STRIP ---- */
.strip {
  background: var(--gold);
  padding: 1rem 1.5rem;
  text-align: center;
}
.strip p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(13,27,62,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card:hover::before { opacity: 1; }

.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ---- BEFORE / AFTER ---- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.ba-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13,27,62,0.06);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--navy);
}

.ba-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ba-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  z-index: 2;
}

.ba-tag-before {
  background: rgba(13,27,62,0.85);
  color: var(--white);
}

.ba-tag-after {
  background: var(--gold);
  color: var(--navy);
}

.ba-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

/* ---- PILLARS ---- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.pillar {
  position: relative;
  padding-top: 1rem;
}

.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(201,168,76,0.18);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pillar h3 { font-size: 1.1rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.pillar p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ---- SERVICE AREAS ---- */
.areas-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.area-pill {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 100px;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.areas-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item svg { color: var(--navy); margin-top: 2px; flex-shrink: 0; }
.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}
.contact-value:hover { color: var(--gold); }

/* ---- FORM ---- */
.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #DDD;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; }

.btn-form {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.btn-form:hover { background: var(--navy-light); }

.form-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #2a7a4f;
  font-weight: 600;
  text-align: center;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.35rem;
  font-style: italic;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a, .footer-contact a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }

.footer-copy {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 3.5rem 1.5rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content { text-align: center; order: 2; }
  .hero-image-wrap { order: 1; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-photo { height: 380px; }
  .hero-headline { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; text-align: center; }
}

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