/* ==========================================================================
   OOTE Landing - Contact Section ("Command Center")
   A premium, conversion focused contact experience.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Atmosphere
   -------------------------------------------------------------------------- */
.oote-contact-section {
    position: relative;
    padding: 6rem 0 5.5rem;
    overflow: hidden;
    background: var(--oote-bg);
}

.oote-contact-aurora {
    position: absolute;
    inset: -10%;
    pointer-events: none;
    background:
        radial-gradient(ellipse 45% 38% at 18% 14%, rgba(245, 185, 33, 0.18), transparent 62%),
        radial-gradient(ellipse 42% 36% at 84% 22%, rgba(245, 185, 33, 0.12), transparent 62%),
        radial-gradient(ellipse 50% 40% at 60% 92%, rgba(217, 155, 8, 0.12), transparent 62%);
    filter: blur(28px);
    animation: ooteAurora 18s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes ooteAurora {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(2%, -2%, 0) scale(1.06);
    }
}

.oote-contact-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(245, 185, 33, 0.22) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 0%, transparent 78%);
    opacity: 0.7;
}

[data-theme="dark"] .oote-contact-dots,
.dark-style .oote-contact-dots {
    opacity: 0.45;
}

.oote-contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.oote-contact-orb--one {
    width: 340px;
    height: 340px;
    top: 6%;
    inset-inline-end: -6%;
    background: radial-gradient(circle, rgba(245, 185, 33, 0.22), transparent 70%);
    animation: ooteAboutGlow 14s ease-in-out infinite alternate;
}

.oote-contact-orb--two {
    width: 280px;
    height: 280px;
    bottom: 4%;
    inset-inline-start: -5%;
    background: radial-gradient(circle, rgba(217, 155, 8, 0.2), transparent 70%);
    animation: ooteAboutGlow 17s ease-in-out infinite alternate-reverse;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.oote-contact-header {
    max-width: 780px;
    margin: 0 auto 3.25rem;
}

.oote-contact-bigtitle {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--oote-text-main);
    margin-bottom: 1rem;
}

.oote-contact-bigtitle-accent {
    background: linear-gradient(120deg, #F5B921 0%, #F8CB4F 50%, #D99B08 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: ooteGradientSlide 6s ease-in-out infinite alternate;
}

@keyframes ooteGradientSlide {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 100% 50%;
    }
}

.oote-contact-lead {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--oote-text-muted);
    margin-bottom: 2rem;
}

.oote-contact-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.oote-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem 0.5rem 0.55rem;
    border-radius: 999px;
    background: var(--oote-card-bg);
    border: 1px solid var(--oote-card-border);
    box-shadow: var(--oote-shadow-card);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--oote-text-main);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

html[dir="rtl"] .oote-trust-chip {
    padding: 0.5rem 0.55rem 0.5rem 1rem;
}

.oote-trust-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 185, 33, 0.45);
    box-shadow: var(--oote-shadow-card-hover);
}

.oote-trust-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #060403;
    background: linear-gradient(135deg, #F5B921, #D99B08);
    box-shadow: 0 6px 14px rgba(245, 185, 33, 0.32);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.oote-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
    gap: 2rem;
    align-items: start;
}

/* --------------------------------------------------------------------------
   Channels
   -------------------------------------------------------------------------- */
.oote-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.oote-contact-side-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--oote-text-subtle);
    margin-bottom: 0.25rem;
}

.oote-channel-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.15rem;
    border-radius: 20px;
    background: var(--oote-card-bg);
    border: 1px solid var(--oote-card-border);
    box-shadow: var(--oote-shadow-card);
    text-decoration: none !important;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.4s ease;
}

[data-theme="dark"] .oote-channel-card,
.dark-style .oote-channel-card {
    background: #26282D;
    border-color: #3A3C42;
}

.oote-channel-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #F5B921, #D99B08);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.oote-channel-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 185, 33, 0.4);
    box-shadow: var(--oote-shadow-card-hover);
}

.oote-channel-card:hover::before {
    transform: scaleY(1);
}

.oote-channel-icon {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #060403;
    background: linear-gradient(135deg, #F5B921 0%, #D99B08 100%);
    box-shadow: 0 10px 22px rgba(245, 185, 33, 0.3);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.oote-channel-icon--wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.28);
}

.oote-channel-card:hover .oote-channel-icon {
    transform: translateY(-2px) rotate(-7deg) scale(1.06);
    box-shadow: 0 16px 30px rgba(245, 185, 33, 0.42);
}

.oote-channel-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.oote-channel-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--oote-text-subtle);
    letter-spacing: 0.02em;
}

.oote-channel-value {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--oote-text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oote-channel-arrow {
    margin-inline-start: auto;
    flex: 0 0 auto;
    font-size: 0.85rem;
    color: var(--oote-text-subtle);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="rtl"] .oote-channel-arrow {
    transform: translateX(8px);
}

.oote-channel-card:hover .oote-channel-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--oote-primary);
}

/* Live availability */
.oote-contact-live {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0.35rem;
    padding: 0.95rem 1.15rem;
    border-radius: 18px;
    background: rgba(245, 185, 33, 0.08);
    border: 1px dashed rgba(245, 185, 33, 0.35);
}

.oote-live-pulse {
    position: relative;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.oote-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: ooteLivePulse 2.2s ease-out infinite;
}

@keyframes ooteLivePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.oote-contact-live-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oote-contact-live-body strong {
    font-size: 0.95rem;
    color: var(--oote-text-main);
}

.oote-contact-live-body span {
    font-size: 0.8rem;
    color: var(--oote-text-muted);
}

/* --------------------------------------------------------------------------
   Form card
   -------------------------------------------------------------------------- */
.oote-contact-form-card {
    position: relative;
    isolation: isolate;
    padding: 2.4rem 2.2rem 1.9rem;
    border-radius: 28px;
    background: var(--oote-card-bg);
    border: 1px solid var(--oote-card-border);
    box-shadow: 0 24px 60px rgba(245, 185, 33, 0.08), var(--oote-shadow-card);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

[data-theme="dark"] .oote-contact-form-card,
.dark-style .oote-contact-form-card {
    background: #26282D;
    border-color: #3A3C42;
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.45);
}

.oote-contact-form-card:hover {
    box-shadow: 0 30px 74px rgba(245, 185, 33, 0.16), var(--oote-shadow-card-hover);
}

.oote-form-card-glow {
    position: absolute;
    z-index: 0;
    top: -45%;
    inset-inline-end: -25%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 185, 33, 0.16), transparent 68%);
    pointer-events: none;
    animation: ooteFormGlow 9s ease-in-out infinite alternate;
}

@keyframes ooteFormGlow {
    from {
        transform: scale(0.9);
        opacity: 0.7;
    }

    to {
        transform: scale(1.12);
        opacity: 1;
    }
}

.oote-form-card-head {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.oote-form-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--oote-text-main);
    margin-bottom: 0.35rem;
}

.oote-form-subheading {
    font-size: 0.95rem;
    color: var(--oote-text-muted);
    margin: 0;
}

/* Quick topic chips */
.oote-form-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.oote-form-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    border: 1px solid var(--oote-card-border);
    background: var(--oote-surface);
    color: var(--oote-text-muted);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .oote-form-chip,
.light-style .oote-form-chip {
    background: #F8FAFC;
    border-color: #E2E8F0;
    color: #475569;
}

[data-theme="dark"] .oote-form-chip,
.dark-style .oote-form-chip {
    background: #1E2024;
    border-color: #3A3C42;
    color: #CBD5E1;
}

.oote-form-chip i {
    font-size: 0.85rem;
    color: var(--oote-primary);
    transition: transform 0.3s ease;
}

.oote-form-chip:hover {
    color: #060403;
    border-color: #F5B921;
    background: #FDF2D3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 185, 33, 0.2);
}

.oote-form-chip:hover i {
    transform: scale(1.15);
}

.oote-form-chip.is-selected {
    color: #060403 !important;
    font-weight: 700;
    background: linear-gradient(135deg, #F5B921 0%, #D99B08 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(245, 185, 33, 0.32);
    transform: translateY(-1px);
}

.oote-form-chip.is-selected i {
    color: #060403 !important;
}

/* --------------------------------------------------------------------------
   Contact Form Fields: Clean Top Labels & Spaced Wraps
   -------------------------------------------------------------------------- */
.oote-field-group,
.oote-field {
    position: relative;
    margin-bottom: 0.65rem;
}

.oote-field-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--oote-text-main);
    margin-bottom: 0.45rem;
    line-height: 1.4;
}

.oote-req-star {
    color: #F5B921;
    font-weight: 700;
    margin-inline-start: 2px;
}

.oote-char-counter {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--oote-text-subtle);
    font-variant-numeric: tabular-nums;
    direction: ltr;
}

.oote-input-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.oote-input-wrap--area {
    display: block;
}

.oote-input-icon,
.oote-field-icon {
    position: absolute;
    top: 26px;
    inset-inline-start: 1rem;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--oote-text-subtle);
    pointer-events: none;
    z-index: 2;
    transition: color 0.25s ease, transform 0.25s ease;
}

.oote-input-icon--top,
.oote-field-icon--area {
    top: 1.15rem;
    transform: none;
}

.oote-input-wrap:focus-within .oote-input-icon,
.oote-input-wrap:focus-within .oote-field-icon,
.oote-field:focus-within .oote-field-icon {
    color: #F5B921;
}

.oote-input-wrap:focus-within .oote-input-icon:not(.oote-input-icon--top) {
    transform: translateY(-50%) scale(1.1);
}

.oote-form-input,
.oote-field-input {
    width: 100%;
    height: 52px;
    padding: 0 1rem 0 2.85rem;
    border-radius: 14px;
    border: 1.5px solid var(--oote-card-border);
    background: var(--oote-surface);
    color: var(--oote-text-main) !important;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

html[dir="rtl"] .oote-form-input,
html[dir="rtl"] .oote-field-input {
    padding: 0 2.85rem 0 1rem;
}

.oote-form-input::placeholder,
.oote-field-input::placeholder {
    color: var(--oote-text-subtle);
    opacity: 0.75;
    font-size: 0.88rem;
}

[data-theme="light"] .oote-form-input,
[data-theme="light"] .oote-field-input,
.light-style .oote-form-input,
.light-style .oote-field-input {
    background: #F8FAFC;
    border-color: #E2E8F0;
}

[data-theme="dark"] .oote-form-input,
[data-theme="dark"] .oote-field-input,
.dark-style .oote-form-input,
.dark-style .oote-field-input {
    background: #1E2024;
    border-color: #3A3C42;
    color: #FAFAFB !important;
}

.oote-form-input:focus,
.oote-field-input:focus {
    outline: none;
    border-color: #F5B921 !important;
    background: var(--oote-card-bg) !important;
    box-shadow: 0 0 0 4px rgba(245, 185, 33, 0.16) !important;
}

.oote-form-textarea,
.oote-field-textarea {
    height: auto;
    min-height: 125px;
    padding: 0.85rem 1rem 0.85rem 2.85rem;
    resize: vertical;
}

html[dir="rtl"] .oote-form-textarea,
html[dir="rtl"] .oote-field-textarea {
    padding: 0.85rem 2.85rem 0.85rem 1rem;
}

/* Parsley error states */
.oote-form-input.parsley-error,
.oote-field-input.parsley-error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.parsley-errors-list {
    display: block !important;
    width: 100% !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #EF4444 !important;
    clear: both !important;
    text-align: right !important;
}

html[dir="ltr"] .parsley-errors-list {
    text-align: left !important;
}

.parsley-errors-list li {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-top: 3px !important;
    line-height: 1.4 !important;
}

.parsley-errors-list li::before {
    content: "\f06a" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 0.75rem !important;
}

/* --------------------------------------------------------------------------
   Submit button
   -------------------------------------------------------------------------- */
.oote-form-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    height: 58px;
    padding: 0 2rem;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: #060403;
    background: linear-gradient(120deg, #F5B921 0%, #E5A812 60%, #D99B08 100%);
    background-size: 200% 100%;
    box-shadow: 0 16px 34px rgba(245, 185, 33, 0.38);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background-position 0.6s ease;
}

.oote-form-submit:hover {
    transform: translateY(-3px);
    background-position: 100% 50%;
    box-shadow: 0 22px 46px rgba(245, 185, 33, 0.5);
    color: #060403;
}

.oote-form-submit:active {
    transform: translateY(-1px) scale(0.995);
}

.oote-form-submit:focus-visible {
    outline: 2px solid #F5B921;
    outline-offset: 3px;
}

.oote-form-submit[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.oote-form-submit-label,
.oote-form-submit-icon {
    position: relative;
    z-index: 2;
}

.oote-form-submit-icon {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.oote-form-submit:hover .oote-form-submit-icon {
    transform: translateX(-5px) rotate(-18deg);
}

html[dir="rtl"] .oote-form-submit:hover .oote-form-submit-icon {
    transform: translateX(5px) rotate(18deg);
}

.oote-form-submit-shine {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    width: 45%;
    inset-inline-start: -60%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: inset-inline-start 0.75s ease;
}

.oote-form-submit:hover .oote-form-submit-shine {
    inset-inline-start: 115%;
}

/* --------------------------------------------------------------------------
   Success state
   -------------------------------------------------------------------------- */
.oote-form-success {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 2rem;
    text-align: center;
    background: var(--oote-card-bg);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.94);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.oote-contact-form-card.is-sent .oote-form-success {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.oote-form-success-ring {
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.oote-form-success-ring svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oote-success-track {
    stroke: rgba(245, 185, 33, 0.25);
    stroke-width: 3;
}

.oote-success-check {
    stroke: #F5B921;
    stroke-width: 4;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}

.oote-contact-form-card.is-sent .oote-success-check {
    animation: ooteSuccessDraw 0.75s 0.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes ooteSuccessDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.oote-form-success-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--oote-text-main);
    margin: 0;
}

.oote-form-success-text {
    font-size: 0.98rem;
    color: var(--oote-text-muted);
    margin: 0;
    max-width: 380px;
}

.oote-form-footnote {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 1.35rem 0 0;
    font-size: 0.8rem;
    color: var(--oote-text-subtle);
    text-align: center;
}

.oote-form-footnote i {
    color: #22C55E;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .oote-contact-layout {
        grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
        gap: 1.5rem;
    }

    .oote-contact-form-card {
        padding: 2rem 1.7rem 1.6rem;
    }
}

@media (max-width: 991.98px) {
    .oote-contact-section {
        padding: 4rem 0 4.5rem;
    }

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

    .oote-contact-channels {
        order: 2;
    }

    .oote-contact-form-card {
        order: 1;
    }
}

@media (max-width: 575.98px) {
    .oote-contact-form-card {
        padding: 1.6rem 1.15rem 1.4rem;
        border-radius: 22px;
    }

    .oote-channel-card {
        padding: 0.9rem 1rem;
    }

    .oote-field-input {
        height: 54px;
    }
}
