:root {
  --bg-main: #f6f1eb;
  --bg-card: #fffaf5;
  --bg-soft: #f9f3ed;
  --text-main: #171717;
  --text-muted: #5f5a55;
  --burgundy: #78131d;
  --burgundy-dark: #5b0d15;
  --border-soft: #eadfd5;
  --cream: #f3e9df;
  --shadow-soft: 0 22px 70px rgba(38, 29, 24, 0.08);
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-frame {
  width: min(calc(100% - 48px), 1440px);
  margin: 24px auto 12px;
  overflow: hidden;
  border: 1px solid rgba(234, 223, 213, 0.9);
  border-radius: 18px;
  background: rgba(255, 250, 245, 0.88);
  box-shadow: var(--shadow-soft);
}

.site-header {
  display: grid;
  min-height: 92px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 56px;
  background: rgba(255, 250, 245, 0.86);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-grid;
  width: fit-content;
  gap: 5px;
  line-height: 1;
}

.logo span {
  color: var(--burgundy);
  font-size: 35px;
  font-weight: 800;
  letter-spacing: 10px;
}

.logo small {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 9px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 650;
}

.desktop-nav a,
.panel-heading a,
.contact-bar a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.panel-heading a:hover,
.contact-bar a:hover {
  color: var(--burgundy);
}

.header-cta,
.button-primary,
.contact-form button {
  border: 0;
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(120, 19, 29, 0.16);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 760;
}

.header-cta:hover,
.button-primary:hover,
.contact-form button:hover {
  background: var(--burgundy-dark);
}

.menu-button {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 0;
  background: transparent;
}

.menu-button span {
  width: 29px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.section-pad {
  padding-right: 56px;
  padding-left: 56px;
}

.compact {
  padding-top: 8px;
  padding-bottom: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: 56px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 22px;
}

.hero-content h1 {
  max-width: 650px;
  margin: 0 0 20px;
  color: var(--text-main);
  font-size: clamp(42px, 4.1vw, 64px);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.hero-content p {
  max-width: 610px;
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 760;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button-secondary {
  border: 1px solid rgba(120, 19, 29, 0.28);
  background: rgba(255, 250, 245, 0.78);
  color: var(--burgundy);
}

.button-secondary:hover {
  border-color: rgba(120, 19, 29, 0.52);
  box-shadow: 0 10px 24px rgba(38, 29, 24, 0.06);
}

.trust-row {
  display: grid;
  max-width: 610px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 30px;
}

.trust-row div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 740;
}

.trust-row div + div {
  border-left: 1px solid var(--border-soft);
  padding-left: 28px;
}

.trust-icon {
  display: inline-flex;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--burgundy);
  border-radius: 999px;
  color: var(--burgundy);
  font-size: 14px;
  font-weight: 800;
}

.hero-image {
  overflow: hidden;
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 0 22px 46px rgba(38, 29, 24, 0.11);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.service-card,
.panel,
.price-card,
.project-card {
  border: 1px solid var(--border-soft);
  background: rgba(255, 250, 245, 0.92);
}

.service-card {
  position: relative;
  display: grid;
  min-height: 114px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-radius: 16px;
  padding: 20px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 19, 29, 0.32);
  box-shadow: 0 18px 38px rgba(38, 29, 24, 0.07);
}

.service-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cream);
  color: var(--burgundy);
  font-size: 25px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.48;
}

.arrow,
.button-secondary span,
.contact-form button span {
  transition: transform 220ms ease;
}

.service-card:hover .arrow,
.button-secondary:hover span,
.contact-form button:hover span {
  transform: translateX(4px);
}

.arrow {
  color: var(--burgundy);
  font-size: 21px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.panel {
  border-radius: 18px;
  padding: 26px;
}

.panel h2 {
  margin: 0 0 22px;
  color: var(--text-main);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.why-grid article {
  min-width: 0;
}

.line-icon {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--burgundy);
  font-size: 28px;
  line-height: 1;
}

.why-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.why-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin: 0;
}

.panel-heading a {
  color: var(--burgundy);
  font-size: 13.5px;
  font-weight: 780;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-card {
  overflow: hidden;
  border-radius: 12px;
}

.project-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.project-card div {
  padding: 14px;
}

.project-card h3 {
  margin: 0 0 6px;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 820;
  letter-spacing: -0.015em;
}

.project-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.lower-grid {
  padding-bottom: 8px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.price-card {
  position: relative;
  min-height: 156px;
  border-radius: 12px;
  padding: 20px 18px 18px;
}

.price-card.featured {
  border-color: rgba(120, 19, 29, 0.72);
}

.label {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 128px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: var(--burgundy);
  color: #fff;
  padding: 5px 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 760;
}

.price-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 820;
}

.price-card p,
.price-card span {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.price-card p {
  margin: 0 0 14px;
}

.price-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 28px;
  font-weight: 820;
  letter-spacing: -0.045em;
}

.price-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 12.5px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 32px;
}

.contact-copy h2 {
  margin-bottom: 12px;
}

.contact-copy p {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.contact-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 620;
}

.contact-copy li::before {
  content: "✓";
  margin-right: 11px;
  color: var(--burgundy);
  font-weight: 840;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.78);
  color: var(--text-main);
  outline: 0;
  padding: 13px 14px;
  font-size: 13.5px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 86px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(120, 19, 29, 0.58);
  box-shadow: 0 0 0 4px rgba(120, 19, 29, 0.08);
}

.contact-form button {
  justify-self: end;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 0 28px;
  font-size: 14.5px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

.form-message {
  min-height: 18px;
  margin: 0;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 650;
}

.contact-bar {
  display: grid;
  grid-template-columns: repeat(4, auto) minmax(160px, auto);
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  margin-top: 8px;
  border-top: 1px solid var(--border-soft);
  background: var(--cream);
  padding: 0 56px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 620;
}

.contact-bar span span,
.contact-bar a span {
  margin-right: 8px;
  color: var(--burgundy);
}

.footer-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(120, 19, 29, 0.5);
  border-radius: 8px;
  color: var(--burgundy);
  padding: 0 28px;
  font-weight: 760;
}

.concept-note {
  width: min(calc(100% - 48px), 1440px);
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .site-header,
  .section-pad,
  .contact-bar {
    padding-right: 32px;
    padding-left: 32px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-width: 820px;
  }

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

  .split-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 780px) {
  .page-frame {
    width: min(calc(100% - 24px), 1440px);
    margin-top: 12px;
    border-radius: 16px;
  }

  .site-header {
    min-height: 80px;
    grid-template-columns: 1fr auto;
    padding-right: 22px;
    padding-left: 22px;
  }

  .logo span {
    font-size: 27px;
    letter-spacing: 7px;
  }

  .logo small {
    font-size: 12px;
    letter-spacing: 6px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-menu {
    display: grid;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    background: rgba(255, 250, 245, 0.98);
    padding: 0 22px;
    transition: max-height 220ms ease, padding 220ms ease, border-color 220ms ease;
  }

  .mobile-menu.is-open {
    max-height: 420px;
    border-color: var(--border-soft);
    padding-top: 12px;
    padding-bottom: 18px;
  }

  .mobile-menu a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: 740;
  }

  .mobile-menu a::after {
    content: "→";
    color: var(--burgundy);
  }

  .mobile-menu .mobile-cta {
    justify-content: center;
    margin-top: 8px;
    background: var(--burgundy);
    color: #fff;
  }

  .mobile-menu .mobile-cta::after {
    display: none;
  }

  .section-pad,
  .contact-bar {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero {
    gap: 28px;
    padding-top: 22px;
  }

  .hero-content h1 {
    font-size: clamp(36px, 12vw, 46px);
  }

  .hero-content p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust-row div + div {
    border-left: 0;
    padding-left: 0;
  }

  .service-grid,
  .why-grid,
  .project-grid,
  .price-grid,
  .form-row,
  .contact-bar {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    padding: 18px;
  }

  .panel {
    padding: 22px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-card img {
    height: 190px;
  }

  .contact-form button {
    width: 100%;
  }

  .concept-note {
    width: min(calc(100% - 24px), 1440px);
  }
}

@media (max-width: 420px) {
  .service-card {
    grid-template-columns: 1fr auto;
  }

  .service-icon {
    grid-row: span 2;
  }
}
