/* =========================
   CSS VARIABLES
========================= */
:root {
  /* Colors */
  --color-bg-main: #ffffff;
  --color-bg-section: #f4f5f7;
  --color-bg-card: #eceff1;

  --color-text-main: #374151;
  --color-text-heading: #111827;
  --color-text-muted: #6b7280;

  --color-accent: #8b7e74;
  --color-accent-hover: #766b62;

  --color-border: #d1d5db;

  /* Typography */
  --font-main: 'Inter', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --container-padding: 20px;

  /* UI */
  --radius-sm: 6px;
  --radius-md: 8px;

  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
}

body.menu-open {
  overflow: hidden;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.15s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

/* =========================
   CONTAINER & SECTIONS
========================= */
.container {
  max-width: var(--container-width);
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

section:nth-of-type(even) {
  background-color: var(--color-bg-section);
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
}

/* =========================
   TYPOGRAPHY
========================= */
h1,
h2,
h3 {
  margin: 0;
  color: var(--color-text-heading);
  font-weight: 600;
}

h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 24px;
}

h2 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 24px;
}

h3 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 12px;
}

p {
  margin: 0 0 16px 0;
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }
}

/* =========================
   HEADER
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg-main);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

header.is-sticky {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo span {
  font-weight: 600;
  color: var(--color-text-heading);
}

.logo a {
  font-size: 14px;
  color: var(--color-text-muted);
}
.logo a:hover {
  text-decoration: underline;
}

nav ul {
  display: flex;
  gap: 24px;
}

nav a {
  font-size: 14px;
  color: var(--color-text-muted);
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.header-cta a {
  padding: 10px 18px;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.header-cta a:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* =========================
   BURGER
========================= */
.burger {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2px;
  background-color: var(--color-text-heading);
  border-radius: 2px;
}

/* =========================
   HERO
========================= */
.hero {
  padding-top: 100px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero p {
  font-size: 18px;
  margin-bottom: 24px;
}

.hero-benefits li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}

.hero-benefits li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.hero a {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
}

.hero a:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* =========================
   CARDS
========================= */
.price-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.price-item,
.review {
  background-color: var(--color-bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-item:hover,
.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.reviews .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* =========================
   FORM
========================= */
.form-section form {
  max-width: 480px;
  background-color: var(--color-bg-card);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-section form div {
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--color-text-muted);
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(139, 126, 116, 0.15);
}

form button {
  margin-top: 12px;
  width: 100%;
  padding: 14px;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 16px;
}

form button:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* =========================
   FOOTER
========================= */
footer {
  background-color: var(--color-bg-section);
  padding: 40px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .price-list,
  .reviews .container {
    grid-template-columns: 1fr;
  }

  nav {
    position: fixed;
    inset: 0;
    background-color: var(--color-bg-main);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding: 100px 20px;
  }

  nav.is-open {
    transform: translateY(0);
  }

  nav ul {
    flex-direction: column;
    gap: 24px;
  }

  .burger {
    display: flex;
  }

  .header-cta {
    display: none;
  }
}

/* =========================
   REDUCED MOTION
========================= */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

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

footer a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.messengers {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.messengers a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
}

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

.messengers svg {
  display: block;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  border-radius: var(--radius-md);
}
.hero-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.05)
  );
  z-index: 1;
}

.hero-image img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.form-status {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.form-status.success {
  color: #2f855a;
}

.form-status.error {
  color: #c53030;
}

.who {
    background-image: url(img/main3.webp)
}
.who .container {
    background: #ffffff63;
    border-radius: 20px;
}

.reviews {
    background-image: url(img/main2.webp)
}

.reviews .container {
    background: #ffffff63;
    border-radius: 20px;
}

.form-section {
    background-image: url(img/main1.webp)
}