/* =========================================================
   MILLIONS OF SOLUTIONS
   CONTACT US PAGE
========================================================= */

.contact-page {
    --navy: #07182d;
    --navy-2: #0b2542;
    --gold: #d6a94f;
    --gold-2: #f0cf87;
    --blue: #2f78df;
    --text: #0f1e31;
    --muted: #667488;
    --line: #e2e8ef;
    --light: #f6f8fb;
    background: #fff;
    color: var(--text);
    overflow: hidden;
}

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

.contact-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.contact-section {
    padding: 100px 0;
}

.contact-section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.contact-section-heading.contact-center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.contact-section-heading > span,
.contact-eyebrow,
.contact-final-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .19em;
}

.contact-section-heading > span::before,
.contact-eyebrow::before,
.contact-final-label::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.contact-section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(36px,4.3vw,58px);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 800;
}

.contact-section-heading h2 em {
    color: var(--gold);
    font-style: normal;
}

.contact-section-heading p {
    margin: 21px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   BUTTONS
========================================================= */

.contact-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: .22s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.contact-btn-primary {
    color: #071629;
    background: linear-gradient(135deg,var(--gold-2),var(--gold));
    box-shadow: 0 16px 35px rgba(214,169,79,.17);
}

.contact-btn-primary:hover {
    color: #071629;
}

.contact-btn-secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.05);
}

.contact-btn-secondary:hover {
    color: #fff;
    border-color: rgba(214,169,79,.5);
}

/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;
    min-height: 720px;
    padding: 94px 0 90px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 24%,rgba(47,120,223,.26),transparent 31%),
        radial-gradient(circle at 15% 85%,rgba(214,169,79,.11),transparent 25%),
        linear-gradient(135deg,#061529,#0a213b 62%,#07182d);
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
    background-size: 52px 52px;
}

.contact-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .98fr 1.02fr;
    align-items: center;
    gap: 68px;
}

.contact-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(48px,5.25vw,76px);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 800;
}

.contact-hero h1 span {
    display: block;
    color: var(--gold);
}

.contact-hero-copy > p {
    max-width: 660px;
    margin: 25px 0 0;
    color: rgba(255,255,255,.74);
    font-size: 17px;
    line-height: 1.8;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 33px;
}

.contact-hero-meta {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-top: 33px;
}

.contact-hero-meta div {
    padding: 13px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
    background: rgba(255,255,255,.035);
}

.contact-hero-meta strong,
.contact-hero-meta span {
    display: block;
}

.contact-hero-meta strong {
    color: #fff;
    font-size: 10px;
}

.contact-hero-meta span {
    margin-top: 4px;
    color: rgba(255,255,255,.47);
    font-size: 7px;
}

/* =========================================================
   HERO VISUAL
========================================================= */

.contact-hero-visual {
    position: relative;
    min-height: 530px;
}

.contact-message-window {
    position: absolute;
    z-index: 4;
    top: 55px;
    left: 50%;
    width: 82%;
    overflow: hidden;
    transform: translateX(-50%) rotate(1deg);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    background: #f7f9fc;
    box-shadow: 0 38px 90px rgba(0,0,0,.28);
    animation: contactWindowFloat 7s ease-in-out infinite;
}

.message-window-top {
    display: flex;
    height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    color: #657588;
    background: #e9eef4;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .12em;
}

.message-window-top i {
    padding: 5px 8px;
    border-radius: 999px;
    color: #26784b;
    background: #ddf5e6;
    font-size: 6px;
    font-style: normal;
}

.message-window-body {
    padding: 25px;
}

.mini-input,
.mini-message {
    padding: 12px;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    background: #fff;
}

.mini-input {
    margin-bottom: 10px;
}

.mini-input small,
.mini-message small {
    display: block;
    margin-bottom: 9px;
    color: #8a98a7;
    font-size: 6px;
    font-weight: 900;
    letter-spacing: .1em;
}

.mini-input b {
    display: block;
    width: 72%;
    height: 7px;
    border-radius: 6px;
    background: #dbe4ed;
}

.mini-input b.medium {
    width: 52%;
}

.mini-message span {
    display: block;
    width: 92%;
    height: 6px;
    margin-top: 7px;
    border-radius: 5px;
    background: #dce5ed;
}

.mini-message span.short {
    width: 56%;
}

.mini-submit {
    display: flex;
    width: 145px;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 0 auto;
    border-radius: 8px;
    color: #07182d;
    background: linear-gradient(135deg,var(--gold-2),var(--gold));
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .08em;
}

.contact-float-card {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;
    color: rgba(255,255,255,.78);
    background: rgba(7,24,45,.91);
    box-shadow: 0 18px 45px rgba(0,0,0,.21);
    backdrop-filter: blur(10px);
    font-size: 8px;
    font-weight: 800;
}

.contact-float-icon {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 9px;
    color: var(--gold);
    background: rgba(214,169,79,.1);
}

.contact-float-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.float-portfolio {
    top: 8px;
    left: 0;
    animation: contactFloat 4.6s ease-in-out infinite;
}

.float-web {
    top: 155px;
    right: -8px;
    animation: contactFloat 5s ease-in-out .5s infinite;
}

.float-system {
    bottom: 20px;
    left: 5px;
    animation: contactFloat 5.3s ease-in-out 1s infinite;
}

.contact-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(62px);
}

.glow-a {
    top: 90px;
    right: 35px;
    width: 180px;
    height: 180px;
    background: rgba(47,120,223,.18);
}

.glow-b {
    bottom: 20px;
    left: 70px;
    width: 150px;
    height: 150px;
    background: rgba(214,169,79,.13);
}

/* =========================================================
   QUICK CONTACT
========================================================= */

.contact-quick {
    position: relative;
    z-index: 8;
    margin-top: -35px;
}

.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 13px;
}

.quick-card {
    display: grid;
    grid-template-columns: 45px 1fr 22px;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--text);
    background: #fff;
    box-shadow: 0 18px 50px rgba(17,39,68,.08);
    text-decoration: none;
    transition: .22s ease;
}

.quick-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214,169,79,.5);
    color: var(--text);
}

.quick-icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 12px;
    color: var(--gold);
    background: var(--navy);
}

.quick-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quick-card span,
.quick-card strong {
    display: block;
}

.quick-card span {
    margin-bottom: 4px;
    color: #98712b;
    font-size: 6px;
    font-weight: 900;
    letter-spacing: .12em;
}

.quick-card strong {
    color: var(--navy);
    font-size: 11px;
}

.quick-card > b {
    color: var(--gold);
    font-size: 14px;
}

/* =========================================================
   FORM
========================================================= */

.contact-form-section {
    background: #fff;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: start;
    gap: 70px;
}

.contact-form-intro {
    position: sticky;
    top: 30px;
}

.form-side-points {
    display: grid;
    gap: 11px;
}

.form-side-points article {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--light);
}

.form-side-points article > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #07182d;
    background: var(--gold);
    font-size: 7px;
    font-weight: 900;
}

.form-side-points strong {
    display: block;
    color: var(--navy);
    font-size: 12px;
}

.form-side-points p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.contact-form-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0,rgba(214,169,79,.07),transparent 28%),
        #fff;
    box-shadow: 0 24px 70px rgba(17,39,68,.08);
}

.contact-success {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid #cfe8d8;
    border-radius: 12px;
    background: #eef9f2;
}

.success-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #2d925c;
    font-weight: 900;
}

.contact-success strong {
    display: block;
    color: #236f48;
    font-size: 13px;
}

.contact-success p {
    margin: 5px 0 0;
    color: #527363;
    font-size: 10px;
    line-height: 1.6;
}

.project-form {
    display: grid;
    gap: 18px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
}

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

.field-group label {
    color: var(--navy);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .02em;
}

.field-group label > span {
    color: #bd8740;
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    border: 1px solid #dce4ec;
    border-radius: 10px;
    outline: none;
    color: var(--text);
    background: #fbfcfd;
    font-family: inherit;
    font-size: 13px;
    transition: .2s ease;
}

.field-group input,
.field-group select {
    height: 50px;
    padding: 0 14px;
}

.field-group textarea {
    min-height: 170px;
    padding: 14px;
    resize: vertical;
    line-height: 1.7;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    border-color: rgba(214,169,79,.75);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(214,169,79,.08);
}

.field-error {
    min-height: 13px;
    color: #b64646;
    font-size: 9px;
}

.form-error-summary {
    color: #a43e3e;
    font-size: 10px;
}

.form-error-summary:empty {
    display: none;
}

.form-error-summary ul {
    margin: 0;
    padding: 12px 28px;
    border: 1px solid #f0cccc;
    border-radius: 10px;
    background: #fff4f4;
}

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.service-choice-preview {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid #e1e8ef;
    border-radius: 11px;
    background: var(--light);
}

.choice-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    color: var(--gold);
    background: var(--navy);
}

.choice-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-choice-preview span,
.service-choice-preview strong {
    display: block;
}

.service-choice-preview span {
    margin-bottom: 4px;
    color: #8a97a6;
    font-size: 6px;
    font-weight: 900;
    letter-spacing: .12em;
}

.service-choice-preview strong {
    color: var(--navy);
    font-size: 11px;
}

.message-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.message-footer small {
    color: #9aa5b1;
    font-size: 8px;
}

.contact-submit {
    display: flex;
    width: 100%;
    height: 54px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    color: #07182d;
    background: linear-gradient(135deg,var(--gold-2),var(--gold));
    box-shadow: 0 14px 30px rgba(214,169,79,.15);
    font-weight: 900;
    transition: .2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(214,169,79,.22);
}

.contact-submit:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.contact-submit i {
    font-style: normal;
}

.form-note {
    margin: -4px 0 0;
    color: #96a2af;
    font-size: 8px;
    line-height: 1.5;
    text-align: center;
}

/* =========================================================
   EXAMPLES
========================================================= */

.contact-solutions {
    background: var(--light);
}

.solution-example-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.solution-example-grid article {
    padding: 25px 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(20,41,68,.035);
}

.example-number {
    margin-bottom: 32px;
    color: var(--gold);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.solution-example-grid strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
    line-height: 1.5;
}

.solution-example-grid p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

/* =========================================================
   NEXT STEPS
========================================================= */

.contact-next {
    background: #fff;
}

.next-steps {
    display: grid;
    grid-template-columns: 1fr 35px 1fr 35px 1fr;
    align-items: center;
    gap: 10px;
}

.next-steps > article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    min-height: 145px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--light);
}

.next-steps > article > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: #07182d;
    background: var(--gold);
    font-size: 8px;
    font-weight: 900;
}

.next-steps > article strong {
    display: block;
    color: var(--navy);
    font-size: 13px;
}

.next-steps > article p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.65;
}

.next-steps > i {
    color: var(--gold);
    font-style: normal;
    text-align: center;
}

/* =========================================================
   FINAL
========================================================= */

.contact-final {
    padding: 95px 0;
    color: #fff;
    background:
        radial-gradient(circle at 82% 22%,rgba(47,120,223,.24),transparent 30%),
        linear-gradient(135deg,#061529,#0b223d);
}

.contact-final-grid {
    display: grid;
    grid-template-columns: 1.22fr .78fr;
    align-items: center;
    gap: 70px;
}

.contact-final h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(39px,4.4vw,61px);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 800;
}

.contact-final h2 span {
    display: block;
    color: var(--gold);
}

.contact-final p {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.67);
    font-size: 15px;
    line-height: 1.8;
}

.contact-final-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.contact-final-link {
    color: rgba(255,255,255,.7);
    font-size: 11px;
    text-decoration: none;
}

.contact-final-link:hover {
    color: var(--gold);
}

/* =========================================================
   REVEAL
========================================================= */

.contact-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .72s ease,
        transform .72s cubic-bezier(.2,.7,.25,1);
}

.contact-reveal.contact-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes contactWindowFloat {
    0%,100% {
        transform: translateX(-50%) rotate(1deg) translateY(0);
    }
    50% {
        transform: translateX(-50%) rotate(.4deg) translateY(-8px);
    }
}

@keyframes contactFloat {
    0%,100% { margin-top: 0; }
    50% { margin-top: -8px; }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .solution-example-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .contact-form-grid {
        gap: 45px;
    }
}

@media (max-width: 900px) {
    .contact-section {
        padding: 80px 0;
    }

    .contact-hero-grid,
    .contact-form-grid,
    .contact-final-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding-top: 72px;
    }

    .contact-hero-visual {
        min-height: 500px;
    }

    .contact-quick {
        margin-top: 0;
        padding-top: 25px;
    }

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

    .contact-form-intro {
        position: static;
    }

    .next-steps {
        grid-template-columns: 1fr;
    }

    .next-steps > i {
        transform: rotate(90deg);
    }
}

@media (max-width: 650px) {
    .contact-shell {
        width: min(100% - 28px,1180px);
    }

    .contact-section {
        padding: 68px 0;
    }

    .contact-hero {
        min-height: auto;
        padding: 62px 0 70px;
    }

    .contact-hero h1 {
        font-size: 45px;
    }

    .contact-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-hero-meta,
    .form-grid-2,
    .solution-example-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-visual {
        min-height: 405px;
    }

    .contact-message-window {
        top: 45px;
        width: 100%;
    }

    .contact-float-card {
        display: none;
    }

    .contact-form-card {
        padding: 22px 17px;
    }

    .contact-final {
        padding: 72px 0;
    }

    .contact-final h2 {
        font-size: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-message-window,
    .contact-float-card {
        animation: none !important;
    }

    .contact-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
