:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-strong: #eef0ed;
  --text: #1f2a31;
  --text-muted: #5f6a72;
  --accent: #2c7d77;
  --accent-soft: #d9f0ef;
  --border: #dbe1dc;
  --shadow: 0 24px 60px rgba(31, 42, 49, 0.08);
  --radius: 28px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-family: var(--font-family);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner,
.section-header,
.footer-grid,
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  justify-content: center;
}

.header-inner .main-nav {
  justify-content: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 48px;
  align-items: center;
  padding: 80px 0 64px;
  justify-content: center;
}

.site-header {
  background: linear-gradient(180deg, #f7fcfb 0%, #ebf4f3 100%);
  padding: 32px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(31, 42, 49, 0.08);
}

.brand-footer {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.hero-copy {
  max-width: 620px;
  text-align: center;
  margin-inline: auto;
}

.hero-actions,
.hero-stats {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 4vw, 4.5rem);
  line-height: 0.95;
}

.hero p {
  margin: 24px 0 0;
  max-width: 540px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 0;
}

.hero-stats {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  color: var(--text-muted);
}

.hero-stats li {
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.visual-card {
  background: var(--surface);
  border-radius: 40px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.visual-badge {
  display: inline-flex;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* .visual-image and .visual-image::after classes removed - not used in HTML and referenced missing image file */

.section {
  padding: 80px 0;
}

.section-header {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2.1rem, 2.4vw, 3rem);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 720px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.process-step,
.project-card,
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(31, 42, 49, 0.06);
}

.feature-card {
  text-align: left;
}

.icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 22px;
}

.feature-card h2,
.process-step h3,
.project-copy h3,
.testimonial-card strong {
  margin: 0 0 16px;
}

.feature-card p,
.process-step p,
.project-copy p,
.testimonial-card p {
  margin: 0;
  color: var(--text-muted);
}

.projects .section-header {
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  overflow: hidden;
  padding: 0;
}

.project-image {
  min-height: 240px;
  background-size: cover;
  background-position: center;
}

.image-1 {
  background-image: url("assets/images/walk-in shower.png");
}

.image-2 {
  background-image: url("assets/images/wetroom.png");
}

.image-3 {
  background-image: url("assets/images/walk-in bath.png");
}

.project-copy {
  padding: 28px 30px 32px;
}

.project-type {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.process-step {
  text-align: left;
}

.step-number {
  display: inline-flex;
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.testimonial-card footer {
  margin-top: auto;
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-panel {
  background: linear-gradient(135deg, #2c7d77, #1d605d);
  color: #fff;
  border-radius: 36px;
  padding: 40px;
  flex-wrap: wrap;
}

.cta-panel h2 {
  margin: 14px 0 0;
  font-size: clamp(2.4rem, 3vw, 3.4rem);
}

.cta-panel p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.cta-panel .button-primary {
  background: #ffffff;
  color: var(--accent);
}

.cta-panel .button-secondary {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

.site-footer {
  padding: 48px 0 24px;
}

.footer-grid {
  gap: 24px;
}

.site-footer p,
.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-note {
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 940px) {
  .hero,
  .grid-3,
  .card-grid,
  .testimonial-grid,
  .footer-grid,
  .section-header,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual,
  .footer-grid,
  .cta-panel {
    align-items: stretch;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-copy,
  .section-header,
  .cta-panel {
    text-align: left;
  }

  .hero-actions,
  .hero-stats,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    justify-content: center;
  }
}
