/* ==========================================================================
   Accessquest — Landscape Design Studio
   ========================================================================== */

:root {
  --color-bg: #F6F4EF;
  --color-sand: #EAE3D7;
  --color-green: #3F6B47;
  --color-sage: #7C9A73;
  --color-graphite: #2E312D;
  --color-terracotta: #B77452;
  --color-white: #FFFFFF;
  --color-line: rgba(46, 49, 45, 0.12);

  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;

  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-soft: 0 12px 30px rgba(46, 49, 45, 0.08);
  --shadow-lift: 0 24px 48px rgba(46, 49, 45, 0.16);

  --container: 1200px;
  --transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-graphite);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-terracotta);
}

ul,
ol {
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.4em;
}

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-graphite);
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(22px, 2.6vw, 28px);
}

p {
  margin-bottom: 1.1em;
  font-weight: 400;
}

.text-light {
  font-weight: 300;
}

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.section--sand {
  background-color: var(--color-sand);
}

.section--dark {
  background-color: var(--color-graphite);
  color: var(--color-bg);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-bg);
}

.section--dark a {
  color: var(--color-sage);
}

.section--dark a:hover {
  color: var(--color-terracotta);
}

.section--overlap-top {
  margin-top: -70px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 2;
}

.section__header {
  position: relative;
  max-width: 760px;
  margin-bottom: 64px;
  z-index: 2;
}

.section__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__header--offset {
  margin-left: auto;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 18px;
}

.section__number {
  position: absolute;
  top: -70px;
  right: 0;
  font-family: var(--font-heading);
  font-size: clamp(110px, 16vw, 210px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-green);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.section--dark .section__number {
  color: var(--color-sage);
  opacity: 0.12;
}

/* ---------- Decorative elements ---------- */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
  animation: blob-float 14s ease-in-out infinite alternate;
}


@keyframes blob-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(24px, -30px, 0) scale(1.08);
  }
}

.ring {
  position: absolute;
  border: 1.5px solid rgba(63, 107, 71, 0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.accent-bar {
  position: absolute;
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-green), var(--color-sage));
  z-index: 1;
}

.plant-silhouette {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Dividers ---------- */

.divider {
  display: block;
  width: 100%;
  height: 80px;
  margin-bottom: -1px;
}

.divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 38px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: linear-gradient(120deg, var(--color-green) 0%, var(--color-sage) 100%);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(63, 107, 71, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(63, 107, 71, 0.36);
  color: var(--color-white);
}

.btn__arrow {
  display: inline-flex;
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(6px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-green);
  border: 2px solid var(--color-green);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: var(--shadow-lift);
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(246, 244, 239, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding var(--transition), background var(--transition), border-color var(--transition);
}

.header--scrolled {
  padding: 8px 0;
  background: rgba(246, 244, 239, 0.9);
  border-bottom-color: var(--color-line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 44px;
  width: auto;
  transition: height var(--transition);
}

.header--scrolled .header__logo img {
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 8px 10px;
  margin: 0;
  background: var(--color-white);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.nav__item {
  margin: 0;
}

.nav__link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-graphite);
  transition: background var(--transition), color var(--transition);
}

.nav__link:hover,
.nav__link--active {
  background: var(--color-green);
  color: var(--color-white);
}

.nav__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 13px;
  line-height: 1.5;
}

.nav__contacts a {
  font-weight: 600;
}

.nav__contacts span {
  color: rgba(46, 49, 45, 0.75);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 52px;
  height: 52px;
  padding: 12px;
  border: none;
  border-radius: 50%;
  background: var(--color-green);
  cursor: pointer;
  z-index: 120;
}

.burger__line {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
}

.burger--open .burger__line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.burger--open .burger__line:nth-child(2) {
  opacity: 0;
}

.burger--open .burger__line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 70px 0 130px;
  overflow: hidden;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  margin-bottom: 26px;
}

.hero__title em {
  font-style: italic;
  color: var(--color-green);
}

.hero__subtitle {
  max-width: 520px;
  font-size: 19px;
  font-weight: 300;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 2px solid rgba(183, 116, 82, 0.4);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.hero__card {
  position: absolute;
  left: -60px;
  bottom: -40px;
  max-width: 300px;
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  z-index: 3;
}

.hero__card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 6px;
}

.hero__card-text {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Cut-corner blocks ---------- */

.cut-corner {
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%);
}

/* ---------- Cards grid ---------- */

.cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  z-index: 2;
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card:hover .card__media img {
  transform: scale(1.07);
}

.card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(246, 244, 239, 0.92);
  color: var(--color-green);
  z-index: 2;
}

.card__body {
  position: relative;
  flex: 1;
  padding: 30px 32px 34px;
  margin: -34px 18px 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(46, 49, 45, 0.08);
  z-index: 2;
}

.card__title {
  margin-bottom: 12px;
  transition: color var(--transition);
}

.card:hover .card__title {
  color: var(--color-green);
}

.card__text {
  font-size: 15.5px;
  margin-bottom: 16px;
}

.card__price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-terracotta);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.card--offset:nth-child(3n + 2) {
  transform: translateY(34px);
}

.card--offset:nth-child(3n + 2):hover {
  transform: translateY(26px);
}

/* ---------- Feature / advantage list ---------- */

.features {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.features__list {
  display: grid;
  gap: 20px;
}

.feature {
  display: flex;
  gap: 20px;
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
  transition: transform var(--transition), border-color var(--transition);
}

.feature:hover {
  transform: translateX(8px);
  border-color: var(--color-sage);
}

.feature__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-green), var(--color-sage));
  color: var(--color-white);
  transition: transform var(--transition);
}

.feature:hover .feature__icon {
  transform: rotate(-8deg) scale(1.06);
}

.feature__title {
  font-size: 20px;
  margin-bottom: 6px;
}

.feature__text {
  font-size: 15px;
  margin: 0;
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  z-index: 2;
}

.stat {
  padding: 38px 32px;
  border-radius: var(--radius-lg);
  background: rgba(246, 244, 239, 0.06);
  border: 1px solid rgba(246, 244, 239, 0.14);
  text-align: left;
  transition: transform var(--transition), background var(--transition);
}

.stat:hover {
  transform: translateY(-6px);
  background: rgba(246, 244, 239, 0.1);
}

.stat:nth-child(2n) {
  transform: translateY(24px);
}

.stat:nth-child(2n):hover {
  transform: translateY(18px);
}

.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-sage);
  margin-bottom: 12px;
}

.stat__value span {
  color: var(--color-terracotta);
}

.stat__label {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(246, 244, 239, 0.78);
  margin: 0;
}

/* ---------- Steps ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
  z-index: 2;
}

.step {
  position: relative;
  padding: 34px 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition);
}

.step:hover {
  transform: translateY(-6px);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--color-sage);
  opacity: 0.55;
  margin-bottom: 14px;
}

.step__title {
  font-size: 19px;
  margin-bottom: 8px;
}

.step__text {
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Split media block ---------- */

.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  z-index: 2;
}

.split--reverse > .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
}

.split__media::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 55%;
  height: 55%;
  border: 2px solid rgba(124, 154, 115, 0.5);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.split__panel {
  padding: 44px 48px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-left: -90px;
  position: relative;
  z-index: 3;
}

.split--reverse .split__panel {
  margin-left: 0;
  margin-right: -90px;
}

/* ---------- Team ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.team-member {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.team-member__photo {
  overflow: hidden;
}

.team-member__photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-member:hover .team-member__photo img {
  transform: scale(1.06);
}

.team-member__body {
  padding: 24px 26px 28px;
}

.team-member__name {
  font-size: 19px;
  margin-bottom: 4px;
}

.team-member__role {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin: 0;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin: 0;
  transition: transform var(--transition);
}

.contact-item:hover {
  transform: translateX(6px);
}

.contact-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green), var(--color-sage));
  color: var(--color-white);
}

.contact-item__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-graphite);
}

/* ---------- Form ---------- */

.form {
  padding: 44px 46px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
  position: relative;
  z-index: 2;
}

.section--dark .form {
  background: rgba(246, 244, 239, 0.06);
  border: 1px solid rgba(246, 244, 239, 0.14);
  box-shadow: none;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__field {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-green);
}

.section--dark .form__label {
  color: var(--color-sage);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 15px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-graphite);
  background: var(--color-bg);
  border: 2px solid transparent;
  border-radius: 16px;
  transition: border-color var(--transition), background var(--transition);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  background: var(--color-white);
}

.form__input--error,
.form__textarea--error {
  border-color: var(--color-terracotta);
}

.form__error {
  display: none;
  font-size: 13px;
  color: var(--color-terracotta);
  margin-top: 6px;
}

.form__error--visible {
  display: block;
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__success {
  display: none;
  padding: 20px 26px;
  margin-bottom: 22px;
  border-radius: var(--radius-md);
  background: rgba(124, 154, 115, 0.16);
  border: 1px solid var(--color-sage);
  color: var(--color-green);
  font-weight: 600;
}

.section--dark .form__success {
  color: var(--color-bg);
}

.form__success--visible {
  display: block;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.legal h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 48px 0 18px;
}

.legal h3 {
  font-size: 22px;
  margin: 32px 0 12px;
}

.legal ul {
  margin-bottom: 1.1em;
}

.legal__intro {
  font-size: 19px;
  font-weight: 300;
}

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  text-align: center;
  z-index: 2;
}

.cta__title {
  max-width: 720px;
  margin: 0 auto 24px;
}

.cta__text {
  max-width: 560px;
  margin: 0 auto 40px;
  color: rgba(246, 244, 239, 0.8);
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  background: var(--color-graphite);
  color: rgba(246, 244, 239, 0.78);
  padding: 90px 0 40px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 244, 239, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 244, 239, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246, 244, 239, 0.14);
  z-index: 2;
}

.footer__brand img {
  height: 46px;
  width: auto;
  margin-bottom: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer__text {
  font-size: 15px;
  max-width: 320px;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--color-bg);
  margin-bottom: 20px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__list li {
  margin: 0;
}

.footer__list a {
  color: rgba(246, 244, 239, 0.78);
  font-size: 15px;
}

.footer__list a:hover {
  color: var(--color-terracotta);
}

.footer__contacts {
  display: grid;
  gap: 12px;
  font-size: 15px;
}

.footer__contacts a {
  color: var(--color-sage);
  font-weight: 600;
}

.footer__contacts a:hover {
  color: var(--color-terracotta);
}

.footer__legal {
  font-size: 14px;
  line-height: 1.8;
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 32px;
  font-size: 14px;
  color: rgba(246, 244, 239, 0.55);
  z-index: 2;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.12s;
}

.reveal--delay-2 {
  transition-delay: 0.24s;
}

.reveal--delay-3 {
  transition-delay: 0.36s;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--offset:nth-child(3n + 2) {
    transform: none;
  }

  .card--offset:nth-child(3n + 2):hover {
    transform: translateY(-8px);
  }

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

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

  .nav__contacts {
    display: none;
  }
}

@media (max-width: 880px) {
  .section {
    padding: 80px 0;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    padding: 40px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    overflow-y: auto;
    background: rgba(246, 244, 239, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 110;
  }

  .nav--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    gap: 14px;
  }

  .nav__link {
    font-size: 22px;
    padding: 12px 32px;
  }

  .nav__contacts {
    display: flex;
    align-items: center;
    font-size: 15px;
    text-align: center;
  }

  .burger {
    display: flex;
  }

  .hero__grid,
  .features,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__card {
    left: 12px;
    bottom: -28px;
  }

  .split__panel {
    margin-left: 0;
    margin-top: -60px;
  }

  .split--reverse .split__panel {
    margin-right: 0;
  }

  .split--reverse > .split__media {
    order: 0;
  }

  .form {
    padding: 32px 26px;
  }

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

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .cards,
  .steps,
  .stats,
  .team,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .stat:nth-child(2n) {
    transform: none;
  }

  .stat:nth-child(2n):hover {
    transform: translateY(-6px);
  }

  .hero {
    padding: 48px 0 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
