:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --text: #13202f;
  --muted: #5f6f82;
  --line: #dce5ee;
  --strong-line: #c4d2df;
  --accent: #1677ff;
  --accent-dark: #0f55c6;
  --teal: #13a89e;
  --green: #1d9a6c;
  --yellow: #f5b847;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(31, 53, 79, 0.11);
  --radius: 8px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea,
h1,
h2,
h3,
p,
a,
span,
strong,
summary,
label,
li {
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body, button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; font-weight: 800; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.6rem, 6vw, 5.9rem); line-height: 1.03; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; }
h3 { margin-bottom: 10px; font-size: 1.25rem; line-height: 1.18; }
p { margin-bottom: 0; color: var(--muted); line-height: 1.52; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 780px; }
.section-pad { padding: 96px 0; }
.muted { background: var(--bg-soft); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 229, 238, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}
.site-header.simple { position: relative; }
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.97); box-shadow: 0 10px 32px rgba(30, 48, 70, 0.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); }
.brand img { border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 0.95rem; font-weight: 700; }
.site-nav a { transition: color 180ms ease; }
.site-nav a:hover { color: var(--accent); }
.nav-cta {
  padding: 10px 16px;
  color: #ffffff !important;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.22);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) { width: 18px; height: 2px; background: var(--text); border-radius: 999px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(22, 119, 255, 0.13), transparent 24%),
    radial-gradient(circle at 88% 22%, rgba(19, 168, 158, 0.11), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-text { max-width: 650px; margin-bottom: 28px; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.44; color: #46596d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #ffffff; background: var(--accent); box-shadow: 0 14px 28px rgba(22, 119, 255, 0.24); }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { color: var(--text); background: #ffffff; border-color: var(--strong-line); }
.button.ghost { color: var(--accent-dark); background: rgba(255, 255, 255, 0.64); border-color: rgba(22, 119, 255, 0.2); }
.button.full { width: 100%; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-strip span, .pill-grid span {
  padding: 8px 11px;
  color: #365067;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-panel { position: relative; }
.browser-frame { overflow: hidden; background: #ffffff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.browser-bar { display: flex; gap: 7px; padding: 14px 16px; background: #eef4fa; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--strong-line); }
.browser-bar span:nth-child(1) { background: #ff6b6b; }
.browser-bar span:nth-child(2) { background: var(--yellow); }
.browser-bar span:nth-child(3) { background: var(--green); }
.mock-site { padding: 24px; }
.mock-nav { width: 100%; height: 18px; margin-bottom: 26px; background: linear-gradient(90deg, #dbe8f6 0 24%, transparent 24% 66%, #dbe8f6 66% 100%); border-radius: 999px; }
.mock-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 190px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(19, 32, 47, 0.9), rgba(22, 119, 255, 0.72)), linear-gradient(45deg, #142033, #2f87ff);
  border-radius: 12px;
}
.mock-hero strong { display: block; max-width: 260px; margin-bottom: 10px; font-size: 1.7rem; line-height: 1.08; }
.mock-hero p { max-width: 230px; margin: 0; color: rgba(255, 255, 255, 0.82); line-height: 1.42; }
.mock-button { width: 98px; height: 42px; flex: 0 0 auto; background: #ffffff; border-radius: var(--radius); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.mock-grid span { height: 86px; background: #eef4fa; border: 1px solid var(--line); border-radius: 10px; }
.metric-card { position: absolute; right: -18px; bottom: -22px; width: min(260px, calc(100% - 36px)); padding: 18px; background: #ffffff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 48px rgba(31, 53, 79, 0.16); }
.metric-card strong, .metric-card span { display: block; }
.metric-card span { margin-top: 5px; color: var(--muted); font-size: 0.92rem; }

.split, .proof-grid, .contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.section-heading { max-width: 700px; }
.section-heading.center { margin: 0 auto 42px; text-align: center; }
.section-heading p:last-child { font-size: 1.05rem; line-height: 1.5; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-grid span { padding: 12px 15px; font-weight: 800; }
.card-grid, .pricing-grid, .work-grid { display: grid; gap: 18px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card, .price-card, .work-card, .process-step, .care-plan, .proof-cards div, .quote-form, .faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(31, 53, 79, 0.06);
}
.card { padding: 26px; }
.card p, .price-card p, .work-card p { line-height: 1.48; }
.icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--accent-dark); background: #eaf3ff; border-radius: var(--radius); font-size: 0.82rem; font-weight: 900; }
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 28px; }
.price-card.featured { border-color: rgba(22, 119, 255, 0.48); box-shadow: 0 22px 56px rgba(22, 119, 255, 0.16); }
.badge { width: fit-content; padding: 7px 10px; color: var(--accent-dark); background: #eaf3ff; border-radius: 999px; font-size: 0.78rem; font-weight: 900; }
.price { margin-bottom: 12px; color: var(--text); font-size: 2.15rem; font-weight: 900; line-height: 1; }
.price-card ul { display: grid; gap: 9px; padding: 0; margin: 18px 0 26px; list-style: none; }
.price-card li { position: relative; padding-left: 25px; color: #40556b; line-height: 1.42; }
.price-card li::before { content: ""; position: absolute; top: 0.58em; left: 0; width: 9px; height: 9px; background: var(--teal); border-radius: 50%; }
.price-card .button { margin-top: auto; }
.care-plan { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 24px 28px; }
.care-plan p { margin-bottom: 0; }
.care-plan strong { color: var(--accent-dark); font-size: 1.35rem; white-space: nowrap; }

.work-grid { grid-template-columns: repeat(3, 1fr); }
.work-card { overflow: hidden; }
.work-card span, .work-card h3, .work-card p { margin-inline: 22px; }
.work-card span { display: inline-flex; margin-top: 20px; margin-bottom: 10px; color: var(--accent-dark); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.work-card p { margin-bottom: 24px; }
.work-preview { height: 180px; border-bottom: 1px solid var(--line); }
.work-preview.detail { background: linear-gradient(135deg, rgba(20, 32, 47, 0.86), rgba(22, 119, 255, 0.55)), repeating-linear-gradient(90deg, #1c2738 0 18px, #24344a 18px 36px); }
.work-preview.barber { background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(19,168,158,0.28)), linear-gradient(45deg, #d8f1ec, #f6fbff); }
.work-preview.cleaning { background: radial-gradient(circle at 35% 38%, rgba(22,119,255,0.24), transparent 20%), linear-gradient(135deg, #f7fbff, #dbeafe); }

.process-list { display: grid; gap: 14px; }
.process-step { display: grid; grid-template-columns: 54px 190px 1fr; gap: 20px; align-items: center; padding: 22px; }
.process-step span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: #ffffff; background: var(--accent); border-radius: var(--radius); font-weight: 900; }
.process-step h3, .process-step p { margin: 0; }
.process-step p { line-height: 1.45; }
.proof-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.proof-cards div { padding: 22px; }
.proof-cards strong, .proof-cards span { display: block; }
.proof-cards span { margin-top: 8px; color: var(--muted); line-height: 1.45; }

.contact-section { background: linear-gradient(180deg, rgba(245, 248, 251, 0.72), rgba(255, 255, 255, 1)), var(--bg-soft); }
.contact-options { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-options a { padding: 11px 14px; color: var(--accent-dark); background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 800; }
.quote-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 28px; }
label { display: grid; gap: 7px; color: #34495e; font-size: 0.92rem; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 13px; color: var(--text); background: #ffffff; border: 1px solid var(--strong-line); border-radius: var(--radius); outline: none; font-weight: 500 !important; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12); }
.full-field { grid-column: 1 / -1; }
.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note { margin: -2px 0 0; font-size: 0.86rem; line-height: 1.45; }
.form-note a { color: var(--accent-dark); font-weight: 900; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.form-actions { display: flex; align-items: center; gap: 16px; }
.form-actions p { margin: 0; font-size: 0.92rem; }
.faq-list { display: grid; max-width: 880px; gap: 12px; margin-inline: auto; }
.faq-list details { padding: 20px 22px; }
.faq-list summary { color: var(--text); font-weight: 900; cursor: pointer; }
.faq-list p { margin: 12px 0 0; line-height: 1.48; }

.site-footer { padding: 64px 0 28px; color: #d8e2ee; background: #13202f; }
.site-footer p, .site-footer a, .site-footer span { color: #aebdca; }
.site-footer p { line-height: 1.48; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.75fr 0.75fr; gap: 42px; }
.footer-brand { color: #ffffff; margin-bottom: 16px; }
.site-footer h3 { color: #ffffff; font-size: 1rem; }
.site-footer a { display: block; margin-bottom: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.mobile-contact-bar { display: none; }
.legal-page { padding: 78px 0 110px; }
.legal-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.legal-page h2 { margin-top: 34px; font-size: 1.35rem; }
.legal-page p, .legal-page li { line-height: 1.55; }
.legal-page a { color: var(--accent-dark); font-weight: 800; }
.small-note { margin-top: 36px; font-size: 0.92rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid, .split, .proof-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .services-grid, .pricing-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { grid-template-columns: 48px 1fr; }
  .process-step p { grid-column: 2; }
}

@media (max-width: 760px) {
  .section-pad { padding: 70px 0; }
  body { padding-bottom: 72px; }
  .site-header { min-height: 68px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open, .static-nav { display: flex; }
  .static-nav { position: static; flex-direction: row; align-items: center; padding: 0; border: 0; box-shadow: none; }
  .site-nav a { padding: 12px; }
  .nav-cta { text-align: center; }
  .hero-actions, .form-actions, .care-plan, .footer-bottom { flex-direction: column; align-items: stretch; }
  .services-grid, .pricing-grid, .work-grid, .proof-cards, .quote-form, .footer-grid { grid-template-columns: 1fr; }
  .metric-card { position: static; width: auto; margin-top: 14px; }
  .mock-hero { flex-direction: column; align-items: flex-start; }
  .mock-grid { grid-template-columns: 1fr; }
  .mock-grid span { height: 54px; }
  .care-plan strong { white-space: normal; }
  .mobile-contact-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(19, 32, 47, 0.16);
    backdrop-filter: blur(16px);
  }
  .mobile-contact-bar a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    color: #ffffff;
    background: var(--accent);
    border-radius: var(--radius);
    font-weight: 900;
  }
  .mobile-contact-bar a:nth-child(2) { color: var(--text); background: #eaf3ff; }
  .mobile-contact-bar a[hidden] { display: none; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand span { font-size: 0.95rem; }
  h1 { font-size: 2.45rem; }
  .button { width: 100%; }
  .process-step { grid-template-columns: 1fr; }
  .process-step p { grid-column: auto; }
}

html body button,
html body .button,
html body input,
html body select,
html body textarea {
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

html body input,
html body select,
html body textarea {
  font-weight: 500 !important;
}
