/* ============================================================
   OZELLE.KG — Official Veterinary Diagnostics Distributor
   CSS Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy:       #040d1a;
  --navy-2:     #071628;
  --navy-3:     #0d2040;
  --teal:       #00c4a7;
  --teal-dark:  #009d86;
  --teal-light: #e0faf6;
  --white:      #ffffff;
  --light-bg:   #f5f8fb;
  --text-main:  #1a2535;
  --text-muted: #6b7a90;
  --text-light: #a0aec0;
  --border:     #e2e8f0;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.14);
  --radius:     12px;
  --radius-lg:  20px;
  --font-head:  'Syne', sans-serif;
  --font-body:  'Manrope', sans-serif;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-family: var(--font-body);
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: var(--transition); border: none; text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal); color: var(--navy);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,196,167,.35); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-dark {
  background: var(--navy); color: var(--white);
}
.btn-dark:hover { background: var(--navy-3); transform: translateY(-2px); }

/* ---------- Header / Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(4,13,26,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.navbar-logo img { height: 40px; }
.navbar-logo span {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 800;
  color: var(--white); letter-spacing: -.02em;
}
.navbar-logo span em { color: var(--teal); font-style: normal; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; color: rgba(255,255,255,.8);
  font-size: .9rem; font-weight: 500; border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--teal); background: rgba(0,196,167,.08); }
.nav-link svg { width: 14px; height: 14px; transition: var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); min-width: 260px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition); box-shadow: var(--shadow-lg);
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 10px 14px; color: rgba(255,255,255,.75);
  font-size: .875rem; border-radius: 6px; transition: var(--transition);
}
.nav-dropdown a:hover { color: var(--teal); background: rgba(0,196,167,.08); }

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: 6px; margin-left: 16px; }
.lang-btn {
  padding: 6px 10px; border-radius: 6px; font-size: .8rem; font-weight: 600;
  color: rgba(255,255,255,.5); cursor: pointer; transition: var(--transition);
  border: 1px solid transparent; background: none;
  font-family: var(--font-body);
}
.lang-btn:hover { color: var(--white); border-color: rgba(255,255,255,.2); }
.lang-btn.active { color: var(--teal); border-color: var(--teal); background: rgba(0,196,167,.1); }

/* Mobile menu */
.burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none;
}
.burger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  border-radius: 2px; transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  min-height: 85vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,196,167,.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,100,200,.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,196,167,.12); border: 1px solid rgba(0,196,167,.25);
  color: var(--teal); padding: 6px 14px; border-radius: 100px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; background: var(--teal);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--teal); }
.hero p { color: rgba(255,255,255,.65); font-size: 1.1rem; margin-bottom: 36px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat-num {
  font-family: var(--font-head); font-size: 1.8rem; font-weight: 800;
  color: var(--teal);
}
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 2px; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; background: var(--teal-light); color: var(--teal-dark);
  padding: 4px 14px; border-radius: 100px; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px;
}
.section-header h2 { color: var(--text-main); margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 1rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--light-bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 28px; }
.card-tag {
  font-size: .75rem; font-weight: 700; color: var(--teal); letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 10px;
}
.card-body h3 { margin-bottom: 12px; color: var(--text-main); }
.card-body p { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; }

/* ---------- Why Grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 32px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--teal); transform: scaleX(0);
  transform-origin: left; transition: var(--transition);
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  color: rgba(0,196,167,.15); line-height: 1; margin-bottom: 16px;
}
.why-icon {
  width: 52px; height: 52px; background: var(--teal-light);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-icon svg { width: 26px; height: 26px; color: var(--teal); }
.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--text-main); }
.why-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ---------- Products Grid ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--navy); padding: 56px 0;
}
.stats-strip .stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--teal);
}
.stat-label { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: 4px; }

/* ---------- Certifications ---------- */
.certs-row {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap; padding: 48px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin: 48px 0;
}
.cert-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cert-badge {
  background: var(--light-bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 20px; font-family: var(--font-head);
  font-weight: 800; font-size: 1.1rem; color: var(--navy); min-width: 90px;
  text-align: center;
}
.cert-label { font-size: .75rem; color: var(--text-muted); text-align: center; }

/* ---------- Specs Table ---------- */
.specs-table { width: 100%; border-collapse: collapse; margin: 32px 0; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 14px 16px; font-size: .9rem; vertical-align: top; }
.specs-table td:first-child {
  font-weight: 600; color: var(--text-main); width: 200px;
  background: var(--light-bg); white-space: nowrap;
}
.specs-table td:last-child { color: var(--text-muted); }

/* ---------- Product Hero ---------- */
.product-hero {
  background: var(--navy); padding: 80px 0; overflow: hidden; position: relative;
}
.product-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(0,196,167,.1) 0%, transparent 60%);
}
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.product-hero-text h1 { color: var(--white); margin-bottom: 8px; }
.product-hero-text .product-subtitle { color: var(--teal); font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.product-hero-text p { color: rgba(255,255,255,.65); margin-bottom: 32px; font-size: 1.05rem; }
.product-hero-img { text-align: center; }
.product-hero-img img { max-height: 400px; margin: 0 auto; filter: drop-shadow(0 20px 60px rgba(0,196,167,.2)); }

/* ---------- Feature Grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 48px 0; }
.feature-card {
  background: var(--light-bg); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border); transition: var(--transition);
}
.feature-card:hover { border-color: var(--teal); background: var(--white); box-shadow: var(--shadow); }
.feature-card .feature-icon {
  width: 48px; height: 48px; background: var(--teal-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card .feature-icon svg { width: 24px; height: 24px; color: var(--teal-dark); }
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text-main); }
.feature-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 60px 48px; text-align: center; position: relative; overflow: hidden;
  margin: 64px 0;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,196,167,.12) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--white); position: relative; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.6); max-width: 480px; margin: 0 auto 32px; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--navy); border-radius: var(--radius-lg); padding: 48px 40px;
  color: var(--white);
}
.contact-info-card h2 { color: var(--white); margin-bottom: 12px; }
.contact-info-card p { color: rgba(255,255,255,.6); margin-bottom: 36px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 44px; height: 44px; background: rgba(0,196,167,.12);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; color: var(--teal); }
.contact-item-label { font-size: .75rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-item-value { font-size: 1rem; color: var(--white); font-weight: 500; }
.contact-item-value a { color: var(--teal); }
.contact-item-value a:hover { text-decoration: underline; }

.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 48px 40px;
  border: 1px solid var(--border);
}
.contact-form-card h3 { margin-bottom: 28px; color: var(--text-main); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-main); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: var(--font-body); font-size: .9rem;
  color: var(--text-main); transition: var(--transition); background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,196,167,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.06);
  padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,.45); font-size: .875rem; margin-top: 14px; max-width: 300px; line-height: 1.7; }
.footer-col h4 { font-family: var(--font-head); font-size: .875rem; font-weight: 700; color: var(--white); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.45); font-size: .875rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.06);
}
.footer-copy { color: rgba(255,255,255,.3); font-size: .8rem; }
.footer-copy a { color: rgba(255,255,255,.4); }
.footer-copy a:hover { color: var(--teal); }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px; background: rgba(255,255,255,.06);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); transition: var(--transition);
}
.footer-social:hover { background: var(--teal); color: var(--navy); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: var(--transition);
  color: white;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-fab svg { width: 28px; height: 28px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--light-bg); padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-muted); }
.breadcrumb ol li a { color: var(--teal); }
.breadcrumb ol li::after { content: '/'; margin-left: 8px; color: var(--border); }
.breadcrumb ol li:last-child::after { display: none; }

/* ---------- Page Header ---------- */
.page-header {
  background: var(--navy); padding: 64px 0; text-align: center;
  position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,196,167,.1), transparent 70%);
}
.page-header h1 { color: var(--white); position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,.55); position: relative; z-index: 1; margin-top: 12px; font-size: 1.05rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-menu { display: none; }
  .burger { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column; position: fixed; inset: 70px 0 0;
    background: var(--navy); padding: 24px; gap: 4px; overflow-y: auto;
  }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.04); margin-top: 4px; }
  .lang-switcher { margin-left: 0; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .product-hero-img { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-banner { padding: 40px 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .navbar-inner { height: 60px; }
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.text-teal { color: var(--teal); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
