/* Cedar Glade Home Solutions — midnight black / ivory / silver */

:root {
  --ink: #0d0f11;
  --ink-2: #14181b;
  --ink-3: #1b2024;
  --ivory: #f3eddc;
  --ivory-dim: #d9d2bc;
  --silver: #b9bfc7;
  --line: rgba(185, 191, 199, 0.16);
  --green: #8ba888;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ivory); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  background: rgba(13, 15, 17, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-right: auto;
}

.brand img { border-radius: 50%; }
.brand em { font-style: normal; color: var(--silver); font-weight: 500; font-size: 0.85em; }

.site-nav { display: none; gap: 1.2rem; }
.site-nav a {
  text-decoration: none;
  color: var(--silver);
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ivory); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  text-align: center;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ivory); color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--silver); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--ivory); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.88rem; white-space: nowrap; border: 1px solid var(--silver); }
.btn-big { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-big span { font-weight: 500; font-size: 0.85em; opacity: 0.85; }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 3.5rem 1.25rem 2.5rem;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, #1a2025 0%, var(--ink) 70%);
}

.hero-logo {
  width: 210px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(185, 191, 199, 0.12);
}

.eyebrow {
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6.5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero h1 .accent { color: var(--green); font-style: italic; }

.lede {
  color: var(--ivory-dim);
  font-size: 1.08rem;
  max-width: 34rem;
  margin: 0 auto 1.8rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  justify-content: center;
  color: var(--silver);
  font-size: 0.88rem;
}
.trust-strip li::before {
  content: "\2713\00a0";
  color: var(--green);
  font-weight: 700;
}

/* ---------- seasonal banner ---------- */
.banner {
  background: #1e2b22;
  border-top: 1px solid rgba(139, 168, 136, 0.35);
  border-bottom: 1px solid rgba(139, 168, 136, 0.35);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.98rem;
}
.banner p { max-width: 52rem; margin: 0 auto; }
.banner a { color: var(--ivory); font-weight: 600; }
.banner-emoji { font-size: 1.2em; }

/* ---------- sections ---------- */
.section { padding: 3.5rem 1.25rem; max-width: 72rem; margin: 0 auto; }
.section-alt { background: var(--ink-2); max-width: none; }
.section-alt > * { max-width: 72rem; margin-left: auto; margin-right: auto; }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-sub {
  text-align: center;
  color: var(--silver);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
  font-style: italic;
  font-family: var(--font-display);
}

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

.card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
  color: var(--ivory);
}
.card ul { list-style: none; }
.card li {
  color: var(--ivory-dim);
  padding: 0.28rem 0;
  font-size: 0.96rem;
}
.card li::before {
  content: "\2014\00a0";
  color: var(--green);
}

.fine {
  text-align: center;
  color: var(--silver);
  margin-top: 1.8rem;
  font-size: 0.95rem;
}
.fine a { font-weight: 600; }

/* ---------- before / after ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

.ba-card { margin: 0; }
.ba-card figcaption, .single-photo figcaption {
  color: var(--silver);
  font-size: 0.95rem;
  padding: 0.9rem 0.2rem 0;
  text-align: center;
}
.ba-card figcaption strong, .single-photo figcaption strong { color: var(--ivory); }

.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  user-select: none;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--ivory);
}
.ba-before-wrap .ba-before {
  width: 100%;
  max-width: none;
  object-position: left center;
}

.ba-tag {
  position: absolute;
  top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(13, 15, 17, 0.75);
  color: var(--ivory);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba-tag-before { left: 0.7rem; }
.ba-tag-after { right: 0.7rem; }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

.single-photo { margin: 0; }
.single-photo img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* ---------- plans ---------- */
.plans .plan { text-align: center; }
.plan .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0.4rem 0 0.6rem;
}
.plan p:last-child { color: var(--ivory-dim); font-size: 0.96rem; }
.plan-featured {
  border-color: rgba(139, 168, 136, 0.55);
  background: #17201a;
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 56rem;
}
.about img { border-radius: 50%; margin: 0 auto; }
.about p { color: var(--ivory-dim); margin-bottom: 1rem; font-size: 1.02rem; }
.about p strong { color: var(--ivory); }

/* ---------- contact ---------- */
.contact { text-align: center; }
.service-area { color: var(--silver); margin-top: 1.6rem; }
.social { margin-top: 0.6rem; }
.social a { color: var(--silver); font-size: 0.95rem; }
.social a:hover { color: var(--ivory); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 1.8rem 1.25rem;
  color: var(--silver);
  font-size: 0.88rem;
}
.footer-sub { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.3rem; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: flex; }
}

@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 200px 1fr; }
  .hero-logo { width: 260px; }
}
