:root {
    --color__primary: #EFE6DD;
    --color__primary-light: #F4F1F0;
    --color__secondary: #F74030;
    --color__support: #CFAAF6;
    --color__contrast: #400000;
    --color__white: #fff;
}

@keyframes beat {
    to {
        transform:scale(0.8)
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
}

body {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    grid-template-rows: auto 1fr auto;
}

h1, h2, h3, h4, h5, h6 {
    margin-block-start: 0.5rem;
    margin-block-end: 1rem;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
}

.container {
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 20px;
}

.btn {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    min-width: 150px;
    width: fit-content;
    background-color: var(--color__secondary);
    color: var(--color__primary-light);
    border: none;
    border-radius: 50px;
    padding: 5px 25px;
    transition: all 300ms ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color__contrast);
}

.questionnaire .page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.questionnaire .form-group > label:not(.error) {
    display: block;
    font-weight: 400;
    font-size: 14px;
    margin-block-end: 5px;
}

.questionnaire .form-group > label.error {}

.questionnaire .form-group > input[type="text"],
.questionnaire .form-group > textarea {
    width: 100%;
    height: 50px;
    border: 1px solid rgba(0,0,0,0);
    border-radius: 50px;
    max-inline-size: none;
    box-shadow: none;
    padding-inline: 20px;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    transition: border 300ms ease-in-out;
}

.questionnaire .form-group > textarea {
    resize: none;
    padding-block: 12px;
}

.questionnaire .form-group > input[type="text"]:hover,
.questionnaire .form-group > textarea:hover {
    border-color: var(--color__contrast);
}

.questionnaire .form-group > select {
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    border: 1px solid rgba(0,0,0,0);
    border-radius: 50px;
    color: var(--color__contrast);
    background-color: var(--color__white);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2223%22%20height%3D%2222%22%20viewBox%3D%220%200%2023%2022%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M21.2378%2010.4488L11.4153%2020.8965L1.59288%2010.4488%22%20stroke%3D%22%23F74030%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E");
    background-repeat: no-repeat,repeat;
    background-position: right 20px top 45%, 0 0;
    background-size: 16px auto, 100%;
    padding-inline: 20px;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    transition: all 300ms ease-in-out;
}

.questionnaire .form-group > select:hover {
    border-color: var(--color__contrast);
}

.questionnaire .form-group > small {
    display: block;
    font-size: 12px;
    font-style: italic;
    margin-block-start: 5px;
}

.questionnaire .form-group .custom-control {
    position: relative;
    padding-inline-start: 32px;
}

.questionnaire .form-group .custom-control > input {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

.questionnaire .form-group .custom-control > label {
    cursor: pointer;
}

.questionnaire .form-group .custom-control > label::before,
.questionnaire .form-group .custom-control > label::after {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    width: 24px;
    height: 24px;
    transition: all 300ms ease-in-out;
}

.questionnaire .form-group .custom-control > label::before {
    border: 1px solid var(--color__contrast);
}

.questionnaire .form-group .custom-control > label::after {
    inset-block-start: 1px;
    inset-inline-start: 1px;
    background-color: var(--color__contrast);
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='15' viewBox='0 0 13 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 6.45161L5.65385 14L12 1' stroke='%23F4F1F0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 13px 13px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
}

.questionnaire .form-group .custom-control > input:checked ~ label::after {
    opacity: 1;
}

.questionnaire .form-group .custom-control.custom-checkbox {}

.questionnaire .form-group .custom-control.custom-checkbox > input[type="checkbox"] {

}

.questionnaire .form-group .custom-control.custom-checkbox > label {

}

.questionnaire .form-group .custom-control.custom-checkbox > label::before {
    border-radius: 4px;
}

.questionnaire .form-group .custom-control.custom-checkbox > label::after {

}

.questionnaire .form-group .custom-control.custom-radio {}
.questionnaire .form-group .custom-control.custom-radio > input[type="radio"] {}
.questionnaire .form-group .custom-control.custom-radio > label {}

.questionnaire .form-group .custom-control.custom-radio > label::before,
.questionnaire .form-group .custom-control.custom-radio > label::after {
    border-radius: 50%;
}

.questionnaire .form-group .custom-control.custom-radio > label::before {}
.questionnaire .form-group .custom-control.custom-radio > label::after {}

/* Header */
.header-wrapper .header-container .header-main-wrapper {
    padding-inline: 20px;
    background-color: var(--color__primary);
}

.header-wrapper .header-container .header-main-wrapper .header-main-container {
    height: 70px;
    display: flex;
    align-items: center;
    padding-block: 10px 5px;
}

.header-wrapper .header-container .header-main-wrapper .header-main-container .logo {
    display: block;
    max-width: 170px;
}

.header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container {
    display: flex;
    margin-inline-start: auto;
}

.header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a {
    text-decoration: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    border: none;
    flex-direction: column-reverse;
    color: var(--color__contrast);
}

.header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a span {
    font-size: 10px;
    font-weight: 500;
    line-height: 15px;
}

.header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a .icon {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color__support);
}

.header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a .icon svg {
    position: relative;
    inset-block-start: 2px;
}

.header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a:hover .icon {
    background-color: var(--color__contrast);
    color: var(--color__primary);
}

.header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a:hover .icon svg {
    animation: beat .4s infinite alternate;
}

/* Body */
.text-block {
    padding-block: 50px;
}

.text-block__wrapper {
    max-width: 600px;
}

.text-block .text-block__title {
    color: var(--text-block__heading-color);
    font-size: 38px;
    line-height: 48px;
    font-weight: 600;
}

.text-block .text-block__divider {
    display: block;
    height: 1px;
    width: 40px;
    border-block-start: 5px solid var(--color__secondary);
    margin-block: 12px;
}

.text-block .text-block__text {
    color: var(--text-block__text-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
    line-height: 30px;
}

.text-block .text-block__text p,
.text-block .text-block__text ul {
    margin: 0;
}

.text-block .text-block__button .btn {
    color: var(--text-block__button-color);
    background-color: var(--text-block__button-background);
    margin-block-start: 30px;
}

.form-block {
    padding-block: 50px;
}

.form-block__wrapper {
    color: var(--color__contrast);
    background-color: var(--color__primary-light);
    padding: 40px 20px;
    border-radius: 12px;
    max-width: 850px;
}

.form-block .form-block__title {
    color: var(--text-block__heading-color);
    font-size: 38px;
    line-height: 48px;
    font-weight: 600;
}

.form-block .form-block__divider {
    display: block;
    height: 1px;
    width: 40px;
    border-block-start: 5px solid var(--color__secondary);
    margin-block: 12px;
}

.form-block .form-block__text {
    color: var(--text-block__text-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
    line-height: 30px;
}

.form-block .form-block__text p,
.form-block .form-block__text ul {
    margin: 0;
}

.form-block__form {
    margin-block-start: 20px;
}

.nps-block {
    padding-block: 50px;
}

.nps-block .nps-block__wrapper {
    /*display: grid;
    gap: .5rem;
    grid-template-columns: repeat(11, 1fr);*/
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

/*
.nps-block .nps-block__score {
    width: 40px;
}
*/

.nps-block .nps-block__score a {
    display: grid;
    place-items: center;
    width: 100%;
    height: 3rem;
    background-color: var(--nps-button-bg);
    color: var(--nps-button-color);
    text-decoration: none;
    font-size: 18px;
    border-radius: 50px;
    transition: 300ms ease-in-out all;
}

.nps-block .nps-block__score a:hover {
    opacity: .8;
    /*background-color: var(--nps-button-hover-bg);*/
}

.nps-block .nps-block__score a:focus-visible {
    outline: none;
    opacity: .8;
    /*background-color: var(--nps-button-hover-bg);
    box-shadow: 0 0 0 4px rgba(var(--nps-button-focus-shadow-rgb), .5);*/
}

/*
.nps-block .nps-block__score:nth-child(1) a { 
    --nps-button-bg: #e74c3c;
    --nps-button-hover-bg: #e33422;
    --nps-button-focus-shadow-rgb: 231,76,60; 
}

.nps-block .nps-block__score:nth-child(2) a { 
    --nps-button-bg: #e25e2a;
    --nps-button-hover-bg: #d4501c;
    --nps-button-focus-shadow-rgb: 226,94,42; 
}

.nps-block .nps-block__score:nth-child(3) a { 
    --nps-button-bg: #da6e16;
    --nps-button-hover-bg: #c46313;
    --nps-button-focus-shadow-rgb: 218,110,22; 
}

.nps-block .nps-block__score:nth-child(4) a { 
    --nps-button-bg: #cf7e00;
    --nps-button-hover-bg: #ba7100;
    --nps-button-focus-shadow-rgb: 207,126,0; 
}

.nps-block .nps-block__score:nth-child(5) a { 
    --nps-button-bg: #c28c00;
    --nps-button-hover-bg: #ae7e00;
    --nps-button-focus-shadow-rgb: 194,140,0; 
}

.nps-block .nps-block__score:nth-child(6) a { 
    --nps-button-bg: #b29a00;
    --nps-button-hover-bg: #a08a00;
    --nps-button-focus-shadow-rgb: 178,154,0; 
}

.nps-block .nps-block__score:nth-child(7) a { 
    --nps-button-bg: #a1a600;
    --nps-button-hover-bg: #909500;
    --nps-button-focus-shadow-rgb: 161,166,0; 
}

.nps-block .nps-block__score:nth-child(8) a { 
    --nps-button-bg: #8eb121;
    --nps-button-hover-bg: #7f9f1d;
    --nps-button-focus-shadow-rgb: 142,177,33; 
}

.nps-block .nps-block__score:nth-child(9) a { 
    --nps-button-bg: #77bb3b;
    --nps-button-hover-bg: #6ba835;
    --nps-button-focus-shadow-rgb: 119,187,59; 
}

.nps-block .nps-block__score:nth-child(10) a { 
    --nps-button-bg: #5bc456;
    --nps-button-hover-bg: #47bc41;
    --nps-button-focus-shadow-rgb: 91,196,86; 
}

.nps-block .nps-block__score:nth-child(11) a { 
    --nps-button-bg: #2ecc71;
    --nps-button-hover-bg: #29b765;
    --nps-button-focus-shadow-rgb: 46,204,113; 
}
*/

/* Footer */
.footer-contact-info-wrapper {
    position: relative;
    background-color: var(--color__contrast);
    color: var(--color__primary);
    width: 100%;
    margin-block-start: 30px;
}

.footer-contact-info-wrapper .footer-contact-info-container {
    max-width: 1140px;
    margin-inline: auto;
    padding-block: 60px;
    padding-inline: 20px;
}

.footer-contact-info-wrapper .footer-contact-info-container .logo-wrapper {
    display: flex;
    flex-direction: column;
}

.footer-contact-info-wrapper .footer-contact-info-container .logo-wrapper img {
    max-width: 221px;
    padding-block-end: 30px;
}

.footer-contact-info-wrapper .footer-contact-info-container .logo-wrapper h2 {
    margin-block-end: 25px;
}

.footer-contact-info-wrapper .footer-contact-info-container .info-container {
    display: grid;
    gap: 20px;
}

.footer-contact-info-wrapper .footer-contact-info-container .info-container .info-column img {
    max-width: 221px;
}

.footer-contact-info-wrapper .footer-contact-info-container .info-container .info-column h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
}

.footer-contact-info-wrapper .footer-contact-info-container .info-container .info-column p {
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    margin: 0;
}

.footer-contact-info-wrapper .footer-contact-info-container .info-container .info-column p b {
    font-weight: 600;
}

.footer-contact-info-wrapper .footer-contact-info-container .info-container .info-column a {
    display: flex;
    align-items: center;
    color: var(--color__primary);
    gap: 10px;
    text-decoration: none;
}

.footer-contact-info-wrapper .footer-contact-info-container .info-container .info-column a .icon {
    display: flex;
    width: 31px;
    height: 31px;
}

.footer-contact-info-wrapper .footer-contact-info-container .info-container .social-media {
    display: flex;
    gap: 1.25rem;
}

.footer-contact-info-wrapper .footer-contact-info-container .zipper {
    position: absolute;
    inset-block-start: 22%;
    /* inset-block-end: 14%; */
    inset-block-end: 10%;
    inset-inline-end: 0;
    width: 40px;
    background-image: repeating-linear-gradient(to bottom, transparent, transparent 24px, var(--color__secondary) 24px, var(--color__secondary) 30px);
}

@media screen and (min-width: 560px) {
    /* Body */
    /*.nps-block .nps-block__wrapper {
        display: grid;
        grid-template-columns: repeat(11, 1fr);
    }*/

    .nps-block .nps-block__score {
        width: auto;
    }
}


@media screen and (min-width: 750px) {
    .container {
        padding-inline: 80px;
    }

    /* Header */
    .header-wrapper .header-container .header-main-wrapper {
        padding-inline: 80px;
    }

    /* Body */
    .nps-block .nps-block__wrapper {
        gap: 1rem;
    }

    /* Footer */
    .footer-contact-info-wrapper .footer-contact-info-container .zipper {
        display: block;
    }
}

@media screen and (min-width: 950px) {
    /* Body */
    .form-block__wrapper {
        padding-inline: 75px;
    }

    /* Footer */
    .footer-contact-info-wrapper {
        margin-block-start: 50px;
    }

    .footer-contact-info-wrapper .footer-contact-info-container {
        padding-block: 90px 70px;
        padding-inline: 60px;
    }

    .footer-contact-info-wrapper .footer-contact-info-container .logo-wrapper {
        flex-direction: row;
        align-items: center;
        margin-block-end: 70px;
    }

    .footer-contact-info-wrapper .footer-contact-info-container .logo-wrapper img {
        padding-block-end: 0;
    }

    .footer-contact-info-wrapper .footer-contact-info-container .logo-wrapper h2 {
        margin-block-end: 0;
        margin-inline-start: auto;
    }

    .footer-contact-info-wrapper .footer-contact-info-container .info-container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        row-gap: 30px;
    }

    .footer-contact-info-wrapper .footer-contact-info-container .info-container .maybe-right {        
        width: 340px;
    }

    .footer-contact-info-wrapper .footer-contact-info-container .info-container .social-media {
        justify-content: flex-end;
    }
}

@media screen and (min-width: 1140px) {
    /* Header */
    .header-wrapper .header-container .header-main-wrapper .header-main-container {
        height: 96px;
        padding-block: 27px;
    }

    .header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a {
        gap: 5px;
    }

    .header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a span {
        font-size: 13px;
        font-weight: 600;
        line-height: 20px;
    }

    /* Footer */
    .footer-contact-info-wrapper .footer-contact-info-container .info-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        row-gap: normal;
    }

    .footer-contact-info-wrapper .footer-contact-info-container .info-container .maybe-right {
        width: auto;
    }

    .footer-contact-info-wrapper .footer-contact-info-container .info-container .social-media {
        grid-column-start: 4;
    }
}

@media screen and (min-width: 1260px) {
    /* Header */
    .header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a {
        flex-direction: row;
        padding: 10px 20px;
        background-color: var(--color__support);
    }

    .header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a .icon {
        width: 15px;
        height: 15px;
        padding: 0;
        background-color: none;
    }

    .header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a .icon svg {
        position: static;
    }

    .header-wrapper .header-container .header-main-wrapper .header-main-container .header-button-container a:hover {
        background-color: var(--color__contrast);
        color: var(--color__primary);
    }
}
