:root {
  --background: #f6f3ed;
  --surface: #ffffff;
  --surface-soft: #eee9df;
  --text: #1d2625;
  --muted: #64706d;
  --accent: #b84d2f;
  --accent-dark: #91371f;
  --line: #ddd7cd;

  --page-width: 1120px;
  --radius-large: 24px;
  --radius-medium: 14px;
  --shadow: 0 18px 45px rgba(29, 38, 37, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

section {
  scroll-margin-top: 100px;
}

/* Header */

.site-header {
  width: min(calc(100% - 32px), var(--page-width));
  margin: 18px auto 0;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 215, 205, 0.85);
  border-radius: 16px;
  position: sticky;
  top: 14px;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

/* Shared styles */

.hero,
.products-section,
.how-it-works,
.order-section,
.complaints-section,
.reviews-section {
  width: min(calc(100% - 32px), var(--page-width));
  margin: 0 auto;
  padding: 100px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.section-heading > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.primary-button,
.secondary-button {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

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

.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

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

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

/* Hero */

.hero {
  min-height: 620px;
  padding-top: 100px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  max-width: 710px;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.085em;
  line-height: 0.94;
}

.hero-text {
  max-width: 570px;
  margin: 25px 0 32px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-card {
  min-height: 270px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--text);
  color: white;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.hero-card span {
  color: #f4b49f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card strong {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.hero-card p {
  margin: 0;
  color: #cbd2cf;
}

/* Product */

.products-section {
  border-top: 1px solid var(--line);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.product-image-placeholder {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(circle at top right, #f0ab7e, transparent 42%),
    linear-gradient(135deg, #3d514c, #1d2625);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.product-details {
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-status {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-details h3 {
  margin: 12px 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.065em;
  line-height: 1;
}

.product-description {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
}

.product-meta {
  width: 100%;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.product-meta p {
  margin: 0;
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.product-meta span {
  color: var(--muted);
}

/* Steps */

.how-it-works {
  border-top: 1px solid var(--line);
}

.steps-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
}

.steps-list li {
  min-height: 190px;
  padding: 24px;
  background: var(--surface-soft);
  border-radius: var(--radius-medium);
}

.steps-list span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.steps-list h3 {
  margin: 34px 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.steps-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Forms */

.order-section {
  width: 100%;
  padding-left: max(16px, calc((100% - var(--page-width)) / 2));
  padding-right: max(16px, calc((100% - var(--page-width)) / 2));
  background: var(--text);
  color: white;
}

.order-section .section-heading > p:last-child {
  color: #cbd2cf;
}

.order-section .eyebrow {
  color: #f4b49f;
}

#order-form,
#complaint-form {
  max-width: 820px;
}

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

label {
  margin-bottom: 18px;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: white;
  color: var(--text);
  outline: none;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 77, 47, 0.25);
}

.order-total {
  margin: 8px 0 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-medium);
}

.order-total p {
  margin: 6px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #cbd2cf;
}

.order-total .grand-total {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 1.05rem;
}

.payment-card {
  margin-bottom: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-medium);
}

.payment-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.payment-card > p {
  color: #cbd2cf;
}

.bank-details {
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.bank-details p {
  margin: 7px 0;
}

.bank-details span {
  color: #cbd2cf;
}

.form-note,
.form-message {
  margin: 8px 0 0;
  color: #cbd2cf;
  font-size: 0.85rem;
}

.complaints-section {
  border-bottom: 1px solid var(--line);
}

#complaint-form {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

#complaint-form .form-message {
  color: var(--muted);
}

/* Reviews and footer */

.reviews-section {
  padding-bottom: 100px;
}

.empty-reviews {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-medium);
  color: var(--muted);
}

.empty-reviews p {
  margin: 0;
}

.site-footer {
  width: min(calc(100% - 32px), var(--page-width));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Mobile */

@media (max-width: 760px) {
  .site-header {
    padding: 13px 14px;
  }

  .main-nav {
    gap: 12px;
    font-size: 0.8rem;
  }

  .hero,
  .products-section,
  .how-it-works,
  .complaints-section,
  .reviews-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

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

  .hero-card {
    min-height: 190px;
    transform: rotate(0);
  }

  .product-card,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-image-placeholder {
    min-height: 250px;
  }

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

  .steps-list li {
    min-height: 165px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .main-nav a:nth-child(3) {
    display: none;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .product-details,
  #complaint-form {
    padding: 22px;
  }
}