:root {
  --bg: #f4efe8;
  --surface: rgba(255, 251, 247, 0.74);
  --surface-strong: #fffaf3;
  --text: #1b1a17;
  --muted: #5f5a54;
  --line: rgba(27, 26, 23, 0.1);
  --primary: #d65a31;
  --primary-dark: #9e3919;
  --accent: #1d5c63;
  --shadow: 0 24px 60px rgba(66, 39, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Onest", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 90, 49, 0.24), transparent 34%),
    radial-gradient(circle at top right, rgba(29, 92, 99, 0.18), transparent 26%),
    linear-gradient(180deg, #f7f1ea 0%, #f2ece3 52%, #eee6dd 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.hero {
  padding: 24px 0 48px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #f0a33a);
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
}

.nav-phone {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(214, 90, 49, 0.25);
  background: rgba(214, 90, 49, 0.08);
  font-weight: 700;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding-top: 38px;
}

.hero-copy,
.hero-card,
.stats article,
.info-card,
.portfolio-card,
.steps article,
.materials-panel,
.faq-list details,
.contact-section {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
  border-radius: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.97;
}

.hero-text,
.section-heading p,
.info-card p,
.portfolio-card p,
.steps p,
.materials-list p,
.faq-list p,
.contact-copy p,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #ea8f2d);
  box-shadow: 0 18px 30px rgba(214, 90, 49, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.hero-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

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

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  min-height: 100%;
}

.hero-card-glow {
  position: absolute;
  inset: auto -60px -60px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 90, 49, 0.35), transparent 70%);
}

.hero-card-content {
  position: relative;
  z-index: 1;
  padding: 32px;
}

.portfolio-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 700;
}

.sample-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.sample-grid article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(27, 26, 23, 0.06);
}

.sample-grid span,
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #4d8f8e);
}

.sample-grid p,
.sample-grid h3 {
  margin-top: 10px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 10px 0 28px;
}

.stats article,
.info-card,
.portfolio-card,
.steps article {
  padding: 26px;
  border-radius: 28px;
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
}

.stats span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 42px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cards-services,
.portfolio-grid,
.steps,
.materials-list {
  display: grid;
  gap: 18px;
}

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

.accent-section {
  padding: 30px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 247, 239, 0.72), rgba(255, 250, 245, 0.42));
  border: 1px solid rgba(27, 26, 23, 0.08);
}

.portfolio-card {
  min-height: 260px;
}

.portfolio-media {
  height: 180px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(27, 26, 23, 0.08);
  background: linear-gradient(135deg, rgba(214, 90, 49, 0.14), rgba(29, 92, 99, 0.12));
}

.portfolio-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.portfolio-card:hover .portfolio-media img {
  transform: scale(1.04);
}

.shop-item {
  display: grid;
  align-content: start;
}

.shop-item .button {
  margin-top: 8px;
  width: fit-content;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.materials-panel {
  padding: 30px;
  border-radius: 36px;
}

.materials-list {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.materials-list article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
  border-radius: 24px;
}

.faq-list summary {
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  padding: 30px;
  border-radius: 36px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-weight: 600;
}

.contact-hours {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(27, 26, 23, 0.08);
}

.contact-hours h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.contact-hours p {
  margin: 0;
  color: var(--muted);
}

.contact-map {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(27, 26, 23, 0.08);
  background: rgba(255, 255, 255, 0.52);
}

.contact-map iframe {
  display: block;
  width: 100%;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(214, 90, 49, 0.18);
  border-color: rgba(214, 90, 49, 0.45);
}

.contact-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-weight: 600;
}

.form-status.is-pending {
  color: #8b6428;
}

.form-status.is-success {
  color: #1f6b42;
}

.form-status.is-error {
  color: #b2432f;
}

.article-card-link {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 90, 49, 0.24);
}

.article-body {
  padding: 30px;
  border-radius: 30px;
}

.article-body h3 {
  margin: 22px 0 10px;
}

.article-body h3:first-child {
  margin-top: 0;
}

.article-body p {
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 980px) {
  .nav,
  .hero-content,
  .contact-section,
  .stats,
  .cards-services,
  .portfolio-grid,
  .steps,
  .materials-list {
    grid-template-columns: 1fr;
  }

  .nav {
    display: grid;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
  }

  .hero-copy,
  .hero-card-content,
  .stats article,
  .info-card,
  .portfolio-card,
  .steps article,
  .materials-panel,
  .contact-section {
    padding: 22px;
  }

  .nav-links,
  .nav-phone {
    display: none;
  }

  .hero {
    padding-top: 14px;
  }

  .accent-section {
    padding: 18px;
    border-radius: 28px;
  }

  .portfolio-media {
    height: 160px;
  }
}
