/* Quotem Contact â€” premium support landing */

.qcnt-wrap {
    --qcnt-blue: #3C7FC3;
    --qcnt-green: #499558;
    --qcnt-ink: #0f1c24;
    --qcnt-ink-soft: #1a2b33;
    --qcnt-muted: rgba(15, 28, 36, 0.72);
    --qcnt-font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --qcnt-grad: linear-gradient(135deg, #3C7FC3 0%, #2f7aad 42%, #499558 100%);
    box-sizing: border-box;
    font-family: var(--qcnt-font);
    color: var(--qcnt-ink-soft);
    margin: 0;
    padding: 0;
    overflow: hidden;
}

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

/* Collapse theme chrome around the shortcode */
body.qcnt-page .page-header,
body.qcnt-page .entry-title,
body:has(.qcnt-wrap) .page-header,
body:has(.qcnt-wrap) .entry-title {
    display: none !important;
}

body.qcnt-page .site-main,
body.qcnt-page .page-content,
body:has(.qcnt-wrap) .site-main,
body:has(.qcnt-wrap) .page-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

body.qcnt-page .elementor-location-footer,
body:has(.qcnt-wrap) .elementor-location-footer {
    margin-top: 0;
}

.qcnt-stage {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(48px, 8vw, 96px) 24px;
    background: var(--qcnt-grad);
    isolation: isolate;
}

.qcnt-stage::before {
    content: '';
    position: absolute;
    inset: -20%;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 45% at 18% 28%, rgba(255, 255, 255, 0.28), transparent 60%),
        radial-gradient(ellipse 50% 40% at 82% 72%, rgba(73, 149, 88, 0.45), transparent 65%),
        radial-gradient(ellipse 40% 35% at 70% 18%, rgba(60, 127, 195, 0.35), transparent 60%);
    animation: qcnt-drift 18s ease-in-out infinite alternate;
    pointer-events: none;
}

.qcnt-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 20%, transparent 75%);
    pointer-events: none;
}

@keyframes qcnt-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(2.5%, -2%, 0) scale(1.06); }
}

.qcnt-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    text-align: center;
    color: #fff;
}

.qcnt-brand {
    margin: 0 0 28px;
    font-size: clamp(3.4rem, 9vw, 5.75rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.95;
    color: #fff;
    text-shadow: 0 8px 40px rgba(15, 28, 36, 0.18);
    animation: qcnt-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.qcnt-line {
    margin: 0 auto 36px;
    max-width: 28rem;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    animation: qcnt-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.qcnt-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    animation: qcnt-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.qcnt-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 14px;
    background: #fff;
    color: var(--qcnt-ink) !important;
    font-family: var(--qcnt-font);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    box-shadow: 0 14px 40px rgba(15, 28, 36, 0.18);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.qcnt-mail:hover,
.qcnt-mail:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(15, 28, 36, 0.24);
    color: var(--qcnt-ink) !important;
}

.qcnt-mail .material-icons {
    font-size: 22px !important;
    color: var(--qcnt-blue);
    line-height: 1 !important;
}

.qcnt-web {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.qcnt-web:hover,
.qcnt-web:focus-visible {
    color: #fff !important;
    border-bottom-color: rgba(255, 255, 255, 0.85);
}

@keyframes qcnt-rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .qcnt-stage::before,
    .qcnt-brand,
    .qcnt-line,
    .qcnt-actions,
    .qcnt-mail {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 640px) {
    .qcnt-stage {
        min-height: calc(100vh - 64px);
        padding: 56px 20px 72px;
    }
    .qcnt-mail {
        width: 100%;
        max-width: 360px;
    }
}
