/* Hammer IT — modern handyman theme */
:root {
  --color-bg: #f6f4f0;
  --color-surface: #ffffff;
  --color-ink: #1c1917;
  --color-ink-muted: #57534e;
  --color-accent: #c2410c;
  --color-accent-hover: #9a3412;
  --color-accent-soft: rgba(194, 65, 12, 0.12);
  --color-forest: #14532d;
  --color-forest-soft: rgba(20, 83, 45, 0.08);
  --color-border: #e7e5e4;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 24px 48px rgba(28, 25, 23, 0.12);
  --header-h: 72px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 1rem 1.25rem;
  background: var(--color-ink);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.container-narrow {
  width: min(720px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--color-ink);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ea580c 100%);
  position: relative;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.35);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  border-radius: 2px;
  transform: skewX(-8deg);
  opacity: 0.95;
}

.logo-text strong {
  color: var(--color-accent);
  font-weight: 700;
}

.header-phone {
  font-weight: 600;
  color: var(--color-forest);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.site-header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
}

.nav-list a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover {
  color: var(--color-accent);
}

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    order: 2;
  }

  .header-phone {
    order: 3;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
    border-top: 1px solid var(--color-border);
    margin-top: 0.25rem;
  }

  .site-nav {
    order: 4;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid var(--color-border);
    margin-top: 0.5rem;
  }

  .site-header.is-open .nav-list {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-list a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(28, 25, 23, 0.88) 0%, rgba(28, 25, 23, 0.45) 45%, rgba(28, 25, 23, 0.25) 100%),
    url("https://i.ytimg.com/vi/kmMwRJhn4ig/maxresdefault.jpg") center / cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fafaf9;
  max-width: 38rem;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(250, 250, 249, 0.75);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.text-accent {
  color: #fdba74;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(250, 250, 249, 0.88);
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff !important;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff !important;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(250, 250, 249, 0.78);
}

.hero-trust li {
  padding-left: 1.25rem;
  position: relative;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
}

/* Trust bar */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 2rem 0;
}

.trust-bar {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
}

.trust-icon {
  color: var(--color-forest);
  font-weight: 700;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-header-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 1.0625rem;
}

.section-note {
  text-align: center;
  margin: 2.5rem 0 0;
  color: var(--color-ink-muted);
  font-size: 0.975rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.25s var(--ease);
}

.service-card:hover {
  border-color: rgba(194, 65, 12, 0.25);
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-ink);
}

.service-card p {
  margin: 0;
  font-size: 0.975rem;
  color: var(--color-ink-muted);
  line-height: 1.55;
}

/* Split section */
.section-alt {
  background: var(--color-surface);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 0;
}

.split-visual {
  min-height: 420px;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.split-content {
  padding: 4rem 2.5rem 4rem 0;
  width: min(560px, 100%);
}

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-visual {
    min-height: 280px;
  }

  .split-visual img {
    min-height: 280px;
  }

  .split-content {
    padding: 2.5rem 0 3.5rem;
    width: 100%;
  }
}

.checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-ink-muted);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--color-forest-soft);
  border: 1px solid rgba(20, 83, 45, 0.2);
}

.checklist li::after {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-forest);
}

/* Process */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.process-steps li {
  background: var(--color-bg);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.process-steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.process-steps p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.975rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item-tall img {
  aspect-ratio: auto;
  min-height: 100%;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(28, 25, 23, 0.85));
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-tall {
    grid-row: auto;
  }

  .gallery-item-tall img {
    aspect-ratio: 4/3;
    min-height: 0;
  }
}

/* Map */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  max-height: 420px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--color-surface);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--color-ink-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #14532d 0%, #166534 50%, #15803d 100%);
  color: #ecfdf5;
  text-align: center;
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  color: #fff;
}

.cta-inner p {
  margin: 0 0 1.5rem;
  opacity: 0.92;
}

.cta-inner a {
  color: #fde68a;
}

.cta-inner .btn-primary {
  background: #fff;
  color: var(--color-forest) !important;
  border-color: #fff;
}

.cta-inner .btn-primary:hover {
  background: #f0fdf4;
  color: #14532d !important;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.vcard {
  font-style: normal;
  margin: 1.5rem 0;
  line-height: 1.8;
}

.vcard a {
  font-weight: 600;
}

.contact-hours {
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
  margin: 0;
}

.contact-form-wrap {
  position: relative;
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  margin-top: 1rem;
}

.contact-form label:first-of-type {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.contact-form button {
  margin-top: 1.25rem;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-ink-muted);
}

.honeypot {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Footer */
.site-footer {
  background: var(--color-ink);
  color: #a8a29e;
  padding: 3rem 0;
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand .logo-text {
  color: #fafaf9;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-brand .logo-text strong {
  color: #fdba74;
}

.footer-brand p {
  margin: 0.35rem 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.footer-nav a {
  color: #d6d3d1;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
}

.footer-photo {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.75;
}

.footer-photo a {
  color: #fdba74;
}
