:root {
    --primary: #BF8B5A;

    --secondary-00: #1A2030 (10%);
    --secondary-100: #1A2030 (30%);
    --secondary-200: #1A2030 (50%);
    --secondary-300: #344060;
    --secondary-400: #1A2030;

    --neutral-light-00: #FFF;
    --neutral-light-25: #F8F4F2;
    --neutral-light-50: #F1E9E4;
    --neutral-light-100: #DFCFC3;
    --neutral-light-200: #D8C3B6;

    --font-noto: 'Noto Sans';
}

body {
    background-color: var(--neutral-light-25);
    margin: 0;
}

.padding-global {
    padding: 0px 60px 0 60px;
}

header {
    display: flex;
    padding: 20px 60px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    max-width: 1280px;
    margin: 0 auto;

    img {
        width: 78px;
        height: 36px;
    }

    button {
        display: flex;
        height: 40px;
        padding: 15px 32px;
        align-items: center;

        cursor: pointer;
        border-radius: 40px;
        border-style: none;
        background: var(--secondary-400);

        p {
            color: var(--neutral-light-00);
            font-family: var(--font-noto);

            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: 130%;
        }

        &:hover {
            background: var(--secondary-300);
        }
    }
}

main {
    margin: 0;
}


.hero2, .hero3 {
    background-color: #344060;
    /* height: 1000px; */
    padding-top: 100px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 60vh;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-bg {
    /* z-index: 1; */
    /* justify-content: center; */
    /* align-self: flex-end; */
    /* align-items: center; */
    height: 0px;
    width: 0px;
    /* width: 40rem; */
    /* height: 100vh; */
    /* display: flex; */
    position: sticky;
    top: 150px;
    right: -150px;
}

.section-width {
    max-width: 1280px;
    margin: auto;
}

.m-0 {
    margin: 0;
}

.section-header {
    color: var(--neutral-light-00);
    font-size: 24px;
    font-weight: 600;
    font-family: var(--font-noto), sans-serif;
}

.hero-content {
    width: 50%;
}

h1 {
    font-family: var(--font-noto), sans-serif;
    color: var(--secondary-400);
    font-family: "Noto Sans";
    font-size: 72px;
    font-style: normal;
    font-weight: 500;
    line-height: 104%;
    margin: 0 0 0 0;

}

.right {
    margin-bottom: 34px;
    font-style: italic;
    font-weight: 400;
    text-align: right;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--secondary-300);
    margin-bottom: 36px;
    margin-left: auto;
    line-height: 1.5;
    font-family: var(--font-noto), sans-serif;
    width: 350px;
}

.store-buttons {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    margin-left: auto;
    width: 350px;

    img {
        height: 48px;
        width: auto;
        display: block;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(52, 64, 96, 0.08);
    }
}

.hero-image {
    display: flex;
    width: 50%;
    justify-content: center;
    position: relative;
    bottom: -5.9rem;
}

.hero-image img {
    max-width: 370px;
    width: 100%;
    height: auto;
    border-radius: 36px;

}

.hero3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    min-height: 480px;
    background: #344060;
    padding-top: 80px;
    padding-bottom: 80px;
    gap: 60px;
}

.hero-scroll {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 400px;
    position: relative;
    /* z-index: 2; */
}

.hero-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-nav li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #BF8B5A33;
    border: 2px solid #BF8B5A;
    transition: background 0.2s, border 0.2s;
    cursor: pointer;
}

.hero-nav li.active {
    background: var(--primary);
    border: 2px solid var(--primary);
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 32px 16px 0 16px;
        text-align: center;
        height: 1000px;
    }

    .hero-image {
        justify-content: center;
        /* margin-top: 32px; */
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        width: auto;
    }

    .store-buttons {
         width: auto;
         flex-direction: column;
    }

    .hero3 {
        flex-direction: column;
        align-items: stretch;
        padding: 40px 0 40px 0;
    }
    .hero-scroll {
        flex-direction: row;
        width: 100%;
        min-height: unset;
        justify-content: center;
        margin-bottom: 24px;
    }
    .hero-nav ul {
        flex-direction: row;
        gap: 16px;
    }
}

footer {
    background: var(--neutral-light-100, #DFCFC3);
    color: var(--secondary-400);
    font-family: var(--font-noto), sans-serif;

    padding: 52px 60px 40px 60px;
    align-items: flex-start;
    gap: 60px;
    display: flex;
    flex-direction: column;
}

.footer-nav, .footer-subnav {
    display: flex;
    align-items: space-between;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    /* width: 100px; */
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 18px;
    margin-top: 12px;
}

.footer-links a {
    color: var(--secondary-400);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-stores {
    /* display: flex;
    gap: 12px;
    margin-bottom: 18px; */
}

.footer-stores img {
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(52, 64, 96, 0.08);
}

.footer-socials {
    display: flex;
    gap: 18px;
    margin-top: 12px;
}

.footer-socials a img {
    height: 22px;
    width: 22px;
    filter: grayscale(1) contrast(0.7);
    transition: filter 0.2s;
}

.footer-socials a:hover img {
    filter: none;
}

@media (max-width: 900px) {
    footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 16px 16px 16px;
        gap: 24px;
        text-align: left;
    }
}


.toolkit-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 1280px;
    margin: 0 auto;
    padding: 40px 60px;
}

.toolkit-text {
    max-width: 380px;
}

.toolkit-header {
    font-size: 44px;
    font-weight: 500;
    color: var(--neutral-light-00);
    font-family: var(--font-noto), sans-serif;
    font-style: italic;
    margin-bottom: 16px;
}

.toolkit-subheader {
    font-size: 16px;
    color: var(--neutral-light-100);
    font-family: var(--font-noto), sans-serif;
    font-style: regular;
    font-weight: 400;
    line-height: 140%;
}

.toolkit-image  {
    z-index: 2;;
    min-width: 650px;
    align-items: center;
    display: flex;
}

.toolkit-image img{
    margin: auto;
}

.how-its-work {
    margin-top: 64px;
    margin-bottom: 64px;
}

.how-header {
    font-size: 2.5rem;
    font-family: var(--font-noto), sans-serif;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--secondary-400);
}
.how-header em {
    font-style: italic;
    font-weight: 400;
}

.how-grid {
    display: grid;
     /* grid-template-columns: 1.2fr 1fr 1fr; */
          /* grid-template-columns: 1.2fr 1fr 1fr; */
    grid-template-rows: auto auto;
    /* gap: 12px; */
    background: none;
}


.how-step {
    /* background: #F8F4F2; */
    /* border-radius: 24px; */
    padding: 60px 40px;
    /* box-shadow: 0 2px 12px 0 rgba(52, 64, 96, 0.06); */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: padding 0.2s ease;
    /* margin: auto; */
    /* opacity: 0.5; */

}

.how-birth {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #F8F4F2;
    position: relative;
}
.how-birth-icons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-right: 32px;
}
.how-birth-icons img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #E6D6CB;
    object-fit: cover;
}
.how-birth-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--secondary-400);
}
.how-birth-card {
    background: #E6D6CB;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 1rem;
    margin-top: 8px;
    color: var(--secondary-400);
}
.how-birth-card span {
    display: block;
    font-size: 0.95rem;
    color: #344060;
    margin-top: 6px;
}

.how-prediction {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.how-prediction-card {
    background: #FFF;
    border-radius: 16px;
    padding: 18px 18px 12px 18px;
    margin-top: 12px;
    box-shadow: 0 1px 6px 0 rgba(52, 64, 96, 0.04);
}
.how-prediction-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.how-prediction-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #344060;
    gap: 8px;
}
.how-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}
.how-dot-green { background: #A3C48C; }
.how-dot-red { background: #E57373; }
.how-dot-yellow { background: #FFD966; }
.how-prediction-tip {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #BF8B5A;
}

.how-compatibility {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
.how-compatibility-card {
    background: #FFF;
    border-radius: 16px;
    padding: 18px 18px 12px 18px;
    margin-top: 12px;
    box-shadow: 0 1px 6px 0 rgba(52, 64, 96, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.how-compatibility-names {
    display: flex;
    align-items: center;
    gap: 18px;
}
.how-person {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.how-person-img img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E6D6CB;
    object-fit: cover;
}
.how-person-name {
    font-weight: 600;
    color: #344060;
    margin-top: 6px;
}
.how-person-sign {
    font-size: 0.95rem;
    color: #BF8B5A;
}
.how-plus {
    font-size: 2rem;
    color: #BF8B5A;
    margin: 0 8px;
}
.how-compatibility-date {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #344060;
}

.how-advisors {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.how-advisors-card {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.how-advisors-card img {
    width: 120px;
    border-radius: 16px;
    margin-bottom: 8px;
}
.how-advisors-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.how-advisor {
    background: #FFF;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 1px 4px 0 rgba(52, 64, 96, 0.04);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.how-advisor-info {
    flex: 1;
}
.how-advisor-name {
    font-weight: 600;
    color: #344060;
}
.how-advisor-exp {
    font-size: 0.95rem;
    color: #BF8B5A;
}
.how-advisor-tags {
    font-size: 0.95rem;
    color: #A3C48C;
}
.how-advisor-rating {
    font-size: 1rem;
    color: #FFD966;
    font-weight: 600;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 32px 16px 0 16px;
        text-align: center;
    }

    .hero-image {
        justify-content: center;
        margin-top: 32px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        width: auto;
    }

    .store-buttons {
         width: auto;
         flex-direction: column;
    }

    .hero3 {
        flex-direction: column;
        align-items: stretch;
        padding: 40px 0 40px 0;
    }
    .hero-scroll {
        flex-direction: row;
        width: 100%;
        min-height: unset;
        justify-content: center;
        margin-bottom: 24px;
    }
    .hero-nav ul {
        flex-direction: row;
        gap: 16px;
    }

    .how-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        /* gap: 24px; */
    }
    .how-step, .how-birth, .how-advisors {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 12px;
    }
    .how-birth-icons {
        flex-direction: row;
        gap: 12px;
        margin-right: 0;
        margin-bottom: 16px;
    }
    .how-advisors-card img {
        width: 100px;
    }
}

.how-its-work {
    max-width: 1280px;
    margin: auto;
    margin-bottom: 50px;
}

.how-grid img{
    max-width: 100%;
}

.hp-why_bg {
    z-index: 1;
    justify-content: center;
    align-self: flex-end;
    align-items: start;
    width: 75rem;
    height: 300px;
    display: flex;
    position: sticky;
    top: 150px;
}

.toolkit-container-first {
    margin-top: -350px;
}

.circle-img {
  /* z-index: 1;
    justify-content: center;
    align-self: flex-end;
    align-items: start;
    width: 75rem;
    height: 0px;
    display: flex;
    position: sticky;
    top: 150px; */
}

.hp-why_bg-circle {
      /* z-index: 1; */
    /* width: 15.6rem; */
}

/* .w-embed:before, .w-embed:after {
    content: " ";
    grid-area: 1 / 1 / 2 / 2;
    display: table;
}

.w-embed:after {
    clear: both;
} */



.animated-image {
  /* transition: transform 0.3s ease;
  will-change: transform;
  animation: float 3s ease-in-out infinite; */

  animation: float;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

 .img-1 {
  animation-duration: 4s;
  animation-delay: 0s;
}

 .img-2 {
  animation-duration: 5s;
  animation-delay: 0.5s;
}

 .img-3 {
  animation-duration: 6s;
  animation-delay: 1s;
}

 .img-4 {
  animation-duration: 4.5s;
  animation-delay: 0.2s;
}

/* Ефект легкого руху вгору-вниз */
@keyframes float {
  0%   { transform: rotate(0deg) translateY(0px) rotate(0deg); }
  /* 25%  { transform: rotate(1.5deg) scale(1.03); } */
  50%  { transform: rotate(1deg) translateY(-10px) rotate(1deg) }
  /* 75%  { transform: rotate(1deg) scale(1.02); } */
  100% { transform: rotate(0deg) translateY(0px) rotate(0deg) }
}

/* Активується, коли блок у полі зору */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

.frequently-asked {
    max-width: 1280px;
    margin: auto;
    margin-bottom: 120px;
    display: flex;
}

.frequently-asked-header {
    width: 600px;
}

.frequently-asked-content {
    margin-top: 32px;
    width: 100%;
      
      border: #1A2030 0px solid;
       /* background-color: var(--neutral-light-100); */
       color: var(--secondary-400);
}

.accordion span {
    margin: 0px;
    font-size: 26px;
}

.frequently-asked-content  .accordion:first-child {
    border-top: #1A2030 0px solid;
    border-radius: 20px 20px 00px 00px;
    
}

.frequently-asked-content  .accordion:last-child {
     border-bottom: #1A2030 0px solid;
     border-radius: 0px 0px 20px 20px;
}

.accordion {
 
display: flex;
justify-content: space-between;

   background-color: var(--neutral-light-50);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-size: 24px;
  font-family: var(--font-noto), sans-serif;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: var(--neutral-light-100);
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: var(--neutral-light-100);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.panel-text {
    font-size: 16px;
    /* color: var(--neutral-light-100); */
    font-family: var(--font-noto), sans-serif;
    font-style: regular;
    font-weight: 400;
    line-height: 140%;
}

.download-content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 0;
    margin: auto;
    min-height: 600px;
    margin-top: 60px;
    font-family: var(--font-noto), sans-serif;

    h1 {
        font-size: 44px;
    }

    p {
        font-size: 18;;
    }

    .logo-img {
        width: 140px;
        height: auto;
    }

    .qr-img {
        width: 300px;
        height: auto;
    }

    .download-store-buttons {
         display: flex;
        gap: 18px;
        margin-top: 18px;

        img {
            height: 48px;
            width: auto;
            display: block;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(52, 64, 96, 0.08);
        }
    }
}