:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #334155;
    background: #f8fafc;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #f1f5f9 100%);
    line-height: 1.6;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.svg-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 1.25rem;
    color: #fff;
    text-align: center;
    background: linear-gradient(90deg, #2563eb, #1d4ed8 50%, #1e40af);
}

.hero__pattern {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: radial-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px);
    background-size: 24px 24px;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 76rem;
    margin: auto;
}

.hero__globe {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.25rem;
    animation: pulse 2.5s ease-in-out infinite;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(3rem, 7vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    text-shadow: 0 4px 10px rgba(15, 23, 42, .2);
}

.hero p {
    max-width: 60rem;
    margin: 0 auto;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 2px 5px rgba(15, 23, 42, .25);
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-top: 2.5rem;
}

.benefits span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-weight: 700;
    backdrop-filter: blur(8px);
}

main {
    width: min(72rem, calc(100% - 2rem));
    margin: 4rem auto 5rem;
}

.card {
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    box-shadow: 0 24px 50px -20px rgba(30, 64, 175, .28);
}

.about {
    padding: clamp(2rem, 5vw, 3.5rem);
    background: rgba(255, 255, 255, .84);
    text-align: center;
    backdrop-filter: blur(8px);
}

.section-icon {
    display: grid;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    place-items: center;
}

.section-icon .icon {
    width: 2.5rem;
    height: 2.5rem;
}

h2 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.about h2 {
    color: #1d4ed8;
}

.about p {
    max-width: 58rem;
    margin: 2rem auto 0;
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    color: #374151;
}

.about strong {
    color: #1d4ed8;
}

.contact {
    margin-top: 4rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.contact__heading {
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact__heading p {
    margin: .75rem 0 0;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
}

.contact-form {
    position: relative;
    max-width: 42rem;
    margin: auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.field {
    margin-bottom: 1.25rem;
}

.field label {
    display: block;
    margin-bottom: .5rem;
    color: #bfdbfe;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.field input,
.field textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: .75rem;
    outline: 0;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    font: inherit;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.field textarea {
    resize: vertical;
}

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

.field input:focus,
.field textarea:focus {
    border-color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .14);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.submit-button,
.secondary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    width: 100%;
    border: 0;
    border-radius: .75rem;
    cursor: pointer;
    color: #1d4ed8;
    background: #fff;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s, background .2s, box-shadow .2s;
}

.submit-button {
    padding: 1rem;
}

.submit-button:hover,
.secondary-button:hover {
    background: #eff6ff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .18);
    transform: translateY(-1px);
}

.submit-button:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.loading-icon {
    display: none;
}

.is-submitting .send-icon {
    display: none;
}

.is-submitting .loading-icon {
    display: block;
    animation: spin 1s linear infinite;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    max-width: 42rem;
    margin: 0 auto 1.25rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(252, 165, 165, .4);
    border-radius: .75rem;
    color: #fee2e2;
    background: rgba(239, 68, 68, .2);
}

.alert .icon {
    flex: 0 0 auto;
    margin-top: .12rem;
}

.alert p {
    margin: 0;
}

.form-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: 2rem 0;
    text-align: center;
}

.form-result__icon {
    width: 4rem;
    height: 4rem;
    color: #86efac;
}

.form-result strong {
    font-size: 1.5rem;
}

.form-result span {
    color: #bfdbfe;
    font-size: 1.1rem;
}

.secondary-button {
    width: auto;
    margin-top: .5rem;
    padding: .65rem 1.25rem;
    color: #fff;
    background: rgba(255, 255, 255, .18);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, .28);
}

footer {
    padding: 2rem 1rem;
    border-top: 4px solid #2563eb;
    color: #fff;
    background: linear-gradient(90deg, #1e293b, #0f172a, #1e293b);
    text-align: center;
}

footer p {
    margin: 0;
    font-weight: 300;
}

@keyframes pulse {
    50% { opacity: .65; transform: scale(.96); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero__globe {
        width: 4rem;
        height: 4rem;
    }

    .benefits {
        gap: .75rem;
    }

    .benefits span {
        padding: .45rem .75rem;
        font-size: .9rem;
    }

    main {
        width: min(100% - 1.25rem, 72rem);
        margin-top: 2.5rem;
        margin-bottom: 3rem;
    }

    .contact {
        margin-top: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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