/* Base */
:root {
  --bg: #f9f4ef;
  --surface: #ffffff;
  --surface-soft: #fbefeb;
  --ink: #152633;
  --muted: #5e6d77;
  --line: #ead8d1;
  --primary: #d94443;
  --primary-dark: #b93334;
  --accent: #efc341;
  --accent-dark: #d8af30;
  --footer: #0f2831;
  --success: #1e8b63;
  --shadow: 0 18px 42px rgba(22, 30, 35, 0.08);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.28rem;
}

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

.section {
  padding: 6rem 0;
}

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

.narrow {
  max-width: 760px;
}

.center-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.center-heading p {
  margin-top: 1rem;
  color: var(--muted);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(217, 71, 69, 0.1);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff4ec;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  transition: 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #1f1f1f;
  box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-outline {
  border-color: rgba(22, 36, 45, 0.16);
  background: var(--surface);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-light {
  background: #ffffff;
  color: var(--primary-dark);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-small {
  min-height: 46px;
  padding: 0.75rem 1rem;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 800;
}

.button-row,
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 244, 239, 0.94);
  border-bottom: 1px solid rgba(234, 216, 209, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 0.15rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.brand-text strong {
  font-size: 0.96rem;
  letter-spacing: 0.18em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-weight: 700;
  color: #31424c;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* Hero */
.hero {
  padding-top: 4.5rem;
  background: linear-gradient(180deg, #f9f4ef 0%, #fbefeb 100%);
}

.hero-grid,
.split,
.band-grid,
.cta-wrap,
.footer-grid,
.footer-bottom {
  display: grid;
  gap: 2.4rem;
}

.hero-grid,
.split {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-grid--rebuild {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  gap: 3rem;
}

.split-reverse > :first-child {
  order: 2;
}

.eyebrow {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(244, 197, 69, 0.25);
  color: #6c4d00;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  max-width: 11ch;
}

.hero-copy .lead {
  max-width: 58ch;
  margin-top: 1.25rem;
}

.hero-copy--rebuild {
  justify-content: center;
  padding: 3rem 0;
}

.hero-copy--rebuild h1 {
  font-size: clamp(3.2rem, 6vw, 5.45rem);
  line-height: 0.94;
}

.hero-copy--rebuild .lead {
  font-size: 1.12rem;
}

.hero-actions {
  margin-top: 2rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.trust-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 78px;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.66), transparent 16%),
    radial-gradient(circle at 82% 22%, rgba(239,195,65,0.55), transparent 18%),
    linear-gradient(135deg, #f1b29b 0%, #d94e4d 34%, #b13a3c 100%);
  box-shadow: var(--shadow);
}

.photo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(10,22,32,0.12)),
    radial-gradient(circle at 76% 28%, rgba(255,255,255,0.22), transparent 22%);
}

.hero-media,
.band-actions {
  display: grid;
}

.hero-photo {
  min-height: inherit;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 28%, rgba(15, 30, 38, 0.24) 100%),
    linear-gradient(125deg, rgba(255,255,255,0.12), transparent 46%);
}

.hero-card {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-card--rating {
  top: 28px;
  left: 28px;
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
}

.hero-card--rating strong {
  font-size: 1rem;
}

.hero-card--rating span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-card--service {
  left: 28px;
  bottom: 28px;
  max-width: 260px;
  padding: 0.95rem 1rem;
  font-weight: 800;
}

.photo-tall {
  min-height: 640px;
}

.photo-tall--rebuild {
  min-height: 780px;
  border-radius: 36px;
}

.photo-wide {
  min-height: 520px;
}

.photo-wide--rebuild {
  min-height: 520px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.72), transparent 18%),
    linear-gradient(135deg, #ebb29d 0%, #d84d4b 38%, #c03e41 100%);
}

.photo-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  max-width: 220px;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.content-stack {
  display: grid;
  gap: 1.15rem;
}

.media-stack {
  display: grid;
}

/* Steps */
.steps-grid,
.cards-grid,
.feature-grid,
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

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

.step-card,
.service-card,
.feature-card,
.testimonial-card,
.included-card,
.map-card {
  background: var(--surface);
  border: 1px solid rgba(237, 216, 212, 0.9);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.about-rebuild {
  background: #fff;
}

.about-split {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
}

.about-copy {
  padding-right: 1rem;
}

.how-rebuild {
  background: linear-gradient(180deg, #fff 0%, #fbefeb 100%);
}

.steps-grid--rebuild {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.step-card--rebuild {
  border-radius: 24px;
  padding: 1.5rem;
}

.services-rebuild {
  background: #fbefeb;
}

.service-grid--rebuild {
  gap: 1.2rem;
}

.service-card--rebuild {
  border-radius: 28px;
}

.service-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.step-card p,
.service-card p,
.feature-card p,
.testimonial-card p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #ef7b73);
  color: #fff;
  font-weight: 800;
}

/* Services */
.service-thumb {
  height: 220px;
  margin-bottom: 1.25rem;
  border-radius: 999px 999px 26px 26px;
  background-size: cover;
  background-position: center;
}

.thumb-red {
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.7), transparent 22%), linear-gradient(135deg, #f06f64, #d94745 54%, #ffddd8 100%);
}

.thumb-gold {
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.72), transparent 20%), linear-gradient(135deg, #f8d26f, #f0a63b 55%, #fff2d0 100%);
}

.thumb-pink {
  background: radial-gradient(circle at 35% 20%, rgba(255,255,255,0.65), transparent 16%), linear-gradient(135deg, #ffc2bf, #ed8b82 55%, #fff5f2 100%);
}

.service-card.featured,
.testimonial-card.featured,
.feature-card.accent {
  border-color: rgba(217, 71, 69, 0.28);
}

/* Included */
.included-card {
  background: linear-gradient(180deg, #fff 0%, #fff7f4 100%);
}

.check-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

/* Bands */
.band-red,
.cta-banner {
  background:
    radial-gradient(circle at 14% 24%, rgba(255,255,255,0.12), transparent 15%),
    radial-gradient(circle at 86% 68%, rgba(255,255,255,0.09), transparent 17%),
    linear-gradient(135deg, #d54543, #c5393b 56%, #e35b55 100%);
  color: #fff;
}

.band-rose {
  background: linear-gradient(180deg, #ffe7e4 0%, #fff5f3 100%);
}

.band-grid,
.cta-wrap {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.band-grid p,
.cta-wrap p {
  color: rgba(255, 255, 255, 0.88);
}

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

.feature-card {
  min-height: 100%;
}

/* Areas / map */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 0.7rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.map-card {
  display: grid;
  place-items: center;
  min-height: 460px;
  background: linear-gradient(180deg, #fff 0%, #f3f8fb 100%);
}

.map-circle {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(217, 71, 69, 0.08), transparent 55%),
    repeating-radial-gradient(circle at center, rgba(22, 36, 45, 0.06), rgba(22, 36, 45, 0.06) 2px, transparent 2px, transparent 28px),
    linear-gradient(135deg, #f9fcfe, #eef5f8);
  border: 16px solid #fff;
  box-shadow: var(--shadow);
}

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(217, 71, 69, 0.28);
}

.pin-1 { top: 22%; left: 38%; }
.pin-2 { top: 34%; left: 58%; }
.pin-3 { top: 49%; left: 50%; }
.pin-4 { top: 58%; left: 32%; }
.pin-5 { top: 68%; left: 60%; }

/* Partner */
.partner-mark {
  min-height: 320px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 72% 22%, rgba(255,255,255,0.8), transparent 16%),
    linear-gradient(135deg, #ffd2cf, #f49890 50%, #fff 100%);
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #eaf1f4;
  padding-top: 4rem;
}

.brand-footer {
  margin-bottom: 1rem;
}

.footer-copy {
  max-width: 32ch;
  color: rgba(234, 241, 244, 0.78);
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  align-items: start;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  color: rgba(234, 241, 244, 0.78);
}

.footer-bottom {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1.35rem 0 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(234, 241, 244, 0.72);
}

.footer-legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1100px) {
  .primary-nav {
    gap: 1rem;
    font-size: 0.95rem;
  }

  .hero-grid,
  .split,
  .footer-grid,
  .feature-grid,
  .steps-grid,
  .service-grid,
  .testimonial-grid,
  .band-grid,
  .cta-wrap {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .trust-strip,
  .steps-grid--rebuild,
  .about-split {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem;
    background: #fff8f6;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    width: 100%;
    padding: 0.8rem 0;
  }

  .nav-wrap > .btn-small {
    display: none;
  }

  .hero-grid,
  .split,
  .feature-grid,
  .steps-grid,
  .service-grid,
  .testimonial-grid,
  .band-grid,
  .cta-wrap,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .split-reverse > :first-child {
    order: initial;
  }

  .section {
    padding: 4.5rem 0;
  }

  .photo-tall {
    min-height: 480px;
  }

  .photo-wide,
  .map-card,
  .partner-mark {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .btn,
  .btn-small {
    width: 100%;
  }

  .hero-badges,
  .area-list,
  .footer-legal,
  .button-row,
  .hero-actions {
    flex-direction: column;
  }

  .hero-badges li,
  .area-list li {
    width: 100%;
    text-align: center;
  }
}
