/* Customer Service — Complete Redesign (except header/footer) — loads after style.css */
:root {
    --primary-color: #00a8e8;
    --secondary-color: #1e3a8a;
    --accent-color: #0ea5e9;
    --light-bg: #fcfdff;
    --off-white-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #00a8e8 0%, #1e3a8a 100%);
    --shadow-soft: 0 1px 3px rgba(15,23,42,0.06), 0 4px 12px rgba(15,23,42,0.04);
    --shadow-card: 0 4px 20px rgba(15,23,42,0.06);
    --shadow-medium: 0 8px 30px rgba(15,23,42,0.08);
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-pill: 999px;
    --transition: all 0.25s ease;
}

/* Base — keep header/footer from style.css, override body */
body { background: var(--light-bg); color: var(--text-primary); -webkit-font-smoothing: antialiased; }
header { background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-light); box-shadow: none; }
.nav-links a { color: #334155; font-size: 0.92rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }

/* Main container */
.cs-main { max-width: 1180px; margin: 0 auto; padding: 1.2rem 1.5rem 0; }
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.breadcrumb a { color: var(--text-secondary); } .breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb span:last-child { color: var(--text-primary); font-weight: 500; }

/* Hero */
.cs-hero { position: relative; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%); border: 1px solid #e0f2fe; padding: 2.4rem 1.5rem; margin-bottom: 1.6rem; }
.cs-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.cs-orb { position: absolute; border-radius: 999px; filter: blur(32px); opacity: 0.55; }
.cs-orb--1 { width: 420px; height: 420px; background: #bae6fd; top: -120px; left: -80px; }
.cs-orb--2 { width: 520px; height: 520px; background: #ddd6fe; bottom: -180px; right: -100px; opacity: 0.4; }
.cs-hero-content { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.cs-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: white; border: 1px solid #e0f2fe; border-radius: var(--radius-pill); padding: 0.35rem 0.9rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; color: #334155; box-shadow: var(--shadow-soft); }
.cs-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,0.15); }
.cs-hero h1 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--secondary-color); margin: 1rem 0 0.6rem; line-height: 1.1; }
.cs-hero p { color: #475569; font-size: 0.98rem; line-height: 1.6; margin: 0 auto; max-width: 560px; }
.cs-hero-meta { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; font-size: 0.78rem; font-weight: 600; color: #334155; }
.cs-hero-meta span { background: white; border: 1px solid #e2e8f0; border-radius: var(--radius-pill); padding: 0.3rem 0.7rem; }

/* Form first — full width centered */
.cs-form-top { max-width: 760px; margin: 0 auto 1.6rem; }
.cs-form-top .cs-form-card { box-shadow: var(--shadow-medium); border: 1px solid #e0f2fe; }

/* Layout 2-col */
.cs-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.4rem; align-items: start; margin-bottom: 2rem; }
.cs-main-col { min-width: 0; display: flex; flex-direction: column; gap: 1.6rem; }
.cs-side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 84px; }

/* Cards base */
.card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 1.5rem; transition: var(--transition); }
.card:hover { border-color: var(--border-color); box-shadow: var(--shadow-card); transform: none; }
.card h2 { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.01em; }
.card h3 { font-size: 0.98rem; font-weight: 700; color: var(--secondary-color); }

/* Form card */
.cs-form-card { padding: 1.6rem; }
.cs-card-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--border-light); padding-bottom: 1rem; }
.cs-card-head h2 { margin: 0; font-size: 1.2rem; }
.cs-card-head p { margin: 0.2rem 0 0; font-size: 0.85rem; color: var(--text-secondary); }
.cs-steps { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-color); background: #f0f9ff; border: 1px solid #e0f2fe; padding: 0.3rem 0.6rem; border-radius: var(--radius-pill); white-space: nowrap; }
.service-form { margin-top: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.84rem; color: #1e293b; }
.required-hint { font-weight: 400; font-size: 0.74rem; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.72rem 0.85rem; border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md); font-size: 0.9rem; font-family: inherit; background: #fff; color: var(--text-primary);
    transition: var(--transition); box-shadow: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0,168,232,0.12); background: #fff;
}
.form-group input:user-invalid, .form-group textarea:user-invalid, .form-group select:user-invalid { border-color: #fca5a5; }
.form-group input.is-touched:invalid, .form-group textarea.is-touched:invalid { border-color: #fca5a5; }
.form-group input:user-invalid:focus, .form-group textarea:user-invalid:focus { border-color: var(--error-color); box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }
.form-group textarea { resize: vertical; min-height: 108px; }
.cs-submit { width: 100%; background: var(--gradient-primary); color: white; border-radius: var(--radius-pill); padding: 0.85rem 1.2rem; font-weight: 700; font-size: 0.92rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.6rem; border: none; cursor: pointer; box-shadow: 0 6px 20px rgba(0,168,232,0.25); }
.cs-submit:hover { box-shadow: 0 10px 28px rgba(0,168,232,0.3); transform: translateY(-1px); }
.cs-submit:disabled { opacity: 0.7; transform: none; cursor: not-allowed; }
.cs-form-footnote { font-size: 0.74rem; color: var(--text-muted); text-align: center; margin: 0.7rem 0 0; line-height: 1.4; }

/* Alerts inside form */
#formSuccess, #formError { margin-top: 1rem; border-radius: var(--radius-md); }
.alert { border-radius: var(--radius-md); border-left-width: 3px; padding: 0.85rem 1rem; font-size: 0.88rem; }
.alert-info { background: #f0f9ff; border-color: var(--primary-color); color: #0c4a6e; }
.alert-warning { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
.alert-success { background: #ecfdf5; border-color: var(--success-color); color: #065f46; }
.alert-error { background: #fef2f2; border-color: var(--error-color); color: #991b1b; }

/* Side cards */
.cs-direct-card h3, .cs-response-card h3, .cs-trust-card h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.cs-muted { font-size: 0.85rem; color: var(--text-secondary); margin: 0 0 0.9rem; }
.cs-direct-buttons { display: flex; flex-direction: column; gap: 0.7rem; }
.cs-direct-buttons .cta-button { width: 100%; max-width: none; display: flex; align-items: center; justify-content: center; gap: 0.45rem; border-radius: var(--radius-pill); padding: 0.75rem 1rem; font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.whatsapp-btn { background: #25D366 !important; color: white !important; box-shadow: 0 4px 14px rgba(37,211,102,0.25) !important; }
.whatsapp-btn:hover { background: #128C7E !important; }
.telegram-btn { background: #0088cc !important; color: white !important; box-shadow: 0 4px 14px rgba(0,136,204,0.25) !important; }
.telegram-btn:hover { background: #0077b5 !important; }
.cs-direct-note { font-size: 0.73rem; color: var(--text-muted); text-align: center; margin-top: 0.7rem; }
.cs-btn-icon { font-size: 1rem; }
.response-times { margin-top: 0.8rem; }
.time-slot { padding: 0.9rem 1rem; background: var(--off-white-bg); border-radius: var(--radius-md); margin-bottom: 0.7rem; border-left: 3px solid var(--primary-color); }
.time-slot h4 { font-size: 0.84rem; font-weight: 700; color: var(--secondary-color); margin: 0 0 0.25rem; }
.time-slot p { font-size: 0.82rem; color: var(--text-secondary); margin: 0.15rem 0; }
.time-slot p strong { color: var(--text-primary); }
.cs-urgent { border-left-color: #f59e0b; background: #fffbeb; }
.cs-trust-list { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.cs-trust-list li { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.55rem; display: flex; gap: 0.5rem; }
.cs-check { color: var(--success-color); font-weight: 700; }
.cs-link { font-size: 0.84rem; font-weight: 600; color: var(--primary-color); text-decoration: none; }
.cs-link:hover { color: var(--secondary-color); }

/* Help section */
.cs-help { margin: 0; }
.cs-section-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text-primary); margin: 0 0 1rem; }
.cs-help-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.cs-help-card { padding: 1.3rem; text-align: left; }
.cs-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 0.7rem; }
.cs-icon--blue { background: #e0f2fe; }
.cs-icon--violet { background: #ede9fe; }
.cs-icon--emerald { background: #d1fae5; }
.cs-icon i { font-size: 16px; }
.cs-icon--blue i { color: #0284c7; }
.cs-icon--violet i { color: #7c3aed; }
.cs-icon--emerald i { color: #059669; }
.cs-alt-icon i { font-size: 16px; color: var(--primary-color); }
.mobile-menu-btn i { font-size: 1.2rem; color: #0f172a; }
.time-slot h4 i, .cs-direct-card h3 i, .cs-response-card h3 i, .cs-trust-card h3 i, .limitations-card h3 i { margin-right: 6px; }
.cs-hero-meta i { font-size: 11px; }
.cs-help-card h3 { font-size: 0.92rem; margin: 0 0 0.5rem; }
.cs-help-card ul { list-style: none; padding: 0; margin: 0; }
.cs-help-card li { position: relative; padding-left: 0.9rem; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 0.4rem; }
.cs-help-card li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-color); opacity: 0.8; }

/* Limitations */
.limitations-section { margin: 0; }
.cs-limit-head { text-align: center; margin-bottom: 0.8rem; }
.cs-limit-head h2 { margin: 0; font-size: 1.25rem; }
.cs-limit-head p { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--text-secondary); }
.limitations-section .alert { max-width: 720px; margin: 0.6rem auto; }
.limitations-card { max-width: 720px; margin: 0.8rem auto 0; background: #fffdf5; border-color: #fef3c7; }
.limitations-card h3 { color: #b45309; font-size: 0.95rem; }
.limitations-card ul { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.limitations-card li { padding-left: 1rem; position: relative; font-size: 0.85rem; color: #57534e; margin-bottom: 0.45rem; }
.limitations-card li::before { background: #f59e0b; }

/* Alt support */
.cs-alt { margin: 2rem 0 1.2rem; text-align: center; }
.cs-section-sub { font-size: 0.88rem; color: var(--text-secondary); margin: -0.6rem 0 1rem; }
.cs-alt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; text-align: left; }
.cs-alt-card { padding: 1.3rem; display: flex; flex-direction: column; }
.cs-alt-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--off-white-bg); display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 0.6rem; }
.cs-alt-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--text-primary); margin: 0 0 0.25rem; }
.cs-alt-card p { font-size: 0.82rem; color: var(--text-secondary); margin: 0; flex: 1; }
.cs-alt-btn { margin-top: 0.9rem; background: var(--gradient-primary); color: white; border-radius: var(--radius-pill); padding: 0.55rem 1rem; font-size: 0.82rem; font-weight: 600; text-align: center; text-decoration: none; display: inline-flex; justify-content: center; }

/* Privacy */
.cs-privacy { margin: 1.4rem 0 0; text-align: center; font-size: 0.84rem; }
.cs-privacy a { color: var(--primary-color); font-weight: 600; }

/* Footer keep */
footer { background: var(--secondary-color); border-top: none; margin-top: 2rem; }
.footer-section h4 { color: #fff; font-size: 0.9rem; }
.footer-section ul li a { color: rgba(255,255,255,0.75); font-size: 0.88rem; }
.footer-section ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); font-size: 0.82rem; }
::-webkit-scrollbar-track { background: var(--off-white-bg); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }
/* Hide menu and footer — on minimal pages (customer-service & request) */
body.cs-minimal header nav,
body.cs-minimal #hamburgerBtn,
body.cs-minimal #mobileMenu,
body.cs-minimal footer { display: none !important; }
body.cs-minimal header .header-container { justify-content: center; }
body.cs-minimal header .logo img { height: 42px; }

/* Minimal clean — hide non-essential sections only on minimal page */
body.cs-minimal .cs-help,
body.cs-minimal .limitations-section,
body.cs-minimal .cs-alt,
body.cs-minimal .cs-trust-card,
body.cs-minimal .cs-response-card { display: none !important; }

/* Keep only form + hero + direct contact + privacy — tighten spacing */
body.cs-minimal .cs-main { max-width: 760px; padding: 1rem 1.2rem 0; }
body.cs-minimal .cs-hero { padding: 1.8rem 1.5rem; margin-bottom: 1.2rem; border-radius: 16px; }
body.cs-minimal .cs-hero h1 { font-size: 1.9rem; }
body.cs-minimal .cs-hero p { font-size: 0.92rem; }
body.cs-minimal .cs-hero-meta { display: none; }
body.cs-minimal .cs-layout { grid-template-columns: 1fr; gap: 0; margin-bottom: 1.2rem; }
body.cs-minimal .cs-side { position: static; gap: 0.8rem; }
body.cs-minimal .cs-direct-card { padding: 1.2rem; }
body.cs-minimal .breadcrumb { margin-bottom: 0.6rem; font-size: 0.78rem; }
body.cs-minimal .cs-privacy { margin-top: 1rem; padding: 0.7rem 1rem; font-size: 0.8rem; }

.mobile-menu { position: fixed; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border-light); padding: 1rem; transform: translateY(-100%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease; z-index: 999; box-shadow: var(--shadow-medium); }
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu ul li { margin-bottom: 0.3rem; }
.mobile-menu ul li a { display: block; padding: 0.7rem 1rem; color: #334155; text-decoration: none; border-radius: 10px; font-size: 0.92rem; }
.mobile-menu ul li a:hover, .mobile-menu ul li a.active { background: var(--off-white-bg); color: var(--primary-color); }
#hamburgerBtn.active { background: var(--off-white-bg); border-radius: 8px; }

/* Responsive */
@media (max-width: 980px) {
  .cs-layout { grid-template-columns: 1fr; }
  .cs-side { position: static; }
  .cs-hero h1 { font-size: 1.8rem; }
  .cs-help-grid, .cs-alt-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cs-main { padding: 0.8rem 1rem 0; }
  .cs-hero { padding: 1.6rem 1rem; border-radius: 16px; }
  .cs-hero-meta { font-size: 0.72rem; }
  .cs-card-head { flex-direction: column; }
}
