:root {
    --primary-color: #1F2A37;
    --accent-color: #ffaa00;
    --detail-light-color: #fcbe59;

    --text-dark-color: #1f1f1f;
    --text-light-color: #ffffff;

    --bg-light-color: #f8f8f8;
    --bg-dark-color: #263031;

    --bg-card-light-color: #e6e0d6;
    --bg-card-dark-color: #323b3c;

    --btn-primary-color: var(--detail-light-color);
    --btn-secondary-color: var(--bg-card-dark-color);

    --white-color: #ffffff;
    --black-color: #000000;

    --font-main: "Montserrat", sans-serif;
    --font-alt: "Sora", sans-serif;

    --border-light: 1px solid rgba(250, 250, 250, 0.1);
    --border-dark: 1px solid rgb(25, 25, 25, 0.2);
    --border-bg-dark: rgb(25, 25, 25, 0.1);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    font-family: var(--font-main);
    color: var(--text-dark-color);
    line-height: 1.6;
    background-color: var(--bg-light-color);
    padding-top: 80px;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none;
    padding: 0;
}

a,
ul,
.btn {
    transition: color .3s;
}

img {
    max-width: 100%;
    display: block
}

section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.hero,
.services,
.benefits,
.stages,
.partners,
.testimonials,
.qualify,
.contacts,
.footer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero::after,
.services::after,
.benefits::after,
.stages::after,
.partners::after,
.testimonials::after,
.qualify::after,
.contacts::after,
.footer::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(22, 20, 20, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 20, 20, 0.06) 1px, transparent 1px),
        url('');
    background-size:
        4px 4px,
        4px 4px,
        cover;
    background-position:
        center,
        center,
        center;
    background-repeat: repeat, repeat, no-repeat;
    z-index: 0;
    overflow: hidden;
}

.center {
    text-align: center
}

.bg-light {
    background-color: var(--bg-light-color)
}

.bg-dark {
    background-color: var(--bg-dark-color)
}

.btn {
    padding: 20px 30px;
    font-size: 18px;
    font-family: 'Montserrat';
    font-weight: 500;
    cursor: pointer;
    border-radius: 999px;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--btn-primary-color);
    color: var(--text-dark-color);
    border: var(--border-dark);
}

.btn-secondary {
    border: var(--border-light);
    color: var(--text-light-color);
    background-color: var(--btn-secondary-color);
}

.btn-secondary:hover,
.btn-primary:hover {
    box-shadow: 0 2px 10px var(--detail-light-color);
    border: var(--border-light);
}

.btn-secondary:hover {
    background-color: var(--detail-light-color);
    color: var(--text-dark-color);
}

.hero,
.hero-image,
.service-card,
.benefit-left,
.partners-marquee {
    overflow: hidden;
}

.header-nav a:hover,
.link-hover:hover,
.modal-close:hover,
.testimonial-rating .star.filled,
.accent {
    color: var(--detail-light-color);
}

.full-width {
    width: 100%;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px
}

.section-title.white {
    color: #fff
}

.section-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #555
}

.section-subtitle.small {
    font-size: 16px;
    font-weight: 500;
    color: #555
}

.section-subtitle.white {
    color: #aaa
}

.header {
    position: fixed;
    display: flex;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    z-index: 1000;
}

.header-container {
    width: 1600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px
}

.header-logo {
    width: 200px;
    height: 40px;
}

.header-contacts,
.header-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    font-weight: 500;
}

.header-contact-info a,
.header-nav a {
    text-decoration: none;
    font-size: 15px;
}

.header-nav a {
    font-weight: 500;
}

.header-contact-info a {
    display: block;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 10px
}

.social-icon {
    width: 30px;
    height: 30px;
}

.social-icon svg,
.social-icon-large svg {
    width: 100%;
    height: 100%
}

.hero-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    gap: 50px;
}

.hero-image-wrapper {
    position: relative;
    width: 40%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #eeb482;
    overflow: hidden;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background: url('./images/hero-photo.png') no-repeat center/cover;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 30px;
}

.hero-content h1 span {
    display: block;
    font-size: 42px;
    line-height: 1.2;
}

.hero-desc {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.5;
}

.hero-stats {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-around;
    gap: 20px;
    border-radius: 3px;
    border: var(--border-light);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.hero-stat-item span {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
}

.hero-stat-item label {
    font-size: 15px;
    font-weight: 500;
    opacity: .8;
    text-align: center;
    color: var(--text-light-color);
}

.services-inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
    justify-content: center;
    align-items: stretch;
}

.service-card {
    display: flex;
    align-items: stretch;
    height: 500px;
    justify-content: space-between;
}

.service-info .service-img-wrapper {
    display: flex;
    flex-direction: column
}

.service-info {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 3px;
}

.service-cta,
.service-nav {
    padding-top: 30px;
    display: flex;
}

.service-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.service-card-divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 20px;
}

.service-info p {
    font-size: 18px;
}

.service-nav {
    margin-top: auto;
    justify-content: center;
}

.service-nav-btn {
    width: 100%;
    background-color: var(--bg-card-dark-color);
    color: var(--text-light-color);
    cursor: pointer;
}

.service-nav-btn-icon {
    position: relative;
    vertical-align: middle;
}

.service-img-wrapper {
    position: relative;
    aspect-ratio: 2 / 2;
    overflow: hidden;
    border-radius: 3px;
}

.service-img-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-cta {
    display: flex;
    padding: 10px 0;
    gap: 16px;
    overflow: hidden;
}

.bridges {
    display: flex;
    justify-content: center;
    gap: 28px;
    box-sizing: border-box;
}

.bridge-item {
    color: #909287;
    padding: 12px 0px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
}

.benefit-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 600px;
}

.benefit-left {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background .5s;
    border-radius: 3px;
}

.benefit-desc {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    color: var(--text-dark-color);
    gap: 10px;
}

.benefit-desc h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-dark-color);
    line-height: 1.2;
}

.benefit-desc p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.benefit-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.benefit-header {
    margin-bottom: 30px;
}

.select-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.select-wrapper select {
    width: 100%;
    padding: 15px;
    border: var(--border-dark);
    border-radius: 3px;
    font-family: 'Montserrat';
    font-size: 20px;
    cursor: pointer
}

.benefit-list-divider {
    width: 100%;
    height: 1px;
    border: none;
    margin: 0px 0;
}

.benefit-list {
    width: 100%;
    border-radius: 3px;
    margin: 30px 0;
}

.benefit-list li {
    padding: 12px 20px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: .3s;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-dark-color);
}

.benefit-list li:hover {

    color: #555;
    background: #ebe7e1;
}

.benefit-list li.active {
    border-left-color: var(--detail-light-color);
    color: #555;
    font-weight: 700;
    background: #ede6dc;
    border-radius: 3px;
}

.benefit-btn {
    margin-top: 30px;
}

.stages {
  background-image: url("./images/Gemini_Generated_Image_cvcez4cvcez4cvce 11.png");
  background-size: 600px;
  background-repeat: no-repeat;
  background-position: right bottom;
}

.stage-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stage-item {
    position: relative;
    background-color: var(--bg-card-light-color);
    padding: 40px 30px;
    border-radius: 3px;
    border: var(--border-dark);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.stage-item:last-child .stage-card-text,
.stage-item:last-child h4 {
    color: var(--text-light-color);
}

.stage-icon,
.stage-item:last-child {
    background: rgb(31, 42, 55)
}

.stage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(31, 42, 55, .08)
}

.stage-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--accent-color);
    border-radius: 50%;
    border: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 0;
}

.stage-item:hover .stage-icon {
    background: var(--accent-color);
    color: var(--white);
}

.stage-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    min-height: 60px;
}

.stage-item h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}

.stage-item:last-child .stage-card-text {
    border-top: var(--border-light);
}

.stage-btn {
    margin-top: auto;
    align-self: center;
}

.stage-card-text {
    border-top: var(--border-dark);
    font-size: 18px;
    line-height: 1.5;
    margin-top: 10px;
    padding: 20px 0;
}

.quote-bar {
    background: var(--border-light);
    color: var(--text-dark-color);
    padding: 40px;
    border-radius: 3px;
    margin: 40px 0;
}

.quote-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quote-bar-text {
    flex: 1;
    padding: 0 50px;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
}

.quote-bar-note {
    color: var(--text-color);
    font-size: 16px;
    padding: 30px;
    position: relative;
}

.quote-bar-text h5 {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 10px;
}

.partners {
    max-height: 50vh;
}

.partners-marquee {
    width: 100%;
    position: relative;
    padding: 40px 0;
}

.marquee-track {
    display: flex;
    animation: 30s linear infinite marquee;
    width: max-content
}

.marquee-track:hover {
    animation-play-state: paused
}

.partners>.container {
    padding: 60px 0;
}

.partner-logo {
    flex-shrink: 0;
    width: 200px;
    height: 50px;
    margin: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s
}

.partner-logo:hover {
    transform: scale(1.05)
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: .8;
    transition: .3s
}

.partner-logo:hover img {
    opacity: 1
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.testimonial-grid {
    display: flex;
    gap: 30px
}

.testimonial-card {
    flex: 1;
    background-color: var(--bg-light-color);
    padding: 30px;
    border-radius: 3px;
    border: var(--border-light);
    color: var(--text-dark-color);
    z-index: 1;
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    background-color: #e6e6e6;
    width: 50px;
    height: 50px;
    border: var(--border-light);
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    font-size: 16px;
    line-height: 1;
}

.testimonial-date,
.testimonial-meta-row {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark-color);
}

.testimonial-rating .star {
    color: var(--text-dark-color);
}

.testimonial-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    white-space: nowrap;
}

.testimonial-source img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    opacity: .9;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 700;
}

.testimonial-divider {
    width: 100%;
    height: 1px;
    border: none;
    margin: 10px 0;
    background-color: var(--border-bg-dark);

}

.testimonial-text {
    padding: 20px 0;
    color: var(--text-dark-color);
    font-size: 18px;
    font-weight: 200;
}

.testimonials-action {
    margin-top: 40px;
    text-align: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-window {
    display: flex;
    flex-direction: column;
    background: var(--bg-light-color);
    padding: 40px;
    border-radius: 3px;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform .3s;
}

.modal-overlay.active .modal-window {
    transform: translateY(0)
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #333;
    background: 0 0;
    border: none;
    cursor: pointer;
    line-height: 1
}

.qualify-doc-inner {
    display: flex;
    justify-content: center;
    gap: 30px;
}

qualify-card {
    overflow: hidden;
}

qualify-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qualify-thumb {
    max-width: 420px;
    cursor: pointer;
    border-radius: 3px;
    transition: transform .3s;
}

.qualify-thumb:hover {
    transform: scale(1.05);
}

#imageModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 3000;
}

#imageModal.active {
    opacity: 1;
    visibility: visible;
}

#modalImage {

    max-width: 90vw;
    transform: rotate(-90deg);
    transition: transform .3s;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-nav.left {
    left: 40px;
}

.modal-nav.right {
    right: 40px;
}

.contacts-grid {
    width: 100%;
    display: flex;
    gap: 80px;
    margin-top: 40px;
}

.contacts-info {
    width: 45%;
    max-width: 500px;
}

.contact-block {
    margin-bottom: 60px;
}

.contact-title,
.form-title {
    color: var(--text-dark-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-item,
.contact-label,
.contact-label-bold {
    font-weight: 500;
}

.contact-item {
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-value {
    font-weight: 400;
}

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.social-icon-large {
    width: 25px;
    height: 25px;
}

.contacts-form {
    flex: 1;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-input,
.form-select,
.form-textarea {
    height: 47px;
    padding: 15px;
    background-color: var(--white-color);
    border: var(--border-dark);
    border-radius: 3px;
    color: var(--text-dark-color);
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: 400;
}

.form-input:first-child {
    width: 309.525px;
}

.form-input:last-child {
    width: 317.433px;
}

.form-select {
    padding: 0 15px;
    width: 100%;
    cursor: pointer;
}

.option-color {
    color: var(--text-dark-color);
}

.form-textarea {
    height: 196px;
    width: 100%;
    margin-bottom: 10px;
    resize: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border: var(--border-dark);
    box-shadow: 0 0 0 1px rgba(29, 29, 29, 0.1);
}

#file-list ul {
    margin-top: 10px;
}

#file-list li {
    background: #f4f4f4;
    padding: 5px 10px;
    border-radius: 3px;
    display: inline-block;
    margin-right: 5px;
    border: 1px solid #ddd;
}

.form-file {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin-bottom: 20px;
}

.form-file input {
    display: none;
}

.form-file span {
    padding: 8px 14px;
    border: 1px dashed #ccc;
    border-radius: 3px;
    transition: 0.2s;
}

.form-file:hover span {
    border-color: var(--border-dark);
    color: var(--text-dark-color);
}

.form-privacy {
    color: var(--text-dark-color);
    font-size: 16px;
    font-weight: 200;
    margin-bottom: 30px;
}

.footer {
    background: var(--bg-dark-color);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 100px;
    margin: 50px 0;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-main p,
.footer-main span,
.footer-list li,
.footer-list li a,
.footer-bottom {
    font-size: 15px;
    font-weight: 200;
    color: var(--text-light-color);
}

.footer-col {
    min-width: 200px;
}

.footer-col-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light-color);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.footer-main a:hover,
.footer-list li a:hover {
    color: #fa0;
    font-weight: 500;
}

.footer-bottom {
    border-top: var(--border-light);
    padding: 15px 0;

}

@media (max-width:1200px) {
    .partner-logo {
        width: 250px;
        height: 120px;
        margin: 0 30px
    }
}

@media (max-width:768px) {
    .hero-quote-overlay {
        position: relative;
        background-color: var(--bg-dark-color)
    }

    .partners-marquee {
        padding: 20px 0
    }

    .partner-logo {
        width: 200px;
        height: 100px;
        margin: 0 20px
    }

    .marquee-track {
        animation-duration: 20s
    }
}

@media (max-width:480px) {
    .partner-logo {
        width: 150px;
        height: 75px;
        margin: 0 15px
    }

    .marquee-track {
        animation-duration: 15s
    }
}