/* Bathroom Reno Winnipeg
   Static, mobile-first, conversion-focused.
*/

:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --text: #152033;
  --muted: #5e6a7d;
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #d9e1ea;
  --focus: #93c5fd;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 780px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.header-cta {
  text-decoration: none;
  font-weight: 700;
  color: var(--accent);
}

.hero {
  background:
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.14), transparent 34%),
    linear-gradient(140deg, #0f172a 0%, #172554 100%);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
  padding: 64px 0;
}

.hero-content {
  max-width: 690px;
}

.hero-media {
  margin: 0;
  position: relative;
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.hero-media figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  backdrop-filter: blur(6px);
}

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.trust-items {
  min-height: 62px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-items span::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #93c5fd;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 4.65rem);
  margin-bottom: 22px;
  max-width: 760px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.hero-copy {
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  max-width: 720px;
  color: #dbeafe;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.text-link {
  color: #fff;
  font-weight: 750;
}

.microcopy {
  font-size: 0.9rem;
  color: #bfdbfe;
  margin-top: 14px;
}

.section {
  padding: 68px 0;
  background: var(--surface);
}

.section-alt {
  background: var(--surface-alt);
}

.section-intro {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.section-quote {
  background: #e8efff;
}

.quote-layout {
  display: grid;
  gap: 30px;
}

.quote-copy {
  max-width: 620px;
}

.quote-copy .eyebrow {
  color: var(--accent);
}

.quote-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-row {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

label {
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid #b9c5d4;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 6px 0 18px;
}

.consent input {
  width: auto;
  margin-top: 5px;
}

.button-full {
  width: 100%;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
}

details {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--border);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--muted);
  margin-bottom: 0;
}

.site-footer {
  background: var(--primary);
  color: #e2e8f0;
  padding: 40px 0 26px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: space-between;
}

.footer-inner p {
  color: #94a3b8;
  max-width: 570px;
  margin-bottom: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-inner a {
  color: #fff;
}

.disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 22px;
  font-size: 0.84rem;
  color: #94a3b8;
}

.disclosure p {
  margin: 0;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: 54px;
    padding: 72px 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .header-cta {
    font-size: 0.9rem;
  }

  .hero-inner {
    padding: 58px 0 54px;
  }

  .section {
    padding: 52px 0;
  }

  .quote-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
