:root {
  color-scheme: light;
  --ink: #051b49;
  --muted: #526264;
  --line: #d7ddde;
  --paper: #f7f9f8;
  --surface: #ffffff;
  --teal: #168a43;
  --teal-dark: #0f6e35;
  --copper: #2cb34a;
  --sky: #dff1f4;
  --mint: #dceee8;
  --shadow: 0 22px 60px rgba(20, 32, 34, 0.12);
  --footer-offset: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: var(--footer-offset);
}

body {
  margin: 0;
  padding-bottom: var(--footer-offset);
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(183, 86, 54, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(247, 249, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  display: block;
  width: clamp(190px, 20vw, 260px);
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover,
.header-action:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-action {
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 70px);
  padding: clamp(32px, 5vw, 64px) clamp(18px, 5vw, 72px) calc(var(--footer-offset) + 42px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5.2vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 740px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: white;
}

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

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
}

.process-board {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(90deg, rgba(0, 107, 104, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 107, 104, 0.1) 1px, transparent 1px),
    var(--surface);
  background-size: 34px 34px;
  box-shadow: var(--shadow);
}

.board-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.flow-row span,
.mini-timeline li {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-grid article {
  border-radius: 8px;
  padding: 16px;
  background: var(--ink);
  color: white;
}

.metric-grid span {
  display: block;
  color: #b9c7c8;
  font-size: 0.82rem;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.7rem;
}

.mini-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pain-board {
  gap: 14px;
  padding: clamp(18px, 3vw, 24px);
}

.owner-quote {
  border: 1px solid rgba(5, 27, 73, 0.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 800;
}

.pain-stack {
  display: grid;
  gap: 10px;
}

.pain-ticket {
  display: grid;
  grid-template-columns: minmax(90px, 0.34fr) 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(20, 32, 34, 0.07);
}

.pain-ticket span {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pain-ticket strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.25;
}

.leak-total {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  padding: 16px;
  background: var(--ink);
  color: white;
}

.leak-total span {
  color: #99e6b3;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.leak-total strong {
  font-size: 1.05rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip div {
  min-height: 112px;
  padding: 22px;
  background: var(--surface);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
}

.section,
.method-section,
.contact-section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  max-width: 1120px;
  flex-direction: column;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card,
.method-steps article,
.problem-item,
.offer-card,
.loss-grid article,
.everyday-card,
.person-card,
.quality-grid article,
.artifact-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.service-card p,
.method-steps p,
.problem-item p,
.offer-card p,
.loss-grid p,
.everyday-card p,
.people-copy p,
.person-card p,
.quality-grid p,
.artifact-grid p,
.split-section p,
.contact-copy p,
.technology-copy p {
  color: var(--muted);
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 800;
}

.problem-section {
  padding-top: clamp(64px, 8vw, 96px);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.problem-item {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.problem-item span {
  color: var(--copper);
  font-weight: 800;
}

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

.everyday-section {
  background: var(--paper);
}

.everyday-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.everyday-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background: var(--surface);
}

.everyday-card::after {
  position: absolute;
  right: 18px;
  bottom: 10px;
  color: rgba(5, 27, 73, 0.06);
  content: "S/";
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1;
}

.everyday-card span {
  display: inline-flex;
  margin-bottom: 22px;
  border-radius: 8px;
  padding: 7px 10px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.everyday-card h3 {
  position: relative;
  z-index: 1;
  max-width: 330px;
  font-size: 1.35rem;
  line-height: 1.08;
}

.everyday-card p {
  position: relative;
  z-index: 1;
}

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

.loss-section .section-heading p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.loss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.loss-grid article {
  background: var(--paper);
}

.loss-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.08rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.offer-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.offer-card.featured {
  border-color: rgba(0, 107, 104, 0.28);
  background: var(--mint);
}

.offer-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.offer-card li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 700;
}

.offer-card li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "/";
}

.offer-label {
  margin-bottom: 12px;
  color: var(--copper) !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.people-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
  background: var(--paper);
}

.people-copy {
  max-width: 680px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.person-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 300px;
  background: var(--surface);
}

.person-photo {
  display: block;
  width: 100%;
  height: clamp(240px, 22vw, 320px);
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  background: var(--paper);
}

.person-role {
  margin: 4px 0 0;
  color: var(--copper) !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.person-card h3 {
  margin-bottom: 0;
}

.person-highlights {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 2px 0 0;
  list-style: none;
}

.person-highlights li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.person-highlights li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "/";
  font-weight: 800;
}

.person-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(5, 27, 73, 0.28);
  text-underline-offset: 4px;
}

.person-link:hover {
  color: var(--teal);
}

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

.method-section .eyebrow {
  color: #ffb38f;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.method-steps article {
  background: #1d2c2f;
  border-color: #34484b;
}

.method-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 800;
}

.method-steps p {
  color: #c7d4d6;
}

.technology-section {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  background:
    linear-gradient(135deg, rgba(223, 241, 244, 0.82), rgba(247, 249, 248, 0.96)),
    var(--paper);
}

.technology-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.technology-panel div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.technology-panel span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

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

.progress-section .eyebrow {
  color: #ffb38f;
}

.progress-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.42fr);
  gap: 16px;
}

.progress-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.progress-track article,
.progress-note {
  border: 1px solid #34484b;
  border-radius: 8px;
  padding: 22px;
  background: #1d2c2f;
}

.progress-track span {
  display: block;
  margin-bottom: 38px;
  color: #ffb38f;
  font-weight: 800;
}

.progress-track strong {
  display: block;
  margin-bottom: 10px;
}

.progress-track p,
.progress-note p {
  color: #c7d4d6;
}

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

.quality-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.quality-grid article {
  background: var(--paper);
}

.quality-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
}

.deliverable-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.deliverable-list li {
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(20, 32, 34, 0.06);
}

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

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.artifact-grid article {
  background: var(--paper);
}

.artifact-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--copper);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  background: var(--sky);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(20, 32, 34, 0.12);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: white;
}

textarea {
  resize: vertical;
}

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: flex;
  min-height: 64px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  backdrop-filter: blur(16px);
  box-shadow: 0 -12px 32px rgba(20, 32, 34, 0.08);
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.icon-link {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.icon-link:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 138, 67, 0.38);
}

.icon-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.whatsapp-icon svg {
  width: 24px;
  height: 24px;
}

.whatsapp-bubble {
  fill: #25d366;
}

.whatsapp-phone {
  fill: #ffffff;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.not-found {
  display: grid;
  min-height: 100vh;
  align-content: center;
  justify-items: start;
  padding: clamp(32px, 8vw, 96px);
}

.not-found p {
  max-width: 520px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .split-section,
  .contact-section,
  .technology-section,
  .people-section,
  .progress-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .method-steps,
  .problem-grid,
  .offer-grid,
  .loss-grid,
  .everyday-grid,
  .quality-grid,
  .artifact-grid,
  .progress-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  :root {
    --footer-offset: 116px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .trust-strip,
  .service-grid,
  .method-steps,
  .problem-grid,
  .offer-grid,
  .loss-grid,
  .everyday-grid,
  .people-grid,
  .quality-grid,
  .artifact-grid,
  .progress-track,
  .flow-row,
  .metric-grid,
  .mini-timeline {
    grid-template-columns: 1fr;
  }

  .pain-ticket,
  .leak-total {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-inline: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a:first-child {
    flex-basis: 100%;
  }
}
