@page {
  size: A4;
  margin: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #d8d0c3;
  color: #1c1917;
  font-family: "Outfit", "Segoe UI", sans-serif;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", "Iowan Old Style", serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

p,
ul,
ol,
table {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.page {
  display: flex;
  flex-direction: column;
  width: 210mm;
  min-height: 297mm;
  height: 297mm;
  max-height: 297mm;
  overflow: hidden;
  padding: 14mm 15mm 11mm;
  background: #f6f1e8;
  page-break-after: always;
  break-after: page;
}

.page:last-child {
  page-break-after: auto;
  break-after: auto;
}

.page-cover {
  background:
    radial-gradient(140mm 90mm at 100% 0%, rgba(196, 106, 58, 0.1), transparent 55%),
    #f6f1e8;
}

.masthead,
.page-top,
.page-foot,
.split-callout,
.price-intro,
.close-grid,
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.masthead {
  gap: 4mm;
  justify-content: flex-start;
}

.brand {
  display: flex;
  align-items: center;
  gap: 3.2mm;
}

.brand .mark {
  width: 9mm;
  height: 11.5mm;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text small {
  color: #2a5646;
  font-size: 6.5pt;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-text strong {
  font-family: "Fraunces", serif;
  font-size: 11pt;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.brand-small {
  margin: 0;
  font-size: 11pt;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.brand-small,
.page-label {
  font-size: 8.5pt;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-label,
.eyebrow {
  color: #2a5646;
}

.page-top {
  align-items: flex-end;
  padding-bottom: 5mm;
  border-bottom: 0.3mm solid rgba(28, 25, 23, 0.12);
  margin-bottom: 8mm;
}

.cover-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 158mm;
  padding: 8mm 0;
}

.eyebrow {
  margin: 0 0 5mm;
  font-size: 8.5pt;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 7mm;
  font-size: 34pt;
  line-height: 1.02;
}

.cover-lead {
  margin-bottom: 7mm;
  font-size: 14pt;
  line-height: 1.35;
}

.cover-body {
  max-width: 148mm;
  color: #57534e;
  font-size: 11pt;
  line-height: 1.5;
}

.split-callout {
  gap: 6mm;
  margin-bottom: 8mm;
}

.split-callout p {
  flex: 1;
  padding: 7mm 8mm;
  border-radius: 4mm;
  background: #1d3d32;
  color: #fffdf8;
  font-family: "Fraunces", serif;
  font-size: 13pt;
  line-height: 1.25;
}

.page-foot {
  padding-top: 6mm;
  border-top: 0.3mm solid rgba(28, 25, 23, 0.12);
  color: #8a847b;
  font-size: 8pt;
  letter-spacing: 0.04em;
}

h2 {
  margin-bottom: 3.5mm;
  font-size: 18pt;
  line-height: 1.15;
}

h2.spaced {
  margin-top: 7mm;
}

.section-lead {
  max-width: 150mm;
  margin-bottom: 8mm;
  color: #57534e;
  font-size: 10.5pt;
  line-height: 1.45;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5mm;
  flex: 1;
  align-content: stretch;
}

.service,
.why,
.setup-card,
.close-grid section {
  padding: 6.5mm 6.5mm 6mm;
  border: 0.3mm solid rgba(28, 25, 23, 0.1);
  border-radius: 3.5mm;
  background: #fffdf8;
}

.service {
  display: flex;
  flex-direction: column;
}

h3 {
  margin-bottom: 2.5mm;
  font-size: 13pt;
}

.service p,
.why p,
.close-grid p,
.setup-card p,
.cta p {
  color: #57534e;
  font-size: 9pt;
  line-height: 1.4;
}

.service p {
  margin-bottom: 3.5mm;
}

.service ul,
.close-grid ul {
  display: grid;
  gap: 1.6mm;
}

.service li,
.close-grid li {
  position: relative;
  padding-left: 4.2mm;
  font-size: 9.2pt;
  line-height: 1.3;
}

.service li::before,
.close-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.7mm;
  width: 1.6mm;
  height: 1.6mm;
  border-radius: 50%;
  background: #c46a3a;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4mm;
}

.why-wide {
  grid-column: 1 / -1;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4mm;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 3mm;
  min-width: 0;
  padding: 4.5mm 4.5mm 4mm;
  border: 0.3mm solid rgba(28, 25, 23, 0.1);
  border-radius: 3.5mm;
  background: #fffdf8;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  flex: none;
  width: 7mm;
  height: 7mm;
  border-radius: 50%;
  background: #d5e0d6;
  color: #1d3d32;
  font-size: 8.5pt;
  font-weight: 700;
  line-height: 7mm;
  text-align: center;
}

.steps li div {
  min-width: 0;
}

.steps strong {
  display: block;
  margin-bottom: 1.2mm;
  font-size: 9.5pt;
  line-height: 1.25;
}

.steps span {
  display: block;
  color: #57534e;
  font-size: 8.4pt;
  line-height: 1.35;
}

.price-intro {
  align-items: stretch;
  gap: 6mm;
  margin-bottom: 6mm;
}

.price-intro .section-lead {
  margin-bottom: 0;
}

.setup-card {
  width: 62mm;
  flex: none;
}

.setup-price {
  margin: 2mm 0 3mm;
  color: #1c1917;
  font-family: "Fraunces", serif;
  font-size: 14pt;
  line-height: 1.15;
}

.setup-price small {
  font-family: "Outfit", sans-serif;
  font-size: 9pt;
  font-weight: 500;
}

.rates {
  width: 100%;
  border-collapse: collapse;
  background: #fffdf8;
  border: 0.3mm solid rgba(28, 25, 23, 0.1);
  border-radius: 3.5mm;
  overflow: hidden;
}

.rates th,
.rates td {
  padding: 3.2mm 5mm;
  border-bottom: 0.25mm solid rgba(28, 25, 23, 0.1);
  text-align: left;
  font-size: 9.5pt;
}

.rates th {
  color: #8a847b;
  font-size: 7.5pt;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rates td:last-child {
  font-weight: 650;
}

.rates tr:last-child td {
  border-bottom: 0;
}

.rate-note {
  margin: 3.5mm 0 7mm;
  color: #57534e;
  font-size: 9pt;
}

.close-grid {
  align-items: stretch;
  gap: 5mm;
  margin-bottom: 7mm;
}

.close-grid section {
  flex: 1;
}

.close-grid p {
  margin-bottom: 3mm;
}

.close-grid ul {
  margin-bottom: 3mm;
}

.quiet {
  margin-bottom: 0;
  font-size: 8.5pt;
}

.cta {
  align-items: center;
  gap: 8mm;
  padding: 7mm 8mm;
  border-radius: 4mm;
  background: #1d3d32;
  color: #fffdf8;
}

.cta h2 {
  margin-bottom: 2.5mm;
  font-size: 16pt;
}

.cta p {
  color: #d7e4dc;
  font-size: 9.5pt;
}

.cta-action {
  flex: none;
  padding: 3mm 6mm;
  border-radius: 20mm;
  background: #c46a3a;
  color: #fff;
  font-size: 9.5pt;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
}

.close-contact {
  text-align: right;
  line-height: 1.4;
}

.close-foot {
  margin-top: auto;
  padding-top: 6mm;
}

.close-foot strong {
  display: block;
  color: #1c1917;
  font-size: 10pt;
}

.close-foot span {
  color: #8a847b;
}

.web-bar {
  display: none;
}

@media screen {
  body {
    padding: 18mm 0 28mm;
  }

  .web-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(210mm, calc(100% - 24px));
    margin: -8mm auto 8mm;
    padding: 10px 14px;
    border: 1px solid rgba(28, 25, 23, 0.1);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    font-size: 14px;
    font-weight: 600;
  }

  .web-bar a {
    color: #1d3d32;
    text-decoration: none;
  }

  .web-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .print-btn {
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #1d3d32;
    color: #fffdf8;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
  }

  .page {
    margin: 0 auto 8mm;
    box-shadow: 0 8mm 18mm rgba(28, 25, 23, 0.12);
  }
}

@media screen and (max-width: 900px) {
  body {
    padding: 16px 0 96px;
  }

  .web-bar {
    width: calc(100% - 24px);
    margin: 0 auto 16px;
    border-radius: 18px;
    flex-wrap: wrap;
  }

  .page {
    width: calc(100% - 24px);
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 22px 20px 18px;
  }
}

@media print {
  html,
  body {
    background: #fff;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .web-bar,
  .whatsapp-float {
    display: none !important;
  }

  .page {
    margin: 0;
    box-shadow: none;
  }
}
