:root {
  --bg: #F7F3EC;
  --surface: #EFE6DA;
  --surface-strong: #E7D8C8;
  --text: #2F2A24;
  --muted: #6F6257;
  --accent: #A67855;
  --accent-dark: #5C4433;
  --line: #DED2C3;
  --olive: #686F55;
  --white: #FFFCF7;
  --shadow: 0 18px 50px rgba(47, 42, 36, 0.09);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

address {
  font-style: normal;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--accent-dark);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(222, 210, 195, 0.75);
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -7px;
}

.nav-toggle-lines::after {
  top: 7px;
}

.site-nav {
  position: absolute;
  inset: calc(100% + 1px) 16px auto 16px;
  display: none;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--accent-dark);
}

.hero {
  padding: 42px 0 28px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 2.45rem;
}

h2 {
  font-size: 1.85rem;
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 680px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 750;
  line-height: 1.2;
}

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

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

.button.small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.94rem;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(47, 42, 36, 0.12);
}

.hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section {
  padding: 58px 0;
}

.section.soft {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow),
.text-block,
.feature-band p,
.cta-panel p,
.intro p {
  color: var(--muted);
}

.row-heading {
  max-width: none;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.service-card,
.info-card,
.package-card,
.contact-card,
.portfolio-card,
.steps article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(47, 42, 36, 0.04);
}

.service-card,
.info-card,
.package-card,
.contact-card,
.steps article {
  padding: 22px;
}

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

.card-number {
  color: var(--accent);
  font-weight: 850;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 780;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.split {
  display: grid;
  gap: 24px;
}

.text-block {
  display: grid;
  gap: 14px;
}

.portfolio-strip,
.portfolio-grid {
  display: grid;
  gap: 16px;
}

.portfolio-strip figure,
.portfolio-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.portfolio-strip img,
.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.95);
}

.portfolio-strip figcaption,
.portfolio-card figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  border-radius: 6px;
  background: rgba(47, 42, 36, 0.78);
  color: var(--white);
  font-weight: 750;
}

.feature-band,
.cta-panel {
  display: grid;
  gap: 20px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 16px;
  counter-reset: steps;
}

.steps article {
  display: grid;
  gap: 10px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  font-weight: 800;
}

.cta-section {
  padding-top: 20px;
}

.cta-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--accent-dark);
  color: var(--white);
}

.cta-panel .eyebrow,
.cta-panel p {
  color: #F4E8DA;
}

.page-hero {
  padding: 50px 0 32px;
  border-bottom: 1px solid var(--line);
}

.page-hero .intro {
  display: grid;
  gap: 16px;
  max-width: 860px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--accent-dark);
  font-weight: 700;
}

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

.list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  background: var(--accent-dark);
  color: var(--white);
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card .portfolio-body {
  padding: 18px;
}

.portfolio-card.is-hidden {
  display: none;
}

.package-card {
  display: grid;
  gap: 16px;
}

.price {
  color: var(--accent-dark);
  font-size: 1.6rem;
  font-weight: 850;
}

.notice {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 16px;
}

.contact-card a {
  color: var(--accent-dark);
  font-weight: 760;
}

.legal-content {
  display: grid;
  gap: 24px;
  max-width: 850px;
}

.legal-content section {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  padding: 44px 0 22px;
  background: #2F2A24;
  color: #F7F3EC;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.site-footer h2 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.site-footer p,
.site-footer address,
.site-footer a {
  color: #DCCDBC;
}

.site-footer a {
  display: block;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-note {
  margin-top: 14px;
}

.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 243, 236, 0.16);
  color: #CBB7A4;
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .container {
    width: min(100% - 48px, var(--max));
  }

  .hero {
    padding: 70px 0 44px;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .lead {
    font-size: 1.22rem;
  }

  .hero-grid,
  .split,
  .feature-band {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .card-grid.three,
  .portfolio-strip,
  .portfolio-grid,
  .steps,
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .row-heading {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .feature-band {
    padding-block: 10px;
  }

  .feature-band .button {
    justify-self: end;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 0.7fr;
  }
}

@media (min-width: 980px) {
  .site-header {
    padding-inline: 28px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 9px 10px;
    font-size: 0.94rem;
  }

  .site-nav .nav-cta {
    margin-left: 6px;
    padding-inline: 14px;
  }

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-media img {
    aspect-ratio: 5 / 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
