/* ============================================================
   CONTACT PAGE STYLES
============================================================ */
:root {
    --g50:  #f0fdf4;
    --g100: #dcfce7;
    --g200: #bbf7d0;
    --g600: #16a34a;
    --g700: #15803d;
    --g800: #166534;
    --dark: #0f172a;
    --dark2:#1e293b;
    --muted:#64748b;
    --border:#e2e8f0;
    --radius-lg: 24px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --transition: 0.26s cubic-bezier(.4,0,.2,1);
    --card-shadow: 0 8px 48px rgba(0,0,0,0.10);
}

/* ============================================================
   HERO
============================================================ */
.contact-hero {
    background: linear-gradient(135deg, #0f172a 0%, #166534 55%, #16a34a 100%);
    padding: 88px 0 130px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 60%, rgba(74,222,128,0.16) 0%, transparent 50%),
        radial-gradient(circle at 85% 25%, rgba(22,163,74,0.13) 0%, transparent 48%);
    pointer-events: none;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 72px;
    background: #f8fafc;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    color: #86efac;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-eyebrow-dot {
    width: 7px; height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.4; transform:scale(0.7); }
}

.contact-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.contact-hero h1 .accent { color: #4ade80; }

.contact-hero p {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 480px;
    line-height: 1.75;
    margin: 0 auto;
}

/* ============================================================
   MAIN LAYOUT
============================================================ */
.contact-body {
    background: #f8fafc;
    padding: 0 0 90px;
    margin-top: -70px;
    position: relative;
    z-index: 2;
}

/* ============================================================
   CONTACT FORM CARD
============================================================ */
.contact-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    border: 1px solid #e8f5e9;
}

.contact-card-header {
    background: linear-gradient(135deg, var(--g600) 0%, #22c55e 100%);
    padding: 28px 36px 24px;
    position: relative;
    overflow: hidden;
}

.contact-card-header::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.contact-card-header::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 30%;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.card-header-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    position: relative;
    z-index: 1;
}

.card-header-sub {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.80);
    margin: 0;
    position: relative;
    z-index: 1;
}

.card-header-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.18);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.contact-form-body {
    padding: 32px 36px 36px;
}

@media (max-width: 575px) {
    .contact-form-body { padding: 24px 20px 28px; }
    .contact-card-header { padding: 22px 20px 20px; }
}

/* Form Labels */
.form-label-custom {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark2);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label-custom i {
    font-size: 0.80rem;
    color: var(--g600);
}

/* Form Controls */
.input-custom {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    color: var(--dark);
    background: #fdfdfd;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
}

.input-custom::placeholder { color: #adb5bd; }

.input-custom:focus {
    border-color: var(--g600);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
    background: #fff;
}

.input-custom.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.10);
}

.input-group-custom {
    display: flex;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: #fdfdfd;
}

.input-group-custom:focus-within {
    border-color: var(--g600);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
    background: #fff;
}

.input-group-custom:focus-within .input-prefix { background: var(--g50); color: var(--g700); }

.input-prefix {
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 14px;
    white-space: nowrap;
    border-right: 1.5px solid var(--border);
    transition: background var(--transition), color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-group-inner {
    border: none;
    background: transparent;
    flex: 1;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    color: var(--dark);
    outline: none;
    min-width: 0;
}

.input-group-inner::placeholder { color: #adb5bd; }

.field-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 5px;
}

.field-error {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 5px;
    display: none;
}

/* Consent check */
.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: var(--g50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--g100);
    margin-bottom: 24px;
}

.consent-check {
    width: 18px; height: 18px;
    border: 1.5px solid var(--g600);
    border-radius: 4px;
    accent-color: var(--g600);
    flex-shrink: 0;
    margin-top: 1px;
    cursor: pointer;
}

.consent-text {
    font-size: 0.80rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--g600) 0%, #22c55e 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 24px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    box-shadow: 0 4px 18px rgba(22,163,74,0.35);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(22,163,74,0.45);
    filter: brightness(1.05);
}

.btn-submit:active { transform: translateY(0); }

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner {
    width: 18px; height: 18px;
    border: 2.5px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Success State */
.success-panel {
    display: none;
    text-align: center;
    padding: 12px 0 8px;
}

.success-icon-wrap {
    width: 72px; height: 72px;
    background: var(--g50);
    border: 2px solid var(--g200);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    animation: pop-in 0.45s cubic-bezier(.34,1.56,.64,1) forwards;
}

@keyframes pop-in {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.success-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.success-sub {
    font-size: 0.90rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 320px;
    margin: 0 auto 24px;
}

.success-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.success-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--g50);
    color: var(--g700);
    border: 1px solid var(--g200);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
}

/* ============================================================
   ACTION BUTTONS (Call / WhatsApp)
============================================================ */
.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #fff;
    color: var(--dark2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-call:hover {
    border-color: var(--g600);
    background: var(--g50);
    color: var(--g700);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(22,163,74,0.12);
}

.btn-call-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 1px solid var(--g200);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: background var(--transition);
}

.btn-call:hover .btn-call-icon { background: var(--g200); }

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #dcfce7;
    color: #166534;
    border: 1.5px solid #bbf7d0;
    border-radius: var(--radius-sm);
    padding: 13px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-whatsapp:hover {
    background: #bbf7d0;
    border-color: #86efac;
    color: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37,211,102,0.20);
}

.btn-whatsapp-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #25d366;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Or divider */
.or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ============================================================
   INFO SIDEBAR
============================================================ */
.info-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #e8f5e9;
    padding: 28px 24px;
    height: 100%;
}

.info-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card-title i { color: var(--g600); }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
    width: 40px; height: 40px;
    background: var(--g50);
    border: 1px solid var(--g100);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: var(--g600);
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.73rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}

.contact-info-value {
    font-size: 0.90rem;
    font-weight: 600;
    color: var(--dark2);
    margin: 0;
    line-height: 1.45;
}

.contact-info-value a {
    color: var(--dark2);
    text-decoration: none;
    transition: color var(--transition);
}

.contact-info-value a:hover { color: var(--g600); }

/* Office hours table */
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #f8fafc;
}

.hours-row:last-child { border-bottom: none; }

.hours-day { color: var(--muted); font-weight: 500; }

.hours-time { color: var(--dark2); font-weight: 600; }

.badge-open {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--g50);
    color: var(--g700);
    border: 1px solid var(--g100);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.badge-open::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--g600);
    border-radius: 50%;
    animation: pulse-dot 1.8s infinite;
}

/* Trust badges */
.trust-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--g50);
    color: var(--g700);
    border: 1px solid var(--g100);
    font-size: 0.73rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

/* ============================================================
   MAP PLACEHOLDER
============================================================ */
.map-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #e8f5e9;
    overflow: hidden;
}

.map-placeholder {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--g700);
    font-weight: 600;
    font-size: 0.90rem;
    border-bottom: 1px solid var(--g100);
}

.map-placeholder i { font-size: 2.2rem; color: var(--g600); }

.map-footer {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.map-address {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--g600);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap;
}

.btn-directions:hover {
    background: var(--g700);
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================================
   FAQ STRIP
============================================================ */
.faq-strip { background: #fff; border-top: 1px solid #f1f5f9; }

.faq-item {
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 10px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover { border-color: var(--g200); box-shadow: 0 2px 12px rgba(22,163,74,0.07); }

.faq-item:last-child { margin-bottom: 0; }

.faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark2);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background var(--transition);
}

.faq-btn:hover { background: var(--g50); }

.faq-chevron {
    width: 24px; height: 24px;
    background: var(--g50);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition), background var(--transition);
    font-size: 0.75rem;
    color: var(--g600);
}

.faq-btn[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
    background: var(--g100);
}

.faq-body {
    padding: 0 20px 16px;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.70;
    border-top: 1px solid #f8fafc;
}