:root {
  color-scheme: light;
  --ink: #1f2020;
  --muted: #68615b;
  --paper: #f6f0e8;
  --panel: #fffaf3;
  --line: rgba(31, 32, 32, 0.14);
  --accent: #835b42;
  --accent-dark: #4b3529;
  --sage: #d8dfd1;
  --clay: #c79578;
  --shadow: rgba(79, 58, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Optima, Avenir Next, Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(216, 223, 209, 0.86), transparent 32%),
    linear-gradient(260deg, rgba(199, 149, 120, 0.18), transparent 42%),
    var(--paper);
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.hero {
  min-height: 100dvh;
  padding: 28px clamp(18px, 5vw, 72px) 62px;
  display: grid;
  align-content: space-between;
  gap: 48px;
}

nav {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

nav strong {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 760;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 7.4vw, 7.1rem);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 760;
}

.intro {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.58;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 760;
  border: 1px solid var(--line);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button.primary {
  background: var(--accent-dark);
  color: white;
  border-color: var(--accent-dark);
  box-shadow: 0 18px 44px var(--shadow);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary {
  background: rgba(255, 250, 243, 0.7);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--accent);
}

.phone {
  border: 1px solid rgba(31, 32, 32, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.94), rgba(248, 240, 231, 0.9)),
    var(--panel);
  padding: 18px;
  box-shadow: 0 28px 80px var(--shadow);
  transform: rotate(1.5deg);
}

.phone-top {
  display: flex;
  gap: 6px;
  padding: 4px 4px 18px;
}

.phone-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sage);
}

.lead {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 12px;
  background: rgba(255, 250, 243, 0.74);
}

.lead.active {
  background: var(--ink);
  color: white;
}

.lead small,
.lead p {
  color: var(--muted);
}

.lead.active small,
.lead.active p {
  color: rgba(255, 255, 255, 0.68);
}

.lead strong {
  display: block;
  margin: 8px 0;
  font-size: 1.08rem;
}

.lead p {
  margin-bottom: 0;
  line-height: 1.45;
}

.fit,
.brief,
.whatsapp,
.faq {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
}

.fit {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fit p {
  color: var(--muted);
  margin-bottom: 18px;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chips span {
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.58);
  font-weight: 680;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

article {
  padding: clamp(22px, 4vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 260px;
  background: rgba(255, 250, 243, 0.36);
}

article span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 800;
}

article h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

article p {
  color: var(--muted);
  line-height: 1.55;
}

.whatsapp {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.65fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: stretch;
}

.panel,
.crm-card {
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.62);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
}

.panel p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.crm-card {
  display: grid;
  gap: 14px;
  box-shadow: 0 22px 58px var(--shadow);
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

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

.row strong {
  text-align: right;
}

.faq {
  padding-bottom: clamp(72px, 10vw, 128px);
}

.questions {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--ink);
  padding: 18px;
  text-align: left;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

button:hover,
button:focus-visible {
  border-color: var(--accent);
  background: rgba(255, 250, 243, 0.95);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(131, 91, 66, 0.28);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .phone,
  .panel,
  .crm-card,
  article {
    animation: rise 620ms ease both;
  }

  .crm-card,
  article:nth-child(2) {
    animation-delay: 90ms;
  }

  article:nth-child(3) {
    animation-delay: 150ms;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  nav,
  .hero-grid,
  .section-head,
  .whatsapp {
    grid-template-columns: 1fr;
  }

  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.35rem);
  }

  .phone {
    transform: none;
  }

  .brief-grid {
    grid-template-columns: 1fr;
  }

  article {
    min-height: auto;
  }
}

@media (max-width: 460px) {
  .actions,
  .button {
    width: 100%;
  }

  .row {
    display: grid;
  }

  .row strong {
    text-align: left;
  }
}
