/* San Francisco Epoxy Flooring - fog slate + international orange */
:root {
  --slate: #1d2730;
  --slate-deep: #141b21;
  --orange: #c8411c;
  --orange-dark: #a83514;
  --fog: #eef1f4;
  --fog-mid: #dfe5ea;
  --ink: #1f2a33;
  --muted: #55626d;
  --white: #ffffff;
  --radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { line-height: 1.2; color: var(--slate); font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: 44px; margin-bottom: 18px; }
h2 { font-size: 31px; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; }
p { margin-bottom: 14px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: var(--slate); border-bottom: 3px solid var(--orange); }
.nav-inner { max-width: 1140px; margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; gap: 20px; }
.brand { color: var(--white); text-decoration: none; font-weight: 800; font-size: 19px; white-space: nowrap; }
.brand span { color: #f08a5d; }
.nav-links { display: flex; gap: 20px; flex: 1; justify-content: center; }
.nav-links a { color: #d5dde3; text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--orange); color: var(--white); text-decoration: none; font-weight: 800; padding: 10px 16px; border-radius: 6px; white-space: nowrap; font-size: 15px; }
.nav-cta:hover { background: var(--orange-dark); }

/* HERO */
.hero { background: linear-gradient(160deg, var(--fog) 0%, var(--fog-mid) 100%); padding: 56px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
.eyebrow { display: inline-block; background: var(--slate); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; margin-bottom: 18px; }
.hero-sub { font-size: 19px; color: var(--muted); margin-bottom: 24px; max-width: 600px; }
.hero-points { list-style: none; margin-top: 24px; }
.hero-points li { padding-left: 28px; position: relative; margin-bottom: 8px; color: var(--ink); font-weight: 600; }
.hero-points li::before { content: "\2713"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }

.btn { display: inline-block; background: var(--orange); color: var(--white); text-decoration: none; font-weight: 800; padding: 15px 24px; border-radius: 6px; font-size: 17px; border: 0; cursor: pointer; }
.btn:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.hero-form { background: var(--white); border-radius: var(--radius); border-top: 6px solid var(--orange); box-shadow: 0 14px 40px rgba(20, 27, 33, 0.14); padding: 26px 26px 20px; }
.hero-form h2 { font-size: 24px; margin-bottom: 6px; }
.form-note { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.hero-form label, .contact-form label { display: block; font-size: 14px; font-weight: 700; margin: 10px 0 4px; color: var(--slate); }
.hero-form input, .hero-form select, .contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #c5ced5; border-radius: 6px; font-size: 16px; font-family: inherit; background: var(--white); color: var(--ink);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.hero-form button, .contact-form button { width: 100%; margin-top: 16px; background: var(--orange); color: var(--white); border: 0; border-radius: 6px; padding: 14px; font-size: 17px; font-weight: 800; cursor: pointer; font-family: inherit; }
.hero-form button:hover, .contact-form button:hover { background: var(--orange-dark); }
.form-alt { text-align: center; font-size: 15px; margin-top: 12px; color: var(--muted); }
.form-alt a { color: var(--orange); font-weight: 800; }

/* IMAGE BAND */
.hero-band img { width: 100%; height: 460px; object-fit: cover; }

/* SECTIONS */
.section { padding: 70px 0; }
.section.alt { background: var(--fog); }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; margin-bottom: 30px; }
.intro { font-size: 19px; max-width: 820px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

.ticks { list-style: none; margin-top: 10px; }
.ticks li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid var(--fog-mid); }
.ticks li::before { content: "\25A0"; color: var(--orange); position: absolute; left: 4px; top: 9px; font-size: 13px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tile { background: var(--white); border: 1px solid var(--fog-mid); border-top: 4px solid var(--slate); border-radius: var(--radius); padding: 22px; }
.section.alt .tile { border-color: #d3dae0; border-top-color: var(--slate); }
.tile.accent { border-top-color: var(--orange); }

/* SERVICE CARDS */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(20,27,33,0.08); display: flex; flex-direction: column; }
.svc-card img { height: 170px; width: 100%; object-fit: cover; }
.svc-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.svc-body p { font-size: 15px; color: var(--muted); flex: 1; }
.svc-link { color: #2563eb; text-decoration: underline; font-weight: 700; font-size: 15px; }

/* STEPS */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 24px 22px 20px; position: relative; border: 1px solid #d3dae0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 34px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 10px; }

.callout { margin-top: 30px; background: var(--slate); color: #e7ecef; border-radius: var(--radius); padding: 20px 24px; }
.callout strong { color: #f3a27c; }

.factors { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; margin: 18px 0 22px; }
.factors li { background: var(--white); border-left: 4px solid var(--orange); padding: 12px 16px; border-radius: 0 8px 8px 0; }
.section:not(.alt) .factors li { background: var(--fog); }

/* FIT */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-box { border-radius: var(--radius); padding: 24px; }
.fit-yes { background: #e8f3ec; border: 1px solid #b9dcc6; }
.fit-no { background: #fbeee9; border: 1px solid #f0c9b9; }
.fit-box ul { padding-left: 20px; }
.fit-box li { margin-bottom: 8px; }

/* COMPARE TABLE */
.compare { width: 100%; border-collapse: collapse; margin: 10px 0 18px; background: var(--white); }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--fog-mid); font-size: 16px; vertical-align: top; }
.compare th { background: var(--slate); color: var(--white); }

/* FAQ */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-item { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid #d3dae0; }
.faq-item h3 { font-size: 18px; }
.faq-item p { margin-bottom: 0; color: var(--muted); }

/* CTA BAND */
.cta-band { background: var(--orange); color: var(--white); padding: 56px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { font-size: 18px; margin-bottom: 22px; }
.cta-band .btn { background: var(--slate); margin: 6px; }
.cta-band .btn:hover { background: var(--slate-deep); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-form { background: var(--white); border: 1px solid #d3dae0; border-radius: var(--radius); padding: 26px; }
.info-list { list-style: none; }
.info-list li { padding: 12px 0; border-bottom: 1px solid var(--fog-mid); }
.info-list strong { display: block; color: var(--slate); }
.info-list a { color: var(--orange); font-weight: 800; }

/* MAP */
.map-note { max-width: 660px; margin: 0 auto 24px; padding: 14px 18px; background: var(--fog); border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; font-size: 15px; color: var(--muted); line-height: 1.6; text-align: left; }
.map-note strong { color: var(--slate); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,0.12); max-width: 980px; margin: 0 auto; }

/* FOOTER */
.footer { background: var(--slate-deep); color: #b9c4cc; padding: 54px 0 22px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
.footer h3 { color: var(--white); font-size: 17px; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 6px; }
.footer a { color: #f08a5d; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #2c3842; margin-top: 34px; padding-top: 18px; font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .hero { padding: 36px 0 40px; }
  .hero-grid, .split, .grid3, .grid2, .fit, .faq-list, .contact-grid, .footer-grid, .factors { grid-template-columns: 1fr; }
  .nav-inner { flex-wrap: wrap; gap: 10px; }
  .nav-links { order: 3; width: 100%; flex: 0 0 100%; justify-content: flex-start; overflow-x: auto; gap: 16px; padding-bottom: 4px; }
  .hero-band img { height: 260px; }
  .section { padding: 50px 0; }
}
@media (max-width: 560px) {
  .svc-grid, .steps { grid-template-columns: 1fr; }
  .brand { font-size: 16px; white-space: normal; line-height: 1.15; max-width: 160px; }
  .brand span { display: block; }
  .nav-inner { justify-content: space-between; }
  .nav-cta { padding: 9px 12px; font-size: 14px; }
  .compare th, .compare td { padding: 9px 8px; font-size: 14px; }
}
