/* HomeTek Services, LLC — site styles (dark / light / lime) */
:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --surface-dark: #0f0f0f;
  --surface-elevated: #181818;
  --white: #ffffff;
  --muted: #f3f3f5;
  --muted-2: #e8e8ec;
  --text-on-dark: #f5f5f5;
  --text-on-dark-muted: rgba(245, 245, 245, 0.65);
  --text-on-light: #111111;
  --text-on-light-muted: #5c5c66;
  --lime: #d4f94e;
  --lime-hover: #e3ff6a;
  --lime-ink: #0a0a0a;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --max: 1180px;
  --header-h: 80px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.25s, border-color 0.25s;
}

/* Scrolled within dark hero: frosted bar so nav stays readable over bright headline */
.site-header.site-header--hero-scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

/* On light sections: solid light header */
.site-header.site-header--solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.site-header.site-header--solid .logo {
  color: var(--text-on-light);
}

.site-header.site-header--solid .nav-desktop a:not(.nav-cta) {
  color: var(--text-on-light-muted);
}

.site-header.site-header--solid .nav-desktop a:not(.nav-cta):hover {
  color: var(--text-on-light);
}

.site-header.site-header--solid .nav-cta {
  background: var(--lime);
  color: var(--lime-ink);
}

.site-header.site-header--solid .nav-toggle {
  background: var(--muted);
  border-color: var(--border-light);
  color: var(--text-on-light);
}

@media (max-width: 900px) {
  .site-header.site-header--solid .nav-desktop {
    background: var(--white);
    border-bottom-color: var(--border-light);
  }

  .site-header.site-header--solid .nav-desktop a:not(.nav-cta) {
    color: var(--text-on-light-muted);
  }

  .site-header.site-header--solid .nav-desktop a:not(.nav-cta):hover {
    color: var(--text-on-light);
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: var(--text-on-light);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-header .logo {
  color: #f4f4f5;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.logo-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.logo-svg {
  width: 46px;
  height: 46px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

@media (min-width: 901px) {
  .logo-mark {
    width: 50px;
    height: 50px;
  }

  .logo-svg {
    width: 50px;
    height: 50px;
  }
}

.site-header.site-header--solid .logo-mark {
  background: none;
  border: none;
  box-shadow: none;
}

.site-header.site-header--solid .logo-svg {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.12));
}

.nav-desktop {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
}

.nav-desktop a:hover {
  color: var(--text-on-dark);
}

.nav-desktop .nav-cta {
  margin-left: auto;
  color: var(--lime-ink);
  background: var(--white);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.nav-desktop .nav-cta:hover {
  background: var(--muted);
  color: var(--lime-ink);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.25rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-desktop {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.25rem;
    background: var(--surface-dark);
    border-bottom: 1px solid var(--border-dark);
    display: none;
    align-items: stretch;
    gap: 1rem;
    flex: none;
  }

  .nav-desktop.is-open {
    display: flex;
  }

  .nav-links {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-desktop .nav-cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 8px 32px rgba(212, 249, 78, 0.35);
}

.btn-lime:hover {
  background: var(--lime-hover);
  color: var(--lime-ink);
}

.btn-white {
  background: var(--white);
  color: var(--lime-ink);
}

.btn-white:hover {
  background: var(--muted);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid var(--border-dark);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- Hero ---------- */
.hero-ref {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  text-align: center;
}

.hero-ref .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.hero-ref h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 auto 1.25rem;
  width: 100%;
  max-width: min(1100px, 100%);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  width: 100%;
  max-width: min(1100px, 100%);
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-dark);
  opacity: 0.55;
  filter: grayscale(1);
}

.logo-strip span {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--text-on-dark-muted);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section--white {
  background: var(--white);
  color: var(--text-on-light);
}

.section--muted {
  background: var(--muted);
  color: var(--text-on-light);
}

.section--dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: 1.05rem;
}

.section--dark .section-head p {
  color: var(--text-on-dark-muted);
}

.section-head.left {
  text-align: left;
  margin: 0 0 2.5rem;
  max-width: none;
}

/* Intro split */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

.intro-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.intro-copy > p {
  margin: 0;
  color: var(--text-on-light-muted);
  font-size: 1.05rem;
}

.intro-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.intro-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 700px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--muted-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--text-on-light);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text-on-light-muted);
}

/* Services 2x2 */
.services-grid-gg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .services-grid-gg {
    grid-template-columns: 1fr;
  }
}

.service-card-gg {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.service-card-gg h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card-gg > p {
  margin: 0 0 1.25rem;
  color: var(--text-on-light-muted);
  font-size: 0.95rem;
}

.check-list-gg {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list-gg li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-on-light);
}

.check-list-gg li:last-child {
  margin-bottom: 0;
}

.check-list-gg li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-caption {
  padding: 1.25rem 1.5rem;
  background: var(--surface-elevated);
}

.portfolio-caption h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.portfolio-caption p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

/* Feedback & references */
.section-reviews .container {
  max-width: 720px;
}

.reviews-intro h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.reviews-intro > p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-on-light-muted);
}

.reviews-intro > p:last-of-type {
  margin-bottom: 0;
}

.reviews-intro-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.reviews-intro-sep {
  color: var(--text-on-light-muted);
}

.reviews-points {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.reviews-points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-on-light);
  line-height: 1.45;
}

.reviews-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lime);
}

/* Contact strip */
.contact-strip {
  padding-bottom: 0;
}

.contact-grid-gg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid-gg {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.contact-card h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.contact-dl dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-on-light-muted);
  margin-bottom: 0.25rem;
}

.contact-dl dd {
  margin: 0 0 1.25rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-on-light-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--muted);
  font-family: inherit;
  font-size: 1rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime-ink);
  box-shadow: 0 0 0 3px rgba(212, 249, 78, 0.35);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-on-light-muted);
  margin-top: 1rem;
}

.form-submit-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-on-light);
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
  color: var(--text-on-light-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  color: var(--text-on-light);
  margin-bottom: 1rem;
}

.footer-brand .logo-mark {
  background: none;
  border: none;
  box-shadow: none;
}

.footer-brand .logo-svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.footer-brand p {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  max-width: 32ch;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-on-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.link-lime {
  color: var(--text-on-light);
  border-bottom: 2px solid var(--lime);
  font-weight: 600;
}

.link-lime:hover {
  color: var(--text-on-light-muted);
}

/* Legal / policy pages */
.legal-page {
  padding-top: var(--header-h);
}

.legal-prose {
  max-width: 720px;
  margin-inline: auto;
}

.legal-meta {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-on-light-muted);
}

.legal-prose h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
}

.legal-prose h2:first-of-type {
  margin-top: 0;
}

.legal-prose h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-light);
}

.legal-prose p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-on-light-muted);
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-on-light-muted);
}

.legal-prose li {
  margin-bottom: 0.35rem;
}

.legal-prose .legal-caps {
  font-size: 0.8rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--text-on-light);
}
