/* =========================================================
   KC Handyman LLC — Premium Stylesheet
   Mobile-first. Tailwind-free. CSS variables.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Colors */
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --surface-muted: #F2EEE7;
  --text: #1A1F2E;
  --text-soft: #4A4F5C;
  --text-muted: #7A7E89;
  --accent: #B8935A;       /* warm gold */
  --accent-deep: #8E6F3F;
  --border: rgba(26, 31, 46, 0.08);
  --border-strong: rgba(26, 31, 46, 0.16);
  --overlay: rgba(15, 18, 28, 0.55);

  /* Spacing (8px system) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-7: 64px;
  --s-8: 80px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Shadow (subtle only) */
  --shadow-sm: 0 1px 2px rgba(15, 18, 28, 0.04), 0 1px 1px rgba(15, 18, 28, 0.03);
  --shadow-md: 0 6px 24px rgba(15, 18, 28, 0.06);

  /* Type */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --container-x: 20px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 150ms;
  --dur: 200ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
input, select, textarea, button { font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
h1 { font-size: clamp(2.25rem, 6vw + 0.5rem, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.2vw + 0.5rem, 2.625rem); }
h3 { font-size: clamp(1.125rem, 0.6vw + 1rem, 1.25rem); font-weight: 600; }
p  { margin: 0 0 var(--s-2); color: var(--text-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: var(--s-2);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--container-x);
  padding-right: var(--container-x);
}
.section {
  padding-top: var(--s-8);
  padding-bottom: var(--s-8);
}
.section-muted { background: var(--surface-muted); }
.section-head {
  max-width: 720px;
  margin-bottom: var(--s-6);
}
.section-title { margin-bottom: var(--s-2); }
.section-lead {
  color: var(--text-soft);
  max-width: 60ch;
  font-size: 1.0625rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  min-width: 44px;
  white-space: nowrap;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover { background: #000; border-color: #000; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--text); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--s-3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}
.brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-desktop { display: none; }
.nav-toggle {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: block;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height 280ms var(--ease), border-color var(--dur) var(--ease);
  background: var(--bg);
}
.nav-mobile.is-open {
  max-height: 480px;
  border-top-color: var(--border);
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  padding: var(--s-2) var(--container-x);
}
.nav-mobile li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nav-mobile li:last-child a { border-bottom: none; }
.nav-mobile .btn { margin: var(--s-2) var(--container-x) var(--s-3); width: calc(100% - var(--container-x) * 2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--s-7);
  padding-bottom: var(--s-7);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(184, 147, 90, 0.16) 0%, rgba(184, 147, 90, 0) 36%),
    linear-gradient(120deg, rgba(15,18,28,0.54) 0%, rgba(15,18,28,0.3) 45%, rgba(15,18,28,0.56) 100%),
    linear-gradient(180deg, rgba(15,18,28,0.44) 0%, rgba(15,18,28,0.74) 60%, rgba(15,18,28,0.9) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      rgba(15,18,28,0.018) 1px,
      rgba(15,18,28,0.018) 3px
    );
}
.hero-content {
  color: #F7F5F1;
  position: relative;
  display: grid;
  gap: var(--s-4);
  text-align: center;
  justify-items: center;
}
.hero-main { max-width: 760px; }
.hero-content .eyebrow { color: #E8D7B0; }
.hero-title {
  color: #FFFFFF;
  max-width: 22ch;
  margin-bottom: var(--s-3);
}
.hero-lead {
  color: rgba(247, 245, 241, 0.86);
  max-width: 56ch;
  font-size: 1.0625rem;
  margin-bottom: var(--s-4);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.hero-ctas .btn-primary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--bg);
}
.hero-ctas .btn-primary:hover { background: #fff; border-color: #fff; }
.hero-ctas .btn-ghost {
  color: #F7F5F1;
  border: 1px solid rgba(247, 245, 241, 0.32);
}
.hero-ctas .btn-ghost:hover { color: #fff; border-color: rgba(247, 245, 241, 0.6); }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(247, 245, 241, 0.18);
  max-width: 520px;
}
.hero-trust li { display: flex; flex-direction: column; gap: 2px; align-items: center; text-align: center; }
.trust-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}
.trust-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.72);
}

.hero-side-card {
  display: none;
  background: rgba(250, 248, 244, 0.1);
  border: 1px solid rgba(247, 245, 241, 0.28);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  max-width: 420px;
}
.hero-card-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8D7B0;
}
.hero-side-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.4vw + 0.9rem, 1.6rem);
  line-height: 1.2;
  color: #fff;
}
.hero-side-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-side-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  border-top: 1px solid rgba(247, 245, 241, 0.2);
  padding-top: 10px;
  color: rgba(247, 245, 241, 0.9);
  font-size: 0.95rem;
}
.hero-side-card li strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.7);
  font-weight: 500;
}
.hero-side-card li a { color: #fff; }
.hero-side-card .btn-primary {
  background: #fff;
  color: var(--text);
  border-color: #fff;
  margin-top: var(--s-1);
}

@media (max-width: 767.98px) {
  .hero-side-card { display: none !important; }
}

/* ---------- Carousel (mobile) ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: var(--container-x);
  padding: 4px var(--container-x) var(--s-3);
  margin: 0 calc(var(--container-x) * -1);
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * {
  flex: 0 0 88%;
  scroll-snap-align: start;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--s-1);
  margin-top: var(--s-2);
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.carousel-dots button[aria-selected="true"] {
  background: var(--accent);
  width: 22px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--border-strong); }

.service-card { display: flex; flex-direction: column; gap: 12px; }
.service-card h3 { margin-top: 4px; }
.service-card p { color: var(--text-soft); margin: 0; font-size: 0.9375rem; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--surface-muted);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg { width: 22px; height: 22px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: var(--s-5);
}
.about-copy p { font-size: 1.0625rem; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  margin: var(--s-4) 0;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-stats li { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about-media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(26, 31, 46, 0.14);
  position: relative;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.about-media::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(184, 147, 90, 0.42);
  border-radius: 12px;
  pointer-events: none;
  z-index: 2;
}
.about-media::after {
  content: "";
  position: absolute;
  inset: -10px 10px 10px -10px;
  border: 1px solid rgba(26, 31, 46, 0.12);
  border-radius: 20px;
  z-index: -1;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- Works ---------- */
.works-grid {
  gap: var(--s-2);
}
.work-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  aspect-ratio: 4 / 3;
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.work-item:hover img { transform: scale(1.02); }
.work-item.is-hidden { display: none; }
.work-item.is-revealed {
  display: block;
  animation: fadeUp 280ms var(--ease) both;
}
.works-actions {
  margin-top: var(--s-4);
  display: none;
  justify-content: center;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.rating {
  display: inline-flex;
  gap: 4px;
  color: var(--accent);
}
.rating span {
  width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2.5l2.95 6.46 7.05.7-5.3 4.83 1.55 6.96L12 17.97 5.75 21.45l1.55-6.96L2 9.66l7.05-.7L12 2.5z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2.5l2.95 6.46 7.05.7-5.3 4.83 1.55 6.96L12 17.97 5.75 21.45l1.55-6.96L2 9.66l7.05-.7L12 2.5z'/></svg>") center / contain no-repeat;
}
.testimonial-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text);
}
.testimonial-card blockquote p { color: var(--text); margin: 0; }
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--s-1);
  padding-top: var(--s-2);
  border-top: 1px solid var(--border);
}
.testimonial-name {
  font-weight: 600;
  color: var(--text);
}
.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: var(--s-5);
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-3);
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--s-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-value {
  font-size: 1rem;
  color: var(--text);
}
a.contact-value:hover { color: var(--accent-deep); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-3);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
.field label {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--text);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.18);
}
.form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  min-height: 20px;
}
.form-note.is-success { color: var(--accent-deep); }
.form-note.is-error { color: #8A2A2A; }

/* ---------- Footer ---------- */
.site-footer {
  background: #11120f;
  color: rgba(247, 245, 241, 0.8);
  padding: var(--s-6) 0 var(--s-4);
  margin-top: var(--s-7);
}
.footer-inner {
  display: grid;
  gap: var(--s-3);
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #f5f1ea;
  border-radius: var(--r-md);
  padding: 6px;
}
.footer-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.58);
}
.footer-brand p { color: rgba(247, 245, 241, 0.72); margin: 0; max-width: 36ch; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-col h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(247, 245, 241, 0.9);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a,
.footer-col span {
  font-size: 0.95rem;
  color: rgba(247, 245, 241, 0.68);
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(247, 245, 241, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
}
.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(247, 245, 241, 0.52);
}
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(247, 245, 241, 0.6);
}
.footer-legal a:hover { color: #fff; }
.footer-legal a + a::before {
  content: "·";
  margin-right: var(--s-2);
  color: rgba(247, 245, 241, 0.34);
}

/* =========================================================
   TABLET (>= 768px)
   ========================================================= */
@media (min-width: 768px) {
  :root { --container-x: 32px; }

  .section { padding-top: var(--s-9); padding-bottom: var(--s-9); }

  .hero { min-height: 640px; }
  .hero-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
    align-items: center;
    gap: var(--s-5);
    text-align: left;
    justify-items: stretch;
  }
  .hero-side-card { display: flex; }
  .hero-trust { gap: var(--s-3); max-width: 600px; }
  .hero-trust li { align-items: flex-start; text-align: left; }

  /* Disable carousel behaviour on tablet+ */
  .carousel-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-3);
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
  }
  .carousel-track > * { flex: initial; scroll-snap-align: none; }
  .carousel-dots { display: none; }

  .works-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .works-actions { display: flex; }

  .about-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: var(--s-6);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--s-6);
    align-items: start;
  }
  .contact-form { padding: var(--s-4); }
  .field-row { grid-template-columns: 1fr 1fr; }

  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    align-items: start;
    gap: var(--s-5);
    text-align: left;
  }
  .footer-col { align-items: flex-start; }
  .footer-bottom {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* =========================================================
   DESKTOP (>= 1024px)
   ========================================================= */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--s-4);
  }
  .nav-desktop ul {
    display: flex;
    align-items: center;
    gap: var(--s-3);
  }
  .nav-desktop ul a {
    font-size: 0.9375rem;
    color: var(--text-soft);
    transition: color var(--dur) var(--ease);
    padding: 8px 0;
  }
  .nav-desktop ul a:hover { color: var(--text); }

  .hero { min-height: 720px; padding-bottom: var(--s-8); }
  .hero-content {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.7fr);
    align-items: center;
  }
  .hero-side-card { transform: translateY(-12px); }

  .carousel-track.services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .carousel-track.testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .works-grid { grid-template-columns: repeat(3, 1fr); }

  .about-stats { gap: var(--s-3); }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
