/* Biotor - Modern Redesign 2026 */
:root {
  --green-dark: #1a5c2e;
  --green: #2d8a4e;
  --green-light: #e8f5e9;
  --brown: #5d4037;
  --accent: #f9a825;
  --text: #333;
  --text-light: #666;
  --bg: #f7f9f7;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--green-dark);
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green-dark);
}

.logo img {
  height: 52px;
  width: auto;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  background: var(--green-light);
  color: var(--green-dark);
}

.nav a.cta {
  background: var(--green);
  color: white;
}

.nav a.cta:hover {
  background: var(--green-dark);
  color: white;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--green-dark);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
  font-weight: 700;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 24px;
}

.hero .badge {
  display: inline-block;
  background: var(--accent);
  color: #333;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Main content */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  color: var(--green-dark);
  font-size: 1.8rem;
}

/* Products grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-card .img-wrap {
  background: var(--green-light);
  padding: 16px;
  text-align: center;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .img-wrap img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.product-card .body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  color: var(--green-dark);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.product-card .desc {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 16px;
  flex: 1;
}

.product-card .prices {
  margin-bottom: 16px;
}

.prices-single {
  display: flex;
  justify-content: center;
  margin-top: auto;
  margin-bottom: auto;
  padding: 12px 0;
}

.prices-single .price-row {
  border: none;
  gap: 16px;
  font-size: 1.15rem;
  padding: 10px 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price {
  font-weight: 700;
  color: var(--green-dark);
}

.btn {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--green-dark);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: white;
}

/* Info box */
.info-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 40px;
}

.info-box h2 {
  color: var(--green-dark);
  margin-bottom: 16px;
}

.info-box p {
  margin-bottom: 12px;
  color: var(--text);
}

.info-box ul {
  margin: 12px 0 12px 20px;
}

.info-box li {
  margin-bottom: 6px;
}

.highlight {
  background: #fff8e1;
  border-left: 4px solid var(--accent);
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 0 8px 8px 0;
  font-weight: 500;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card h3 {
  color: var(--green-dark);
  margin-bottom: 12px;
}

.contact-card a {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
}

.footer a {
  color: white;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery a:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Certificates */
.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 30px 0;
}

.certs a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
  padding: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.certs a:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.certs img {
  height: 110px;
  width: auto;
  display: block;
  border-radius: 6px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex !important;
}

.lightbox img {
  max-width: min(95vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.6);
  cursor: default;
  background: #fff;
}

.lightbox-close {
  position: fixed;
  top: 12px;
  right: 18px;
  background: rgba(0,0,0,0.55);
  border: 2px solid rgba(255,255,255,0.85);
  color: white;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.lightbox-close:hover {
  background: rgba(0,0,0,0.85);
  border-color: #fff;
}

/* Form */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,138,78,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 10px 0;
  }

  .nav.open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero {
    padding: 36px 16px;
  }

  .products {
    grid-template-columns: 1fr;
  }
}
