/* ZAP IT SOLUTIONS — palette aligned with logo (black + metallic gold chip) */

:root {
  --bg-page: #f3efe8;
  --bg-subtle: #e8e2d9;
  --bg-card: #fffcf7;
  --bg-card-warm: #faf6ef;
  --border: #d6cfc4;
  --border-strong: #b8aea0;
  --text: #1c1917;
  --text-muted: #57534e;
  --accent: #8b6914;
  --accent-hover: #6e5410;
  --accent-soft: rgba(139, 105, 20, 0.12);
  --accent-border: rgba(139, 105, 20, 0.32);
  --accent-warm: #7d5c2e;
  --radius: 16px;
  --radius-sm: 11px;
  --font: "Source Sans 3", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "Cascadia Code", monospace;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 25, 23, 0.1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-page);
  background-image:
    radial-gradient(ellipse 100% 60% at 0% 0%, rgba(154, 52, 18, 0.06), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(139, 105, 20, 0.09), transparent 50%);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: #c9a962;
  color: var(--text);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 252, 247, 0.88);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo__img {
  display: block;
  height: clamp(2.5rem, 6vw, 3rem);
  width: auto;
  max-width: min(260px, 62vw);
  object-fit: contain;
  object-position: left center;
}

.logo__img--footer {
  height: clamp(1.85rem, 4vw, 2.25rem);
  max-width: min(200px, 50vw);
  margin-bottom: 0.35rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--accent);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 1rem 1rem 1.25rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav li:last-child a {
    border-bottom: none;
  }
}

/* Hero */

.hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 880px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.eyebrow {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-warm);
  margin: 0 0 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  font-weight: 600;
}

.text-gradient {
  background: linear-gradient(115deg, #1c1917 0%, #6b5010 38%, #b8956e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 38ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(180deg, #a67c29 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(107, 80, 16, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 100%);
  box-shadow: 0 8px 28px rgba(107, 80, 16, 0.35);
}

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

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.hero__panel {
  display: flex;
  justify-content: center;
}

.hero__card {
  width: 100%;
  max-width: 380px;
  padding: 1.5rem 1.5rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero__card-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.hero__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__tags li {
  padding: 0.4rem 0.75rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--text);
}

/* Sections */

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section--alt {
  background: var(--bg-subtle);
  border-block: 1px solid var(--border);
}

.section__head {
  margin-bottom: 2.5rem;
  max-width: 52ch;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__intro {
  margin: 0;
  color: var(--text-muted);
}

/* Services grid */

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.35rem 1.35rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.service-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}

.service-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 600px) {
  .service-card--wide {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .service-card--wide {
    grid-column: span 3;
  }
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* About */

.about {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about {
    grid-template-columns: 1fr minmax(200px, 280px);
    gap: 3rem;
  }
}

.about__content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about__content p:last-child {
  margin-bottom: 0;
}

.about__aside {
  padding: 1.5rem;
  background: var(--bg-card-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about__stats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about__stats li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.about__stats li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* Quote form */

.quote {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .quote {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.quote-form {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  margin-top: 1.25rem;
}

.form-note {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-note code {
  font-family: var(--font-mono);
  font-size: 0.75em;
  color: var(--accent);
}

/* Testimonial */

.testimonial {
  margin: 0;
  max-width: 720px;
}

.testimonial__quote {
  margin: 0;
  padding: 2rem 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.testimonial__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 450;
  color: var(--text);
  line-height: 1.55;
}

.testimonial__cite {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-style: normal;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  background: var(--bg-card-warm);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.footer__logo-link {
  line-height: 0;
  text-decoration: none;
}

.footer__tagline {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
