/* Jo's Cleaning — Local Web Builders sales demo */
:root {
  --bg: #14181C;
  --text: #F2F4F5;
  --muted: #9AA3AB;
  --line: #2C343C;
  --teal: #0F8F86;
  --teal-hover: #0C746D;
  --paper: #F2F4F5;
  --ink: #14181C;
  --radius: 3px;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1100px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--teal-hover); }
ul { list-style: none; }

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

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 24, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 0.75rem;
}
.logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: var(--teal);
  border-radius: var(--radius);
}
.logo:hover { color: var(--text); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav-desktop a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] { color: var(--text); }

.header-cta {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal);
  color: var(--paper) !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}
.header-cta:hover {
  background: var(--teal-hover);
  color: var(--paper) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.55rem;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.25rem;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  padding: 0.65rem 0;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] { color: var(--text); }
.nav-mobile .header-cta {
  display: inline-flex;
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--teal);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--teal-hover);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}
.hero-layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--teal);
}
.hero-panel {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(44, 52, 60, 0.25);
}
.hero-panel-1 {
  width: 42%;
  height: 70%;
  top: 12%;
  right: -8%;
  transform: rotate(3deg);
}
.hero-panel-2 {
  width: 28%;
  height: 40%;
  bottom: 8%;
  right: 18%;
  border-color: rgba(15, 143, 134, 0.35);
}
.hero-dot-grid {
  position: absolute;
  right: 5%;
  top: 20%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.6;
}

.hero-content { position: relative; max-width: 36rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--teal);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 32rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.hero-meta strong { color: var(--text); font-weight: 600; }

/* —— Sections —— */
.section { padding: 4rem 0; position: relative; }
.section-alt { background: rgba(44, 52, 60, 0.18); }
.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}
.section-head p { color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Service cards —— */
.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .service-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .service-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.5rem 1.6rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--teal);
  opacity: 0.7;
}
.service-card:hover { border-color: rgba(15, 143, 134, 0.45); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.service-card p { color: var(--muted); font-size: 0.95rem; }

/* —— Layered / overlapping panels —— */
.layer-block {
  position: relative;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .layer-block {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    gap: 0;
  }
}
.layer-main {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  z-index: 2;
}
.layer-side {
  background: rgba(15, 143, 134, 0.08);
  border: 1px solid rgba(15, 143, 134, 0.3);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
}
@media (min-width: 768px) {
  .layer-side {
    margin-left: -1.5rem;
    margin-top: 2rem;
    z-index: 1;
  }
  .layer-block.reverse .layer-main { order: 2; }
  .layer-block.reverse .layer-side {
    order: 1;
    margin-left: 0;
    margin-right: -1.5rem;
  }
}
.layer-main h2,
.layer-side h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.layer-main p,
.layer-side p { color: var(--muted); margin-bottom: 0.75rem; }
.layer-main p:last-child,
.layer-side p:last-child { margin-bottom: 0; }
.stat-list { margin-top: 1.25rem; }
.stat-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}
.stat-list li:last-child { border-bottom: 1px solid var(--line); }
.stat-list strong { color: var(--text); min-width: 4.5rem; }

/* —— Nameplate —— */
.nameplate {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  background: rgba(44, 52, 60, 0.3);
  position: relative;
}
.nameplate::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--teal);
  border-radius: var(--radius) 0 0 var(--radius);
}
.nameplate .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.nameplate .name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
}

/* —— CTA band —— */
.cta-band {
  position: relative;
  padding: 3.5rem 0;
  overflow: hidden;
}
.cta-band-inner {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  overflow: hidden;
}
.cta-band-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--teal);
}
.cta-band-inner::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(20, 24, 28, 0.12);
  border-radius: var(--radius);
  transform: rotate(12deg);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.cta-band p {
  color: rgba(20, 24, 28, 0.7);
  margin-bottom: 1.5rem;
  max-width: 28rem;
  position: relative;
  z-index: 1;
}
.cta-band .btn-primary { position: relative; z-index: 1; }

/* —— FAQ —— */
.faq-list { max-width: 40rem; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.15rem 0;
  cursor: pointer;
}
.faq-q:hover { color: var(--teal); }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--teal);
  transition: transform 0.25s ease;
}
.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 9px;
  left: 4px;
}
.faq-icon::after {
  width: 2px;
  height: 12px;
  top: 4px;
  left: 9px;
}
.faq-item.is-open .faq-icon::after { transform: scaleY(0); }
.faq-a {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-item.is-open .faq-a { display: block; }

/* —— Contact —— */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  border-radius: var(--radius) var(--radius) 0 0;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.contact-card p { color: var(--muted); margin-bottom: 0.5rem; }
.contact-card a.phone-link {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  display: inline-block;
  margin: 0.5rem 0 1rem;
}
.contact-card a.phone-link:hover { color: var(--teal); }

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* —— Page hero (inner) —— */
.page-hero {
  padding: 2.75rem 0 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--teal);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.65rem;
}
.page-hero p {
  color: var(--muted);
  max-width: 34rem;
}

/* —— About detail —— */
.detail-list {
  margin-top: 1.5rem;
}
.detail-list dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}
.detail-list dd {
  color: var(--text);
  font-size: 1.05rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.footer-brand span {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--teal);
  margin-right: 0.5rem;
  vertical-align: -0.1em;
  border-radius: var(--radius);
}
.site-footer p { color: var(--muted); font-size: 0.9rem; }
.site-footer h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.footer-links a {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.25rem 0;
}
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.8rem;
}

/* —— Utility —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
