:root {
  --primary: #f57c00;
  --primary-dark: #c45f00;
  --primary-light: #fff1e6;
  --accent: #ffb74d;
  --text: #1f2937;
  --muted: #5b6472;
  --white: #ffffff;
  --bg: #fffaf5;
  --surface: #fffdfb;
  --shadow: 0 12px 30px rgba(124, 74, 30, 0.12);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  background-image: radial-gradient(circle at 12% 8%, #fff2e4 0%, transparent 34%), radial-gradient(circle at 88% 20%, #ffe9d4 0%, transparent 28%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4.2rem 0;
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  margin: 0 0 0.8rem;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 252, 248, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #fed7aa;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav-links {
  position: fixed;
  inset: 72px 0 auto 0;
  background: #fffaf5;
  padding: 0.9rem 1rem 1.4rem;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  border-bottom: 1px solid #fed7aa;
  box-shadow: var(--shadow);
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.menu-toggle {
  border: 0;
  background: transparent;
  display: grid;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  border-radius: 4px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 74vh;
  color: #fff;
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 40, 0, 0.82), rgba(245, 124, 0, 0.52));
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  line-height: 1.15;
  margin: 0;
}

.hero p {
  max-width: 680px;
  margin: 1rem 0 2rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 124, 0, 0.25);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff8f1;
  color: var(--primary-dark);
}

.btn-outline {
  border: 1px solid #fed7aa;
  background: #fffdfb;
}

.cards {
  display: grid;
  gap: 1.2rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #ffedd5;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(124, 74, 30, 0.2);
}

.card-body {
  padding: 1.2rem;
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: var(--primary-light);
  margin-bottom: 0.9rem;
}

.two-col {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.muted {
  color: var(--muted);
}

.pill {
  display: inline-block;
  font-size: 0.84rem;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.25rem 0.62rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.project-grid,
.product-grid {
  display: grid;
  gap: 1.2rem;
}

.before-after {
  display: grid;
  gap: 0.8rem;
}

.before-after img {
  border-radius: 12px;
}

.page-hero {
  background: linear-gradient(120deg, #fff3e0, #ffffff);
  border-bottom: 1px solid #fed7aa;
}

.page-hero h1 {
  margin: 0;
  padding-top: 2.5rem;
}

.form-wrap {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  border: 1px solid #ffedd5;
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.72rem;
  border: 1px solid #fdba74;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #fed7aa;
  border-color: var(--primary);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.success-message,
.error-message {
  font-weight: 600;
  display: none;
}

.success-message {
  color: #b45309;
}

.error-message {
  color: #b91c1c;
}

.review-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.review-item {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1rem;
  border: 1px solid #ffedd5;
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.site-footer {
  margin-top: 3.5rem;
  background: #3f1f04;
  color: #ffedd5;
}

.footer-inner {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #fff;
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: none;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.scroll-top.show {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 740px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .before-after {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    inset: auto;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
