:root {
  --green: #174c4a;
  --green-deep: #0d2a29;
  --green-mid: #2f806f;
  --green-panel: #113d3b;
  --bg: #f5f5f0;
  --white: #ffffff;
  --border: #e6e6e6;
  --gray: #b0b0b0;
  --gray-btn: #989898;
  --text-muted: rgba(0, 0, 0, 0.5);
  --radius-sm: 15px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1420px;
  --side: clamp(16px, 5vw, 250px);
  --font: "Onest", system-ui, sans-serif;
  --header-h: 127px;
  --shadow-inset: inset 0 0 35px rgba(255, 255, 255, 0.3);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--green-deep);
  background: var(--white);
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - var(--side) * 2, var(--container));
  margin-inline: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 0 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--outline {
  background: var(--white);
  color: var(--gray-btn);
  font-size: 18px;
  font-weight: 400;
}

.btn--outline:hover {
  color: var(--green);
  border-color: var(--green);
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-inset);
  font-size: 20px;
  font-weight: 500;
  min-width: 257px;
  min-height: 110px;
  border-radius: var(--radius);
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn--white {
  background: var(--white);
  color: var(--green);
  border: none;
  box-shadow: var(--shadow-inset);
  font-size: 20px;
  font-weight: 500;
  width: 100%;
  min-height: 110px;
}

.btn--white:hover {
  transform: translateY(-2px);
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--border);
}

.header__bar {
  display: grid;
  grid-template-columns: 345fr 933fr 78px 244fr;
  align-items: stretch;
  height: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.header__logo {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.header__logo img {
  width: 50px;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 3.5vw, 70px);
  justify-content: flex-start;
  padding: 0 clamp(24px, 3vw, 50px);
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link {
  font-size: 18px;
  color: var(--gray);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--green);
}

.header__phone {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  transition: background var(--transition);
}

.header__phone:hover {
  background: rgba(255, 255, 255, 0.35);
}

.header__phone img {
  width: 28px;
  height: auto;
}

.header__cta {
  display: grid;
  place-items: center;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.05);
}

.header__cta .btn {
  min-width: 244px;
  min-height: 78px;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  margin: auto 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: var(--transition);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
  min-height: min(900px, 92vh);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(245, 245, 240, 0.45) 55%, var(--bg) 100%),
    url("../assets/hero-bg.png") right center / cover no-repeat;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 544px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  flex: 1 1 auto;
  padding-top: 80px;
  padding-bottom: 40px;
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(260.82deg, #174c4a 14.01%, #788888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 544px;
}

.hero__lead {
  margin: 0 0 50px;
  max-width: 439px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  background: linear-gradient(90deg, #000 0%, #666 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text .btn--primary {
  min-width: 341px;
}

.hero__visual {
  justify-self: end;
  max-width: 720px;
  width: 100%;
  animation: float-in 0.9s ease both;
}

.hero__visual img {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(23, 76, 74, 0.18));
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tip cards */

.tip-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: auto;
  align-items: end;
  width: min(100% - var(--side) * 2, var(--container));
  margin-inline: auto;
}

.tip-card {
  display: flex;
  flex-direction: column;
  min-height: 438px;
  border: 2px solid var(--border);
  border-bottom: none;
  background: var(--white);
  padding: 40px 40px 0;
  overflow: hidden;
  animation: rise-in 0.7s ease both;
}

.tip-card:nth-child(2) {
  animation-delay: 0.08s;
}

.tip-card:nth-child(3) {
  animation-delay: 0.16s;
}

.tip-card--dark {
  background: var(--green);
  border-color: transparent;
  box-shadow: inset 0 5px 35px rgba(255, 255, 255, 0.3);
  min-height: 366px;
}

.tip-card__title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  max-width: 280px;
}

.tip-card__title--dark {
  background: linear-gradient(260.82deg, #616161 16.35%, #000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tip-card__title--light {
  color: var(--white);
}

.tip-card__img {
  margin-top: auto;
  width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.tip-card__img--mid {
  width: min(324px, 100%);
  margin-inline: auto;
}

/* Identity — Vector 1560×792 + Rectangle 29 */

.identity {
  background: var(--bg);
  padding: 120px 0 160px;
  overflow: visible;
}

.identity__panel {
  /* Figma Vector @180,1419 — 1560×792 */
  position: relative;
  width: 1560px;
  max-width: 100%;
  min-height: 792px;
  margin-inline: auto;
  padding: 170px 70px 0;
  overflow: visible;
  box-sizing: border-box;
}

/* Main green folder (Vector) */
.identity__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #174c4a;
  box-shadow: inset 0 5px 80px rgba(255, 255, 255, 0.15);
  border-radius: 0 20px 20px 20px;
  z-index: 0;
  pointer-events: none;
  /* left shelf lower, diagonal up to right tab */
  clip-path: polygon(
    0 100px,
    42% 100px,
    49% 0,
    100% 0,
    100% 100%,
    0 100%
  );
}

/*
  Figma Rectangle 29:
  absolute left:232 top:1449 / Vector left:180 top:1419
  → relative left:52px, top:30px
  But visually it's the darker left tab sitting under the shelf.
  Protrudes slightly above the left shelf edge.
*/
.identity__tab {
  position: absolute;
  width: 768px;
  max-width: calc(100% - 52px);
  height: 100px;
  left: 52px;
  top: 30px; /* 1449 - 1419 relative to Vector */
  background: #113d3b;
  border-radius: 15px;
  z-index: 0;
  pointer-events: none;
}

.identity__title {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 0 50px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.feature-card {
  position: relative;
  background: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 48px 28px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 438px;
  box-shadow: 0 10px 30px rgba(13, 42, 41, 0.08);
  transition:
    min-height 0.25s ease,
    margin-bottom 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  z-index: 2;
  min-height: 536px;
  margin-bottom: -98px;
  box-shadow: 0 18px 40px rgba(13, 42, 41, 0.16);
}

.feature-card__icon {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 35px;
  flex-shrink: 0;
}

.feature-card__title {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--green);
  max-width: 240px;
}

.feature-card__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: var(--green-deep);
  max-width: 271px;
}

.feature-card__btn {
  margin-top: auto;
  min-width: 257px;
  max-height: 0;
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    max-height 0.25s ease,
    min-height 0.25s ease;
}

.feature-card:hover .feature-card__btn,
.feature-card:focus-within .feature-card__btn {
  max-height: 110px;
  min-height: 110px;
  opacity: 1;
  pointer-events: auto;
}

/* Steps */

.steps {
  background: var(--bg);
  padding: 60px 0 40px;
}

.steps__panel {
  background: var(--green);
  border-radius: var(--radius);
  padding: 80px 70px 60px;
}

.steps__title {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.step__phone {
  display: block;
  width: min(270px, 82%);
  /* margin: 0 auto -48px; */
  position: relative;
  z-index: 0;
  flex-shrink: 0;
}

.step__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 50px 40px 40px;
  min-height: 239px;
  box-sizing: border-box;
}

.step__name {
  margin: 0 0 15px;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--green);
}

.step__text {
  margin: 0;
  font-size: 20px;
  color: var(--green-deep);
}

.step__label {
  position: relative;
  z-index: 1;
  margin: 40px 0 0;
  padding: 0 12px;
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
}

.steps__line {
  display: block;
  height: 1px;
  margin: -46px 12% 0;
  background: rgba(230, 230, 230, 0.5);
  pointer-events: none;
}

/* Contact */

.contact {
  background: var(--bg);
  padding: 60px 0 40px;
}

.contact__panel {
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 60px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 581px);
  gap: 48px;
  align-items: center;
}

.contact__title {
  margin: 0 0 50px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  max-width: 448px;
  margin-inline: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 611px;
  margin-inline: auto;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 90px;
  padding: 20px 35px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-deep);
  outline: none;
  resize: vertical;
  transition: border-color var(--transition);
}

.field textarea {
  min-height: 90px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(13, 42, 41, 0.5);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green-mid);
}

.contact-form__note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 353px;
  margin-inline: auto;
}

.contact-form__success {
  margin: 0;
  text-align: center;
  color: var(--white);
  font-size: 18px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 16px;
}

.contact__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.contact__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */

.faq {
  background: var(--bg);
  padding: 80px 0 100px;
}

.faq__title {
  margin: 0 0 50px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-item {
  background: var(--green);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 110px;
  padding: 28px 50px;
  cursor: pointer;
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-right: 4px solid var(--white);
  border-bottom: 4px solid var(--white);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--transition);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(225deg) translateY(-3px);
}

.faq-item p {
  margin: 0;
  padding: 0 50px 32px;
  font-size: 18px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

/* Footer — same as frame-4 */

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 244px;
  height: 78px;
  color: var(--gray-btn);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 18px;
  transition:
    color var(--transition),
    border-color var(--transition);
}

.outline-button:hover {
  color: var(--green);
  border-color: var(--green);
}

.frame-footer {
  min-height: 397px;
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.frame-footer__inner {
  display: grid;
  grid-template-columns: 554px 203px 543px;
  gap: 96px;
  width: min(calc(100% - 40px), 1490px);
  margin-inline: auto;
}

.frame-footer__intro {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.frame-footer__intro img {
  width: 116px;
  height: 70px;
  margin-top: 8px;
}

.frame-footer__intro p {
  width: 388px;
  margin: 0;
  color: rgba(0, 0, 0, 0.5);
  font-size: 20px;
  line-height: 1;
}

.frame-footer__brand > p,
.frame-footer__brand > a {
  display: block;
  margin: 89px 0 0;
  color: rgba(0, 0, 0, 0.5);
  font-size: 20px;
}

.frame-footer__brand > a {
  margin-top: 8px;
  text-decoration: underline;
}

.frame-footer__brand > a:hover {
  color: var(--green);
}

.frame-footer__menu h2 {
  margin: 0 0 20px;
  color: #000;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.frame-footer__menu nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.frame-footer__menu a {
  color: rgba(0, 0, 0, 0.5);
  font-size: 20px;
  transition: color var(--transition);
}

.frame-footer__menu a:hover {
  color: var(--green);
}

.frame-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.frame-footer__contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--gray-btn);
  font-size: 18px;
  white-space: nowrap;
}

.contact-link > span {
  display: grid;
  flex: 0 0 78px;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
}

.contact-link img {
  width: 28px;
  max-height: 28px;
}

.frame-footer__button {
  align-self: flex-end;
  margin-top: 15px;
}

/* Responsive */

@media (max-width: 1200px) {
  :root {
    --side: 40px;
    --header-h: 96px;
  }

  .header__bar {
    grid-template-columns: 180px 1fr 64px minmax(180px, 220px);
  }

  .header__cta .btn {
    min-width: 0;
    width: 100%;
    padding: 0 16px;
    min-height: 64px;
    font-size: 16px;
  }

  .hero {
    min-height: 0;
  }

  .hero__content {
    grid-template-columns: 1fr;
    padding-top: 48px;
    min-height: auto;
    flex: 0 0 auto;
  }

  .hero__visual {
    justify-self: center;
    max-width: 560px;
  }

  .tip-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .tip-card,
  .tip-card--dark {
    min-height: auto;
    border-bottom: 2px solid var(--border);
    border-radius: var(--radius);
    padding-bottom: 24px;
  }

  .tip-card--dark {
    border-color: transparent;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .identity__panel {
    min-height: 0;
    padding: 56px 40px 70px;
    background: #174c4a;
    border-radius: 20px;
    box-shadow: inset 0 5px 80px rgba(255, 255, 255, 0.15);
  }

  .identity__panel::after,
  .identity__tab {
    display: none;
  }

  .identity__title {
    margin-top: 0;
  }

  .feature-card {
    min-height: auto;
    margin-bottom: 0;
  }

  .feature-card:hover,
  .feature-card:focus-within {
    min-height: auto;
    margin-bottom: 0;
  }

  .feature-card__btn {
    max-height: none;
    min-height: 72px;
    opacity: 1;
    pointer-events: auto;
  }

  .contact__panel {
    grid-template-columns: 1fr;
    padding: 48px 40px;
  }

  .contact__visual {
    max-width: 480px;
    margin-inline: auto;
  }

  .frame-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .frame-footer__contacts {
    grid-column: 1 / -1;
  }

  .frame-footer__button {
    align-self: flex-start;
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform var(--transition),
      opacity var(--transition),
      visibility var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .burger {
    display: flex;
  }

  .header__bar {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .header__logo {
    justify-self: start;
    padding-left: 20px;
    border-right: none;
  }

  .header__phone,
  .header__cta {
    display: none;
  }

  .nav {
    border-right: none;
  }

  .identity {
    padding: 80px 0 80px;
  }

  .identity__panel {
    width: 100%;
    min-height: 0;
    padding: 48px 24px 48px;
    background: #174c4a;
    border-radius: 20px;
    box-shadow: inset 0 5px 80px rgba(255, 255, 255, 0.15);
  }

  .identity__panel::after,
  .identity__tab {
    display: none;
  }

  .identity__title {
    margin-top: 0;
    font-size: 28px;
  }

  .feature-card {
    min-height: auto;
    margin-bottom: 0;
  }

  .feature-card:hover,
  .feature-card:focus-within {
    min-height: auto;
    margin-bottom: 0;
  }

  .feature-card__btn {
    max-height: none;
    min-height: 72px;
    opacity: 1;
    pointer-events: auto;
  }

  .steps__panel {
    padding: 48px 24px 40px;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps__line {
    display: none;
  }

  .faq__grid {
    grid-template-columns: 1fr;
  }

  .frame-footer__inner {
    grid-template-columns: 1fr;
  }

  .frame-footer__intro {
    flex-direction: column;
    gap: 20px;
  }

  .frame-footer__intro p {
    width: auto;
  }

  .frame-footer__brand > p {
    margin-top: 40px;
  }

  .frame-footer__contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .frame-footer__button {
    align-self: stretch;
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --side: 16px;
    --header-h: 80px;
  }

  .hero__content {
    padding-top: 72px;
  }

  .hero__lead {
    margin-bottom: 32px;
    font-size: 16px;
  }

  .hero__text .btn--primary,
  .btn--primary,
  .feature-card__btn {
    min-width: 100%;
    min-height: 72px;
    font-size: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .field input,
  .field textarea {
    min-height: 64px;
    padding: 16px 20px;
  }

  .btn--white {
    min-height: 72px;
  }

  .faq-item summary {
    padding: 22px 24px;
    min-height: 84px;
  }

  .faq-item p {
    padding: 0 24px 24px;
  }

  .tip-card__title,
  .feature-card__title,
  .step__name {
    font-size: 20px;
  }

  .feature-card__text,
  .step__text {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
