/* ============================================
   GRIME TIME — shared stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,900&family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --teal: #1F8073;
  --teal-dark: #145A52;
  --teal-tint: #EAF5F2;
  --teal-tint-2: #DCEEEA;
  --ink: #182420;
  --deep: #0E4A43;
  --ink-soft: #46534F;
  --paper: #FBFAF7;
  --sand: #F3F0E9;
  --line: #DDE4E1;
  --white: #FFFFFF;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ============== NAV ============== */
header.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,247,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
  height: 84px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 58px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 600;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-dark); }
.nav-cta {
  background: var(--teal); color: var(--white) !important;
  padding: 12px 24px; border-radius: 8px;
  text-decoration: none; font-weight: 700; font-size: 14.5px;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }
.nav-phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; margin-right: 4px; }
.nav-phone .num { font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.1; }
.nav-phone .label { font-size: 11px; font-weight: 600; color: var(--teal-dark); letter-spacing: 0.3px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links-list { display: none; }
  .nav-toggle { display: block; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-block; padding: 15px 32px; border-radius: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ============== HERO ============== */
.hero {
  padding: 76px 0 88px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  font-size: 13px; font-weight: 700; color: var(--teal-dark);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px; color: var(--ink-soft); max-width: 460px; margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo {
  border-radius: 18px; overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(150deg, var(--teal-tint) 0%, var(--teal-tint-2) 100%);
}

.photo-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; height: 100%; width: 100%;
  color: var(--teal-dark); text-align: center; padding: 20px;
  border: 1.5px dashed rgba(31,128,115,0.35);
}
.photo-slot svg { width: 34px; height: 34px; opacity: 0.55; }
.photo-slot span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.2px; opacity: 0.75; }

/* ============== TRUST STRIP ============== */
.trust-strip {
  background: var(--deep); padding: 26px 0;
}
.trust-strip .wrap { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: baseline; gap: 8px; }
.trust-item strong { font-family: var(--serif); font-size: 22px; color: var(--white); }
.trust-item span { font-size: 12.5px; color: rgba(255,255,255,0.6); font-weight: 500; }

/* ============== SECTIONS ============== */
section { padding: 92px 0; }
.section-tint { background: var(--teal-tint); }
.section-sand { background: var(--sand); }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-eyebrow { font-size: 13px; font-weight: 700; color: var(--teal-dark); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.section-head p { font-size: 16.5px; color: var(--ink-soft); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============== WHO WE SERVE / GRID ============== */
.serve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.serve-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 22px; transition: border-color 0.2s, transform 0.2s;
}
.serve-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.serve-card .icon { font-size: 24px; margin-bottom: 14px; }
.serve-card h3 { font-size: 16px; margin-bottom: 6px; }
.serve-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ============== SERVICES LIST ============== */
.service-row {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center;
  padding: 48px 0; border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row h3 { font-size: 26px; margin-bottom: 14px; }
.service-row p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 18px; }
.service-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.service-row.reverse .service-photo { order: -1; }
.service-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 5/4; background: var(--teal-tint); }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--teal-tint); color: var(--teal-dark); font-size: 12.5px; font-weight: 600; padding: 6px 13px; border-radius: 20px; }

/* ============== PROCESS STEPS ============== */
.steps-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 10px; }
.step { position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 27px; left: 54px;
  width: calc(100% - 54px + 32px + 27px); height: 0;
  border-top: 1.5px dashed var(--teal); z-index: 0;
}
.step-num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--teal); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ============== GALLERY ============== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid .photo-slot-box { aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.gallery-grid .photo-slot-box.wide { grid-column: span 2; aspect-ratio: 2/1; }

/* ============== BEFORE/AFTER SLIDER ============== */
.ba-slider {
  position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); user-select: none; cursor: ew-resize;
  background: var(--sand);
}
.ba-slider img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.ba-slider .ba-after-wrap {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden; clip-path: inset(0 0 0 50%);
}
.ba-slider .ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--white);
  transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}
.ba-slider .ba-handle::after {
  content: '\21c6'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.ba-slider .ba-label {
  position: absolute; bottom: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.3px;
  padding: 5px 11px; border-radius: 20px; background: rgba(24,36,32,0.65); color: var(--white);
  pointer-events: none;
}
.ba-slider .ba-label-before { left: 12px; }
.ba-slider .ba-label-after { right: 12px; }
.ba-caption { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-soft); text-align: center; }
.ba-item { display: flex; flex-direction: column; }
.ba-photo-static {
  position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--sand);
}
.ba-photo-static img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .gallery-grid.ba-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid.ba-grid { grid-template-columns: 1fr; }
}

/* ============== REVIEWS ============== */
.reviews-strip { display: flex; gap: 20px; overflow-x: auto; padding: 6px 4px 20px; scrollbar-width: thin; }
.review-card {
  flex: 0 0 320px; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 30px 26px;
}
.review-mark { font-family: var(--serif); font-size: 40px; color: var(--teal); line-height: 1; margin-bottom: 10px; }
.review-card p.quote { font-size: 14.5px; color: var(--ink); margin-bottom: 18px; line-height: 1.65; }
.review-name { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }

/* ============== ABOUT ============== */
.about-hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; background: var(--teal-tint); }
.about-copy p { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 20px; max-width: 560px; }
.about-copy p:first-of-type { font-size: 19px; color: var(--ink); font-family: var(--serif); font-weight: 500; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.value-card { padding: 8px 0; }
.value-card h4 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--ink-soft); }

/* ============== CTA BAND ============== */
.cta-band { background: var(--deep); padding: 76px 0; text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(26px,3.4vw,36px); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.65); margin-bottom: 30px; font-size: 16px; }

/* ============== FORMS ============== */
.form-toggle { display: flex; gap: 10px; margin-bottom: 32px; }
.form-toggle button {
  flex: 1; padding: 14px; border-radius: 8px; border: 1.5px solid var(--line);
  background: var(--white); font-family: var(--sans); font-weight: 700; font-size: 14.5px;
  color: var(--ink-soft); cursor: pointer; transition: all 0.15s;
}
.form-toggle button.active { border-color: var(--teal); background: var(--teal-tint); color: var(--teal-dark); }
.form-box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 38px 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 14.5px; color: var(--ink); font-family: var(--sans); background: var(--paper);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%; background: var(--teal); color: var(--white); border: none;
  padding: 16px; border-radius: 8px; font-size: 15.5px; font-weight: 700;
  cursor: pointer; font-family: var(--sans); transition: background 0.15s;
}
.form-submit:hover { background: var(--teal-dark); }
.form-success { display: none; text-align: center; padding: 30px; }
.form-success .icon { font-size: 40px; margin-bottom: 14px; }
.contact-info-row { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 28px; }
.contact-info-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-soft); text-decoration: none; font-weight: 600; }

/* ============== FOOTER ============== */
footer.site-footer { background: var(--deep); color: rgba(255,255,255,0.6); padding: 56px 0 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-logo img { height: 44px; }
.footer-tagline { font-family: var(--serif); font-size: 16px; color: var(--white); max-width: 280px; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { color: var(--white); font-size: 13px; margin-bottom: 14px; letter-spacing: 0.3px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 24px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  .hero-grid, .about-hero { grid-template-columns: 1fr; }
  .hero-photo, .about-photo { order: -1; aspect-ratio: 16/10; }
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-line { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .service-row, .service-row.reverse { grid-template-columns: 1fr; }
  .service-row.reverse .service-photo { order: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .photo-slot-box.wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .serve-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-inner { height: 70px; }
  .nav-logo img { height: 44px; }
  .nav-phone { display: none; }
}
