/* =========================================================
   Fresh Start Clean Team — stylesheet
   Structure: 1) Reset  2) Tokens  3) Base  4) Layout helpers
   5) Header/Nav  6) Hero  7) Sections  8) Cards  9) Testimonials
   10) Contact/Form  11) Footer  12) Responsive
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

@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;
  }
}

/* ---------- 2. Tokens ---------- */
:root {
  /* Color — warm ivory & antique gold */
  --bg: #FBF6ED;
  --bg-tint: #F2E9D8;
  --ink: #241F19;
  --ink-soft: #6E6151;
  --primary: #1B3A2E;
  --primary-light: #2C5645;
  --accent: #B8912F;
  --accent-soft: #E8D9AF;
  --accent-ink: #241F19;
  --border: #E3D6BA;
  --card-bg: #FFFDF8;
  --focus-ring: #2C5645;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1180px;
  --gutter: 1.25rem;
  --radius-sm: 2px;
  --radius-md: 3px;
  --section-space: clamp(3.5rem, 7vw, 6.5rem);
}

/* ---------- 3. Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.15rem; }

p { max-width: 62ch; }

.kicker {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.demo-banner {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--accent);
  padding: 0.7rem var(--gutter);
}
.demo-banner p {
  max-width: var(--max-width);
  margin-inline: auto;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
}
.demo-banner strong { color: var(--primary); }

/* ---------- 4. Layout helpers ---------- */
.wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }
.section-tint { background: var(--bg-tint); }

.section-head { max-width: 46rem; margin-bottom: 2.5rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  font-size: 0.98rem;
}
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--primary);
  color: var(--accent-soft);
  border-color: var(--primary);
}
.btn-accent:hover { background: var(--primary-light); }

.btn-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.btn-block { width: 100%; }

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 237, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
}
.logo em { font-style: normal; color: var(--accent-ink); }
.logo img { flex-shrink: 0; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  margin: -0.5rem;
}
.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  padding: 1.5rem var(--gutter) 2rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
.primary-nav.is-open { transform: translateX(0); }

.primary-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.primary-nav a {
  display: block;
  padding: 0.85rem 0.25rem;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.nav-cta { width: 100%; }

/* ---------- 6. Hero ---------- */
.hero { padding-block: clamp(2.5rem, 8vw, 5rem); }

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-copy .hero-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-block: 1.1rem 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-art { justify-self: center; width: 100%; max-width: 420px; }

/* ---------- 7. About ---------- */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-art img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.about-points {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.6rem;
}
.about-points li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-soft);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 12px;
  height: 1.5px;
  background: var(--accent);
}

.swap-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.75rem;
  margin-top: 1.5rem;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.checklist li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--ink-soft);
}
.checklist .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.included-disclaimer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 60ch;
}

/* ---------- 8. Service cards ---------- */
.service-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2rem 1.75rem 2rem;
}
.service-card h3 {
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--accent-soft);
}
.service-card p { color: var(--ink-soft); margin-bottom: 0.9rem; font-size: 0.98rem; }
.service-card ul { display: grid; gap: 0.4rem; }
.service-card li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 1.2rem;
  position: relative;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* ---------- Why us ---------- */
.why-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 1rem;
}
.why-list h3 { margin-bottom: 0.4rem; }
.why-list p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- 9. Testimonials ---------- */
.testimonial-track {
  display: grid;
  gap: 1.1rem;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  margin: 0 calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
}
.testimonial-card {
  scroll-snap-align: start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}
.testimonial-card blockquote p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  max-width: none;
}
.testimonial-card figcaption {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}
.t-name { font-weight: 600; }
.t-role { color: var(--ink-soft); }

/* ---------- Pricing / Buy This Website ---------- */
.pricing-wrap { max-width: 42rem; }

.price-card {
  margin-top: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.price-tag {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 600;
  color: var(--primary);
}
.price-tag-text {
  font-size: clamp(1.7rem, 5vw, 2.2rem);
}
.price-caption {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.btn-buy {
  letter-spacing: 0.06em;
  padding-inline: 2.25rem;
}
.price-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 40ch;
}

.cta-final {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.cta-final .section-lede { margin-inline: auto; }
.cta-final .btn { margin-top: 1.5rem; }

.disclaimer-section {
  background: var(--bg-tint);
  padding-block: 2.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.disclaimer-section h2 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.disclaimer-section p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ---------- 10. Contact / Form ---------- */
.contact-section { background: var(--primary); color: #fff; }
.contact-section .kicker { color: var(--accent); }
.contact-section h2 { color: #fff; }
.contact-section .section-lede { color: #D8E3DD; }

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.sample-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--accent);
  font-style: italic;
}

.contact-details {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
.contact-details li { display: grid; gap: 0.15rem; }
.contact-details a { text-decoration: none; font-weight: 600; }
.contact-details a:hover { text-decoration: underline; }
.contact-label {
  font-size: 0.82rem;
  text-transform: none;
  color: #AFC4B7;
}

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: grid;
  gap: 1.1rem;
}
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.92rem; }
.optional { font-weight: 400; color: var(--ink-soft); }

.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  background: #fff;
  width: 100%;
}
.form-row textarea { resize: vertical; }

.form-note {
  font-size: 0.92rem;
  min-height: 1.2em;
  color: var(--primary-light);
  font-weight: 600;
}

/* ---------- 11. Footer ---------- */
.site-footer {
  background: #14251D;
  color: #CFE0D6;
  padding-block: 3rem 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
}
.site-footer h2 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand .logo em { color: var(--accent); }
.footer-brand p { color: #AFC4B7; font-size: 0.92rem; }

.footer-nav ul { display: grid; gap: 0.5rem; }
.footer-nav a, .footer-contact a { text-decoration: none; color: #CFE0D6; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact p { margin-bottom: 0.4rem; font-size: 0.92rem; }
.footer-legal p { font-size: 0.85rem; color: #AFC4B7; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #93A99B;
}

/* ---------- 12. Responsive ---------- */
@media (min-width: 640px) {
  .testimonial-track { grid-auto-columns: 60%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: repeat(2, 1fr); }
  .swap-list { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0;
    inset: auto;
    background: transparent;
    overflow: visible;
  }
  .primary-nav ul {
    flex-direction: row;
    gap: 1.75rem;
    margin-bottom: 0;
  }
  .primary-nav a {
    padding: 0.3rem 0.1rem;
    border-bottom: none;
    font-size: 0.95rem;
  }
  .nav-cta { width: auto; padding: 0.6rem 1.3rem; }

  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; }
  .why-grid { display: block; }
  .why-list { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .testimonial-track { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .swap-list { grid-template-columns: repeat(3, 1fr); }
  .checklist { grid-template-columns: repeat(3, 1fr); }
  .price-card { padding: 2.75rem 3rem; }
}

@media (min-width: 1100px) {
  h1 { max-width: 16ch; }
}
