/* Contact page - aligned with the MK Systems light tech design system */
:root {
    --c-bg: #EDE7C7;
    --c-surface: #ffffff;
    --c-card: rgba(255, 255, 255, .9);
    --c-card-h: rgba(204, 0, 0, .05);
    --c-border: rgba(20, 9, 1, .1);
    --brick-ember: #CC0000;
    --c-green: #00a86b;
    --black-cherry: #5B0202;
    --c-amber: #f59e0b;
    --c-text: #140901;
    --c-muted: #3D3830;
    --c-head: #140901;
    --ff-title: 'Orbitron', sans-serif;
    --ff-body: 'Inter', sans-serif;
    --ff-mono: 'Share Tech Mono', monospace;
    --glow-cyan: 0 0 18px rgba(204, 0, 0, .28), 0 14px 40px rgba(204, 0, 0, .14);
    --glow-violet: 0 0 18px rgba(91, 2, 2, .24), 0 14px 40px rgba(91, 2, 2, .12);
    --glow-green: 0 0 12px rgba(0, 168, 107, .28);
}

body {
    background: var(--c-bg) !important;
    color: var(--c-text) !important;
    font-family: var(--ff-body) !important;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gt-page-wrap {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 8%, rgba(204, 0, 0, .16) 0 90px, transparent 230px),
            radial-gradient(circle at 100% 42%, rgba(91, 2, 2, .12) 0 80px, transparent 240px),
            linear-gradient(rgba(204, 0, 0, .06) 1px, transparent 1px),
            linear-gradient(90deg, rgba(91, 2, 2, .045) 1px, transparent 1px),
        linear-gradient(180deg, #f5faff 0%, #e7f2ff 46%, #f8fbff 100%) !important;
    background-size: auto, auto, auto, 54px 54px, 54px 54px, auto;
}

.gt-page-wrap::before,
.gt-page-wrap::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.gt-page-wrap::before {
    background-image:
        linear-gradient(rgba(204, 0, 0, .13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236, 72, 153, .09) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: .75;
    -webkit-mask-image: radial-gradient(circle at 50% 16%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 16%, #000 0%, transparent 72%);
    animation: gridPulse 8s ease-in-out infinite;
}

.gt-page-wrap::after {
    background:
        linear-gradient(120deg, rgba(204, 0, 0, .18), transparent 34%),
        linear-gradient(300deg, rgba(0, 168, 107, .15), transparent 42%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .45), transparent 34%);
    opacity: .95;
}

@keyframes gridPulse {
    0%, 100% { opacity: .62; }
    50% { opacity: 1; }
}

.container {
    position: relative;
    z-index: 1;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, .68) 0%, rgba(237, 231, 199, .62) 48%, rgba(255, 255, 255, .7) 100%),
        /* radial-gradient(circle at 72% 35%, rgba(0, 109, 252, .18), transparent 33%), */ /* Original blue */
        radial-gradient(circle at 72% 35%, rgba(0, 109, 252, .18), transparent 33%),
        /* radial-gradient(circle at 18% 78%, rgba(139, 92, 246, .14), transparent 31%), */ /* Original violet */
        radial-gradient(circle at 18% 78%, rgba(139, 92, 246, .14), transparent 31%),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=75') center/cover no-repeat fixed !important;
}

.hero::before,
.hero::after,
.section-bg::before,
.form-section::before,
.cta-band::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* .hero::before {
    top: -110px;
    left: -110px;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(204, 0, 0, .24) 0%, transparent 68%),
        conic-gradient(from 130deg, rgba(204, 0, 0, .08), rgba(91, 2, 2, .08), rgba(0, 168, 107, .06), rgba(204, 0, 0, .08));
    animation: orb1 12s ease-in-out infinite alternate;
}

.hero::after {
    right: -90px;
    bottom: -130px;
    width: 760px;
    height: 760px;
    background: radial-gradient(circle, rgba(91, 2, 2, .2) 0%, transparent 68%),
        linear-gradient(135deg, transparent 0 46%, rgba(204, 0, 0, .13) 46% 47%, transparent 47% 100%);
    animation: orb2 14s ease-in-out infinite alternate;
} */

@keyframes orb1 {
    from { transform: translate(0, 0); }
    to { transform: translate(60px, 40px); }
}

@keyframes orb2 {
    from { transform: translate(0, 0); }
    to { transform: translate(-50px, -30px); }
}

.contact-grid,
.form-grid-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 3.5rem !important;
    align-items: center !important;
}

.form-grid-layout {
    align-items: start !important;
}

.contact-grid > *,
.form-grid-layout > * {
    min-width: 0;
}

.hero-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.35rem;
}

.hero-kicker,
.hero-kicker-note {
    font-family: var(--ff-mono) !important;
    font-size: .72rem !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .9rem; /* Original value */
    border: 1px solid rgba(204, 0, 0, .28); /* Changed from blue */
    border-radius: 999px; /* Original value */
    background: rgba(255, 255, 255, .9); /* Original value */
    color: var(--brick-ember) !important; /* Changed from blue */
    box-shadow: 0 10px 28px rgba(204, 0, 0, .14), inset 0 0 18px rgba(204, 0, 0, .05); /* Changed from blue */
}

.hero-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, #7dd3fc 0%, #4ade80 100%);
    box-shadow: 0 0 14px rgba(74, 222, 128, .45);
    animation: blink 1.8s ease-in-out infinite;
}

.hero-kicker-note {
    color: rgba(33, 49, 73, .68) !important;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem !important;
    color: var(--brick-ember) !important;
    font-family: var(--ff-mono) !important;
    font-size: .78rem !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
}

.eyebrow::before {
    content: '//';
    opacity: .6;
}

.hero h1,
.form-sidebar h2,
.cta-band h2,
.contact-card h3,
.sidebar-support-card h3, /* Original value */
.captcha-info-card h3,
.form-success h3 {
    color: var(--c-head) !important;
    font-family: var(--ff-title) !important;
    letter-spacing: 0 !important;
    text-shadow: 0 0 22px rgba(0, 109, 252, .18) !important;
}

.hero h1 {
    max-width: 720px;
    margin: 0 0 1.3rem !important;
    font-size: clamp(1.85rem, 3.5vw, 2.8rem) !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
}

.hero-subtext {
    max-width: 560px;
    margin: 0 0 1.65rem !important;
    color: var(--c-text) !important;
    font-size: 1.08rem !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .65) !important;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2rem;
}

.btn-primary,
.btn-outline,
.btn-dark,
.btn-ghost,
.btn-submit,
.captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    border: 1px solid transparent !important;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%) !important;
    font-family: var(--ff-title) !important;
    font-size: .7rem !important;
    font-weight: 700;
    letter-spacing: .1em !important;
    line-height: 1.25;
    padding: .82rem 1.65rem !important;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background .25s, border-color .25s, box-shadow .25s, color .25s, transform .25s !important;
}

.btn-primary,
.btn-dark,
.btn-submit { /* Original value */
    background: linear-gradient(135deg, var(--brick-ember), var(--black-cherry)) !important;
    border-color: rgba(204, 0, 0, .32) !important;
    color: #fff !important; /* Original value */
    box-shadow: var(--glow-cyan) !important; /* Original value */
}

.btn-primary:hover,
.btn-dark:hover,
.btn-submit:hover { /* Original value */
    color: #fff !important; /* Original value */
    transform: translateY(-1px); /* Original value */
}

.btn-outline,
.btn-ghost,
.captcha-refresh { /* Original value */
    background: rgba(255, 255, 255, .78) !important; /* Original value */
    border-color: rgba(91, 2, 2, .35) !important;
    color: var(--black-cherry) !important; /* Original value */
    box-shadow: var(--glow-violet) !important; /* Original value */
}

.btn-outline:hover,
.btn-ghost:hover,
.captcha-refresh:hover { /* Original value */
    background: rgba(91, 2, 2, .1) !important;
    color: var(--black-cherry) !important;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .38rem .85rem !important; /* Original value */
    border: 1px solid rgba(204, 0, 0, .28) !important; /* Changed from blue */
    clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%); /* Original value */
    background: rgba(255, 255, 255, .9) !important; /* Original value */
    color: var(--brick-ember) !important; /* Changed from blue */
    box-shadow: 0 10px 28px rgba(204, 0, 0, .14), inset 0 0 18px rgba(204, 0, 0, .05) !important; /* Changed from blue */
    font-family: var(--ff-mono) !important;
    font-size: .73rem !important;
}

.dot,
.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-green);
    box-shadow: var(--glow-green);
    animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.section-bg,
.form-section,
.cta-band {
    position: relative; /* Original value */
    overflow: hidden; /* Original value */
    background: linear-gradient(180deg, rgba(237, 231, 199, .72) 0%, rgba(216, 210, 178, .78) 100%),
        /* radial-gradient(circle at 20% 0%, rgba(0, 109, 252, .15), transparent 34%), */ /* Original blue */
        radial-gradient(circle at 20% 0%, rgba(0, 109, 252, .15), transparent 34%),
        radial-gradient(circle at 88% 86%, rgba(0, 168, 107, .12), transparent 32%),
        url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?auto=format&fit=crop&w=1920&q=70') center/cover no-repeat fixed !important;
    border-top: 1px solid rgba(0, 82, 204, .14) !important;
    border-bottom: 1px solid rgba(0, 82, 204, .14) !important;
}

.section-bg,
.form-section {
    padding: 90px 0 !important;
}

.form-section::before,
.section-bg::before,
.cta-band::after {
    inset: 0; /* Original value */
    background: linear-gradient(115deg, transparent 0 18%, rgba(204, 0, 0, .08) 18% 18.4%, transparent 18.4% 64%, rgba(91, 2, 2, .08) 64% 64.35%, transparent 64.35%),
        radial-gradient(circle at 12% 22%, rgba(0, 109, 252, .12), transparent 18%),
        radial-gradient(circle at 92% 82%, rgba(236, 72, 153, .09), transparent 20%);
}

.contact-cards {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 260px)) !important;
    justify-content: center !important;
    gap: 1.5rem !important;
}

.contact-card,
.contact-form,
.sidebar-support-card,
.sidebar-support-stat,
.sidebar-support-item,
.timeline-item,
.captcha-info-card,
#field-fcaptcha-question,
#field-fcaptcha-answer,
.captcha-tile,
.captcha-puzzle {
    background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(238, 247, 255, .82)) !important;
    border: 1px solid rgba(204, 0, 0, .24) !important;
    box-shadow: 0 16px 40px rgba(20, 9, 1, .12), inset 0 0 0 1px rgba(255, 255, 255, .72) !important;
    backdrop-filter: blur(12px);
}

.contact-card {
    position: relative;
    overflow: hidden;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

.contact-card::before,
.contact-card::after,
.contact-form::before,
.contact-form::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--brick-ember);
    border-style: solid;
    z-index: 2;
}

.contact-card::before,
.contact-form::before {
    top: 8px;
    left: 8px;
    border-width: 2px 0 0 2px;
}

.contact-card::after,
.contact-form::after {
    right: 8px;
    bottom: 8px;
    border-width: 0 2px 2px 0;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 0, 0, .42) !important;
    box-shadow: var(--glow-cyan), 0 20px 42px rgba(20, 9, 1, .18) !important;
}

.scan-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brick-ember), transparent);
    transform: scaleX(0);
    transition: transform .4s;
}

.contact-card:hover .scan-top {
    transform: scaleX(1);
}

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); /* Original value */
    background: rgba(255, 255, 255, .78);
    color: var(--brick-ember);
    box-shadow: inset 0 0 18px currentColor; /* Original value */
    filter: drop-shadow(0 10px 18px rgba(204, 0, 0, .18)); /* Changed from blue */
    font-size: 1.35rem;
}

.contact-card h3 {
    margin: 0 0 .65rem !important;
    font-size: .92rem !important;
    font-weight: 700 !important;
}

.contact-card p,
.contact-card a.card-link,
.form-sidebar > p,
.sidebar-support-card p,
.captcha-info-card p,
.cta-band p,
.form-success p {
    color: #465c78 !important;
}

.contact-card p {
    margin: 0 !important;
    font-size: .96rem !important;
    line-height: 1.68 !important;
    overflow-wrap: anywhere;
}

.contact-card a.card-link {
    text-decoration: none !important;
    transition: color .2s;
}

.contact-card a.card-link:hover {
    color: var(--brick-ember) !important;
}

.form-sidebar h2 {
    margin: .7rem 0 1rem !important;
    font-size: clamp(1.45rem, 2.5vw, 2rem) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.form-sidebar > p {
    margin: 0 0 1.5rem !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.timeline-item {
    position: relative;
    padding: .9rem 1.1rem .9rem 1.3rem;
    border-left: 2px solid rgba(204, 0, 0, .3) !important;
    background: linear-gradient(90deg, rgba(204, 0, 0, .1), rgba(255, 255, 255, .78)) !important;
    color: var(--c-text);
    font-size: .97rem;
    transition: border-color .25s, background .25s, transform .25s;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brick-ember);
    box-shadow: var(--glow-cyan);
    transform: translateY(-50%);
}

.timeline-item:hover {
    transform: translateX(4px);
    border-color: var(--brick-ember) !important;
}

.timeline-item strong {
    color: var(--brick-ember);
}

.sidebar-support-card {
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    padding: 1.35rem;
}

.sidebar-support-inner {
    position: relative;
    z-index: 1;
}

.sidebar-support-kicker,
.captcha-info-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .85rem;
    color: var(--brick-ember);
    font-family: var(--ff-mono);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sidebar-support-kicker::before,
.captcha-info-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brick-ember);
    box-shadow: var(--glow-cyan);
}

.sidebar-support-card h3 {
    margin: 0 0 .8rem !important;
    font-size: 1.1rem !important;
    line-height: 1.45 !important;
}

.sidebar-support-card p {
    margin: 0 0 1.1rem !important;
    font-size: .97rem !important;
    line-height: 1.8 !important;
}

.sidebar-support-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin-bottom: 1rem;
}

.sidebar-support-stat {
    padding: .9rem .95rem;
}

.sidebar-support-stat strong {
    display: block;
    color: var(--c-head);
    font-family: var(--ff-title);
    font-size: 1.12rem;
}

.sidebar-support-stat span {
    color: var(--c-muted);
    font-family: var(--ff-mono);
    font-size: .64rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sidebar-support-list {
    display: grid;
    gap: .75rem;
}

.sidebar-support-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .82rem .9rem;
    border-left: 2px solid rgba(204, 0, 0, .3) !important;
    color: var(--c-text);
    font-size: .9rem;
    line-height: 1.6;
}

.sidebar-support-item i {
    flex-shrink: 0;
    margin-top: .12rem;
    color: var(--brick-ember);
}

.contact-form {
    position: relative;
    overflow: hidden;
    padding: 2.4rem 2rem;
}

.form-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 1.75rem !important;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(204, 0, 0, .15);
    color: var(--brick-ember) !important;
    font-family: var(--ff-title) !important;
    font-size: .78rem !important;
    letter-spacing: .14em !important;
    text-transform: uppercase;
}

.form-title::before {
    content: '//';
    opacity: .6;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.form-field label {
    color: var(--c-muted) !important;
    font-family: var(--ff-mono) !important;
    font-size: .72rem !important;
    letter-spacing: .1em !important;
    text-transform: uppercase;
}

.form-field label span {
    color: var(--brick-ember);
}

.form-field input,
.form-field textarea,
.form-field select,
.captcha-selection { /* Original value */
    width: 100%; /* Original value */
    border: 1px solid rgba(204, 0, 0, .18) !important; /* Changed from blue */
    border-radius: 0 !important; /* Original value */
    background: rgba(255, 255, 255, .78) !important; /* Original value */
    color: var(--c-head) !important; /* Original value */
    font-family: var(--ff-body) !important; /* Original value */
    font-size: .97rem !important; /* Original value */
    outline: none !important; /* Original value */
    transition: border-color .25s, box-shadow .25s, background .25s !important; /* Original value */
}

.form-field input,
.form-field select,
.captcha-selection { /* Original value */
    min-height: 46px; /* Original value */
    padding: .8rem 1rem !important; /* Original value */
}

.form-field textarea {
    min-height: 150px;
    padding: .9rem 1rem !important;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(33, 49, 73, .42) !important;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { /* Original value */
    border-color: rgba(204, 0, 0, .48) !important; /* Changed from blue */
    box-shadow: 0 0 0 3px rgba(204, 0, 0, .1) !important; /* Changed from blue */
    background: rgba(255, 255, 255, .95) !important;
}

.form-field select option,
.form-field select optgroup {
    color: var(--c-head) !important;
    background: #fff !important;
}

.field-error,
.submit-error {
    display: none;
    color: #b42318;
    font-size: .82rem;
    line-height: 1.45;
}

.has-error .field-error,
.submit-error.visible {
    display: block;
}

.form-field input.error,
.form-field textarea.error,
.form-field select.error,
.has-error input,
.has-error textarea,
.has-error select {
    border-color: rgba(220, 38, 38, .62) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .08) !important;
}

.captcha-band {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 1rem;
}

.captcha-info-card,
#field-fcaptcha-question,
#field-fcaptcha-answer {
    padding: 1.1rem;
}

.captcha-info-card h3 {
    margin: 0 0 .55rem !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
}

.captcha-info-card p {
    margin: 0 0 .9rem !important;
    font-size: .9rem !important;
    line-height: 1.65 !important;
}

.captcha-info-points {
    display: grid;
    gap: .55rem;
}

.captcha-info-point {
    display: flex;
    gap: .55rem;
    color: var(--c-text);
    font-size: .84rem;
    line-height: 1.5;
}

.captcha-info-point i {
    flex-shrink: 0;
    margin-top: .15rem;
    color: var(--brick-ember);
}

.captcha-puzzle {
    padding: .7rem;
}

.captcha-puzzle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}

.captcha-tile {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    padding: 0;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.captcha-tile:hover,
.captcha-tile.is-selected {
    transform: translateY(-2px); /* Original value */
    border-color: rgba(204, 0, 0, .46) !important; /* Changed from blue */
    box-shadow: var(--glow-cyan), 0 20px 42px rgba(20, 9, 1, .14) !important; /* Changed from blue */
}

.captcha-tile.is-selected::after {
    content: '\f00c';
    position: absolute;
    top: .35rem;
    right: .35rem;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brick-ember);
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .72rem;
}

.captcha-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.captcha-hint {
    color: #405a78;
    font-size: .9rem;
}

.captcha-refresh {
    align-self: flex-start;
    margin-top: .35rem;
    padding: .65rem 1rem !important;
}

.captcha-selection {
    margin: 0 !important;
    color: var(--c-text) !important;
    font-family: var(--ff-mono) !important;
    font-size: .82rem !important;
}

.btn-submit {
    width: 100%;
    margin-top: .25rem;
    cursor: pointer;
}

.btn-submit .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .75s linear infinite;
}

.btn-submit.loading .spinner {
    display: inline-block;
}

.btn-submit.loading .btn-text {
    opacity: .72;
}

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

.form-success {
    display: none;
    padding: 2rem 1rem;
    text-align: center;
}

.form-success.visible {
    display: block;
}

.form-success-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem; /* Original value */
    border-radius: 50%; /* Original value */
    background: rgba(0, 168, 107, .12); /* Original value */
    color: var(--c-green); /* Original value */
    box-shadow: var(--glow-green); /* Original value */
    font-size: 1.5rem;
}

.form-success h3 {
    margin: 0 0 .5rem !important;
    font-size: 1.35rem !important;
}

.form-success p {
    margin: 0 !important;
}

.cta-band {
    padding: 70px 0 !important;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-band h2 {
    margin: 0 0 .45rem !important;
    font-size: clamp(1.25rem, 2.5vw, 1.8rem) !important;
    font-weight: 700 !important;
}

.cta-band p {
    margin: 0 !important;
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
}

.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity .65s cubic-bezier(0.22, 1, 0.36, 1), transform .65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal {
    transform: translateY(28px);
}

.reveal-left {
    transform: translateX(-36px);
}

.reveal-right {
    transform: translateX(36px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1 !important;
    transform: none !important;
}

.delay-1 { transition-delay: .08s !important; }
.delay-2 { transition-delay: .16s !important; }
.delay-3 { transition-delay: .24s !important; }
.delay-4 { transition-delay: .32s !important; }

/* Hero chatbot robot */
.agent-scene {
    position: relative;
    display: flex;
    align-items: center; /* Original value */
    justify-content: center; /* Original value */
    width: min(420px, 100%); /* Original value */
    min-height: 360px; /* Original value */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.agent-ring {
    position: absolute;
    border: 1px solid rgba(0, 109, 252, .22);
    border-radius: 50%; /* Original value */
    animation: ringPulse 4s ease-in-out infinite; /* Original value */
}

.agent-ring-1 { width: 190px; height: 190px; }
.agent-ring-2 { width: 270px; height: 270px; animation-delay: .7s; border-color: rgba(139, 92, 246, .18); }
.agent-ring-3 { width: 350px; height: 350px; animation-delay: 1.4s; border-color: rgba(0, 168, 107, .14); }

@keyframes ringPulse {
    0%, 100% { transform: scale(.98); opacity: .42; }
    50% { transform: scale(1.04); opacity: 1; }
}

.agent-wrap {
    position: relative;
    z-index: 3;
    display: flex; /* Original value */
    flex-direction: column; /* Original value */
    align-items: center; /* Original value */
    animation: agentFloat 3.8s ease-in-out infinite;
    filter: drop-shadow(0 28px 38px rgba(10, 24, 72, .45));
}

@keyframes agentFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.agent-bubble {
    position: absolute;
    bottom: calc(100% + 22px);
    left: 50%;
    min-width: 210px; /* Original value */
    max-width: 280px; /* Original value */
    padding: .72rem .9rem; /* Original value */
    border: 1px solid rgba(96, 165, 250, .3); /* Original value */
    border-radius: 12px; /* Original value */
    background: rgba(11, 18, 58, .94); /* Original value */
    color: #60a5fa; /* Original value */
    box-shadow: 0 0 18px rgba(96, 165, 250, .18); /* Original value */
    font-family: var(--ff-mono); /* Original value */
    font-size: .74rem; /* Original value */
    letter-spacing: .03em;
    line-height: 1.45;
    text-align: center;
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
}

.agent-bubble::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border: 8px solid transparent;
    border-top-color: rgba(11, 18, 58, .94); /* Original value */
}

.agent-bubble.msg-in {
    animation: bubbleIn .45s ease forwards;
}

.agent-bubble.msg-out {
    animation: bubbleOut .4s ease forwards;
}

@keyframes bubbleIn {
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes bubbleOut {
    to { opacity: 0; transform: translateX(-50%) translateY(-6px); }
}

.agent-head-wrap {
    position: relative;
    width: 148px;
    cursor: pointer; /* Original value */
}

.agent-headband {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.hs-cup-l,
.hs-cup-r {
    position: absolute;
    top: 30px;
    z-index: 10;
    width: 28px;
    height: 50px;
    border-radius: 9px;
    background: linear-gradient(160deg, #2a3880 0%, #141e5c 100%);
    box-shadow: inset 0 3px 6px rgba(255, 255, 255, .12), 0 4px 12px rgba(8, 15, 50, .45);
}

.hs-cup-l { left: -16px; }
.hs-cup-r { right: -16px; }

.hs-cup-l::after,
.hs-cup-r::after {
    content: '';
    position: absolute; /* Original value */
    inset: 4px;
    border-radius: 5px;
    background: #0c1448;
}

.agent-mic-arm {
    position: absolute;
    top: 100%;
    left: 5px; /* Original value */
    width: 52px; /* Original value */
    height: 48px; /* Original value */
    pointer-events: none;
}

.agent-mic-arm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px; /* Original value */
    width: 3px; /* Original value */
    height: 28px;
    border-radius: 2px;
    background: #2a3880;
}

.agent-mic-arm::after {
    content: '';
    position: absolute;
    bottom: 8px; /* Original value */
    left: 8px; /* Original value */
    width: 42px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, #2a3880, #1e306a);
}

.agent-mic-cap {
    position: absolute;
    right: 0;
    bottom: 1px; /* Original value */
    z-index: 2;
    width: 16px; /* Original value */
    height: 16px; /* Original value */
    border-radius: 50%;
    background: radial-gradient(circle, #60a5fa 0%, #1a2870 70%);
    box-shadow: 0 0 8px rgba(96, 165, 250, .9), 0 0 18px rgba(96, 165, 250, .4);
    animation: micPulse 1.8s ease-in-out infinite;
}

@keyframes micPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.agent-mic-wave {
    position: absolute;
    right: 0;
    bottom: 1px; /* Original value */
    width: 16px; /* Original value */
    border: 1.5px solid rgba(96, 165, 250, .5);
    border-radius: 50%;
    animation: micWave 1.8s ease-out infinite;
}

.agent-mic-wave:nth-child(3) { animation-delay: .6s; }
.agent-mic-wave:nth-child(4) { animation-delay: 1.2s; }

@keyframes micWave {
    from { transform: scale(1); opacity: .7; }
    to { transform: scale(2.8); opacity: 0; }
}

.agent-head {
    position: relative;
    width: 148px;
    height: 136px; /* Original value */
    border-radius: 68px 68px 36px 36px; /* Original value */
    background: linear-gradient(155deg, #e8f0fa 0%, #cddaf0 100%); /* Original value */
    box-shadow: inset 0 -7px 20px rgba(20, 32, 100, .14), inset 0 5px 14px rgba(255, 255, 255, .65), 0 8px 28px rgba(8, 15, 50, .35); /* Original value */
    transition: box-shadow .3s ease; /* Original value */
}

.agent-head-wrap:hover .agent-head {
    box-shadow: inset 0 -7px 20px rgba(20, 32, 100, .14), inset 0 5px 14px rgba(255, 255, 255, .65), 0 8px 28px rgba(8, 15, 50, .35), 0 0 0 3px rgba(96, 165, 250, .45), 0 0 32px rgba(96, 165, 250, .28);
}

.agent-ear {
    position: absolute;
    top: 38px;
    width: 17px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(to bottom, #cddaf0, #a8bce0);
}

.agent-ear-l { left: -11px; }
.agent-ear-r { right: -11px; }

.agent-visor {
    position: absolute;
    inset: 16px 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    border-radius: 34px 34px 26px 26px;
    background: linear-gradient(155deg, #0c1448 0%, #14205a 100%);
}

.agent-visor::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px; /* Original value */
    background: rgba(96, 165, 250, .45);
    animation: agentVisorScan 3.2s linear infinite;
}

@keyframes agentVisorScan {
    from { top: -2px; opacity: 0; }
    8%, 90% { opacity: .7; }
    to { top: 102%; opacity: 0; }
}

.agent-eyes-row {
    position: relative;
    z-index: 1;
    display: flex; /* Original value */
    gap: 20px; /* Original value */
}

.agent-eye {
    width: 18px;
    height: 32px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, .5);
    animation: agentBlink 4.5s ease-in-out infinite;
}

@keyframes agentBlink {
    0%, 90%, 100% { transform: scaleY(1); }
    94% { transform: scaleY(.06); }
}

.agent-smile {
    position: relative;
    z-index: 1;
    width: 42px; /* Original value */
    height: 15px; /* Original value */
    border: 3px solid transparent;
    border-bottom-color: #60a5fa;
    border-radius: 0 0 32px 32px;
}

.agent-cheek {
    position: absolute;
    bottom: 20px;
    width: 20px; /* Original value */
    height: 10px; /* Original value */
    border-radius: 50%;
    background: rgba(192, 132, 252, .2);
}

.agent-cheek-l { left: 11px; }
.agent-cheek-r { right: 11px; }

.agent-chat-hint {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 20;
    display: flex; /* Original value */
    align-items: center; /* Original value */
    gap: 7px; /* Original value */
    padding: 5px 12px 5px 9px; /* Original value */
    border: 1px solid rgba(96, 165, 250, .4); /* Original value */
    border-radius: 20px; /* Original value */
    background: rgba(255, 255, 255, .9); /* Original value */
    color: #0052cc; /* Original value */
    box-shadow: 0 4px 18px rgba(96, 165, 250, .15); /* Original value */
    font-family: var(--ff-mono); /* Original value */
    font-size: .6rem; /* Original value */
    white-space: nowrap; /* Original value */
    opacity: 0; /* Original value */
    pointer-events: none; /* Original value */
    transform: translateX(-50%) translateY(4px); /* Original value */
    transition: opacity .22s ease, transform .22s ease; /* Original value */
}

.agent-head-wrap:hover .agent-chat-hint {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 1000px) {
    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 260px)) !important;
    }
}

@media (max-width: 900px) {
    .contact-grid,
    .form-grid-layout {
        grid-template-columns: 1fr !important;
    }

    .contact-grid {
        gap: 2.5rem !important;
    }

    .captcha-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: clamp(.85rem, 4vw, 1.25rem);
        padding-right: clamp(.85rem, 4vw, 1.25rem);
    }

    .hero {
        padding: 66px 0 50px !important;
        background-attachment: scroll !important;
    }

    .section-bg,
    .form-section,
    .cta-band {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        background-attachment: scroll !important;
    }

    .hero-topline {
        align-items: flex-start;
        gap: .65rem;
    }

    .hero-kicker-note {
        width: 100%;
    }

    .eyebrow {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: .35rem .5rem;
        font-size: clamp(.58rem, 2.8vw, .72rem) !important;
        letter-spacing: .12em !important;
        line-height: 1.45;
    }

    .hero h1 {
        font-size: clamp(1.55rem, 9vw, 2.15rem) !important;
        line-height: 1.16 !important;
    }

    .hero-subtext {
        font-size: clamp(.9rem, 4vw, 1rem) !important;
        line-height: 1.65 !important;
    }

    .btn-row {
        margin-bottom: 1.35rem;
    }

    .btn-primary,
    .btn-outline,
    .btn-dark,
    .btn-ghost,
    .btn-submit {
        width: 100%;
        justify-content: center;
        padding: .74rem 1.1rem !important;
    }

    .hero-badges,
    .btn-row {
        flex-direction: column;
    }

    .hero-badge {
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
    }

    .contact-cards,
    .form-row-2,
    .sidebar-support-stats {
        grid-template-columns: 1fr !important;
    }

    .contact-form {
        padding: 2rem 1.1rem;
    }

    .cta-band-inner {
        flex-direction: column;
        text-align: center;
    }

    .agent-scene {
        min-height: 300px;
    }

    .agent-ring-3 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.42rem !important;
    }

    .contact-card {
        padding: 1.65rem 1rem;
    }

    .captcha-puzzle-grid {
        gap: .38rem;
    }

    .agent-scene {
        transform: scale(.86);
        transform-origin: center top;
        min-height: 260px;
    }
}
