/* ═══════════════════════════════════════════════════
   RU DIGITAL HUB — SHARED SUB-PAGE STYLES
   All service pages use this CSS
═══════════════════════════════════════════════════ */

:root {
    --blue: #007BFF;
    --blue-dark: #0056b3;
    --blue-deep: #003b80;
    --yellow: #FFC107;
    --yellow-dark: #e6a800;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --text: #1e293b;
    --text-light: #64748b;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); overflow-x: hidden; }
html::-webkit-scrollbar { width: 5px; }
html::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 99px; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Reusable ── */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; background: rgba(0,123,255,0.1); color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 99px; margin-bottom: 14px; }
.section-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--gray-900); margin-bottom: 14px; }
.section-header p { font-size: 17px; color: var(--text-light); max-width: 560px; margin: 0 auto; }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: var(--white); padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: var(--transition); border: 2px solid var(--blue); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,123,255,0.35); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--white); padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: var(--transition); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* Animate in */
.animate { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate.do-animate { opacity: 0; transform: translateY(24px); }
.animate.do-animate.visible { opacity: 1; transform: translateY(0); }
.animate.visible { opacity: 1; transform: translateY(0); }

/* ═══════════ NAVBAR ═══════════ */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); background: var(--blue); transition: var(--transition); }
#navbar.scrolled { background: var(--blue-dark); box-shadow: 0 4px 24px rgba(0,0,0,0.2); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo img { height: 48px; width: auto; display: block; }
.nav-links ul { display: flex; align-items: center; gap: 4px; }
.nav-link { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 6px; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.15); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-shop { display: inline-flex; align-items: center; gap: 7px; background: var(--yellow); color: var(--gray-900); padding: 9px 20px; border-radius: 7px; font-weight: 700; font-size: 14px; transition: var(--transition); }
.btn-shop:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; background: rgba(255,255,255,0.15); border: none; border-radius: 8px; cursor: pointer; gap: 5px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; transition: opacity 0.3s; }
.mobile-overlay.active { opacity: 1; }

/* ═══════════ PAGE HERO ═══════════ */
.page-hero { position: relative; min-height: 55vh; display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 60px) 24px 80px; overflow: hidden; text-align: center; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,40,100,0.9) 0%, rgba(0,60,140,0.8) 100%); }
.page-hero-content { position: relative; z-index: 2; max-width: 720px; color: var(--white); }
.page-hero-content .section-tag { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.page-hero-content h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.page-hero-content h1 span { color: var(--yellow); }
.page-hero-content p { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════ SERVICES GRID ═══════════ */
.services-section { padding: 100px 0; background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; border: 1px solid var(--gray-200); transition: var(--transition); display: flex; flex-direction: column; gap: 12px; }
.service-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(0,123,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--blue); }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 13px; font-weight: 600; transition: var(--transition); }
.service-card:hover .service-link { gap: 10px; }

/* ═══════════ CHALLENGE / SOLUTION ═══════════ */
.challenge-section { padding: 100px 0; background: var(--white); }
.challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.challenge-col { padding: 56px 48px; }
.challenge-col--light { background: var(--white); border: 1px solid var(--gray-200); border-right: none; }
.challenge-col--dark { background: #002D5B; color: var(--white); }
.challenge-col h2 { font-size: 26px; font-weight: 800; margin-bottom: 32px; }
.challenge-col--dark h2 { color: var(--white); }
.challenge-item { display: flex; gap: 16px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--gray-200); }
.challenge-col--dark .challenge-item { border-color: rgba(255,255,255,0.1); }
.challenge-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.challenge-emoji { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.challenge-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.challenge-col--dark .challenge-item h3 { color: var(--white); }
.challenge-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.challenge-col--dark .challenge-item p { color: rgba(255,255,255,0.7); }

/* ═══════════ CONTENT SECTIONS (network, marketing alternating) ═══════════ */
.content-section { padding: 100px 0; }
.content-section:nth-child(even) { background: var(--off-white); }
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }
.content-block-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.content-block-img img { width: 100%; height: 100%; object-fit: cover; }
.content-block-text { display: flex; flex-direction: column; gap: 16px; }
.content-block-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--gray-900); }
.content-block-text p { font-size: 15px; color: var(--text-light); line-height: 1.8; }
.content-features { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.content-feature { display: flex; align-items: flex-start; gap: 12px; }
.feature-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(0,123,255,0.1); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; margin-top: 2px; }
.content-feature span { font-size: 14px; color: var(--gray-700); font-weight: 500; }

/* ═══════════ STATS BAND ═══════════ */
.stats-band { background: var(--blue); padding: 56px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.stats-band-item { text-align: center; padding: 0 24px; border-right: 1px solid rgba(255,255,255,0.2); }
.stats-band-item:last-child { border-right: none; }
.stats-band-item span { display: block; font-size: 40px; font-weight: 800; color: var(--yellow); line-height: 1; margin-bottom: 8px; }
.stats-band-item p { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 500; margin: 0; }

/* ═══════════ WHO WE ARE / SOLUTIONS ═══════════ */
.solutions-split { display: flex; min-height: 420px; }
.solution-panel { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 64px 48px; overflow: hidden; }
.solution-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.6s ease; }
.solution-panel:hover .solution-bg { transform: scale(1.04); }
.solution-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(255,255,255,0.82); }
.solution-overlay--dark { background: rgba(0,20,60,0.8); }
.solution-content { position: relative; z-index: 2; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.solution-left .solution-content h2 { color: var(--blue-dark); font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.solution-right .solution-content h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.solution-left .solution-content p { color: var(--gray-700); font-size: 15px; line-height: 1.8; }
.solution-right .solution-content p { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.8; }
.btn-solution { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 2px; width: fit-content; transition: var(--transition); }
.solution-right .btn-solution { color: var(--yellow); border-color: var(--yellow); }
.btn-solution:hover { gap: 12px; }

/* ═══════════ CONTACT ═══════════ */
.contact-section { position: relative; padding: 100px 0; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,40,100,0.9), rgba(0,60,130,0.85)); }
.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info { color: var(--white); display: flex; flex-direction: column; gap: 20px; }
.contact-info h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; }
.contact-info > p { color: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,0.9); font-size: 14px; transition: var(--transition); }
.contact-item:hover { color: var(--yellow); }
.contact-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: var(--yellow); font-size: 16px; flex-shrink: 0; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 9px; background: #25D366; color: var(--white); padding: 13px 24px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: var(--transition); width: fit-content; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
.social-links { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 15px; transition: var(--transition); }
.social-btn:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-lg); }
.contact-form h3 { font-size: 22px; font-weight: 800; color: var(--gray-900); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.form-group input, .form-group textarea { padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: 14px; font-family: inherit; color: var(--text); outline: none; transition: var(--transition); background: var(--gray-50); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(0,123,255,0.1); }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--blue); color: var(--white); border: none; padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--transition); font-family: inherit; }
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,123,255,0.35); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-note { text-align: center; font-size: 13px; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ═══════════ FOOTER ═══════════ */
#footer { background: var(--gray-900); color: var(--white); padding: 72px 0 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 52px; width: auto; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 280px; }
.footer-links-col h4, .footer-contact-col h4 { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { font-size: 14px; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-links-col a:hover { color: var(--yellow); padding-left: 4px; }
.footer-contact-col p { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 10px; }
.footer-contact-col i { color: var(--yellow); font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.footer-contact-col a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-contact-col a:hover { color: var(--yellow); }
.footer-bottom { max-width: 1200px; margin: 48px auto 0; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ═══════════ FLOATING WHATSAPP ═══════════ */
.whatsapp-float { position: fixed; right: 0; bottom: 140px; z-index: 9999; display: flex; align-items: center; gap: 8px; background: #25D366; color: var(--white); padding: 12px 16px 12px 14px; border-radius: 50px 0 0 50px; box-shadow: -3px 4px 16px rgba(37,211,102,0.35); font-size: 14px; font-weight: 700; transition: var(--transition); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; text-decoration: none; }
.whatsapp-float i { font-size: 22px; pointer-events: none; }
.whatsapp-float-label { overflow: hidden; max-width: 0; opacity: 0; white-space: nowrap; transition: max-width 0.4s, opacity 0.3s; pointer-events: none; }
.whatsapp-float:hover .whatsapp-float-label { max-width: 120px; opacity: 1; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
    .nav-links { position: fixed; top: 0; right: -300px; bottom: 0; width: 280px; background: var(--blue-dark); z-index: 1000; padding: calc(var(--nav-h) + 20px) 24px 40px; transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; }
    .nav-links.open { right: 0; }
    .nav-links ul { flex-direction: column; gap: 4px; }
    .nav-link { font-size: 16px; padding: 12px 16px; }
    .hamburger { display: flex; }
    .mobile-overlay { display: block; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .challenge-grid { grid-template-columns: 1fr; }
    .challenge-col--light { border-right: 1px solid var(--gray-200); border-bottom: none; }
    .content-block { grid-template-columns: 1fr; gap: 36px; }
    .content-block.reverse { direction: ltr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .stats-band-item { border-right: none; }
    .solutions-split { flex-direction: column; }
    .solution-panel { padding: 56px 36px; }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
    :root { --nav-h: 64px; }
    .services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .challenge-col { padding: 36px 24px; }
    .solution-panel { padding: 48px 24px; }
    .contact-form { padding: 24px 20px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .hero-actions { flex-direction: column; align-items: center; }
}

/* ── Mobile Touch Fixes ── */
.service-card, .btn-primary, .btn-outline, .btn-whatsapp,
.btn-submit, .btn-solution, .contact-item, .social-btn,
.btn-order, .nav-link, .btn-shop, .read-more {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
}
