:root {
  --bg: #ffffff;
  --ink: #111827;
  --muted: #5b6472;
  --line: #e5e7eb;
  --soft: #f6f7f9;
  --accent: #0f3d3e;
  --accent-2: #0f766e;
  --accent-soft: #e8f3f1;
  --gold: #f5b301;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
  --radius: 22px;
}

* { 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;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  backdrop-filter: blur(14px);
}
.brand, .mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.logo-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(15, 61, 62, 0.25);
}
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  flex: 0 0 auto;
}
.site-header nav {
  display: none;
  align-items: center;
  gap: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.1;
}
.site-header nav a {
  text-decoration: none;
  line-height: 1.1;
}
.site-header nav a:hover { color: var(--accent); }
.brand-text {
  display: inline;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.header-call-btn {
  min-height: 42px;
  padding: 0.64rem 0.95rem;
  white-space: nowrap;
  line-height: 1;
}
.header-call-btn:hover {
  color: #fff;
}
.mobile-header-call-btn {
  flex: 0 0 auto;
  min-width: 0;
  max-height: 42px;
  padding-inline: 0.85rem;
  font-size: 0.82rem;
}

.hero {
  display: grid;
  gap: 2rem;
  padding: 2.4rem 1rem 3rem;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 34rem),
    linear-gradient(180deg, #fff, #f8fafc);
}
.hero-content { max-width: 760px; }
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.045em; line-height: 1.05; }
h1 { font-size: clamp(2.35rem, 13vw, 5rem); }
h2 { font-size: clamp(2rem, 8vw, 3.5rem); }
h3 { font-size: 1.08rem; }
.subheadline {
  margin: 1rem 0 0;
  color: var(--accent);
  font-size: clamp(1.05rem, 4vw, 1.45rem);
  font-weight: 750;
}
.hero-copy, .section-heading p, .contact-section p, .lead {
  color: var(--muted);
  font-size: 1rem;
}
.hero-copy { margin: 1rem 0 0; max-width: 620px; }
.cta-row { display: grid; gap: 0.8rem; margin-top: 1.6rem; }
.cta-row.compact { margin-top: 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--accent); box-shadow: 0 12px 26px rgba(15, 61, 62, 0.20); }
.btn-primary:hover { background: #0b3031; }
.btn-secondary { color: var(--accent); background: var(--accent-soft); border-color: rgba(15, 118, 110, 0.18); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); }

.hero-image {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.20), rgba(15, 118, 110, 0.18)),
    url('/assets/img/hero-bathroom-renovation.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 24px;
}
.hero-image span {
  position: absolute;
  left: 1.6rem;
  bottom: 4.3rem;
  z-index: 1;
  max-width: 230px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.ai-disclaimer {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 1;
  display: inline-block;
  max-width: 420px;
  color: rgba(255,255,255,0.92);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.project-ai-disclaimer {
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  max-width: 300px;
  font-size: 0.72rem;
}

.section, .contact-section, .section-narrow { padding: 3.5rem 1rem; }
.section-heading { max-width: 760px; margin-bottom: 1.4rem; }
.section-muted { background: var(--soft); }
.project-grid, .service-grid, .testimonial-grid {
  display: grid;
  gap: 1rem;
}
.project-card, .service-card, .testimonial-card, .contact-card, .form-shell, .review-card-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.project-card { overflow: hidden; }
.project-image {
  height: 180px;
  position: relative;
  background-size: 44px 44px, cover;
  background-position: center;
}
.project-image-real {
  background-size: cover;
  background-position: center;
}
.pattern-1 { background: linear-gradient(135deg, rgba(15,61,62,.38), rgba(255,255,255,.1)), repeating-linear-gradient(45deg, #d9e1df 0 20px, #f4efe5 20px 40px); }
.pattern-2 { background: linear-gradient(135deg, rgba(15,118,110,.34), rgba(17,24,39,.12)), linear-gradient(90deg, #e8ecea 0 33%, #cfd8d5 33% 66%, #f6f0e6 66%); }
.pattern-3 { background: linear-gradient(135deg, rgba(17,24,39,.32), rgba(15,118,110,.18)), repeating-linear-gradient(90deg, #f7f2e9 0 22px, #d9e1df 22px 44px); }
.pattern-4 { background: linear-gradient(135deg, rgba(15,61,62,.28), rgba(255,255,255,.12)), radial-gradient(circle at 20% 20%, #ffffff 0 8px, transparent 9px), #dfe8e5; }
.project-body { padding: 1.1rem; }
.project-body p, .testimonial-card figcaption, .form-note { color: var(--muted); }
.service-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  font-weight: 750;
}
.service-card span { color: var(--accent-2); font-weight: 900; }
.testimonial-card { margin: 0; padding: 1.2rem; }
.testimonial-card blockquote { margin: 0 0 1rem; font-size: 1.05rem; font-weight: 650; }

.review-form { display: grid; gap: 1rem; }
.review-form label, .review-form fieldset { display: grid; gap: 0.4rem; margin: 0; border: 0; padding: 0; }
.review-form span, .review-form legend { font-weight: 800; font-size: 0.92rem; }
.review-form input[type="text"], .review-form select, .review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.review-form input:focus, .review-form select:focus, .review-form textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--accent-2);
}
.checkbox-line { display: flex !important; align-items: flex-start; grid-template-columns: auto 1fr; gap: 0.7rem !important; }
.checkbox-line input { margin-top: 0.25rem; }
.stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
}
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { color: #c8ced6; cursor: pointer; font-size: 1.9rem; line-height: 1; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--gold); }
.form-shell, .review-card-section { padding: 1rem; }

.contact-section {
  display: grid;
  gap: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, #0b3031, #0f3d3e 55%, #0f766e);
}
.contact-section .eyebrow, .contact-section p { color: rgba(255,255,255,0.78); }
.contact-card { padding: 1.1rem; color: var(--ink); }
.contact-card p { color: var(--ink); margin: 0.4rem 0; }
.contact-card a { color: var(--accent); font-weight: 800; }
.contact-card .btn-primary,
.contact-card .btn-primary:hover,
.contact-card .btn-primary:visited,
.contact-card .btn-primary:focus {
  color: #fff;
}
.contact-call-btn {
  width: 100%;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.3rem 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer-ai-note {
  max-width: 700px;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer a { color: var(--accent); font-weight: 800; }

.review-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(15,118,110,0.13), transparent 30rem), var(--soft);
}
.section-narrow { max-width: 760px; margin: 0 auto; }
.review-hero { padding-bottom: 1.5rem; }
.review-hero .mini-brand { margin-bottom: 2.5rem; }
.review-hero h1 { font-size: clamp(2.1rem, 10vw, 4.4rem); }
.review-hero .btn { margin-top: 1rem; }
.review-card-section { margin-bottom: 3rem; }

@media (min-width: 680px) {
  .site-header {
    gap: 1rem;
    padding: 0.55rem 1.5rem;
  }
  .site-header nav { display: flex; }
  .brand-logo {
    width: 62px;
    height: 62px;
  }
  .brand-text {
    display: inline;
    font-size: 1rem;
  }
  .header-call-btn {
    min-height: 44px;
    padding: 0.72rem 1rem;
  }
  .mobile-header-call-btn {
    display: none;
  }
  .contact-call-btn {
    width: auto;
  }
  .cta-row { display: flex; flex-wrap: wrap; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 980px) {
  .site-header {
    padding: 0.5rem 2rem;
  }
  .brand {
    gap: 0.95rem;
  }
  .brand-logo {
    width: 68px;
    height: 68px;
  }
  .brand-text {
    font-size: 1.12rem;
  }
  .site-header nav {
    gap: 1.2rem;
  }
  .hero { grid-template-columns: 1.02fr 0.98fr; align-items: center; padding: 5.5rem 5vw; }
  .section, .contact-section { padding: 5rem 5vw; }
  .project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-section { grid-template-columns: 1fr 430px; align-items: center; }
  .form-shell, .review-card-section, .contact-card { padding: 1.35rem; }
}
