body {
    line-height: normal;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
}
html {
    overflow-y: scroll;
}
img {
    object-fit: cover;
}
.container {
    width: 81.625rem;
}
.lil-container {
    width: 60rem;
    margin: 0 auto;
    padding: 0;
    max-width: unset;
}

header {
    position: relative;
    padding: 1.8rem 0;
    z-index: 10;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-inner.centered {
    justify-content: center;
}
.head-logo img {
    width: 13.4375rem;
    height: 2.70369rem;
    object-fit: cover;
}

/* Progress bar */
.head-progress {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 20.4rem;
}
.head-progress-bar {
    width: 100%;
    height: 0.5rem;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0) 48.75%,
            rgba(0, 0, 0, 0.3) 100%
        ),
        rgba(148, 148, 148, 0.3);
    border-radius: 6rem;
    overflow: visible;
    position: relative;
}
.head-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #666 0%, #000 100%);
    border-radius: 6rem;
    position: relative;
    transition: width 0.5s ease-in;
}

.head-progress-info {
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
}
.head-progress-step {
    font-size: 1.2rem;
    color: #000;
}
.head-progress-percent {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
}

.welcome-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-inner {
    height: 72vh;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.welcome-txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.welcome-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.75rem;
}

.welcome-title {
    text-align: center;
    font-size: 3.78rem;
    font-weight: 500;
    text-transform: uppercase;
    background: linear-gradient(
        94deg,
        #000 0.25%,
        rgba(0, 0, 0, 0.5) 52.41%,
        #000 104.56%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: unset;
}

.welcome-desc {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.welcome-desc p {
    margin: unset;
}
.welcome-desc .txt-bold {
    font-weight: 700;
}

.welcome-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #000;
    color: #fff;
    height: 3.75rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.25s ease-in;
    width: 20.5rem;
    justify-content: space-between;
}
.welcome-btn.center {
    justify-content: center;
}

.welcome-btn:hover {
    background: #f5590e;
    color: #fff;
}

.welcome-btn:hover svg path {
    stroke: #fff;
}

.welcome-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.welcome-btn:hover svg {
    transform: translateX(3px);
}

.welcome-btn svg path {
    transition: stroke 0.25s ease;
}

.welcome-logo-img {
    width: 23.71869rem;
    height: 8.5625rem;
    object-fit: contain;
}

.brief-section {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}
.brief-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
    padding: 1rem 0;
}

/* Cards */
.brief-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    width: 100%;
}
.brief-card {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    box-shadow:
        0 4px 4px 0 rgba(0, 0, 0, 0.25),
        0 4px 52.3px 0 rgba(0, 0, 0, 0.25);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.35s ease-in;
    text-align: center;
    border: 3px solid transparent;
}
.brief-card:hover {
    border-color: #656565;
}
.brief-card-icon {
    width: auto;
    height: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brief-card-icon img {
    width: 100%;
    height: 100%;
}
.brief-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(
        90deg,
        #000 20.91%,
        rgba(0, 0, 0, 0.5) 50.27%,
        #000 79.64%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brief-card-sub {
    color: #000;
    opacity: 0.5;
    font-size: 0.9rem;
}
.brief-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.blocks-back {
    width: 100%;
}
.blocks-head {
    font-weight: 700;
}
.blocks-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 5rem;
}
.block-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
}
.block-item input[type="checkbox"] {
    display: none;
}
.block-check {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.4rem;
    border: 1px solid #d5d7da;
    background: transparent;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding-right: 0.23rem;
}
.block-item input:checked ~ .block-check {
    background: #000000;
    border-color: #000000;
}
.block-item input:checked ~ .block-check::after {
    content: "";
    display: block;
    width: 0.35rem;
    height: 0.6rem;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-3px);
}
.block-label {
    transition: color 0.2s ease;
}
.block-item:hover .block-label {
    color: #f5590e;
}
.block-item input:checked ~ .block-label {
    color: #c80909;
}

.blocks-hint {
    text-align: center;
}
.blocks-hint-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.blocks-hint-link:hover {
    color: #f5590e;
}

.brief-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2rem;
}
.brief-field {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgb(0, 0, 0);
}
.brief-field-label {
    font-weight: 700;
    color: #000000;
}
.brief-input {
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.45);
    font-size: 0.9rem;
    width: 100%;
    padding: 0;
    white-space: pre-wrap;
}
.brief-input::placeholder {
    color: rgba(0, 0, 0, 0.45);
    white-space: normal;
}
.brief-input:focus {
    color: #000000;
}

.brief-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.brief-back {
    font-size: 0.9rem;
    color: rgb(0, 0, 0);
    text-decoration: underline;
    text-decoration-thickness: 9.5%;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}
.brief-back:hover {
    color: #000000;
}
.first-box {
    width: 100%;
}
.site-box-summary {
    display: none;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}
.site-box-summary.is-visible {
    display: flex;
}
.site-box-summary-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    font-size: 0.85rem;
    line-height: 1.2;
}
.site-box-summary-item strong {
    font-weight: 700;
}
.site-box-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}
.site-box {
    display: none;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}
.site-box.is-visible {
    display: flex;
}
.site-title {
    margin: unset;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(
        90deg,
        #000 20.91%,
        rgba(0, 0, 0, 0.5) 50.27%,
        #000 79.64%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.site-img {
    overflow: hidden;
    width: 12.5625rem;
    height: 22.4375rem;
}
.site-img img {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in;
}
.site-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 3px solid #65656500;
    background: #fff;
    width: 19.6875rem;
    height: 29rem;
    box-shadow:
        0 4px 4px 0 rgba(0, 0, 0, 0.25),
        0 4px 52.3px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in;
}
.site-card:hover{
    border: 3px solid #656565;
}
/*.site-card:hover .site-img img{*/
/*    scale: calc(1.05);*/
/*}*/




.hidden_sections {
    display: none;
}

.brief-section,
.js-brief-success {
    display: none;
    overflow: hidden;
}

button.welcome-btn,
button.brief-back {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

button.brief-back {
    background: transparent;
    padding: 0;
}

.brief-card.is-selected,
.site-card.is-selected {
    border-color: #f5590e;
    box-shadow:
        0 10px 30px rgba(245, 89, 14, 0.18),
        0 4px 52.3px rgba(0, 0, 0, 0.2);
}

.brief-field.is-invalid {
    border-bottom-color: #c80909;
}

.brief-field.is-invalid .brief-field-label,
.brief-checkbox-group.is-invalid .blocks-head {
    color: #c80909;
}

.brief-step-error {
    display: none !important;
}

.brief-error-toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 2147483647;
    min-width: 18rem;
    max-width: 28rem;
    padding: 0.9rem 1rem;
    border-radius: 0.85rem;
    background: rgba(200, 9, 9, 0.96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transform: translateX(120%);
}

.brief-error-toast.is-visible {
    animation: briefErrorSlide 3.4s ease forwards;
}

.brief-checkbox-group.is-invalid {
    padding: 1rem;
    border: 1px solid rgba(200, 9, 9, 0.18);
    border-radius: 1rem;
}

.brief-reveal-item {
    opacity: 0;
    transform: translateY(16px);
    animation: briefReveal 0.45s ease forwards;
    animation-delay: var(--reveal-delay, 0ms);
}

.brief-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.brief-confetti-piece {
    position: absolute;
    top: -1rem;
    width: 0.7rem;
    height: 1.1rem;
    background: var(--piece-color, #f5590e);
    border-radius: 0.2rem;
    opacity: 0.85;
    animation: briefConfetti var(--piece-duration, 4s) linear forwards;
    animation-delay: var(--piece-delay, 0s);
}

@keyframes briefReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes briefConfetti {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(var(--piece-drift, 0px), 110vh, 0) rotate(var(--piece-rotate, 180deg));
    }
}

@keyframes briefErrorSlide {
    0% {
        opacity: 0;
        transform: translateX(120%);
    }
    12% {
        opacity: 1;
        transform: translateX(0);
    }
    82% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(120%);
    }
}
