﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CHEVIO BEST DEAL SRL â€” Contact
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€â”€ ASTRA RESET â”€â”€â”€ */
body.chevio-dark-contact .site-content,
body.chevio-dark-contact #primary,
body.chevio-dark-contact #content,
body.chevio-dark-contact .ast-container {
    background-color: var(--chv-bg-main) !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* â”€â”€â”€ WRAPPER â”€â”€â”€ */
#chevio-contact-page {
    padding-top: 140px;
    min-height: 100vh;
    background: var(--chv-bg-main);
}

.chv-contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px) clamp(60px, 8vw, 120px);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.chv-contact-hero {
    margin-bottom: clamp(40px, 5vw, 64px);
}

.chv-contact-hero .sec-h {
    color: var(--chv-ink);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LAYOUT
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.chv-contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: flex-start;
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FORM
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.chv-contact-form-wrap {
    background: var(--chv-bg-white);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 48px);
    border: 1.5px solid var(--chv-v100);
}

.chv-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chv-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.chv-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chv-form-label {
    font-size: .76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--chv-ink2);
}

.chv-req {
    color: var(--chv-v500);
}

.chv-form-input,
.chv-form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--chv-v100);
    border-radius: 14px;
    background: var(--chv-bg-main);
    font-family: var(--chv-font-main);
    font-size: .88rem;
    color: var(--chv-ink);
    transition: border-color var(--chv-transition), box-shadow var(--chv-transition);
    outline: none;
}

.chv-form-input::placeholder,
.chv-form-textarea::placeholder {
    color: var(--chv-muted);
    opacity: .55;
}

.chv-form-input:focus,
.chv-form-textarea:focus {
    border-color: var(--chv-v400);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, .1);
}

.chv-form-textarea {
    resize: vertical;
    min-height: 130px;
}

/* Submit Button */
.chv-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 60px;
    border: none;
    background: var(--chv-v600);
    color: #fff;
    font-family: var(--chv-font-main);
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .35s cubic-bezier(.76, 0, .24, 1);
    align-self: flex-start;
}

.chv-form-submit:hover {
    background: var(--chv-v500);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(255, 107, 53, .3);
}

.chv-form-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Feedback */
.chv-form-feedback {
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.5;
    min-height: 1.5em;
}

.chv-form-feedback.is-success {
    color: var(--chv-success);
}

.chv-form-feedback.is-error {
    color: var(--chv-error);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   INFO COLUMN
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.chv-contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chv-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: var(--chv-bg-white);
    border-radius: 16px;
    border: 1.5px solid transparent;
    transition: all .35s;
}

.chv-info-card:hover {
    border-color: var(--chv-v200);
    transform: translateX(4px);
}

.chv-info-ico {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--chv-v50);
    color: var(--chv-v500);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chv-info-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.chv-info-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--chv-muted);
}

.chv-info-value {
    font-size: .9rem;
    font-weight: 500;
    color: var(--chv-ink);
    text-decoration: none;
    transition: color .3s;
}

a.chv-info-value:hover {
    color: var(--chv-v600);
}

.chv-info-address {
    font-weight: 400;
    line-height: 1.55;
    font-size: .84rem;
}

/* Legal details */
.chv-info-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 16px 22px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 107, 53, .07);
}

.chv-info-legal span {
    font-size: .72rem;
    color: var(--chv-muted);
    font-weight: 400;
}


/* â•â•â• MOBILE â•â•â• */
@media (max-width: 921px) {
    .chv-contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #chevio-contact-page {
        padding-top: 120px;
    }

    .chv-form-row {
        grid-template-columns: 1fr;
    }

    .chv-contact-form-wrap {
        padding: clamp(22px, 4vw, 32px);
    }
}

@media (max-width: 480px) {
    .chv-form-submit {
        width: 100%;
    }
}

/* â•â•â• DESKTOP MARE â•â•â• */
@media (min-width: 1400px) {
    .chv-contact-container {
        max-width: 1400px;
    }
}


/* ===========================================
   ELEVATION PASS - form glow + animated icons
   =========================================== */

/* Hero - accent pulse */
.chv-contact-hero {
    position: relative;
}
.chv-contact-hero::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--chv-v600), var(--chv-v400));
    border-radius: 3px;
    box-shadow: 0 0 14px rgba(255, 107, 53, .35);
}

/* Form wrap - subtle gradient bg + top accent strip */
.chv-contact-form-wrap {
    position: relative;
    background: linear-gradient(180deg, var(--chv-bg-white) 0%, var(--chv-v50) 100%);
    overflow: hidden;
}
.chv-contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--chv-v600), var(--chv-v400), var(--chv-v600));
    background-size: 200% 100%;
    animation: stSlideAccent 5s linear infinite;
}
@keyframes stSlideAccent {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.chv-contact-form-wrap::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 107, 53, .12), transparent 70%);
    pointer-events: none;
}

/* Form labels - accent dot prefix */
.chv-form-label {
    position: relative;
    padding-left: 14px;
}
.chv-form-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--chv-v500);
}

/* Form inputs - enhanced focus + animated underline */
.chv-form-input,
.chv-form-textarea {
    transition: border-color .3s, box-shadow .3s, transform .2s, background .3s;
    position: relative;
}
.chv-form-input:hover,
.chv-form-textarea:hover {
    border-color: var(--chv-v300);
}
.chv-form-input:focus,
.chv-form-textarea:focus {
    border-color: var(--chv-v600);
    background: var(--chv-bg-white);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, .15),
                0 8px 22px -4px rgba(255, 107, 53, .18);
    transform: translateY(-1px);
}

/* Submit button - shimmer + accent glow */
.chv-form-submit {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 22px -4px rgba(255, 107, 53, .35);
}
.chv-form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .35),
        transparent
    );
    transition: left .7s cubic-bezier(.4, 0, .2, 1);
}
.chv-form-submit:hover::before {
    left: 100%;
}
.chv-form-submit:hover {
    box-shadow: 0 18px 45px -8px rgba(255, 107, 53, .55),
                0 0 0 1px rgba(255, 107, 53, .35);
}

/* Info cards - deeper hover + icon animation */
.chv-info-card {
    position: relative;
    overflow: hidden;
}
.chv-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--chv-v600), var(--chv-v400));
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.chv-info-card:hover::before {
    transform: scaleY(1);
}
.chv-info-card:hover {
    transform: translateX(6px);
    border-color: var(--chv-v300);
    box-shadow: 0 18px 40px -10px rgba(255, 107, 53, .18);
}
.chv-info-card:hover .chv-info-ico {
    background: var(--chv-v600);
    color: #fff;
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 8px 18px rgba(255, 107, 53, .4);
}
.chv-info-ico {
    transition: background .35s, color .35s, transform .35s, box-shadow .35s;
}

/* Required asterisk - subtle pulse */
.chv-req {
    display: inline-block;
    animation: stReqPulse 2.5s ease-in-out infinite;
}
@keyframes stReqPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .55; }
}

/* Form feedback - card-like styling */
.chv-form-feedback.is-success {
    padding: 12px 16px;
    background: rgba(22, 163, 74, .08);
    border-left: 3px solid var(--chv-success);
    border-radius: 0 10px 10px 0;
}
.chv-form-feedback.is-error {
    padding: 12px 16px;
    background: rgba(220, 38, 38, .08);
    border-left: 3px solid var(--chv-error);
    border-radius: 0 10px 10px 0;
}

@media (prefers-reduced-motion: reduce) {
    .chv-contact-form-wrap::before,
    .chv-form-submit::before,
    .chv-req {
        animation: none !important;
        transition: none !important;
    }
}
