/* ============================================================
   GlobalTrade Co. — Main Stylesheet
   ============================================================ */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #1a56db;
  --primary-d: #1239a8;
  --accent:    #f59e0b;
  --dark:      #111827;
  --dark-2:    #1f2937;
  --mid:       #6b7280;
  --light:     #f9fafb;
  --border:    #e5e7eb;
  --white:     #ffffff;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 2px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --transition: .25s ease;
  --font:      'Inter', system-ui, sans-serif;
  --font-serif:'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); line-height: 1.65; background: var(--white); }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.bg-light { background: var(--light); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-sub {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.section-title { font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.4rem); color: var(--dark); line-height: 1.2; }
.section-more { text-align: center; margin-top: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius); font-weight: 600; font-size: .9rem;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-d); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,86,219,.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Top Bar ---------- */
.topbar { background: var(--dark-2); color: #d1d5db; font-size: .8rem; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px; gap: 12px;
}
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.social-link { color: #9ca3af; transition: color var(--transition); display: flex; align-items: center; }
.social-link:hover { color: var(--white); }

/* Language Switcher */
.lang-switcher { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 4px; padding: 2px; }
.lang-btn {
  padding: 3px 9px; border-radius: 3px; font-size: .75rem; font-weight: 600;
  color: #9ca3af; transition: all var(--transition);
}
.lang-btn.active, .lang-btn:hover { background: var(--primary); color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }

/* Logo */
.logo a { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 1rem; letter-spacing: -.5px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 700; font-size: 1.05rem; color: var(--dark); }
.logo-tagline { font-size: .7rem; color: var(--mid); }

/* Nav */
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 12px; border-radius: var(--radius); font-size: .9rem; font-weight: 500; color: var(--dark-2); transition: all var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(26,86,219,.07); }
.arrow { font-size: .65rem; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 180px; padding: 6px;
  opacity: 0; visibility: hidden; transition: all var(--transition); pointer-events: none;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; pointer-events: all; }
.dropdown li a { display: block; padding: 9px 14px; font-size: .88rem; color: var(--dark-2); border-radius: 5px; transition: background var(--transition); }
.dropdown li a:hover { background: var(--light); color: var(--primary); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; max-height: 800px; overflow: hidden; display: flex; align-items: center; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
  background-color: #1a3a6e;
}
.hero-slide.active { opacity: 1; }
.hero-slide:nth-child(1) { background-image: linear-gradient(135deg, #1a3a6e 0%, #0f2044 50%, #1a4a8e 100%); }
.hero-slide:nth-child(2) { background-image: linear-gradient(135deg, #0f2044 0%, #1a5276 50%, #0a1628 100%); }
.hero-slide:nth-child(3) { background-image: linear-gradient(135deg, #1b4332 0%, #1a6b45 50%, #0d2818 100%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, transparent 100%); }

.hero-content { position: relative; z-index: 2; max-width: 680px; color: var(--white); }
.hero-sub { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero-title { font-family: var(--font-serif); font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline { color: var(--white); border-color: rgba(255,255,255,.6); }
.hero-actions .btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

.hero-indicators { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); transition: all var(--transition); }
.dot.active { background: var(--white); transform: scale(1.3); }

/* ---------- Stats Bar ---------- */
.stats-bar { background: var(--primary); color: var(--white); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; }
.stat-unit { font-size: 1.4rem; font-weight: 700; vertical-align: top; margin-top: 6px; display: inline-block; }
.stat-label { display: block; font-size: .82rem; opacity: .8; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: all var(--transition); cursor: default;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(26,86,219,.2); }
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--mid); font-size: .9rem; line-height: 1.7; }

/* ---------- Products ---------- */
.cat-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.cat-btn {
  padding: 9px 20px; border-radius: 40px; font-size: .88rem; font-weight: 500;
  border: 2px solid var(--border); color: var(--mid); transition: all var(--transition);
}
.cat-btn.active, .cat-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,86,219,.06); }
.cat-btn.active { background: var(--primary); color: var(--white); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition); cursor: pointer;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-img {
  aspect-ratio: 1; background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-badge {
  position: absolute; top: 10px; right: 10px; background: var(--accent);
  color: #7c4a00; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 20px;
}
.product-body { padding: 16px; }
.product-cat { font-size: .75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.product-name { font-weight: 700; font-size: .97rem; margin-bottom: 8px; line-height: 1.3; }
.product-meta { font-size: .8rem; color: var(--mid); }
.product-card:hover .product-name { color: var(--primary); }
.product-hidden { display: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--light); }
.about-img-main img, .about-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.img-fallback .img-placeholder { display: flex !important; }
.img-placeholder {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  position: absolute; inset: 0; background: linear-gradient(135deg, #dbeafe, #eff6ff);
  gap: 8px;
}
.img-placeholder span { font-size: 3.5rem; }
.img-placeholder p { font-weight: 600; color: var(--primary); }
.about-img-main { position: relative; }
.about-img-accent {
  position: absolute; bottom: -28px; right: -28px;
  width: 55%; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--light);
  border: 4px solid var(--white); box-shadow: var(--shadow-lg);
  position: absolute;
}
.about-img-accent { position: absolute; bottom: -28px; right: -28px; }
.about-badge {
  position: absolute; top: 24px; left: -24px;
  background: var(--primary); color: var(--white);
  border-radius: var(--radius-lg); padding: 16px 20px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge-num { display: block; font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.about-badge-text { font-size: .75rem; opacity: .85; }

.about-content .section-title { text-align: left; margin-bottom: 20px; }
.about-content .section-sub { margin-bottom: 12px; }
.about-content p { color: var(--mid); margin-bottom: 16px; line-height: 1.75; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 32px; }
.about-point { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; }
.check { width: 22px; height: 22px; border-radius: 50%; background: rgba(26,86,219,.1); color: var(--primary); font-size: .8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Certificates ---------- */
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center; transition: all var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cert-icon { font-size: 2.8rem; margin-bottom: 14px; }
.cert-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.cert-card p { color: var(--mid); font-size: .88rem; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.news-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-img { aspect-ratio: 16/9; background: linear-gradient(135deg, #1a3a6e, #1a56db); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.news-card.featured .news-img { aspect-ratio: 16/9; font-size: 4.5rem; }
.news-body { padding: 20px; }
.news-date { font-size: .78rem; color: var(--mid); display: block; margin-bottom: 8px; }
.news-card h3 { font-weight: 700; font-size: 1rem; line-height: 1.4; margin-bottom: 10px; }
.news-card.featured h3 { font-size: 1.2rem; }
.news-card p { color: var(--mid); font-size: .88rem; line-height: 1.7; margin-bottom: 14px; }
.news-link { color: var(--primary); font-size: .85rem; font-weight: 600; }
.news-link:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 18px 24px;
  font-size: .97rem; font-weight: 600; color: var(--dark);
  display: flex; justify-content: space-between; align-items: center;
  transition: color var(--transition);
}
.faq-q::after { content: '+'; font-size: 1.4rem; font-weight: 300; flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-q { color: var(--primary); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 24px 20px; color: var(--mid); line-height: 1.75; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-info .section-sub { margin-bottom: 12px; }
.contact-info > p { color: var(--mid); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-row strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mid); margin-bottom: 4px; }
.contact-row p { font-weight: 600; font-size: .97rem; }

.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group:last-of-type { margin-bottom: 0; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--dark-2); }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: .93rem; color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}
.form-group input.error, .form-group textarea.error { border-color: #ef4444; }
.form-group textarea { resize: vertical; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.contact-form .btn { margin-top: 8px; }
.form-success { display: none; text-align: center; padding: 14px; background: #ecfdf5; color: #065f46; border-radius: var(--radius); font-weight: 600; margin-top: 12px; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #d1d5db; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo a { margin-bottom: 18px; display: inline-flex; }
.footer-brand .logo-name, .footer-brand .logo-tagline { color: var(--white); }
.footer-about { font-size: .88rem; color: #9ca3af; line-height: 1.7; margin: 16px 0 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { color: #9ca3af; transition: color var(--transition); }
.footer-socials a:hover { color: var(--white); }

.footer-col h4 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .88rem; color: #9ca3af; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.contact-list li { font-size: .88rem; color: #9ca3af; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
}
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .82rem; color: #6b7280; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: .82rem; color: #6b7280; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

/* ---------- Back to Top ---------- */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--white); font-size: 1.1rem;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-d); transform: translateY(-2px); }

/* ---------- Product Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: all var(--transition);
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto;
  position: relative; transform: translateY(20px); transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.show .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--light); color: var(--mid); font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--border); }
.modal-content { padding: 40px; }
.modal-img { aspect-ratio: 16/9; background: var(--light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 5rem; margin-bottom: 24px; }
.modal-content h2 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 12px; }
.modal-content .modal-cat { color: var(--primary); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.modal-content p { color: var(--mid); line-height: 1.75; margin-bottom: 12px; }
.modal-specs { background: var(--light); border-radius: var(--radius); padding: 20px; margin: 20px 0; }
.modal-specs h4 { font-size: .9rem; font-weight: 700; margin-bottom: 12px; }
.spec-row { display: flex; justify-content: space-between; font-size: .88rem; padding: 6px 0; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--mid); }
.spec-row span:last-child { font-weight: 600; }

/* ---------- Arabic RTL ---------- */
[data-current-lang="ar"] body,
.lang-ar { direction: rtl; text-align: right; }
[data-current-lang="ar"] .hero-content { margin-right: 0; }
[data-current-lang="ar"] .dropdown { left: auto; right: 50%; transform: translateX(50%); }
[data-current-lang="ar"] .about-content .section-title,
[data-current-lang="ar"] .contact-info .section-title { text-align: right; }
[data-current-lang="ar"] .about-badge { left: auto; right: -24px; }
[data-current-lang="ar"] .about-img-accent { right: auto; left: -28px; }
[data-current-lang="ar"] .footer-grid { direction: rtl; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar-left { display: none; }
  .section-pad { padding: 56px 0; }

  /* Mobile Nav */
  .nav {
    position: fixed; top: 0; right: -100%; width: min(320px, 100vw);
    height: 100vh; background: var(--white); z-index: 950;
    box-shadow: -4px 0 20px rgba(0,0,0,.15); transition: right var(--transition);
    overflow-y: auto; padding: 80px 24px 40px;
  }
  .nav.open { right: 0; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-link { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--border); width: 100%; border-radius: 0; }
  .dropdown { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; opacity: 1; visibility: visible; pointer-events: all; }
  .hamburger { display: flex; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .about-points { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 500px; }
}
