:root {
    --navy: #001b3a;
    --navy-2: #06284c;
    --blue: #0667f9;
    --blue-dark: #0053d6;
    --green: #10b981;
    --ink: #162b44;
    --muted: #65758a;
    --line: #dfe8f2;
    --soft: #f5f9ff;
    --white: #fff;
    --shadow: 0 24px 70px rgba(0, 54, 121, .12);
    --radius-sm: 16px;
    --radius: 26px;
    --shell: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
p {
    margin-top: 0;
}

h1,
h2 {
    color: var(--navy);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.shell {
    position: relative;
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.contact-page {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 8%, rgba(16, 185, 129, .09), transparent 25%),
        linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.contact-hero {
    position: relative;
    padding: 76px 0 46px;
    text-align: center;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: -260px;
    right: -180px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(6, 103, 249, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 72px rgba(6, 103, 249, .025), 0 0 0 145px rgba(16, 185, 129, .018);
}

.contact-hero__heading {
    z-index: 1;
    max-width: 790px;
}

.contact-mascot {
    position: absolute;
    z-index: 2;
    right: max(90px, calc((100vw - var(--shell))/2 - 20px));
    bottom: -34px;
    width: 245px;
    height: auto;
    pointer-events: none;
}

.eyebrow {
    margin-bottom: 13px;
    color: var(--green);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
}

.contact-hero h1 span {
    color: transparent;
    background: linear-gradient(100deg, var(--green), var(--blue));
    background-clip: text;
    -webkit-background-clip: text;
}

.contact-hero__heading>p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.contact-section {
    padding: 24px 0 76px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: start;
    gap: 30px;
}

.contact-form-card,
.contact-details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--shadow);
}

.contact-form-card {
    padding: 38px;
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    padding-bottom: 27px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.card-heading .eyebrow {
    margin-bottom: 5px;
}

.card-heading h2,
.contact-details h2 {
    margin-bottom: 0;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.icon-box,
.contact-item__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--blue);
    background: #eaf2ff;
}

.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 17px;
}

.icon-box svg,
.contact-item__icon svg,
.contact-item__arrow,
.submit-button svg,
.response-note svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-box svg {
    width: 29px;
}

.contact-form {
    display: grid;
    gap: 21px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    color: var(--navy-2);
    font-size: .82rem;
    font-weight: 800;
}

.field input,
.field textarea {
    width: 100%;
    color: var(--ink);
    border: 1px solid #d8e3ef;
    border-radius: 13px;
    outline: none;
    background: #fbfdff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field input {
    height: 52px;
    padding: 0 16px;
}

.field textarea {
    min-height: 145px;
    padding: 14px 16px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa9ba;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(6, 103, 249, .1);
}

.submit-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 25px;
    color: #fff;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: var(--blue);
    box-shadow: 0 10px 25px rgba(6, 103, 249, .25);
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    background: var(--blue-dark);
    box-shadow: 0 14px 30px rgba(6, 103, 249, .3);
}

.submit-button svg {
    width: 21px;
}

.form-note {
    margin: -7px 0 0;
    color: var(--muted);
    font-size: .75rem;
    text-align: center;
}

.contact-details {
    padding: 38px 30px 30px;
}

.contact-details__intro {
    padding: 0 8px 27px;
}

.contact-details__intro h2 {
    margin-bottom: 14px;
}

.contact-details__intro>p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-size: .92rem;
}

.contact-list {
    display: grid;
    gap: 10px;
}

.contact-item {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

a.contact-item:hover {
    transform: translateX(3px);
    border-color: rgba(6, 103, 249, .35);
    box-shadow: 0 8px 22px rgba(0, 27, 58, .06);
}

.contact-item__icon {
    width: 47px;
    height: 47px;
    border-radius: 14px;
}

.contact-item__icon svg {
    width: 24px;
}

.contact-item--whatsapp .contact-item__icon {
    color: #078f61;
    background: #e8fbf3;
}

.contact-item>span:nth-child(2) {
    min-width: 0;
}

.contact-item small,
.contact-item strong,
.contact-item em {
    display: block;
}

.contact-item small {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 600;
}

.contact-item strong {
    overflow-wrap: anywhere;
    color: var(--navy);
    font-size: .88rem;
}

.contact-item em {
    margin-top: 2px;
    color: var(--muted);
    font-size: .75rem;
    font-style: normal;
}

.contact-item__arrow {
    width: 18px;
    margin-left: auto;
    color: #9bacc0;
}

.contact-item--schedule {
    align-items: flex-start;
    padding-block: 16px;
}

.response-note {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    margin-top: 18px;
    color: #087f5b;
    border-radius: var(--radius-sm);
    background: #eafbf5;
}

.response-note>span {
    width: 34px;
    height: 34px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #d2f6e8;
}

.response-note svg {
    width: 20px;
}

.response-note p {
    margin: 0;
    line-height: 1.4;
}

.response-note strong,
.response-note small {
    display: block;
}

.response-note strong {
    font-size: .83rem;
}

.response-note small {
    margin-top: 2px;
    color: #4c7e6e;
    font-size: .7rem;
}

@media (max-width: 850px) {
    .contact-hero {
        padding: 62px 0 38px;
    }

    .contact-mascot {
        position: relative;
        right: auto;
        bottom: auto;
        width: 185px;
        margin: 18px auto -28px;
    }

    .contact-section {
        padding-bottom: 62px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-details {
        order: -1;
    }
}

@media (max-width: 560px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .contact-hero {
        padding: 50px 0 30px;
    }

    .contact-mascot {
        width: 160px;
        margin-top: 16px;
    }

    .contact-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .contact-section {
        padding: 18px 0 48px;
    }

    .contact-form-card,
    .contact-details {
        padding: 25px 20px;
        border-radius: 21px;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 21px;
    }

    .card-heading {
        align-items: flex-start;
    }

    .icon-box {
        width: 50px;
        height: 50px;
    }

    .contact-item {
        padding: 11px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}