/* RenoFix MTL. Colours: change them here once. Contrast checked: navy text on orange 5.1:1, rust text on cream 5.0:1. */
@font-face {
  font-family: 'Archivo Black';
  src: url('/assets/fonts/archivo-black.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
:root {
  --navy: #13233f;
  --navy-2: #1c3157;
  --ink: #16202e;
  --muted: #5b6b82;
  --orange: #f26a1b;
  --rust: #b8460a; /* orange for text on light backgrounds */
  --cream: #faf7f2;
  --tint: #f3eee5;
  --line: #e4ded4;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(19 35 63 / 0.06), 0 8px 24px -12px rgb(19 35 63 / 0.25);
  --head: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font: 17px/1.6 var(--body);
  color: var(--ink);
  background: var(--cream);
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--navy);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--rust);
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1,
h2 {
  font-family: var(--head);
  font-weight: 400;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
}
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
}
.wrap {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}
.narrow {
  width: min(780px, 100% - 40px);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
  color: var(--white);
}
.i {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex: none;
}
.preview-bar {
  background: #fff4d6;
  color: #5c4100;
  text-align: center;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-bottom: 1px solid #f0d98c;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 247 242 / 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark {
  width: 38px;
  height: 38px;
}
.brand-name {
  font-family: var(--head);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand-name span {
  color: var(--orange);
  margin-left: 2px;
}
.nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}
.nav a:hover {
  color: var(--rust);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  position: relative;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  content: '';
}
.menu-bars {
  top: 21px;
}
.menu-bars::before {
  top: -6px;
  left: 0;
}
.menu-bars::after {
  top: 6px;
  left: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 2px solid transparent;
  font: 700 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--orange);
  color: var(--navy);
}
.btn-accent:hover {
  background: #ff7a2c;
  color: var(--navy);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-2);
  color: var(--white);
}
.btn-ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-big {
  min-height: 54px;
  padding: 14px 24px;
  font-size: 1.05rem;
}
.btn-small {
  min-height: 44px;
  padding: 8px 14px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.4em 0;
}

/* ---------- sections ---------- */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-tint {
  background: var(--tint);
}
.section-dark {
  background: var(--navy);
  color: #dfe5ee;
}
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}
.kicker {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--rust);
  margin-bottom: 0.6em;
}
.section-dark .kicker {
  color: var(--orange);
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 62ch;
}
.muted {
  color: var(--muted);
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 80px);
  background:
    radial-gradient(1000px 420px at 90% -10%, rgb(242 106 27 / 0.12), transparent 60%),
    linear-gradient(var(--cream), var(--cream));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust .i {
  color: var(--rust);
}
.rate-card {
  background: var(--navy);
  color: #dfe5ee;
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.rate-card::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--navy-2);
}
.rate-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--orange);
  margin: 0;
}
.rate-price {
  font-family: var(--head);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--white);
  margin: 8px 0 4px;
}
.rate-unit {
  margin-bottom: 18px;
}
.rate-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
}
.rate-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.rate-card .i {
  color: var(--orange);
  margin-top: 4px;
}
.rate-link {
  color: var(--white);
  font-weight: 700;
}
.rate-link:hover {
  color: var(--orange);
}

/* ---------- services ---------- */
.service-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.service-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--orange);
}
.service-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.service-group strong {
  display: block;
  color: var(--navy);
}
.service-group span {
  color: var(--muted);
  font-size: 0.96rem;
}
.not-offered {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--tint);
  border-left: 5px solid var(--navy);
}
.not-offered h3 {
  margin-bottom: 4px;
}
.not-offered p {
  margin: 0;
}

/* ---------- prices ---------- */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 40px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow);
}
.price-card.featured {
  border: 2px solid var(--orange);
}
.badge {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 999px;
}
.price {
  font-family: var(--head);
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}
.price span {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}
.flat-title {
  margin-bottom: 12px;
}
.flat {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.flat th,
.flat td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.flat th {
  font-weight: 500;
}
.flat td {
  text-align: right;
  font-weight: 800;
  white-space: nowrap;
  color: var(--navy);
}
.flat tr:last-child th,
.flat tr:last-child td {
  border-bottom: 0;
}
.from {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.9rem;
}
.note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--head);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.steps p {
  margin: 0;
  color: var(--muted);
}

/* ---------- areas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.chips {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  color: var(--white);
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.about-initials {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--orange);
  font-family: var(--head);
  font-size: 5rem;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--head);
  color: var(--rust);
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  color: var(--muted);
  margin: 0 0 16px;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.contact-list .i {
  color: var(--rust);
}
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.form h3 {
  margin: 0;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}
.form label.req {
  font-weight: 700;
  color: var(--ink);
}
.form input,
.form select,
.form textarea {
  font: 1rem/1.4 var(--body);
  color: var(--ink);
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid #cfc7b9;
  border-radius: 10px;
  background: var(--cream);
  width: 100%;
}
.form input[type='file'] {
  padding: 10px;
}
.form textarea {
  resize: vertical;
}
.form .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
}
.form .check input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin-top: 2px;
  flex: none;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0;
  font-weight: 700;
  min-height: 1.4em;
}
.form-status.ok {
  color: #146c2e;
}
.form-status.err {
  color: #a11a1a;
}

/* ---------- simple pages ---------- */
.prose h2 {
  font-size: 1.4rem;
  margin-top: 1.6em;
}
.prose li {
  margin-bottom: 0.4em;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b9c3d1;
  padding: 36px 0 40px;
  font-size: 0.95rem;
}
.site-footer a {
  color: var(--white);
}
.site-footer .brand {
  color: var(--white);
  margin-bottom: 12px;
}
/* Light logo tile on the dark footer. */
.site-footer .brand-mark rect:first-child {
  fill: var(--cream);
}
.site-footer .brand-mark path:first-of-type {
  stroke: var(--navy);
}
.site-footer p {
  margin: 4px 0;
}
.mobile-bar {
  display: none;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .areas-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .service-groups,
  .price-cards,
  .steps {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-photo {
    width: 180px;
    height: 180px;
  }
  .about-initials {
    font-size: 3.4rem;
  }
}
@media (max-width: 860px) {
  .menu-btn {
    display: inline-block;
  }
  .header-call {
    display: none;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open {
    display: block;
  }
  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
  }
  .nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .header-actions {
    margin-left: auto;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgb(250 247 242 / 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgb(19 35 63 / 0.4);
  }
  body {
    padding-bottom: 76px;
  }
}
@media (min-width: 861px) {
  .nav {
    display: block !important;
  }
}

/* ---------- before / after gallery (shown only when site.config.mjs → projects is not empty) ---------- */
.work-note {
  color: var(--muted);
  margin-top: -4px;
}
.work-grid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.work-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
}
.work-pic {
  position: relative;
  margin: 0;
}
.work-pic img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.work-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.work-tag-before {
  background: rgb(22 32 46 / 0.78);
  color: var(--white);
}
.work-tag-after {
  background: var(--orange);
  color: var(--ink);
}
.work-cap {
  margin: 0;
  padding: 14px 18px;
  font-weight: 600;
}
@media (max-width: 860px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.why-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--navy);
}
.why-list .i {
  flex: none;
  width: 20px;
  height: 20px;
  fill: var(--orange);
  margin-top: 2px;
}
.group-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin: -4px 0 14px;
}
.service-groups {
  grid-template-columns: repeat(2, 1fr);
}
.about.about-text {
  grid-template-columns: 1fr;
  max-width: 760px;
}

/* ---------- reviews (shown only when site.config.mjs → testimonials is not empty) ---------- */
.reviews {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.review-stars {
  color: var(--orange);
  letter-spacing: 2px;
  margin: 0 0 8px;
}
.review blockquote {
  margin: 0;
}
.review-who {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
}
@media (max-width: 960px) {
  .why-grid,
  .reviews {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}
