* {
  box-sizing: border-box;
}

:root {
  --ink: #14211f;
  --muted: #53615f;
  --paper: #f8faf8;
  --white: #ffffff;
  --mist: #dfecea;
  --rain: #b9d4cf;
  --steel: #5d6e70;
  --leaf: #1f6a55;
  --tile: #b94a35;
  --safety: #f5a623;
  --line: rgba(20, 33, 31, 0.16);
  --shadow: 0 20px 70px rgba(20, 33, 31, 0.16);
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Aptos, "Segoe UI", "Noto Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 33, 31, 0.9);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 -5px 0 rgba(31, 106, 85, 0.14);
}

.brand-name {
  display: grid;
  gap: 0;
}

.brand-name strong {
  font-size: 1rem;
  line-height: 1.05;
}

.brand-name span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.nav-links,
.language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a,
.language-switch a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav-links a:hover,
.language-switch a:hover,
.language-switch a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 21, 20, 0.86) 0%, rgba(11, 21, 20, 0.62) 44%, rgba(11, 21, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(11, 21, 20, 0.6), rgba(11, 21, 20, 0)),
    url("assets/images/cheong-seng-roof-gutter-repair.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 18px;
  background: linear-gradient(90deg, var(--leaf), var(--safety), var(--tile));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 110px 0 72px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--rain);
  font-weight: 800;
}

.kicker::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--safety);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 7vw, 5.7rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  line-height: 1.03;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.hero-lede {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary {
  background: var(--safety);
  color: #1d1609;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.trust-strip {
  width: min(100% - 32px, var(--max));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 104px;
  padding: 20px;
  border-inline-end: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-inline-end: 0;
}

.trust-strip strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 92px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--tint {
  background: linear-gradient(180deg, #eef5f3 0%, #f8faf8 100%);
}

.section--dark {
  background: var(--ink);
  color: var(--white);
}

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

.section-header {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section--dark .section-header p,
.section--dark .muted,
.section--dark .area-card span {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--tile);
  font-weight: 900;
}

.grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.service-card,
.diagram-card,
.answer-card,
.area-card,
.faq-card,
.source-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  overflow: hidden;
}

.service-card img {
  display: block;
  width: 100%;
  height: clamp(190px, 16vw, 245px);
  object-fit: cover;
}

.service-card-content,
.diagram-card,
.answer-card,
.area-card,
.faq-card,
.source-card {
  padding: 22px;
}

.service-card-content {
  flex: 1;
}

.service-card p,
.diagram-card p,
.answer-card p,
.area-card p,
.faq-card p {
  color: var(--muted);
}

.service-card ul,
.source-card ul,
.target-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.source-card li,
.target-list li {
  position: relative;
  padding-inline-start: 24px;
  margin-bottom: 8px;
  color: var(--muted);
}

.service-card li::before,
.source-card li::before,
.target-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.68em;
  width: 10px;
  height: 2px;
  background: var(--leaf);
}

.photo-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.photo-band img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.photo-stack {
  display: grid;
  gap: 18px;
}

.photo-stack img {
  min-height: 150px;
}

.diagram-card img {
  width: 100%;
  min-height: 210px;
  object-fit: contain;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: 8px;
  background: #f2f6f4;
}

.answer-card {
  display: grid;
  gap: 12px;
}

.answer-card strong {
  color: var(--leaf);
}

.area-card {
  min-height: 148px;
  display: grid;
  align-content: start;
}

.area-card span {
  color: var(--muted);
}

.dark-card-grid .answer-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.dark-card-grid .answer-card p {
  color: rgba(255, 255, 255, 0.76);
}

.process {
  counter-reset: process;
}

.process .answer-card {
  position: relative;
  padding-top: 58px;
}

.process .answer-card::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  top: 18px;
  inset-inline-start: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tile);
  color: var(--white);
  font-weight: 900;
}

.longform .answer-card,
.longform .source-card {
  align-content: start;
}

.longform .answer-card p:last-child,
.longform .source-card p:last-child {
  margin-bottom: 0;
}

.longform .source-card {
  background: rgba(255, 255, 255, 0.78);
}

.faq-card details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-card details:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faq-card details:first-child {
  padding-top: 0;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-card summary::marker {
  color: var(--tile);
}

.faq-card details p {
  margin: 12px 0 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.contact-panel .contact-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f8f6;
}

.contact-number {
  display: inline-flex;
  margin: 14px 0 18px;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--leaf);
  font-weight: 900;
  text-decoration: none;
}

.footer {
  padding: 34px 0 96px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer a {
  color: var(--ink);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #063d1d;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.32);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

.whatsapp-float span {
  position: absolute;
  right: 70px;
  width: max-content;
  max-width: 230px;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.86rem;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.whatsapp-float:hover span,
.whatsapp-float:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    align-items: flex-end;
    flex-direction: column;
  }

  .trust-strip,
  .grid-4,
  .grid-3,
  .service-grid,
  .photo-band,
  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }

  .contact-panel {
    padding: 18px;
  }

  .service-card img {
    height: 220px;
  }
}

@media (max-width: 680px) {
  .nav-shell,
  .hero-content,
  .container,
  .trust-strip {
    width: min(100% - 24px, var(--max));
  }

  .brand-name span {
    display: none;
  }

  .language-switch {
    gap: 4px;
  }

  .language-switch a {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 82vh;
    background-position: 58% center;
  }

  .hero-content {
    padding-bottom: 54px;
  }

  .section {
    padding: 68px 0;
  }

  .trust-strip,
  .grid-4,
  .grid-3,
  .grid-2,
  .service-grid,
  .photo-band,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: auto;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .photo-band img,
  .photo-stack img {
    min-height: 230px;
  }

  .service-card img {
    height: 210px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
  }

  .whatsapp-float span {
    display: none;
  }
}
