:root {
  --bg: #F5F2EC;
  --panel: #fffaf2;
  --text: #5F574C;
  --muted: #756455;
  --accent: #c97738;
  --accent-dark: #8f502c;
  --line: rgba(73,53,40,.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}
.mobile-menu-btn {
  display: none;
}

/* 1. HERO */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
}
.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 58%;

    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(245,242,236,0.38);

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content {
    width: 88%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 30%;
    column-gap: 16%;
    align-items: start;
}
.hero-left {
    width: 100%;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transform: translateX(6vw);
}
.hero-logo{
    display:grid;
    place-items:center;
    line-height:1;
}

.hero-vita{
    grid-area: 1 / 1;

    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;

    font-size: clamp(6rem, 10vw, 10.7rem);

    letter-spacing: -0.02em;
    color: #9C9184;

    text-transform: uppercase;

    font-kerning: normal;
    text-rendering: optimizeLegibility;
}
.hero-placement{
    grid-area:1 / 1;

    transform:translateY(8%);

    white-space:nowrap;

    font-family:'Cormorant Garamond', Georgia, serif !important;
    font-weight:400;
    font-size:clamp(2.2rem,3.4vw,3.35rem);

    letter-spacing:.04em;
    color:#5F574C;

    z-index:2;
}
.hero h1,

.text-block h2 {

    margin: 0;

    max-width: 600px;

    font-family: Lato, Arial, sans-serif;

    font-weight: 700;

    font-size: 36px;

    line-height: 1.08;

    letter-spacing: 0;

    color: #5F574C;
  }
  
.hero-lead,
.text-block p {
    max-width: 520px;

    font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.25;
    color: #555046;
}
.hero-lead {
    max-width: 540px;
    margin: 2.4rem 0 3.6rem;
}
.text-block p {
    margin: 3.6rem 0 0;
    line-height: 1.25;
}
/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 215px;
    min-height: 50px;
    padding: 0.95rem 2.3rem;

    background: rgba(243, 236, 225, 0.6);
    border: none;
    border-radius: 0;

    color: #5F574C;
    text-decoration: none;

    font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    backdrop-filter: blur(2px);

    transition: all .25s ease;
}
.button:hover {
    background: rgba(243, 236, 225, 0.82);
    color: #5F574C;
}
.request-call-btn,
.form-submit-btn,
.thank-you-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 215px;
  min-height: 50px;
  padding: 0.95rem 2.3rem;

  background: rgba(243, 236, 225, 0.6);
  border: none;
  border-radius: 0;

  color: #5F574C;
  text-decoration: none;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  backdrop-filter: blur(2px);

  cursor: pointer;
  transition: all .25s ease;
}

.request-call-btn:hover,
.form-submit-btn:hover,
.thank-you-close:hover {
  background: rgba(243, 236, 225, 0.82);
  color: #5F574C;
}
.text-button {
    margin-top: 1.6rem;
    align-self: flex-end;
}

/* 2–7 MAIN GRID */
.two-column {
  display: grid;
  grid-template-columns: 52% 48%;
  height: clamp(430px, 38vw, 560px);
  min-height: 0;
  border-top: none;
}
.image-block {
  position: relative;
  height: 100%;
  min-height: 0;
  background: var(--panel);
  overflow: hidden;
}

.image-block img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: brightness(1.12) saturate(0.78) contrast(0.92);
}
.image-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(247,241,232,0.30);
    pointer-events: none;
}
.text-block {
    height: 100%;
    min-height: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 4rem 10%;

    background: var(--bg);
}

.text-block h2,
.text-block p {
    width: 100%;
    max-width: 520px;
}
.two-column:nth-of-type(2) .text-block {
    align-items: flex-end;
}

.two-column:nth-of-type(1) .text-block,
.two-column:nth-of-type(3) .text-block {
    align-items: flex-start;
}
.text-block .eyebrow {
  margin-bottom: 0.8rem;
}


/* 8. FOOTER */

.site-footer {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: 52% 48%;

    min-height: 520px;
    padding: 0;
}
.footer-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 65%;

    transform: scale(1.15);

    z-index: 0;
}

.footer-overlay {
    position: absolute;
    inset: 0;

    background: rgba(245,242,236,.25);

    z-index: 1;
}

.footer-content,
.copyright {
    position: relative;
    z-index: 2;
}
.site-footer .footer-content {
    grid-column: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding:
        10.5rem
        10%
        6rem
        10%;

    max-width: 560px;
}
.site-footer p:first-of-type {
    white-space: nowrap;
}
.copyright {
    grid-column: 1;

    display: flex;
    align-items: flex-end;

    padding: 4rem 10%;

    margin: 0;
}

.site-footer h2 {
    margin: 0;
    max-width: 520px;

    font-family: Lato, Arial, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: 0;

    color: #5F574C;
}

.site-footer p {
    max-width: 560px;
    margin: 1.2rem 0 0;

    font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.42;
    color: #555046;
}

.site-footer a {
    color: #555046;
    text-decoration: none;
}
.site-footer a:hover {
    color: #8f502c;
}
.site-footer address {
  align-self: center;
  font-style: normal;
  text-align: right;
}
.site-footer h2 + p {
    margin-top: 1.8rem;
}

.site-footer p:nth-of-type(2),
.site-footer p:nth-of-type(3),
.site-footer p:nth-of-type(4) {
    margin-top: 0.1rem;
    line-height: 1.25;
}
/* Middle section (Making a complex...) */

.two-column:nth-of-type(2) .text-block h2,
.two-column:nth-of-type(2) .text-block p,
.two-column:nth-of-type(2) .text-block .button {
    text-align: right;
    align-self: flex-end;
}
.hero-lead,
.text-block p,
.site-footer p {
    font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
}
.social-links {
    display: flex;
    gap: 18px;
    margin-top: 1.6rem;
  justify-content: flex-start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .75;
    transition: opacity .25s ease,
                transform .25s ease;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.social-links i {
    font-size: 24px;
    line-height: 1;
}
.hero-video-mobile {
  display: none;
}
/* MOBILE */

.mobile-only {
  display: none;
}

@media (max-width: 760px) {

  .mobile-only {
    display: block;
  }

  .two-column {
    display: none;
  }

.hero {

  height: 100vh;

  min-height: 100vh;

  position: relative;

  overflow: hidden;

  padding: 0;

}
  .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  z-index: 0;
}

.hero-video-desktop {
  display: none;
}

.hero-video-mobile {
  display: block;
}



.hero-overlay {

  position: absolute;

  inset: 0;

  background: rgba(245, 242, 236, 0.38);

  z-index: 1;

}

.hero-content {

  position: relative;

  z-index: 2;

  height: 100vh;

  min-height: 100vh;

  width: 100%;

  display: block;

}

.hero-right {

  position: absolute;

  top: 105px;

  left: 30%;

  right: 10%;

  margin: 0;

  padding: 0;

  transform: none;

}

.hero-logo {

  transform: scale(1.08);

  transform-origin: center;

  margin: 0;

  max-width: 100%;

}
  .hero-vita {
  letter-spacing: -0.01em;
}

.hero-placement {
  font-weight: 600;
  font-size: clamp(1.75rem, 7.2vw, 2.35rem);
  letter-spacing: -0.005em;
  transform: translateY(8%);
}
.hero-left {

  position: absolute;

  top: 355px;

  left: 5%;

  right: 5%;

  margin: 0;

  width: auto;

  display: block;

}

.hero h1 {
  max-width: 340px;
  margin: 0;
  text-align: left;
  font-size: 34px;
  line-height: 1.08;
}

.hero-left .hero-button {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0;
  min-height: 50px;

  margin-top: 60px !important;
  padding: 0.95rem 2.3rem;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(95, 87, 76, 0.08);

transition:
  box-shadow 0.25s ease,
  transform 0.25s ease;
}
  .hero-left .hero-button:hover,
.hero-left .hero-button:active {
  box-shadow: 0 7px 20px rgba(95, 87, 76, 0.12);
  transform: translateY(-1px);
}
.mobile-menu-btn {

  position: absolute;

  top: 48px;
  left: 5%;

  z-index: 6;

  width: 58px;
  height: 50px;

  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;

  border: none;

  background: rgba(255,250,242,.62);

  border-radius: 0;

   box-shadow: 0 2px 8px rgba(95,87,76,.06);
  transition:
    background .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}
 .mobile-menu-btn:hover,
.mobile-menu-btn:active {

  background: rgba(255,250,242,.74);

  box-shadow:
    0 7px 20px rgba(95,87,76,.12);

  transform: translateY(-1px);
}
  .mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: #5F574C;
    border-radius: 2px;
  }

 .mobile-how-section {

  background: #F5F2EC;

  padding: 44px 24px 54px;

  margin-top: 0;

  position: relative;

  z-index: 1;
}
  .mobile-how-it-works {
    max-width: 680px;
    margin: 0 auto;
  }

  .mobile-how-it-works summary {
    width: fit-content;
    list-style: none;
    cursor: pointer;

    padding: 12px 22px;
    border: 1px solid rgba(95, 87, 76, 0.22);
    border-radius: 999px;

    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;

    color: #5F574C;
    background: rgba(255,250,242,.72);
  }

  .mobile-how-it-works summary::-webkit-details-marker {
    display: none;
  }

  .mobile-how-content {
    margin-top: 42px;
  }

  .mobile-faq-item + .mobile-faq-item {
    margin-top: 42px;
  }

  .mobile-faq-item h2 {
    margin: 0 0 18px;

    font-family: Lato, Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.08;

    color: #5F574C;
  }

  .mobile-faq-item p {
    margin: 0;

    font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.45;

    color: #5F574C;
  }

  .mobile-intro {
    padding: 58px 24px 64px;
    background: #F5F2EC;
    text-align: center;
  }

.mobile-intro p {
  max-width: 340px;
  margin: 0 auto 34px;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.01em;

  color: #5F574C;
}

  .mobile-image-section {
    min-height: 430px;
    padding: 42px 24px;

    display: flex;
    align-items: flex-start;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
  }

  .mobile-image-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(245, 242, 236, 0.28);
  }

  .mobile-image-section h2 {
    position: relative;
    z-index: 1;

    max-width: 330px;
    margin: 0;

    font-family: Lato, Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.08;
    color: #5F574C;
  }

  .mobile-text-section {
    padding: 54px 24px 60px;
    background: #F5F2EC;
  }

 .mobile-text-section p {
  display: block;
  max-width: 340px;
  height: auto;
  max-height: none;

  margin: 0 0 32px;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
  color: #555046;

  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;

  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

  .mobile-text-section .button {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0;

  margin: 36px 0 0 !important;
  padding: 0.95rem 2.3rem;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  white-space: nowrap;

  background: rgba(243,236,225,.85);
  border: none;
  border-radius: 0;
}.hero-left .hero-button,
.mobile-hero-text .explore-care-btn,
.mobile-text-section .button {
  transition: background .25s ease;
}

.hero-left .hero-button:hover,
.hero-left .hero-button:active,
.mobile-hero-text .explore-care-btn:hover,
.mobile-hero-text .explore-care-btn:active,
.mobile-text-section .button:hover,
.mobile-text-section .button:active {
  background: rgba(236,229,220,.95);
}

  .site-footer {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    display: block;
  }

  .footer-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(245, 242, 236, 0.42);
    z-index: 1;
  }

  .footer-content {

    width: auto;

    margin-left: 0;
    margin-right: 0;

padding: 34svh 24px 0;

    text-align: left;

}

  .site-footer h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .site-footer p {
    font-size: 19px;
  }

.copyright {
  position: absolute;
  z-index: 2;

  bottom: 18px;
  left: 24px;
  right: 24px;

  width: calc(100% - 48px);
  max-width: calc(100% - 48px);

  margin: 0;
  padding: 0;

  font-family: "Avenir Light", Avenir,
    "Helvetica Neue", Helvetica, Arial, sans-serif;

  font-size: 6px;
  font-weight: 300;
  line-height: 1.25;

  text-align: left;
  white-space: normal !important;
  overflow-wrap: anywhere;

  color: rgba(95, 87, 76, 0.72);
}
    .mobile-how-panel {
    height: 0;
    overflow: hidden;
    background: #F5F2EC;
    transition: height 0.65s ease;
  }

  .mobile-how-panel.is-open {
    height: auto;
  }

  .mobile-how-inner {
    padding: 46px 24px 52px;
  }

  .mobile-how-inner h2 {
    margin: 0 0 18px;

    font-family: Lato, Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.12;

    color: #5F574C;
  }

  .mobile-how-inner p {
    margin: 0 0 38px;

    font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.45;

    color: #555046;
  }

  .mobile-how-close {
    display: block;
    width: 180px;
    min-height: 48px;
    margin: 8px auto 0;

    border: 1px solid rgba(95,87,76,.18);
    border-radius: 999px;
    background: rgba(255,250,242,.72);

    font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: #5F574C;
  }

  .mobile-hero-text {
    padding: 56px 24px 58px;
    background: #F5F2EC;
  }

  .mobile-hero-text p {
  max-width: 340px;
  margin: 0;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0;

  color: #555046;
}
  .mobile-hero-text .request-call-btn {
    display: flex;
    width: 230px;
    margin: 0 auto;
  }
.mobile-hero-text .explore-care-btn {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0;
  min-height: 50px;

  margin: 36px 0 0 !important;
  padding: 0.95rem 2.3rem;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  white-space: nowrap;

  color: #5F574C;
background: rgba(243,236,225,.85);
  border: none;
  border-radius: 0;
}

.mobile-care-panel {
  height: 0;
  overflow: hidden;

  background: #F5F2EC;

  transition: height 0.65s ease;
}

.mobile-care-inner {
  padding: 18px 24px 54px;
}

.mobile-care-inner h2 {
  margin: 0 0 18px;

  font-family: Lato, Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;

  color: #5F574C;
}

.mobile-care-inner p {
  margin: 0 0 42px;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;

  color: #555046;
}

.mobile-care-close {
  display: block;
  width: 180px;
  min-height: 48px;

  margin: 4px auto 0;

  border: 1px solid rgba(95,87,76,.18);
  border-radius: 999px;

  background: rgba(255,250,242,.72);

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;

  color: #5F574C;
}.mobile-complex-panel {
  height: 0;
  overflow: hidden;

  background: #F5F2EC;

  transition: height 0.65s ease;
}

.mobile-complex-inner {
  padding: 18px 24px 54px;
}

.mobile-complex-inner h2 {
  margin: 0 0 18px;

  font-family: Lato, Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;

  color: #5F574C;
}

.mobile-complex-inner p {
  margin: 0 0 42px;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;

  color: #555046;
}

.mobile-complex-close {
  display: block;

  width: 180px;
  min-height: 48px;

  margin: 4px auto 0;

  border: 1px solid rgba(95, 87, 76, 0.18);
  border-radius: 999px;

  background: rgba(255, 250, 242, 0.72);

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;

  color: #5F574C;
}.mobile-local-panel {
  height: 0;
  overflow: hidden;

  background: #F5F2EC;

  transition: height 0.65s ease;
}

.mobile-local-inner {
  padding: 18px 24px 54px;
}

.mobile-local-inner h2 {
  margin: 0 0 18px;

  font-family: Lato, Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;

  color: #5F574C;
}

.mobile-local-inner p {
  margin: 0 0 42px;

  font-family: "Avenir Light", Avenir, "Helvetica Neue",
    Helvetica, Arial, sans-serif;

  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;

  color: #555046;
}

.mobile-local-close {
  display: block;

  width: 180px;
  min-height: 48px;

  margin: 4px auto 0;

  border: 1px solid rgba(95, 87, 76, 0.18);
  border-radius: 999px;

  background: rgba(255, 250, 242, 0.72);

  font-family: "Avenir Light", Avenir, "Helvetica Neue",
    Helvetica, Arial, sans-serif;

  font-size: 17px;
  font-weight: 300;

  color: #5F574C;
}.mobile-menu-overlay {
  position: fixed;
  inset: 0;

  z-index: 20;

  background: rgba(52, 47, 42, 0.22);
  backdrop-filter: blur(2px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-side-menu {
  position: fixed;

  top: 0;
  right: 0;
  bottom: 0;

  z-index: 21;

  width: min(82vw, 360px);

  padding: 110px 34px 50px;

  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(18px);

  box-shadow: -10px 0 35px rgba(60, 48, 38, 0.12);

  transform: translateX(100%);

  transition: transform 0.45s ease;
}

.mobile-side-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;

  top: 42px;
  right: 28px;

  width: 44px;
  height: 44px;

  padding: 0;

  border: none;
  background: transparent;

  font-family: Lato, Arial, sans-serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;

  color: #5F574C;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.mobile-menu-links button {
  width: 100%;

  padding: 16px 4px;

  border: none;
  border-bottom: 1px solid rgba(95, 87, 76, 0.14);

  background: transparent;

  text-align: left;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  color: #5F574C;
}

.mobile-menu-links button:active {
  opacity: 0.55;
}

.mobile-menu-links .mobile-menu-request {
  margin-top: 24px;

  padding: 16px 20px;

  border: none;

  background: rgba(243, 236, 225, 0.85);

  text-align: center;
}

body.menu-open {
  overflow: hidden;
}
  }
/* Popup request form */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: rgba(247, 241, 232, 0.66);
  backdrop-filter: blur(4px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 280ms ease,
    visibility 280ms ease;
}

.popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-window {
  position: relative;
  width: min(600px, 92vw);

  background: #fffaf2;
  box-shadow: 0 28px 80px rgba(73, 53, 40, 0.22);

  padding: 46px 44px 40px;
  color: #5F574C;

  opacity: 0;
  transform: scale(0.95) translateY(10px);

  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

.popup-overlay.is-open .popup-window {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;

  border: none;
  background: transparent;

  font-size: 30px;
  line-height: 1;
  color: #8f502c;

  cursor: pointer;
  opacity: 0.75;

  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.popup-close:hover {
  opacity: 1;
  transform: rotate(8deg);
}

.popup-window h2 {
    margin: 0 0 14px;

    font-family: "Lato", sans-serif;
    font-size: 36px;
    font-weight: 700;

    color: #5F574C;
    line-height: 1.1;
    letter-spacing: 0;
}
.popup-window p {
  margin: 0 0 26px;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.35;

  color: #756455;
}

.request-form {
  display: grid;
  gap: 15px;
}

.request-form input,
.request-form textarea {
  width: 100%;

  border: none;
  border-bottom: 1px solid rgba(73, 53, 40, 0.26);
  border-radius: 0;

  background: transparent;

  padding: 13px 2px;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;

  color: #5F574C;
  outline: none;
}

.request-form input:focus,
.request-form textarea:focus {
  border-bottom-color: #8f502c;
}

.request-form textarea {
  min-height: 90px;
  resize: vertical;
}

@media (max-width: 640px) {
  .popup-window {
    width: min(92vw, 520px);
    padding: 42px 26px 34px;
  }

.popup-window h2 {
    margin: 0 0 14px;

    font-family: "Lato", sans-serif;
    font-size: 36px;
    font-weight: 700;

    color: #5F574C;
    line-height: 1.1;
    letter-spacing: 0;
}
  .popup-window p {
    font-size: 17px;
  }
 }

/* International phone input */

.iti {
  width: 100%;
}

.iti input {
  width: 100% !important;
  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #5F574C;
}

.iti__selected-country,
.iti__selected-dial-code,
.iti__selected-flag {
  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #5F574C;
}

.iti--separate-dial-code .iti__selected-flag {
  background: transparent;
  border-right: 1px solid rgba(73, 53, 40, 0.15);
}

.iti__selected-flag:hover {
  background: rgba(247, 241, 232, 0.45);
}

.iti__country-list {
  border: none;
  box-shadow: 0 18px 40px rgba(73, 53, 40, 0.18);
  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #5F574C;
}

.iti input::placeholder {
  color: #B3AAA1;
  opacity: 1;
}
/* Final popup color polish */

.popup-close {
  color: #9C9184;
}

.popup-close:hover {
  color: #5F574C;
}
.request-form input,
.request-form textarea {
  border-bottom-color: rgba(156, 145, 132, 0.55);
}

.request-form input:focus,
.request-form textarea:focus {
  border-bottom-color: #5F574C;
}

.form-submit-btn {
  width: 100%;
  margin-top: 14px;
}

.thank-you-close {
  margin-top: 14px;
}
/* =====================================================
   HOW WE WORK
===================================================== */

.how-we-work {
  display: none;
  position: relative;
  padding: 48px 5.5% 58px;
  background: #F1ECE5;
  margin: 0;
}

.how-we-work.is-open {
  display: block;
}

.how-close {
  position: absolute;
  top: 28px;
  right: 5.5%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: #9C9184;
}

.how-intro {
  max-width: 620px;
  margin-bottom: 42px;
}

.how-intro h2 {
  margin: 0 0 18px;
  font-family: Lato, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.08;
  color: #5F574C;
}

.how-intro p {
  max-width: 620px;
  margin: 0;
  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.28;
  color: #555046;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  align-items: start;
}

.how-steps article {
  position: relative;
  min-width: 0;
}

.how-steps span {
  position: absolute;
  top: -12px;
  right: 0;
  font-family: Lato, Arial, sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: rgba(156,145,132,.14);
  z-index: 0;
}

.how-steps h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  padding-right: 68px;

  font-family: Lato, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.12;
  white-space: nowrap;

  color: #5F574C;
}

.how-steps p {
  position: relative;
  z-index: 1;
  margin: 0;

  font-family: "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.25;

  color: #555046;
}

.learn-more-btn {
  background: #F1ECE5;
  border: 1px solid rgba(95, 87, 76, 0.10);
}

.learn-more-btn:hover {
  background: #ECE5DC;
  border-color: rgba(95, 87, 76, 0.18);
}/* =====================================================
   MOBILE ACCORDION ACTIONS
===================================================== */

@media (max-width: 760px) {

  .mobile-panel-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin-top: 38px;
    gap: 14px;
  }

  /*
    По умолчанию Back to Main Menu полностью скрыта.
    Она не занимает высоту и не оставляет пустого места.
  */

  .mobile-panel-actions .mobile-back-to-menu {
    display: none !important;

    width: auto;
    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 6px 12px;

    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    font-family: "Avenir Light", Avenir,
      "Helvetica Neue", Helvetica, Arial, sans-serif;

    font-size: 15px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: none;

    color: #5F574C;
    opacity: 0.72;

    cursor: pointer;
  }

  /*
    Появляется только тогда, когда JavaScript
    добавляет панели класс opened-from-menu.
  */

  .opened-from-menu
  .mobile-panel-actions
  .mobile-back-to-menu {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .mobile-panel-actions .mobile-back-to-menu:active {
    opacity: 0.45;
  }

  /*
    Сохраняем одинаковый вид всех кнопок Close
    и убираем старые внешние отступы.
  */

  .mobile-panel-actions .mobile-how-close,
  .mobile-panel-actions .mobile-care-close,
  .mobile-panel-actions .mobile-complex-close,
  .mobile-panel-actions .mobile-local-close {
    display: block;

    width: 180px;
    min-height: 48px;

    margin: 0;
    padding: 0 20px;

    border: 1px solid rgba(95, 87, 76, 0.18);
    border-radius: 999px;

    background: rgba(255, 250, 242, 0.72);

    font-family: "Avenir Light", Avenir,
      "Helvetica Neue", Helvetica, Arial, sans-serif;

    font-size: 17px;
    font-weight: 300;

    color: #5F574C;
  }
}
/* =====================================================
   FINAL CTA POLISH
   ===================================================== */

@media (max-width: 760px) {

  /* ---------- HOW IT WORKS ---------- */

  .hero-left .hero-button {
    box-shadow: 0 3px 12px rgba(95, 87, 76, 0.08);

    transition:
      box-shadow .25s ease,
      transform .25s ease;
  }

  .hero-left .hero-button:hover,
  .hero-left .hero-button:active {
    box-shadow: 0 7px 20px rgba(95, 87, 76, 0.12);
    transform: translateY(-1px);
  }


  /* ---------- ALL OTHER CTA ---------- */

  .mobile-hero-text .explore-care-btn,
  .mobile-text-section .button,
  .form-submit-btn {

    background:#E6E0D4 !important;

    box-shadow:
      0 2px 10px rgba(95,87,76,.05);

    transition:
      background .25s ease,
      box-shadow .25s ease,
      transform .25s ease;
  }


  .mobile-hero-text .explore-care-btn:hover,
  .mobile-hero-text .explore-care-btn:active,

  .mobile-text-section .button:hover,
  .mobile-text-section .button:active,

  .form-submit-btn:hover,
  .form-submit-btn:active {

    background: #E7E2D8 !important;

    box-shadow:
      0 6px 18px rgba(95,87,76,.08);

    transform: translateY(-1px);
  }

}
/* =====================================================
   ACTIVE MOBILE MENU ITEM
===================================================== */

@media (max-width: 760px) {

  .mobile-menu-links button[data-target] {
    position: relative;

    transition:
      background 0.25s ease,
      color 0.25s ease,
      padding-left 0.25s ease;
  }

  /*
    Подсвечивается только выбранный раздел.
  */

  .mobile-menu-links button[data-target].is-active {
    padding-left: 30px;

    background: rgba(230, 224, 212, 0.48);

    color: #5F574C;
  }

  /*
    Стрелка существует только у активного пункта.
  */

  .mobile-menu-links button[data-target].is-active::before {
    content: "▸";

    position: absolute;
    left: 7px;
    top: 50%;

    transform: translateY(-52%);

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;

    color: #756455;
  }


  /* REQUEST A CALL В ОБЩЕМ СТИЛЕ CTA */

  .mobile-menu-links .mobile-menu-request {
    margin-top: 28px;

    padding: 16px 20px;

    border: none;

    background: #E6E0D4;

    box-shadow:
      0 2px 10px rgba(95, 87, 76, 0.05);

    text-align: center;

    transition:
      background 0.25s ease,
      box-shadow 0.25s ease,
      transform 0.25s ease;
  }

  .mobile-menu-links .mobile-menu-request:hover,
  .mobile-menu-links .mobile-menu-request:active {
    background: #DDD5C7;

    box-shadow:
      0 6px 18px rgba(95, 87, 76, 0.08);

    transform: translateY(-1px);
  }
}
/* =====================================================
   CLOSE AS TEXT LINK
===================================================== */

@media (max-width: 760px) {

  .mobile-panel-actions .mobile-how-close,
  .mobile-panel-actions .mobile-care-close,
  .mobile-panel-actions .mobile-complex-close,
  .mobile-panel-actions .mobile-local-close {

    display: inline-flex;

    width: auto;
    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 6px 10px;

    border: none;
    border-radius: 0;

    background: transparent;
    box-shadow: none;

    font-family: "Avenir Light", Avenir,
      "Helvetica Neue", Helvetica, Arial, sans-serif;

    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.04em;

    color: #756455;

    opacity: 0.78;

    cursor: pointer;

    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .mobile-panel-actions .mobile-how-close:hover,
  .mobile-panel-actions .mobile-care-close:hover,
  .mobile-panel-actions .mobile-complex-close:hover,
  .mobile-panel-actions .mobile-local-close:hover,

  .mobile-panel-actions .mobile-how-close:active,
  .mobile-panel-actions .mobile-care-close:active,
  .mobile-panel-actions .mobile-complex-close:active,
  .mobile-panel-actions .mobile-local-close:active {

    background: transparent;
    box-shadow: none;

    opacity: 1;
    transform: translateY(-1px);
  }
}
/* =====================================================
   OPEN PANELS
===================================================== */

.mobile-how-panel,
.mobile-care-panel,
.mobile-complex-panel,
.mobile-local-panel {
    background: #ECE7DC;
}
/* =====================================================
   MOBILE FOOTER — LEFT ALIGN + MIRRORED VIDEO
===================================================== */

@media (max-width: 760px) {

  .footer-content {
    width: auto;

    margin-left: 0;
    margin-right: 0;

    padding-left: 24px;
    padding-right: 24px;

    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-video {
    transform: scaleX(-1);
  }

  .copyright {
    left: 24px;
    right: 24px;

    text-align: left;

    font-size: 11px;
    line-height: 1.25;

    white-space: normal;
  }
}/* MOVE MOBILE FOOTER CONTENT LOWER */

@media (max-width: 760px) {
  .site-footer .footer-content {
    transform: translateY(30px);
  }
}
/* =========================================================
   SMOOTH TEXT APPEARANCE
========================================================= */

.fade-in-text {
  opacity: 1;
  transform: none;
}

.js .fade-in-text {
  opacity: 0;
  transform: translateY(12px);

  transition:
    opacity 1.45s ease,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1);

  will-change: opacity, transform;
}

.js .fade-in-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* MOBILE */

@media (max-width: 760px) {

  .js .fade-in-text {
    transform: translateY(10px);

    transition:
      opacity 1.3s ease,
      transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .js .fade-in-text.is-visible {
    transform: translateY(0);
  }
}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  .js .fade-in-text {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* =========================================================
   DESKTOP HERO FIX
   Does not affect mobile
========================================================= */

@media (min-width: 761px) {

  .hero {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
  }

  /* Mobile navigation must never appear on desktop */

  .mobile-menu-btn,
  .mobile-menu-overlay,
  .mobile-side-menu,
  .mobile-how-panel,
  .mobile-care-panel,
  .mobile-complex-panel,
  .mobile-local-panel {
    display: none !important;
  }

}/* =========================================================
   DESKTOP HERO DESCRIPTION
   Mobile version remains unchanged
========================================================= */

@media (min-width: 761px) {

  .hero-description {
    display: block;

    max-width: 470px;
    margin: 22px 0 0;

    font-family: "Avenir Light", "Avenir Next", sans-serif;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.55;

    color: #5F574C;
  }

  .hero-left .hero-button {
    margin-top: 34px;
  }

}


/* Keep the current mobile hero unchanged */

@media (max-width: 760px) {

  .hero-description {
    display: none !important;
  }

}/* =========================================================
   DESKTOP HERO TEXT
   Does not affect mobile
========================================================= */

@media (min-width: 761px) {

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-description {
    display: block;

    width: 100%;
    max-width: 480px;

    margin: 22px 0 0;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 19px;
    font-weight: 300;
    line-height: 1.45;

    color: #5F574C;
  }

  .hero-left .hero-button {
    margin-top: 34px;
  }

}


/* New paragraph remains hidden on mobile */

@media (max-width: 760px) {

  .hero-description {
    display: none !important;
  }

}/* =========================================================
   DESKTOP HOW IT WORKS PANEL
   Completely separate from mobile
========================================================= */

.desktop-how-panel {
  display: none;
}


@media (min-width: 761px) {

  /* Show desktop button, hide existing mobile button */

  .hero-left .desktop-how-button {
    display: inline-flex !important;
  }

  .hero-left .mobile-how-button {
    display: none !important;
  }


  /* Collapsible desktop panel */

  .desktop-how-panel {
    display: grid;

    grid-template-rows: 0fr;

    width: 100%;

    background: #F1ECE5;

    opacity: 0;
    visibility: hidden;

    scroll-margin-top: 0;

    transition:
      grid-template-rows 0.7s cubic-bezier(.22, 1, .36, 1),
      opacity 0.45s ease,
      visibility 0s linear 0.7s;
  }

  .desktop-how-panel.is-open {
    grid-template-rows: 1fr;

    opacity: 1;
    visibility: visible;

    transition:
      grid-template-rows 0.7s cubic-bezier(.22, 1, .36, 1),
      opacity 0.45s ease,
      visibility 0s linear 0s;
  }

  .desktop-how-shell {
    min-height: 0;
    overflow: hidden;
  }

  .desktop-how-inner {
    position: relative;

    width: 80%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 70px 0 76px;
  }


  /* Small section label */

  .desktop-how-label {
    margin: 0 0 38px;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 17px;
    font-weight: 300;
    line-height: 1;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #756455;
  }


  /* Two answers */

  .desktop-how-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 72px;
  }

  .desktop-how-item {
    min-width: 0;
  }

  .desktop-how-item + .desktop-how-item {
    padding-left: 72px;

  }

  .desktop-how-item h2 {
    max-width: 470px;
    margin: 0;

    font-family: Lato, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;

    color: #5F574C;
  }

  .desktop-how-item p {
    max-width: 500px;
    margin: 28px 0 0;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 19px;
    font-weight: 300;
    line-height: 1.5;

    color: #555046;
  }


  /* Close button */

  .desktop-how-close {
    position: absolute;

    top: 48px;
    right: 0;

    width: 44px;
    height: 44px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    color: #5F574C;

    cursor: pointer;

    opacity: 0.65;

    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .desktop-how-close:hover {
    opacity: 1;
    transform: rotate(4deg);
  }

}


/* =========================================================
   MOBILE PROTECTION
========================================================= */

@media (max-width: 760px) {

  .hero-left .desktop-how-button {
    display: none !important;
  }

  .desktop-how-panel {
    display: none !important;
  }

}
/* =========================================================
   DESKTOP CARE OPTIONS BUTTON AND PANEL
   Does not affect mobile
========================================================= */

.desktop-care-panel {
  display: none;
}


@media (min-width: 761px) {

  /* Button below the paragraph */

  .desktop-care-intro .desktop-care-button {
    align-self: flex-start;
    margin-top: 3.6rem;
  }


  /* Collapsible panel */

  .desktop-care-panel {
    display: grid;
    grid-template-rows: 0fr;

    width: 100%;

    background: #F1ECE5;

    opacity: 0;
    visibility: hidden;

    transition:
      grid-template-rows 0.7s cubic-bezier(.22, 1, .36, 1),
      opacity 0.45s ease,
      visibility 0s linear 0.7s;
  }

  .desktop-care-panel.is-open {
    grid-template-rows: 1fr;

    opacity: 1;
    visibility: visible;

    transition:
      grid-template-rows 0.7s cubic-bezier(.22, 1, .36, 1),
      opacity 0.45s ease,
      visibility 0s linear 0s;
  }

  .desktop-care-shell {
    min-height: 0;
    overflow: hidden;
  }

  .desktop-care-inner {
    position: relative;

    width: 80%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 70px 0 78px;
  }


  /* Section label */

  .desktop-care-label {
    margin: 0 0 38px;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 17px;
    font-weight: 300;
    line-height: 1;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #756455;
  }


  /* Four questions in a 2 × 2 grid */

  .desktop-care-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 72px;
    row-gap: 58px;
  }

  .desktop-care-item {
    min-width: 0;
  }

  .desktop-care-item h2 {
    max-width: 470px;
    margin: 0;

    font-family: Lato, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;

    color: #5F574C;
  }

  .desktop-care-item p {
    max-width: 500px;
    margin: 28px 0 0;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 19px;
    font-weight: 300;
    line-height: 1.5;

    color: #555046;
  }


  /* Close button */

  .desktop-care-close {
    position: absolute;

    top: 48px;
    right: 0;

    width: 44px;
    height: 44px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    color: #5F574C;

    cursor: pointer;
    opacity: 0.65;

    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .desktop-care-close:hover {
    opacity: 1;
    transform: rotate(4deg);
  }

}


/* Mobile protection */

@media (max-width: 760px) {

  .desktop-care-button,
  .desktop-care-panel {
    display: none !important;
  }

}/* =========================================================
   /* =========================================================
   DESKTOP SENIOR CARE GUIDANCE
   MATCHES DESKTOP CARE OPTIONS
========================================================= */

.desktop-complex-panel {
  display: none;
}


@media (min-width: 761px) {

  /* Button below the paragraph */

  .desktop-complex-intro .text-block {
    text-align: left;
  }

  .desktop-complex-intro .desktop-complex-button {
    align-self: flex-start;

    width: fit-content;

    margin-top: 3.6rem;
    margin-right: auto;
    margin-left: 0;
  }


  /* Collapsible panel */

  .desktop-complex-panel {
    display: grid;
    grid-template-rows: 0fr;

    width: 100%;

    background: #F1ECE5;

    opacity: 0;
    visibility: hidden;

    transition:
      grid-template-rows 0.7s cubic-bezier(.22, 1, .36, 1),
      opacity 0.45s ease,
      visibility 0s linear 0.7s;
  }


  .desktop-complex-panel.is-open {
    grid-template-rows: 1fr;

    opacity: 1;
    visibility: visible;

    transition:
      grid-template-rows 0.7s cubic-bezier(.22, 1, .36, 1),
      opacity 0.45s ease,
      visibility 0s linear 0s;
  }


  .desktop-complex-shell {
    min-height: 0;
    overflow: hidden;
  }


  .desktop-complex-inner {
    position: relative;

    width: 80%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 70px 0 78px;
  }


  /* Section label */

  .desktop-complex-label {
    margin: 0 0 38px;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 17px;
    font-weight: 300;
    line-height: 1;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #756455;
  }


  /* Questions grid */

  .desktop-complex-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 72px;
    row-gap: 58px;
  }


  .desktop-complex-item {
    min-width: 0;

    padding: 0;
    border: none;
  }


  /*
    The third question naturally appears
    in the first column of the second row.
  */

  .desktop-complex-item-wide {
    grid-column: auto;
    width: auto;
  }


  .desktop-complex-item h2 {
    max-width: 470px;
    margin: 0;

    font-family:
      Lato,
      Arial,
      sans-serif;

    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;

    text-align: left;

    color: #5F574C;
  }


  .desktop-complex-item p {
    max-width: 500px;
    margin: 28px 0 0;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 19px;
    font-weight: 300;
    line-height: 1.5;

    text-align: left;

    color: #555046;
  }


  /* Close button */

  .desktop-complex-close {
    position: absolute;

    top: 48px;
    right: 0;

    width: 44px;
    height: 44px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    color: #5F574C;

    cursor: pointer;
    opacity: 0.65;

    transform: none;

    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }


  .desktop-complex-close::before,
  .desktop-complex-close::after {
    content: none;
  }


  .desktop-complex-close:hover {
    opacity: 1;
    transform: rotate(4deg);
  }


  .desktop-complex-close:focus-visible {
    outline: 1px solid rgba(95, 87, 76, 0.55);
    outline-offset: 4px;
  }

}


/* Mobile protection */

@media (max-width: 760px) {

  .desktop-complex-button,
  .desktop-complex-panel {
    display: none !important;
  }

}/* =========================================================
   DESKTOP LOCAL GUIDANCE
   MATCHES OTHER DESKTOP ACCORDIONS
========================================================= */

.desktop-local-panel {
  display: none;
}


@media (min-width: 761px) {

  /* Button below the paragraph */

  .desktop-local-intro .desktop-local-button {
    align-self: flex-start;

    width: fit-content;

    margin-top: 3.6rem;
    margin-right: auto;
    margin-left: 0;
  }


  /* Collapsible panel */

  .desktop-local-panel {
    display: grid;
    grid-template-rows: 0fr;

    width: 100%;

    background: #F1ECE5;

    opacity: 0;
    visibility: hidden;

    transition:
      grid-template-rows 0.7s cubic-bezier(.22, 1, .36, 1),
      opacity 0.45s ease,
      visibility 0s linear 0.7s;
  }


  .desktop-local-panel.is-open {
    grid-template-rows: 1fr;

    opacity: 1;
    visibility: visible;

    transition:
      grid-template-rows 0.7s cubic-bezier(.22, 1, .36, 1),
      opacity 0.45s ease,
      visibility 0s linear 0s;
  }


  .desktop-local-shell {
    min-height: 0;
    overflow: hidden;
  }


  .desktop-local-inner {
    position: relative;

    width: 80%;
    max-width: 1120px;

    margin: 0 auto;
    padding: 70px 0 78px;
  }


  /* Section label */

  .desktop-local-label {
    margin: 0 0 38px;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 17px;
    font-weight: 300;
    line-height: 1;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #756455;
  }


  /* Questions grid */

  .desktop-local-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 72px;
    row-gap: 58px;
  }


  .desktop-local-item {
    min-width: 0;
  }


  .desktop-local-item h2 {
    max-width: 470px;
    margin: 0;

    font-family:
      Lato,
      Arial,
      sans-serif;

    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;

    text-align: left;

    color: #5F574C;
  }


  .desktop-local-item p {
    max-width: 500px;
    margin: 28px 0 0;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 19px;
    font-weight: 300;
    line-height: 1.5;

    text-align: left;

    color: #555046;
  }


  /* Close button */

  .desktop-local-close {
    position: absolute;

    top: 48px;
    right: 0;

    width: 44px;
    height: 44px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    color: #5F574C;

    cursor: pointer;
    opacity: 0.65;

    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }


  .desktop-local-close:hover {
    opacity: 1;
    transform: rotate(4deg);
  }


  .desktop-local-close:focus-visible {
    outline: 1px solid rgba(95, 87, 76, 0.55);
    outline-offset: 4px;
  }

}


/* Mobile protection */

@media (max-width: 760px) {

  .desktop-local-button,
  .desktop-local-panel {
    display: none !important;
  }

}/* =========================================================
   DESKTOP SIDE MENU
========================================================= */

/* По умолчанию desktop menu скрыто */
.desktop-menu-btn,
.desktop-menu-overlay,
.desktop-side-menu {
  display: none;
}


@media (min-width: 761px) {

  /* ---------------------------------------------------------
     HAMBURGER BUTTON
  --------------------------------------------------------- */

  .desktop-menu-btn {
    position: absolute;

    top: 48px;
    left: 5%;

    z-index: 30;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin: 0;
    padding: 0;

    gap: 5px;

    border: none;
    border-radius: 0;

    background: rgba(255, 250, 242, 0.62);

    box-shadow:
      0 3px 12px rgba(95, 87, 76, 0.08);

    cursor: pointer;

    transition:
      background 0.25s ease,
      box-shadow 0.25s ease,
      transform 0.25s ease;
  }


  .desktop-menu-btn:hover,
  .desktop-menu-btn:active {
    background: rgba(255, 250, 242, 0.74);

    box-shadow:
      0 7px 20px rgba(95, 87, 76, 0.12);

    transform: translateY(-1px);
  }


  .desktop-menu-btn span {
    width: 22px;
    height: 2px;

    background: #5F574C;
    border-radius: 2px;
  }


  .desktop-menu-btn:focus-visible {
    outline: 1px solid rgba(95, 87, 76, 0.55);
    outline-offset: 5px;
  }


  /* ---------------------------------------------------------
     PAGE OVERLAY
  --------------------------------------------------------- */

  .desktop-menu-overlay {
    position: fixed;
    inset: 0;

    z-index: 100;

    display: block;

    background: rgba(70, 62, 52, 0.24);

    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity 0.35s ease,
      visibility 0s linear 0.35s;
  }


  .desktop-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
      opacity 0.35s ease,
      visibility 0s linear 0s;
  }


  /* ---------------------------------------------------------
     SIDE PANEL
  --------------------------------------------------------- */

  .desktop-side-menu {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 110;

    display: block;

    width: min(520px, 78vw);
    height: 100vh;
    height: 100dvh;

    padding:
      clamp(105px, 11vh, 140px)
      clamp(54px, 5vw, 76px)
      70px;

    overflow-y: auto;

    background: #F5F2EC;

    box-shadow:
      -14px 0 40px rgba(73, 53, 40, 0.10);

    transform: translateX(100%);

    visibility: hidden;
    pointer-events: none;

    transition:
      transform 0.55s cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear 0.55s;
  }


  .desktop-side-menu.is-open {
    transform: translateX(0);

    visibility: visible;
    pointer-events: auto;

    transition:
      transform 0.55s cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear 0s;
  }


  /* ---------------------------------------------------------
     MENU CLOSE
  --------------------------------------------------------- */

  .desktop-menu-close {
    position: absolute;

    top: 46px;
    right: clamp(48px, 5vw, 70px);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    margin: 0;
    padding: 0;

    border: none;
    background: transparent;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    color: #5F574C;

    opacity: 0.68;
    cursor: pointer;

    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }


  .desktop-menu-close:hover {
    opacity: 1;
    transform: rotate(4deg);
  }


  /* ---------------------------------------------------------
     MENU LINKS
  --------------------------------------------------------- */

  .desktop-menu-links {
    display: flex;
    flex-direction: column;

    width: 100%;
  }


  .desktop-menu-links button {
    position: relative;

    width: 100%;

    margin: 0;
    padding: 27px 16px;

    border: none;
    border-bottom: 1px solid rgba(73, 53, 40, 0.13);

    background: transparent;

    color: #5F574C;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 19px;
    font-weight: 300;
    line-height: 1.25;

    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;

    cursor: pointer;

    transition:
      background 0.25s ease,
      padding-left 0.25s ease;
  }


  .desktop-menu-links button:hover {
    background: rgba(232, 224, 211, 0.50);
  }


  /* Посещённый пункт */

  .desktop-menu-links button.is-active {
    padding-left: 48px;

    background: rgba(232, 224, 211, 0.68);
  }


  .desktop-menu-links button.is-active::before {
    content: "▸";

    position: absolute;

    top: 50%;
    left: 18px;

    transform: translateY(-50%);

    color: #756455;

    font-size: 15px;
    line-height: 1;
  }


  /* Request a Call */

  .desktop-menu-links .desktop-menu-request {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 66px;

    margin-top: 40px;
    padding: 18px 28px;

    border: none;

    background: rgba(232, 224, 211, 0.72);

    text-align: center;

    box-shadow:
      0 3px 12px rgba(95, 87, 76, 0.07);

    transition:
      background 0.25s ease,
      box-shadow 0.25s ease,
      transform 0.25s ease;
  }


  .desktop-menu-links .desktop-menu-request:hover {
    padding-left: 28px;

    background: rgba(232, 224, 211, 0.88);

    box-shadow:
      0 7px 20px rgba(95, 87, 76, 0.11);

    transform: translateY(-1px);
  }


  .desktop-menu-links .desktop-menu-request::before {
    content: none;
  }


  /* ---------------------------------------------------------
     BACK TO MAIN MENU
  --------------------------------------------------------- */

  .desktop-back-to-menu {
    display: none;

    width: fit-content;

    margin: 52px 0 0;
    padding: 4px 0 6px;

    border: none;
    border-bottom: 1px solid rgba(95, 87, 76, 0.35);

    background: transparent;

    color: #756455;

    font-family:
      "Avenir Light",
      Avenir,
      "Helvetica Neue",
      Helvetica,
      Arial,
      sans-serif;

    font-size: 15px;
    font-weight: 300;
    line-height: 1.2;

    letter-spacing: 0.10em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
      color 0.25s ease,
      border-color 0.25s ease;
  }


  .desktop-back-to-menu:hover {
    color: #5F574C;
    border-color: #5F574C;
  }


  #desktopHowPanel.opened-from-desktop-menu
    .desktop-back-to-menu,

  #desktopCarePanel.opened-from-desktop-menu
    .desktop-back-to-menu,

  #desktopComplexPanel.opened-from-desktop-menu
    .desktop-back-to-menu,

  #desktopLocalPanel.opened-from-desktop-menu
    .desktop-back-to-menu {
    display: inline-flex;
  }


  body.desktop-menu-open {
    overflow: hidden;
  }

}


/* Mobile protection */

@media (max-width: 760px) {

  .desktop-menu-btn,
  .desktop-menu-overlay,
  .desktop-side-menu,
  .desktop-back-to-menu {
    display: none !important;
  }
}
/* =========================================================
   DESKTOP HERO MENU BUTTON — EXACT POSITION
========================================================= */

@media (min-width: 761px) {

  .hero-left {
    position: relative;
  }

  .hero-left > .desktop-menu-btn {
    position: absolute !important;

    top: -118px !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;

    z-index: 30;

    display: flex !important;

    width: 58px;
    height: 58px;

    margin: 0 !important;

    transform: none;
  }

  .hero-left > .desktop-menu-btn:hover,
  .hero-left > .desktop-menu-btn:active {
    transform: translateY(-1px);
  }

}
