/* =============================================
   Shaheen Printers & Graphics - Main Stylesheet
   ============================================= */

:root {
    --primary: #2d2db4;
    --primary-dark: #1a1a8c;
    --primary-light: #4444cc;
    --accent: #e8e8ff;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-mid: #444466;
    --text-light: #888;
    --bg-light: #f5f7ff;
    --border: #dde0f5;
    --shadow: 0 4px 24px rgba(45,45,180,0.10);
    --shadow-lg: 0 8px 40px rgba(45,45,180,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { color: var(--text-mid); }
a { text-decoration: none; color: inherit; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { color: var(--primary-dark); margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.text-primary { color: var(--primary); }
.badge-pill {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,45,180,0.30);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ============================================================
   POPUP OVERLAY
   ============================================================ */
#popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,60,0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 0.5s 0.8s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.popup-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 540px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(30px);
    animation: slideUp 0.5s 0.8s forwards;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes slideUp { to { transform: translateY(0); } }

.popup-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 28px 30px 20px;
    text-align: center;
    position: relative;
}
.popup-header img.popup-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 50%;
    background: white;
    padding: 6px;
}
.popup-header h3 { font-size: 1.3rem; margin-bottom: 4px; }
.popup-header p { font-size: 0.88rem; opacity: 0.9; color: rgba(255,255,255,0.9); }
.popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.popup-close:hover { background: rgba(255,255,255,0.35); }

.popup-body { padding: 28px 30px; }

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.form-group label span.req { color: #e03; }
.form-control {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.93rem;
    transition: var(--transition);
    background: #fafbff;
    font-family: inherit;
    color: var(--text-dark);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(45,45,180,0.08);
}
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { cursor: pointer; }
.popup-submit {
    width: 100%;
    padding: 14px;
    border: none;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 6px;
}
.popup-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,45,180,0.3);
}
.popup-skip {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.84rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 6px;
}
.popup-skip:hover { color: var(--primary); text-decoration: underline; }
.popup-success {
    text-align: center;
    padding: 30px;
    display: none;
}
.popup-success .success-icon {
    width: 70px;
    height: 70px;
    background: #e8fff0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
    color: #22c55e;
}
.popup-success h4 { color: var(--primary-dark); margin-bottom: 8px; }
.popup-success p { font-size: 0.93rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    padding: 0;
}
.navbar.scrolled {
    box-shadow: var(--shadow);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.nav-logo-text .company-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.1;
}
.nav-logo-text .company-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-menu a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-mid);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
    background: var(--accent);
    color: var(--primary);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 8px 14px;
    background: var(--accent);
    border-radius: 50px;
    transition: var(--transition);
}
.nav-phone:hover { background: var(--primary); color: white; }
.nav-phone svg { width: 16px; height: 16px; }
.nav-order-btn {
    background: var(--primary);
    color: white;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}
.nav-order-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d0d6b 0%, #2d2db4 50%, #4444cc 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}
.hero-text { color: white; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-title { margin-bottom: 20px; color: white; }
.hero-title span { color: #a5b4fc; }
.hero-desc { font-size: 1.08rem; color: rgba(255,255,255,0.80); margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.stat { color: white; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: white; line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 4px; }
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-logo-ring {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin-slow 20s linear infinite;
    position: relative;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero-logo-ring::before {
    content: '';
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.2);
}
.hero-logo-inner {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin-slow 20s linear infinite reverse;
}
.hero-logo-inner img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}
.floating-card {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.floating-card.card-1 { top: 10%; right: -10%; animation-delay: 0s; }
.floating-card.card-2 { bottom: 10%; left: -5%; animation-delay: 1.5s; }
.floating-card .card-icon {
    width: 38px;
    height: 38px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}
.floating-card .card-info .label { font-size: 0.72rem; color: var(--text-light); }
.floating-card .card-info .value { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img-wrap {
    position: relative;
}
.about-img-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}
.about-img-box img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,30,0.3));
}
.about-badge-card {
    position: absolute;
    background: white;
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}
.about-badge-card.card-tl { top: -20px; left: -20px; }
.about-badge-card.card-br { bottom: -20px; right: -20px; }
.about-badge-card .icon {
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.about-badge-card .info .num { font-size: 1.3rem; font-weight: 800; color: var(--primary-dark); }
.about-badge-card .info .text { font-size: 0.78rem; color: var(--text-light); }
.about-text h2 { color: var(--primary-dark); margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; font-size: 0.97rem; }
.ceo-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-left: 4px solid var(--primary);
    margin-top: 24px;
}
.ceo-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    flex-shrink: 0;
}
.ceo-info .name { font-weight: 700; color: var(--primary-dark); font-size: 0.95rem; }
.ceo-info .title { font-size: 0.78rem; color: var(--text-light); margin-bottom: 6px; }
.ceo-info .quote { font-size: 0.88rem; color: var(--text-mid); font-style: italic; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.tab-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: var(--transition);
}
.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); filter: brightness(3); }
.service-card h3 { font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
    background: var(--bg-light);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}
.why-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1.5px solid var(--border);
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.why-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    color: white;
    transition: var(--transition);
}
.why-card:hover .why-icon { transform: scale(1.1) rotate(5deg); }
.why-card h3 { color: var(--primary-dark); font-size: 1.08rem; margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
    z-index: 0;
}
.process-step {
    text-align: center;
    padding: 24px 16px;
    position: relative;
    z-index: 1;
}
.step-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    box-shadow: 0 4px 16px rgba(45,45,180,0.3);
}
.step-num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    opacity: 0.4;
}
.process-step h4 { color: var(--primary-dark); margin-bottom: 8px; font-size: 1rem; }
.process-step p { font-size: 0.86rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.cta-section h2 { color: white; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: start;
}
.contact-info-box { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}
.contact-card:hover { transform: translateX(6px); border-color: var(--primary); }
.contact-card .icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    color: var(--primary);
}
.contact-card .label { font-size: 0.8rem; color: var(--text-light); margin-bottom: 4px; }
.contact-card .value { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.contact-card .value a { color: var(--primary); }
.social-links-box h4 { color: var(--primary-dark); margin-bottom: 16px; font-size: 1rem; }
.social-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid var(--border);
    color: var(--text-dark);
}
.social-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.social-link.fb { border-color: #1877f2; color: #1877f2; }
.social-link.fb:hover { background: #1877f2; color: white; }
.social-link.ig { border-color: #e1306c; color: #e1306c; }
.social-link.ig:hover { background: #e1306c; color: white; }
.social-link.tk { border-color: #010101; color: #010101; }
.social-link.tk:hover { background: #010101; color: white; }
.social-link.li { border-color: #0077b5; color: #0077b5; }
.social-link.li:hover { background: #0077b5; color: white; }
.social-link.gm { border-color: #ea4335; color: #ea4335; }
.social-link.gm:hover { background: #ea4335; color: white; }

.contact-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
}
.contact-form-card h3 { color: var(--primary-dark); margin-bottom: 6px; }
.contact-form-card p { font-size: 0.9rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    font-family: inherit;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,45,180,0.3); }
.success-msg {
    display: none;
    background: #e8fff0;
    border: 1px solid #86efac;
    border-radius: var(--radius);
    padding: 16px 20px;
    color: #166534;
    font-weight: 600;
    margin-top: 16px;
    text-align: center;
}

/* ============================================================
   ORDER / QUOTATION PAGE
   ============================================================ */
.order-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}
.order-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
}
.order-form-card h2 { color: var(--primary-dark); margin-bottom: 6px; }
.order-form-card > p { font-size: 0.93rem; margin-bottom: 30px; }
.form-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    border-top: 1.5px solid var(--border);
    padding-top: 20px;
    margin: 20px 0 16px;
}
.form-section-title:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.order-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    border: 1.5px solid var(--border);
}
.sidebar-card h4 { color: var(--primary-dark); margin-bottom: 12px; font-size: 0.95rem; }
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-mid);
}
.sidebar-list li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: #e8fff0;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}
.sidebar-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.sidebar-whatsapp h4 { color: white; margin-bottom: 6px; }
.sidebar-whatsapp p { color: rgba(255,255,255,0.85); font-size: 0.85rem; margin-bottom: 14px; }
.sidebar-whatsapp a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #128c7e;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}
.sidebar-whatsapp a:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

/* ============================================================
   SAMPLES PAGE
   ============================================================ */
.samples-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.filter-btn {
    padding: 9px 22px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.sample-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}
.sample-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.sample-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}
/* When a real photo is uploaded */
.sample-img.has-photo {
    background: #e8e8e8;
    padding: 0;
}
.sample-img.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}
.sample-card:hover .sample-img.has-photo img {
    transform: scale(1.05);
}
.sample-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}
.sample-card:hover .sample-img::after { opacity: 1; }
.sample-body { padding: 18px 20px; }
.sample-body h4 { color: var(--primary-dark); margin-bottom: 6px; font-size: 1rem; }
.sample-body p { font-size: 0.85rem; }
.sample-cat {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 100px 0 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 250px; height: 250px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.page-hero .breadcrumb {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: white; }
.page-hero h1 { color: white; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #0d0d4a;
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-brand .logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 4px;
}
.footer-brand .logo .name { color: white; font-size: 1.1rem; font-weight: 800; }
.footer-brand .logo .sub { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-3px); }
.footer-col h5 { color: white; font-size: 0.95rem; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a::before { content: '›'; color: var(--primary-light); font-size: 1.1rem; }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; }
.footer-contact-list .fi { color: var(--primary-light); font-size: 0.95rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,0.65); }
.footer-contact-list a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom a { color: var(--primary-light); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 500;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* WhatsApp float button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 24px;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.5);
    transition: var(--transition);
    z-index: 500;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.6); }

/* ============================================================
   ALERT / NOTIFICATION
   ============================================================ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}
.alert-success { background: #e8fff0; border: 1px solid #86efac; color: #166534; }
.alert-error { background: #fff0f0; border: 1px solid #fca5a5; color: #991b1b; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; }
    .about-img-wrap { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .order-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-steps::before { display: none; }
}
@media (max-width: 768px) {
    .nav-menu, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow);
    }
    .nav-menu.open .nav-order-btn-li { display: block; margin-top: 8px; }
    .nav-menu.open .nav-order-btn { display: block; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
}
@media (max-width: 480px) {
    .popup-body { padding: 20px; }
    .popup-header { padding: 20px; }
    .order-form-card { padding: 24px; }
    .contact-form-card { padding: 24px; }
}

/* ===================================================
   REELS / VIDEOS SECTION
   =================================================== */
.reels-section {
    background: linear-gradient(160deg, #0b0b28 0%, #160833 45%, #0a0a1e 100%);
    padding: 72px 0 80px;
    overflow: hidden;
    position: relative;
}
.reels-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100,80,200,0.5), transparent);
}
.reels-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.reels-header {
    text-align: center;
    margin-bottom: 44px;
}
.reels-badge {
    display: inline-block;
    background: rgba(100,80,220,0.3);
    border: 1px solid rgba(130,100,255,0.4);
    color: #c4b5fd;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.reels-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}
.reels-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: .9rem;
    margin: 0;
}

/* Slider */
.reels-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.reels-overflow {
    flex: 1;
    overflow: hidden;
    border-radius: 4px;
}
.reels-track {
    display: flex;
    gap: 16px;
    transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Arrow buttons */
.reel-arrow {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    z-index: 2;
}
.reel-arrow:hover { background: rgba(255,255,255,0.25); transform: scale(1.08); }
.reel-arrow:active { transform: scale(0.95); }

/* Card */
.reel-card {
    aspect-ratio: 9/16;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: linear-gradient(135deg, #1a0a3e, #2d2db4);
    flex-shrink: 0;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.reel-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.reel-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.reel-no-thumb {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg,#1a0a3e,#2d2db4);
}

/* Overlay play button (shows on hover) */
.reel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s;
    pointer-events: none;
}
.reel-card:hover .reel-overlay { background: rgba(0,0,0,0.3); }
.reel-play-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #1a1a8c;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity .25s, transform .25s;
}
.reel-card:hover .reel-play-btn { opacity: 1; transform: scale(1); }

/* Platform badge */
.reel-platform-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 900;
    border: 2px solid rgba(255,255,255,0.8);
}
.reel-plat-youtube  { background: #ff0000; color: #fff; }
.reel-plat-facebook { background: #1877f2; color: #fff; }
.reel-plat-instagram{ background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); color: #fff; }
.reel-plat-tiktok   { background: #010101; color: #fff; }
.reel-plat-other    { background: #4444cc; color: #fff; }

@media (max-width: 860px) {
    .reels-section { padding: 52px 0; }
    .reel-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
}
@media (max-width: 540px) {
    .reels-header { margin-bottom: 28px; }
    .reel-arrow { width: 32px; height: 32px; font-size: 1.1rem; }
}

/* =====================================================
   REEL LIGHTBOX / VIDEO MODAL
   ===================================================== */
.reel-lb {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
    animation: lbFadeIn .22s ease;
}
.reel-lb.open { display: flex; }
@keyframes lbFadeIn { from{opacity:0} to{opacity:1} }

.reel-lb-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.93);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.reel-lb-close {
    position: fixed;
    top: 18px;
    right: 22px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    border: 1.5px solid rgba(255,255,255,0.28);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background .2s, transform .15s;
    display: flex; align-items: center; justify-content: center;
}
.reel-lb-close:hover { background: rgba(255,255,255,0.26); transform: scale(1.1); }

.reel-lb-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.reel-lb-layout {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Video iframe container */
.reel-lb-player {
    width: min(330px, 74vw);
    aspect-ratio: 9/16;
    max-height: 80vh;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    position: relative;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.09),
                0 28px 80px rgba(0,0,0,0.9);
    flex-shrink: 0;
}
.reel-lb-player iframe {
    width: 100%; height: 100%;
    border: none;
    display: block;
}

/* Up/Down nav (desktop sidebar) */
.reel-lb-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.reel-lb-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.11);
    border: 1.5px solid rgba(255,255,255,0.22);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background .2s, transform .15s;
    display: flex; align-items: center; justify-content: center;
}
.reel-lb-btn:hover  { background: rgba(255,255,255,0.24); transform: scale(1.1); }
.reel-lb-btn:active { transform: scale(0.9); }

.reel-lb-count {
    color: rgba(255,255,255,0.45);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* Info bar below video */
.reel-lb-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 400px;
}
.reel-lb-title-text {
    color: rgba(255,255,255,0.82);
    font-size: .9rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}
.reel-lb-plat-text {
    color: rgba(255,255,255,0.38);
    font-size: .78rem;
}

/* Mobile: hide side nav, show bottom nav */
.reel-lb-nav-mobile {
    display: none;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 40px;
    padding: 8px 20px;
}
.reel-lb-nav-mobile .reel-lb-btn {
    width: auto; height: auto;
    border-radius: 8px;
    background: transparent;
    border: none;
    font-size: .9rem;
    padding: 4px 8px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .reel-lb-nav     { display: none; }
    .reel-lb-nav-mobile { display: flex; }
    .reel-lb-player  { width: min(290px, 86vw); }
    .reel-lb-close   { top: 12px; right: 14px; width: 38px; height: 38px; font-size: .9rem; }
}

/* =====================================================
   ORDER NOW BUTTON (on service/sample cards)
   ===================================================== */
.card-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 8px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .4px;
    transition: background .2s, transform .15s, box-shadow .2s;
    text-decoration: none;
}
.card-order-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(45,45,180,.28);
    color: #fff;
}
.card-order-btn:active { transform: translateY(0); }

/* =====================================================
   QUOTE REQUEST POPUP — MULTI-STEP FORM
   ===================================================== */
.qp-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity .25s ease;
}
.qp-overlay.open { opacity: 1; }

.qp-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 30, 0.78);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
}

.qp-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.38);
    transform: translateY(24px) scale(.97);
    transition: transform .28s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
}
.qp-overlay.open .qp-card { transform: translateY(0) scale(1); }

/* Progress bar */
.qp-progress {
    height: 4px;
    background: #e8e8ff;
}
.qp-prog-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #6060ee);
    transition: width .4s ease;
    width: 0%;
}

/* Header */
.qp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 10px;
}
.qp-dots { display: flex; align-items: center; gap: 0; }
.qp-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #e8e8ff;
    color: #aaa;
    font-size: .75rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: background .3s, color .3s;
    border: 2px solid #e8e8ff;
}
.qp-dot.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.qp-dot.done {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}
.qp-dot-line {
    width: 28px; height: 2px;
    background: #e8e8ff;
}
.qp-close-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #f0f0f8;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: .85rem;
    transition: background .2s;
    display: flex; align-items: center; justify-content: center;
}
.qp-close-btn:hover { background: #e0e0ee; color: #333; }

/* Body */
.qp-body {
    padding: 8px 24px 18px;
    animation: qpFadeIn .22s ease;
}
@keyframes qpFadeIn { from{opacity:0;transform:translateX(10px)} to{opacity:1;transform:none} }

.qp-step-icon {
    font-size: 2.2rem;
    margin-bottom: 6px;
    text-align: center;
}
.qp-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-align: center;
    margin: 0 0 2px;
}
.qp-sub {
    font-size: .78rem;
    color: #888;
    text-align: center;
    margin: 0 0 16px;
}
.qp-field { margin-bottom: 12px; }
.qp-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 4px;
}
.qp-req { color: var(--primary); }
.qp-input {
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid #dde0f0;
    border-radius: 10px;
    font-size: .88rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #fafafe;
    font-family: inherit;
    box-sizing: border-box;
}
.qp-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,45,180,.1);
    background: #fff;
}
.qp-textarea { resize: none; height: 64px; }
.qp-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qp-err {
    font-size: .75rem;
    color: #dc2626;
    margin-top: -8px;
    margin-bottom: 8px;
}

/* Success step */
.qp-success-body { text-align: center; padding: 20px 24px 24px; }
.qp-success-anim {
    font-size: 3.5rem;
    margin-bottom: 10px;
    animation: qpBounce .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes qpBounce { from{transform:scale(0)} to{transform:scale(1)} }
.qp-sub-success { color: #555; font-size: .88rem; margin: 6px 0 20px; line-height: 1.5; }
.qp-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    margin-bottom: 12px;
    transition: background .2s, transform .15s;
}
.qp-wa-btn:hover { background: #20bb58; transform: translateY(-2px); color: #fff; }
.qp-done-btn {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    background: transparent;
    border: 1.5px solid #dde0f0;
    border-radius: 10px;
    color: #888;
    font-size: .85rem;
    cursor: pointer;
    transition: background .2s;
}
.qp-done-btn:hover { background: #f0f0f8; }

/* Footer */
.qp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px 20px;
    gap: 10px;
}
.qp-back {
    padding: 10px 20px;
    background: transparent;
    border: 1.5px solid #dde0f0;
    border-radius: 10px;
    color: #666;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    display: inline-flex; align-items: center; gap: 4px;
}
.qp-back:hover { background: #f0f0f8; }
.qp-next {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), #5050ee);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(45,45,180,.28);
}
.qp-next:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(45,45,180,.35); }
.qp-next:disabled { opacity: .6; transform: none; }

@media (max-width: 520px) {
    .qp-card { border-radius: 18px 18px 0 0; position: fixed; bottom: 0; left: 0; right: 0; max-width: 100%; }
    .qp-overlay { align-items: flex-end; padding: 0; }
    .qp-row2 { grid-template-columns: 1fr; }
}
