/* ═══════════════════════════════════════════════════
   RU DIGITAL HUB — RESPONSIVE STYLESHEET
   Modern, clean, PlotHub-style layout
═══════════════════════════════════════════════════ */

/* ── Variables ── */
: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-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;
}

/* ── Reset ── */
*, *::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-track { background: transparent; }
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; }

/* Buttons */
.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); border-color: 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); }

/* Fade in cards - mobile friendly */
.service-card, .product-card, .testimonial-card, .value-item {
    opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease;
}
.service-card.animate-card, .product-card.animate-card, .testimonial-card.animate-card, .value-item.animate-card {
    opacity: 0; transform: translateY(24px);
}
.service-card.animate-card.visible, .product-card.animate-card.visible, .testimonial-card.animate-card.visible, .value-item.animate-card.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 */
.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 */
.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; }

/* ═══════════ HERO ═══════════ */
#hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: calc(var(--nav-h) + 60px) 24px 80px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,40,100,0.88) 0%, rgba(0,60,140,0.75) 100%);
}
.hero-content {
    position: relative; z-index: 2; max-width: 760px;
    text-align: center; color: var(--white);
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 18px; border-radius: 99px;
    font-size: 13px; font-weight: 500; margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(32px, 5.5vw, 60px); font-weight: 800; line-height: 1.15;
    margin-bottom: 20px; letter-spacing: -0.5px;
}
.hero-accent { color: var(--yellow); }
.hero-sub {
    font-size: clamp(16px, 2.2vw, 19px); color: rgba(255,255,255,0.85);
    margin-bottom: 36px; font-weight: 400; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 0;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px; padding: 20px 32px; flex-wrap: wrap; gap: 0;
}
.stat { text-align: center; padding: 0 28px; }
.stat span { display: block; font-size: 30px; font-weight: 800; color: var(--yellow); }
.stat p { font-size: 13px; color: rgba(255,255,255,0.75); margin: 0; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.25); }
.hero-scroll {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
}
.hero-scroll a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4); color: var(--white);
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)}50%{transform:translateY(6px)} }

/* ═══════════ SERVICES ═══════════ */
#services { 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); cursor: pointer; display: flex; flex-direction: column; gap: 12px;
}
.service-card:hover {
    border-color: var(--blue); box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.service-card--cta { background: var(--blue); border-color: var(--blue); }
.service-card--cta h3, .service-card--cta p, .service-card--cta .service-icon, .service-card--cta .service-link { color: var(--white) !important; }
.service-card--cta:hover { background: var(--blue-dark); }
.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); flex-shrink: 0;
}
.service-card--cta .service-icon { background: rgba(255,255,255,0.2); }
.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;
    margin-top: 4px; transition: var(--transition);
}
.service-card:hover .service-link { gap: 10px; }

/* ═══════════ PRODUCTS ═══════════ */
#products { padding: 100px 0; background: var(--white); }
.product-controls {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 40px; flex-wrap: wrap;
}
.product-search-wrap {
    display: flex; align-items: center; gap: 10px;
    background: var(--gray-100); border-radius: 10px;
    padding: 10px 16px; flex: 1; min-width: 200px; max-width: 320px;
    border: 2px solid transparent; transition: var(--transition);
}
.product-search-wrap:focus-within { background: var(--white); border-color: var(--blue); }
.product-search-wrap i { color: var(--gray-400); font-size: 15px; }
.product-search-wrap input { background: transparent; border: none; outline: none; font-size: 14px; font-family: inherit; color: var(--text); width: 100%; }
.product-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
    padding: 8px 18px; border-radius: 8px; border: 2px solid var(--gray-200);
    background: var(--white); color: var(--gray-600); font-size: 13px; font-weight: 600;
    cursor: pointer; transition: var(--transition); font-family: inherit;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200);
    overflow: hidden; transition: var(--transition);
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.product-img-wrap {
    position: relative; background: var(--gray-50); padding: 20px;
    display: flex; align-items: center; justify-content: center; height: 160px;
}
.product-img-wrap img { height: 110px; width: auto; object-fit: contain; transition: var(--transition); }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--blue); color: var(--white);
    font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 99px;
    text-transform: uppercase; letter-spacing: .04em;
}
.product-info { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-info h4 { font-size: 14px; font-weight: 700; color: var(--gray-900); line-height: 1.4; }
.product-price { font-size: 16px; font-weight: 800; color: var(--blue); }
.btn-order {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: #25D366; color: var(--white); padding: 9px 14px;
    border-radius: 7px; font-size: 13px; font-weight: 600;
    transition: var(--transition); margin-top: auto;
}
.btn-order:hover { background: #1da851; transform: scale(1.02); }
.no-results {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; padding: 60px; color: var(--text-light); grid-column: 1/-1;
}
.no-results i { font-size: 36px; opacity: 0.4; }

/* ═══════════ TESTIMONIALS ═══════════ */
#testimonials { padding: 100px 0; background: var(--off-white); }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 32px;
    border: 1px solid var(--gray-200); transition: var(--transition);
    display: flex; flex-direction: column; gap: 16px;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue); }
.stars { color: var(--yellow); font-size: 18px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: var(--gray-600); line-height: 1.75; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(0,123,255,0.1); color: var(--blue);
    display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 700; color: var(--gray-900); }
.testimonial-author span { font-size: 12px; color: var(--text-light); }

/* ═══════════ ABOUT ═══════════ */
#about-us { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-left { display: flex; flex-direction: column; gap: 20px; }
.about-left h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; color: var(--gray-900); }
.about-left p { font-size: 16px; color: var(--text-light); line-height: 1.8; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; padding: 20px 12px; text-align: center;
    background: var(--gray-50); border-radius: var(--radius);
    border: 1px solid var(--gray-200); transition: var(--transition);
}
.value-item:hover { border-color: var(--blue); background: rgba(0,123,255,0.04); transform: translateY(-3px); }
.value-item img { width: 44px; height: 44px; object-fit: contain; }
.value-item span { font-size: 12px; font-weight: 600; color: var(--gray-700); line-height: 1.4; }

/* ═══════════ SOLUTIONS ═══════════ */
#solutions { position: relative; }
.solutions-split { display: flex; min-height: 480px; }
.solution-panel {
    flex: 1; position: relative; display: flex; align-items: center; justify-content: center;
    padding: 80px 64px; 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.8);
}
.solution-overlay--dark { background: rgba(0,20,60,0.78); }
.solution-content {
    position: relative; z-index: 2; max-width: 440px;
    display: flex; flex-direction: column; gap: 16px;
}
.solution-left .solution-content h2 { color: var(--blue-dark); font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.solution-right .solution-content h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); 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 { 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(28px, 3.5vw, 42px); 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 */
.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; }
.whatsapp-float:hover { box-shadow: -4px 6px 20px rgba(37,211,102,0.5); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */

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

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
    /* Navbar */
    .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; }

    /* Hero stats */
    .hero-stats { gap: 0; flex-wrap: wrap; }
    .stat { padding: 12px 20px; }
    .stat-divider { display: none; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 40px; }

    /* Solutions */
    .solutions-split { flex-direction: column; }
    .solution-panel { padding: 60px 40px; }

    /* Contact */
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Products */
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-controls { flex-direction: column; align-items: stretch; }
    .product-search-wrap { max-width: none; }
}

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

@media (max-width: 420px) {
    .product-grid { grid-template-columns: 1fr; }
    .btn-shop span { display: none; }
    .nav-logo img { height: 40px; }
}
