/* =====================================
   HOW WE WORK PAGE

   CONTENTS
   01. Hero / Intro
   02. Steps
   03. LM Services
===================================== */


/* =====================================
   01. HERO / INTRO
===================================== */
.hww-section .hero-title {
  font-size: 32px;
}

.hww-hero__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 630px;
  padding: 0;
  overflow: hidden;
  background: #f6efe3;
}

.hww-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 50px 36px;
  text-align: center;
}

.hww-hero__title {
  font-size: 36px;
}

.hww-hero__title span {
  font-weight: 700;
}

.hww-hero__text {
  text-wrap: pretty;
}

.hww-hero__btn {
  margin: 0 auto;
}


.hww-hero__image {
  min-height: 630px;
  overflow: hidden;
}

.hww-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}


/* HERO RESPONSIVE */

/* HERO RESPONSIVE */

@media (max-width: 1100px) {
  .hww-section .hero-content {
  padding: 44px 20px;
}

  .hww-hero__panel {
    min-height: 560px;
  }

  .hww-hero__content {
    padding: 44px 28px;
  }

.hww-section .hero-title {
    font-size: 30px;
}

  .hww-hero__text {
    font-size: 17px;
    max-width: 38ch;
  }

  .hww-hero__image {
    min-height: 560px;
  }
}

@media (max-width: 1000px) {
  .hww-section .hero-title {
    font-size: 28px;
}
.hww-section .hero-text {
    max-width: 38ch;
  }
}

@media (max-width: 950px) {
  .hww-section .hero-title {
    font-size: 26px;
  }
}

@media (max-width: 900px) {
  .hww-hero__panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hww-hero__image {
    order: 1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hww-hero__image img {
    object-fit: cover;
    object-position: center center;
  }
  
  .hww-hero__content {
    padding: 44px 28px 46px;
  }

  .hww-hero__title {
    font-size: 28px;
  }

  .hww-hero__text {
    max-width: 520px;
    font-size: 16px;
  }

  .hww-hero__btn {
    min-height: 44px;
    padding: 12px 24px;
    font-size: 14px;
  }
}

@media (max-width: 860px) {
  .hww-section .hero-title {
    font-size: 24px;
  }
}

@media (max-width: 800px) {
  .hww-section .hero-title {
    font-size: 22px;
  }

  .hww-section .hero-text {
    font-size: 14.5px;
  }
}

@media (max-width: 740px) {
  .hww-section .hero-title {
    font-size: 21px;
  }


}

@media (max-width: 700px) {
  .hww-section .hero-title {
  font-size: 28px;
}

  .hww-hero__panel {
    border-radius: 22px;
  }

  .hww-hero__image {
    min-height: 330px;
  }

  .hww-hero__image img {
    object-position: 50% 50%;
  }

  .hww-hero__content {
    padding: 34px 18px 36px;
  }

  .hww-hero__title {
    margin-bottom: 14px;
    font-size: 25px;
  }

  .hww-hero__text {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .hww-hero__btn {
    padding: 12px 22px;
    font-size: 14px;
  }
}

@media (max-width: 500px) {
    .hww-section .hero-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
  .hww-section .hero-title {
    font-size: 24px;
  }

  .hww-hero__image {
    min-height: 280px;
  }

  .hww-hero__content {
    padding: 30px 16px 34px;
  }

  .hww-hero__title {
    font-size: 23px;
    letter-spacing: -0.02em;
  }

  .hww-hero__text {
    font-size: 14px;
  }
}

@media (max-width: 430px) {
    .hww-section .hero-title {
        font-size: 23px;
    }
}


/* =====================================
   02. STEPS
===================================== */

.section.hww-steps {
  background:
    radial-gradient(
      900px 420px at 20% 10%,
      rgba(246, 234, 218, 0.1),
      transparent 60%
    ),
    radial-gradient(
      900px 420px at 85% 30%,
      rgba(241, 210, 122, 0.1),
      transparent 55%
    ),
    linear-gradient(180deg, #0f0f10 0%, #0a0a0b 100%);

  color: rgba(255, 255, 255, 0.86);
}

.hww-steps-panel {
  padding: 52px 40px;

  background: linear-gradient(
    180deg,
    #211f1f 0%,
    #1d1b1b 18%,
    #191818 35%,
    #151414 100%
  );

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hww-steps-head {
  max-width: 1000px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-title.hww-steps-title {
  color: #f6eada;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.section-text.hww-steps-text {
  color: rgba(246, 234, 218, 0.7);
}

.hww-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.hww-step-card {
  position: relative;
  overflow: visible;

  padding: 24px 24px 16px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hww-step-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;

  border-radius: 30px;
  background:
    radial-gradient(
      420px 220px at 15% 15%,
      rgba(246, 234, 218, 0.14),
      transparent 60%
    ),
    radial-gradient(
      520px 260px at 85% 35%,
      rgba(241, 210, 122, 0.1),
      transparent 62%
    );
  opacity: 0.85;
}

.hww-step-card__num {
  position: absolute;
  top: 14px;
  right: 18px;

  color: #f6eada;
  font-family: "Merriweather", serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1;

  opacity: 0.95;
}

.hww-step-card__top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hww-step-card__badge {
  flex-shrink: 0;
}

.hww-step-card__line {
  flex: 1;
  height: 1px;
  min-width: 40px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(241, 210, 122, 0.8),
    transparent
  );

  opacity: 0.85;
}

.hww-step-card__num {
  position: static;
  flex-shrink: 0;

  font-family: "Merriweather", serif;
  font-size: 56px;
  line-height: 1;
  color: rgba(246, 234, 218, 0.92);
}

.hww-step-card__badge {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 6px 10px;

  color: rgba(246, 234, 218, 0.88);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.hww-step-card__title {
  position: relative;
  z-index: 2;

  margin: 16px 0 12px;

  color: rgba(246, 234, 218, 0.95);
  font-size: 22px;
  line-height: 1.05;
}

.hww-step-card__list {
  position: relative;
  z-index: 2;

  margin: 0;
  padding-left: 18px;

  color: rgba(246, 234, 218, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.hww-step-card__list li {
  margin: 8px 0;
}

.hww-step-card__list li::marker {
  color: rgba(241, 210, 122, 0.6);
}

.hww-step-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(241, 210, 122, 0.22);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mobile-break {
  display: none;
}


/* STEPS RESPONSIVE */

@media (max-width: 1100px) {
  .hww-steps-panel {
    padding: 46px;
  }

  .hww-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 700px;
    margin-inline: auto;
    gap: 18px;
  }

  .hww-step-card {
    min-height: 350px;
    padding: 24px 54px 40px;
  }

  .hww-steps-head {
    margin-bottom: 18px;
  }

  .hww-step-card__title {
    margin: 16px auto 12px;
    text-align: center;
    max-width: 14ch;
}
}
@media (max-width: 900px) {
  .hww-steps-panel {
    padding: 26px;
  }

  .hww-steps-grid {
    max-width: 700px;
    margin-inline: auto;
    gap: 18px 8px;
  }

  .hww-step-card {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .hww-step-card__list {
    font-size: 15px;
    padding: 10px 10px 10px 14px;
  }
}

@media (max-width: 850px) {
  .hww-step-card {
    padding: 24px 34px 30px;
  }
  .hww-steps-grid {
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .hww-step-card {
    padding: 24px 30px 30px;
  }

  .hww-step-card__title {
    margin: 12px auto 0;
  }

  .hww-step-card__list li {
    font-size: 14px;
}
}

/* INTRO. RESPONSIVE 600px */
@media (max-width: 650px) {
  .hww-steps-panel {
    padding: 40px 18px;
    border-radius: 26px;
  }

  .hww-steps .section-text {
    max-width: 36ch;
  }

  .hww-steps-head {
    margin-bottom: 14px;
  }

  .hww-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hww-step-card {
      max-width: 330px;
      margin-inline: auto;
      padding: 32px 30px;
      border-radius: 28px;
  }

  .hww-step-card__badge {
    font-size: 11px;
    padding: 7px 12px;
  }

  .hww-step-card__num {
    font-size: 46px;
    top: 18px;
    right: 18px;
  }

  .hww-step-card__title {
    font-size: 22px;
    line-height: 1.12;
    margin-bottom: 16px;
    text-align: center;
    text-wrap: pretty;
  }

  .hww-step-card__list {
    gap: 12px;
    font-size: 14px;
    line-height: 1.65;
    padding: 0 24px 10px 34px;
  }
}

/* INTRO. RESPONSIVE 400px */
@media (max-width: 400px) {
  .hww-steps-panel {
    padding: 34px;
  }

  .section-title.hww-steps-title {
    font-size: 24px;
  }

  .section-text.hww-intro-text {
    font-size: 13px;
  }

  .hww-step-card {
    padding: 18px 18px 16px;
    border-radius: 24px;
  }

  .hww-step-card__num {
    font-size: 38px;
  }

  .hww-step-card__list {
    font-size: 14px;
    line-height: 1.6;
  }

  @media (max-width: 400px) {
  .mobile-break {
    display: block;
  }
}
}


/* =====================================
   03. LM SERVICES
===================================== */

.lm-services-subtitle {
  max-width: 680px;
}

/* CARD */

.lm-services-card {
  overflow: hidden;
  border-radius: 34px;
  background: #fbf8f3;
  border: 1px solid rgba(42, 34, 25, 0.08);
  box-shadow:
    0 20px 34px rgba(42, 34, 25, 0.12),
    0 4px 10px rgba(42, 34, 25, 0.06);
}

/* GRID */

.lm-services-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  overflow: hidden;
  border-radius: inherit;
  background: #fbf8f3;
}

.lm-col {
  min-width: 0;
}

/* COLUMNS */

.lm-col--left {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.48)
  );
}

.lm-col--mid {
  position: relative;
  z-index: 2;

  background: linear-gradient(
    180deg,
    #f4ead8 0%,
    #eee1ca 52%,
    #e7d7bc 100%
  );

  border-left: 1px solid rgba(120, 92, 52, 0.18);
  border-right: 1px solid rgba(120, 92, 52, 0.18);
}

.lm-col--right {
  background: rgba(245, 243, 238, 0.72);
}

/* HEADERS */

.lm-head {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 26px 24px;

  font-family: "Merriweather", serif;
  font-size: 26px;
  line-height: 1.15;
  color: #241b14;
  text-align: center;

  border-bottom: 1px solid rgba(25, 24, 24, 0.1);
}

.lm-head--milk,
.lm-head--light {
  background: linear-gradient(
    180deg,
    #f7eddf 0%,
    #ebe1d1 45%,
    #d6c9b4 100%
  );

    box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 18px 30px rgba(255,255,255,.22),
    inset 0 -10px 18px rgba(120,92,52,.10);
}

.lm-col--mid .lm-head,
.lm-head--dark {
  color: #171513;
  background: linear-gradient(
    180deg,
    #e9dcc8 0%,
    #d9c7a8 52%,
    #cbb694 100%
  );
  border-bottom: 1px solid rgba(80, 60, 35, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 18px 30px rgba(255,255,255,.25),
    inset 0 -10px 18px rgba(80,80,80,.08);
}

.lm-col--right .lm-head {
  color: #211d19;
  background: linear-gradient(
    180deg,
    #efefee 0%,
    #d7d7d7 45%,
    #d3d2d2 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 18px 30px rgba(255,255,255,.25),
    inset 0 -10px 18px rgba(80,80,80,.08);
}

/* LISTS */

.lm-list,
.lm-center {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ROWS */

.lm-row,
.lm-cell {
  min-height: 72px;
  display: flex;
  align-items: center;

  border-bottom: 1px solid rgba(25, 24, 24, 0.08);
}

.lm-row:last-child,
.lm-cell:last-child {
  border-bottom: 0;
}

.lm-row {
  gap: 20px;
  padding: 0 26px;
}

.lm-cell {
  justify-content: center;
  padding: 0 18px;
}

/* ICONS */

.lm-ico {
  flex: 0 0 38px;

  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #7a5930;

  background: rgba(216, 183, 122, 0.16);
  border: 1px solid rgba(151, 112, 62, 0.18);
  border-radius: 50%;
}

.lm-ico svg {
  display: block;
  width: 19px;
  height: 19px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* TEXT */

.lm-text {
  color: rgba(25, 24, 24, 0.78);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* MARKS */

.lm-mark {
  width: 34px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 21px;
  line-height: 1;
  font-weight: 500;
  user-select: none;

  border-radius: 50%;
}

.lm-mark--gold {
  color: #9b732f;
  background: rgba(246, 239, 227, 0.62);
  border: 2px solid rgba(190, 137, 63, 0.78);
}

.lm-mark--gray {
  color: #7e7d79;
  background: rgba(255, 255, 255, 0.42);
  border: 2px solid rgba(145, 143, 137, 0.65);
}

.lm-mark--x {
  color: #8d8982;
  background: rgba(232, 229, 223, 0.5);
  border: 1.5px solid rgba(145, 143, 137, 0.5);
}

/* CENTER COLUMN TEXT */

.lm-center-text {
  color: #8a602b;
  font-weight: 600;
}

.lm-center-elite {
  max-width: 120px;

  color: #8a602b;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

/* =====================================
   LM SERVICES RESPONSIVE
===================================== */

@media (max-width: 1100px) {
  .lm-services-grid {
    grid-template-columns: 1.35fr 0.82fr 0.82fr;
  }

  .lm-head {
    min-height: 76px;
    padding: 22px 14px;
    font-size: 22px;
  }

  .lm-row,
  .lm-cell {
    min-height: 64px;
  }

  .lm-row {
    gap: 14px;
    padding: 0 18px;
  }

  .lm-cell {
    padding: 0 10px;
  }

  .lm-text {
    font-size: 15px;
  }

  .lm-ico {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .lm-mark {
    width: 31px;
    height: 31px;
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .lm-services-card {
    border-radius: 28px;
  }

  .lm-services-grid {
    grid-template-columns: 1.55fr 0.72fr 0.72fr;
  }

  .lm-head {
    min-height: 68px;
    padding: 18px 8px;
    font-size: 18px;
  }

  .lm-row,
  .lm-cell {
    min-height: 58px;
  }

  .lm-row {
    gap: 10px;
    padding: 0 12px;
  }

  .lm-cell {
    padding: 0 6px;
  }

  .lm-text {
    font-size: 14px;
    line-height: 1.25;
  }

  .lm-ico {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .lm-ico svg {
    width: 16px;
    height: 16px;
  }

  .lm-mark {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .lm-center-text {
    font-size: 13px;
    text-align: center;
  }

  .lm-center-elite {
    max-width: 86px;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 600px) {
  .lm-services-subtitle {
    margin-bottom: 14px;
    padding: 0 6px;
    font-size: 13px;
  }

  .lm-services-card {
    border-radius: 22px;
  }

  .lm-services-grid {
    grid-template-columns: 1.7fr 0.65fr 0.65fr;
  }

  .lm-head {
    min-height: 58px;
    padding: 12px 4px;
    font-size: 13px;
  }

  .lm-row,
  .lm-cell {
    min-height: 52px;
  }

  .lm-row {
    gap: 7px;
    padding: 0 7px;
  }

  .lm-cell {
    padding: 0 3px;
  }

  .lm-text {
    font-size: 11.5px;
    line-height: 1.22;
    letter-spacing: 0;
  }

  .lm-ico {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  .lm-ico svg {
    width: 13px;
    height: 13px;
  }

  .lm-mark {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }

  .lm-mark--x {
    font-size: 14px;
  }

  .lm-center-text {
    font-size: 10.5px;
    line-height: 1.2;
  }

  .lm-center-elite {
    max-width: 58px;
    font-size: 7px;
    line-height: 1.15;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 420px) {
  .lm-services-grid {
    grid-template-columns: 1.82fr 0.59fr 0.59fr;
  }

  .lm-head {
    min-height: 52px;
    padding: 10px 2px;
    font-size: 11px;
  }

  .lm-row,
  .lm-cell {
    min-height: 48px;
  }

  .lm-row {
    gap: 5px;
    padding: 0 5px;
  }

  .lm-text {
    font-size: 10.5px;
    line-height: 1.18;
  }

  .lm-ico {
    flex-basis: 21px;
    width: 21px;
    height: 21px;
  }

  .lm-ico svg {
    width: 11px;
    height: 11px;
  }

  .lm-mark {
    width: 19px;
    height: 19px;
    font-size: 11px;
    border-width: 1.5px;
  }

  .lm-center-text {
    font-size: 9.5px;
  }

  .lm-center-elite {
    max-width: 48px;
    font-size: 6.5px;
    letter-spacing: 0.03em;
  }
}

