/* ================================================================
   C N M P  ·  C O N T A C T . C S S
   Premium contact page styles — aligned with modern.css tokens.
   ================================================================ */

/* ── Z-INDEX UTIL ── */
.z-2 { z-index: 2; }

/* ─────────────────────────────────────────────────────────────
   1. HERO BANNER
   ───────────────────────────────────────────────────────────── */
.contact-hero {
    position: relative;
    padding: 80px 0 64px;
    overflow: hidden;
    margin-bottom: 0;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--c-dark, #062136) 0%, var(--c-primary, #0a314d) 50%, #0d3a5c 100%);
    z-index: 0;
}

/* Animated aurora blobs */
.contact-hero-bg::before,
.contact-hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: contactAurora 12s ease-in-out infinite alternate;
}
.contact-hero-bg::before {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(0,171,227,.22) 0%, transparent 70%);
}
.contact-hero-bg::after {
    width: 400px;
    height: 400px;
    bottom: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(13,202,240,.15) 0%, transparent 70%);
    animation-duration: 18s;
    animation-direction: alternate-reverse;
}

@keyframes contactAurora {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(40px, 30px) scale(1.15); }
}

/* Floating particles */
.contact-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.contact-hero-particles span {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0,171,227,.6);
    animation: particleFloat 8s infinite linear;
    opacity: 0;
}
.contact-hero-particles span:nth-child(1)  { left: 10%;  top: 30%; animation-delay: 0s;   animation-duration: 7s;  }
.contact-hero-particles span:nth-child(2)  { left: 25%;  top: 70%; animation-delay: 1s;   animation-duration: 9s;  width: 3px; height: 3px; }
.contact-hero-particles span:nth-child(3)  { left: 45%;  top: 20%; animation-delay: 2s;   animation-duration: 6s;  width: 5px; height: 5px; }
.contact-hero-particles span:nth-child(4)  { left: 60%;  top: 80%; animation-delay: 0.5s; animation-duration: 8s;  }
.contact-hero-particles span:nth-child(5)  { left: 75%;  top: 40%; animation-delay: 1.5s; animation-duration: 10s; width: 3px; height: 3px; }
.contact-hero-particles span:nth-child(6)  { left: 85%;  top: 60%; animation-delay: 3s;   animation-duration: 7s;  }
.contact-hero-particles span:nth-child(7)  { left: 5%;   top: 55%; animation-delay: 2.5s; animation-duration: 11s; width: 6px; height: 6px; opacity: 0; }
.contact-hero-particles span:nth-child(8)  { left: 90%;  top: 25%; animation-delay: 0.8s; animation-duration: 9s;  }
.contact-hero-particles span:nth-child(9)  { left: 35%;  top: 90%; animation-delay: 1.8s; animation-duration: 8s;  width: 3px; height: 3px; }
.contact-hero-particles span:nth-child(10) { left: 70%;  top: 10%; animation-delay: 3.5s; animation-duration: 10s; }

@keyframes particleFloat {
    0%   { transform: translateY(0)   scale(1);   opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.7; }
    100% { transform: translateY(-80px) scale(0.5); opacity: 0; }
}

.contact-hero-title {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: -.02em;
    margin-bottom: 12px !important;
    text-shadow: 0 4px 20px rgba(0,0,0,.35);
    position: relative;
    z-index: 2;
}

.contact-hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: rgba(220,235,245,.85);
    max-width: 520px;
    margin: 0 auto 28px;
    position: relative;
    z-index: 2;
}

.contact-hero-divider {
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--c-accent, #00abe3), #00d4ff);
    margin: 0 auto;
    box-shadow: 0 0 16px rgba(0,171,227,.5);
    position: relative;
    z-index: 2;
}

/* hero section-title override for white bg */
.contact-hero .section-title {
    color: rgba(0,171,227,.9) !important;
}

/* ─────────────────────────────────────────────────────────────
   2. INFO CARDS
   ───────────────────────────────────────────────────────────── */
.contact-cards-section {
    padding: 0 0 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(10,49,77,.12), 0 2px 8px rgba(0,0,0,.04);
    border: 1px solid rgba(0,171,227,.1);
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s ease, border-color .4s ease;
    position: relative;
    overflow: hidden;
    /* start hidden for JS animation */
    opacity: 0;
    transform: translateY(30px);
}
.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s ease, border-color .4s ease;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-accent, #00abe3), #00d4ff);
    opacity: 0;
    transition: opacity .3s ease;
}
.contact-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 60px rgba(0,171,227,.18), 0 4px 16px rgba(10,49,77,.08) !important;
    border-color: rgba(0,171,227,.3) !important;
}
.contact-card:hover::before { opacity: 1; }

.contact-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--c-primary, #0a314d) 0%, #1a4a6a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(10,49,77,.25);
    transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--c-accent, #00abe3) 0%, #00d4ff 100%);
    box-shadow: 0 12px 32px rgba(0,171,227,.4);
}

.contact-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--c-primary, #0a314d) !important;
    margin-bottom: 10px !important;
}
.contact-card p {
    font-size: .9rem;
    color: #5a6a7a;
    line-height: 1.65;
    margin-bottom: 18px;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    color: var(--c-accent, #00abe3) !important;
    text-decoration: none;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: gap .25s ease, color .25s ease;
}
.contact-card-link:hover {
    gap: 10px;
    color: var(--c-primary, #0a314d) !important;
}

/* ─────────────────────────────────────────────────────────────
   3. MAIN SECTION
   ───────────────────────────────────────────────────────────── */
.contact-main-section {
    padding: 64px 0 80px;
}

/* ─────────────────────────────────────────────────────────────
   4. CONTACT FORM WRAPPER
   ───────────────────────────────────────────────────────────── */
.contact-form-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(10,49,77,.1);
    border: 1px solid rgba(0,171,227,.08);
    position: relative;
    overflow: hidden;
}
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--c-accent, #00abe3), #00d4ff, var(--c-primary, #0a314d));
}

.contact-form-header {
    margin-bottom: 32px;
}
.contact-form-header h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem) !important;
    margin-bottom: 12px !important;
}
.contact-form-desc {
    font-size: .9rem;
    color: #5a6a7a;
    max-width: 480px;
}

/* Success banner */
.contact-success-banner {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #86efac;
    border-radius: 14px;
    margin-bottom: 28px;
    overflow: hidden;
}
.contact-success-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
}
.contact-success-inner i {
    font-size: 1.5rem;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-success-inner strong {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #15803d;
    display: block;
    margin-bottom: 4px;
}
.contact-success-inner p {
    font-size: .875rem;
    color: #166534;
    margin: 0;
}

/* ── Custom form groups ── */
.form-group-custom {
    margin-bottom: 22px;
}
.form-group-custom label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    color: var(--c-primary, #0a314d);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
    transition: color .25s ease;
}
.form-group-custom label i {
    color: var(--c-accent, #00abe3);
    font-size: .85rem;
}
.form-group-custom.focused label {
    color: var(--c-accent, #00abe3);
}

.required-star {
    color: #e53e3e;
    font-weight: 700;
}

.form-control-custom {
    display: block;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: .9375rem;
    color: var(--c-body, #1e2e3e);
    background: #f8faff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 13px 18px;
    outline: none;
    transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
    -webkit-appearance: none;
    resize: vertical;
}
.form-control-custom::placeholder {
    color: #aab4c0;
    font-size: .875rem;
}
.form-control-custom:focus {
    border-color: var(--c-accent, #00abe3);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,171,227,.12);
}
.form-control-custom.is-invalid-custom {
    border-color: #e53e3e;
    background: #fff5f5;
}
.form-group-custom.focused .form-control-custom {
    border-color: var(--c-accent, #00abe3);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,171,227,.12);
}

textarea.form-control-custom {
    min-height: 140px;
    line-height: 1.65;
}

.error-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    color: #c53030;
    margin-top: 6px;
    font-weight: 500;
}

/* ── Form footer ── */
.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}
.required-note {
    font-size: .8rem;
    color: #94a3b8;
    margin: 0;
}

/* ── Send button ── */
.btn-contact-send {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff !important;
    background: linear-gradient(135deg, var(--c-primary, #0a314d) 0%, #1a4a6a 100%);
    border: none;
    border-radius: 50rem;
    padding: 14px 36px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(10,49,77,.3);
    transition: transform .3s ease, box-shadow .3s ease;
    text-decoration: none;
}
.btn-send-hover-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--c-accent, #00abe3) 0%, #00d4ff 100%);
    opacity: 0;
    transition: opacity .3s ease;
    border-radius: inherit;
}
.btn-send-text {
    position: relative;
    z-index: 1;
}
.btn-contact-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,171,227,.4);
}
.btn-contact-send:hover .btn-send-hover-bg { opacity: 1; }
.btn-contact-send:active { transform: translateY(0); }

/* ─────────────────────────────────────────────────────────────
   5. SIDE BOX — Hours
   ───────────────────────────────────────────────────────────── */
.contact-side-box {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(10,49,77,.09);
    border: 1px solid rgba(0,171,227,.1);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease .2s, transform .6s ease .2s, box-shadow .3s ease;
}
.contact-side-box.visible {
    opacity: 1;
    transform: translateY(0);
}
.contact-side-box:hover {
    box-shadow: 0 16px 48px rgba(0,171,227,.14);
}

.contact-side-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.contact-side-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--c-accent, #00abe3) 0%, #00d4ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0,171,227,.3);
}
.contact-side-header h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--c-primary, #0a314d) !important;
    margin: 0 !important;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f8faff;
    border: 1px solid #e9eef5;
    transition: background .2s;
}
.hours-row:hover { background: #eef4fb; }
.hours-day {
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    font-weight: 600;
    color: var(--c-primary, #0a314d);
}
.hours-time {
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    font-weight: 500;
    color: #334155;
}
.closed-label { color: #94a3b8 !important; }

.hours-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 50rem;
    padding: 7px 16px;
    width: fit-content;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,.25);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,.25); }
    50%       { box-shadow: 0 0 0 6px rgba(22,163,74,.08); }
}

/* ─────────────────────────────────────────────────────────────
   6. MAP
   ───────────────────────────────────────────────────────────── */
.contact-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(10,49,77,.1);
    border: 1px solid rgba(0,171,227,.12);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease .35s, transform .6s ease .35s, box-shadow .3s ease;
}
.contact-map-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}
.contact-map-wrapper:hover {
    box-shadow: 0 16px 48px rgba(0,171,227,.14);
}

.contact-map-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--c-primary, #0a314d) 0%, #1a4a6a 100%);
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255,255,255,.9);
}
.contact-map-label i { color: var(--c-accent, #00abe3); }

.contact-map-embed iframe {
    display: block;
    filter: grayscale(10%) contrast(1.05);
    transition: filter .3s ease;
}
.contact-map-wrapper:hover .contact-map-embed iframe {
    filter: grayscale(0%) contrast(1);
}

/* ─────────────────────────────────────────────────────────────
   7. SOCIAL LINKS
   ───────────────────────────────────────────────────────────── */
.contact-socials-box {
    background: linear-gradient(135deg, var(--c-dark, #062136) 0%, var(--c-primary, #0a314d) 100%);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 8px 32px rgba(6,33,54,.2);
}
.contact-socials-label {
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 16px;
}
.contact-socials-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff !important;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.175,.885,.32,1.275), box-shadow .3s ease;
}
.contact-social-btn:hover {
    transform: translateY(-4px) scale(1.08);
}
.contact-social-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #0d5fd6);
    box-shadow: 0 4px 14px rgba(24,119,242,.35);
}
.contact-social-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8fd9);
    box-shadow: 0 4px 14px rgba(29,161,242,.35);
}
.contact-social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005e93);
    box-shadow: 0 4px 14px rgba(0,119,181,.35);
}
.contact-social-btn.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 4px 14px rgba(255,0,0,.3);
}
.contact-social-btn:hover { box-shadow: 0 8px 22px rgba(0,0,0,.25); }

/* ─────────────────────────────────────────────────────────────
   8. RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .contact-main-section { padding: 48px 0 64px; }
    .contact-form-wrapper { padding: 32px 24px; }
    .contact-cards-section { margin-top: -28px; }
}

@media (max-width: 767px) {
    .contact-hero { padding: 60px 0 52px; }
    .contact-hero-title { font-size: clamp(1.6rem, 8vw, 2.2rem) !important; }
    .contact-form-footer { flex-direction: column; align-items: flex-start; }
    .btn-contact-send { width: 100%; justify-content: center; }
    .contact-socials-row { gap: 10px; }
}

@media (max-width: 480px) {
    .contact-form-wrapper { padding: 24px 16px; }
    .contact-side-box, .contact-socials-box { padding: 24px 20px; }
}