:root {
  --bg: #f5f3f0;
  --bg-alt: #ffffff;
  --border-subtle: #e4e0da;
  --accent: #c87137;
  --accent-soft: #f3dfcf;
  --accent-strong: #9b4f22;
  --text-main: #24211e;
  --text-soft: #6b655f;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --nav-height: 70px;
}

.theme-dark {
  --bg: #050816;
  --bg-alt: #0c1020;
  --border-subtle: #26273a;
  --accent: #f5b049;
  --accent-soft: #3e3219;
  --accent-strong: #ffcf7a;
  --text-main: #f5f5f7;
  --text-soft: #a6a7b5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-alt);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #c87137;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.main-nav a {
  color: var(--text-soft);
  position: relative;
  padding-block: 4px;
}

.main-nav a.is-current {
  color: var(--text-main);
  font-weight: 600;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.16s ease;
}

.main-nav a:hover {
  color: var(--text-main);
}

.main-nav a:hover::after {
  width: 18px;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta::after {
  display: none;
}

.theme-toggle {
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-soft);
  font-size: 12px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #4b443d;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  padding: 40px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent-strong);
  background: #f9eee3;
  border: 1px solid #f0dac6;
}

.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #3ba766;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.1;
  margin: 18px 0 12px;
  letter-spacing: -0.03em;
}

.hero-text {
  color: var(--text-soft);
  font-size: 16px;
  max-width: 520px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: none;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: #d9d2ca;
  color: var(--text-main);
  background: #f9f6f2;
}

.btn-ghost:hover {
  background: #f2ece4;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hero-badges span {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  color: var(--text-soft);
}

.hero-card {
  position: relative;
}

.hero-card-inner {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 20px 18px 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.hero-card-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 12px;
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--text-soft);
}

.hero-list li::before {
  content: "•";
  margin-right: 6px;
  color: var(--accent-strong);
}

.hero-contact {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #efe3d7;
  display: grid;
  gap: 4px;
  font-size: 14px;
}

.hero-contact-title {
  font-weight: 500;
  color: var(--accent-strong);
}

.hero-contact a {
  color: var(--text-main);
}

.hero-contact a:hover {
  text-decoration: underline;
}

.ba-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-top: 10px;
}

.ba-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ba-item h3 {
  margin: 0;
  font-size: 15px;
}

.ba-text {
  display: none;
}

.ba-caption {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  color: var(--text-soft);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
}

.ba-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  margin-bottom: 8px;
}

.ba-pane {
  position: absolute;
  inset: 0;
}

.ba-pane img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-pane-after {
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--ba-position, 50%)) 0 0);
}

.ba-label {
  position: absolute;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

.ba-label-before {
  left: 10px;
}

.ba-label-after {
  right: 10px;
}

.ba-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  left: 50%;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ba-handle-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ffffff;
}

.ba-range {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  background: transparent;
}

.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  cursor: ew-resize;
}

.ba-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  cursor: ew-resize;
}

.ba-range::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}

.ba-range::-moz-range-track {
  height: 100%;
  background: transparent;
}

.ba-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}

.section {
  padding: 32px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: 22px;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

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

.card {
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 14px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-soft);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  display: grid;
  gap: 4px;
}

.card-list li::before {
  content: "–";
  margin-right: 6px;
  color: var(--accent-strong);
}

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.benefits-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.benefit-item {
  padding: 12px 12px 10px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
}

.benefit-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.benefit-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.aside-box {
  border-radius: var(--radius-md);
  padding: 16px 16px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
}

.aside-box h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.aside-list {
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

.aside-foot {
  margin: 0;
  font-size: 13px;
  color: var(--accent-strong);
}

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

.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-strong);
}

.step-content h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.step-content p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.project-highlight {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 16px 18px 14px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
}

.project-text h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.project-text p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-soft);
}

.project-text ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-soft);
  display: grid;
  gap: 4px;
}

.project-tag {
  justify-self: end;
  text-align: right;
  display: grid;
  gap: 6px;
}

.project-tag span {
  display: inline-flex;
  justify-content: flex-end;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  font-size: 12px;
  color: var(--text-soft);
}

.section-contact {
  padding-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}

.contact-info {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-size: 14px;
}

.contact-info h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.contact-info p {
  margin: 0 0 4px;
  color: var(--text-soft);
}

.contact-info a {
  color: var(--text-main);
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  padding: 16px 16px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
}

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

.form-field {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.form-field label {
  font-size: 13px;
  color: var(--text-soft);
}

.form-field input,
.form-field textarea {
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg);
  color: var(--text-main);
  font: inherit;
  padding: 8px 10px;
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #b7afa7;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: #fff;
}

.form-note {
  margin: 4px 0 8px;
  font-size: 11px;
  color: var(--text-soft);
}

.contact-form .btn-primary {
  width: 100%;
  opacity: 0.7;
  cursor: not-allowed;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 14px 0 20px;
  background: var(--bg-alt);
}

.footer-inner {
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  display: grid;
  gap: 2px;
}

.footer-note {
  font-size: 11px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.review-card {
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  padding: 14px 14px 12px;
  font-size: 13px;
}

.review-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.review-name {
  margin: 0;
  font-weight: 500;
  font-size: 13px;
}

.review-stars {
  margin: 0;
  font-size: 13px;
  color: #e0a622;
}

.review-text {
  margin: 0;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

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

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

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

  .project-highlight {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-tag {
    justify-self: flex-start;
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  .main-nav {
    position: fixed;
    inset: var(--nav-height) 16px auto 16px;
    border-radius: 14px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 8px;
    transform-origin: top right;
    transform: scale(0.95) translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 26px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-highlight {
    padding: 14px 12px 12px;
  }

  .contact-info {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

