:root {
  --color-primary: #1b4332;
  --color-accent: #d4a017;
  --color-bg: #f7f6f3;
  --color-text: #222;
  --max-width: 1100px;
}

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

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.footer-social a:hover { color: var(--color-accent); }

/* Header */
header {
  background: var(--color-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span { color: var(--color-accent); }

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

nav a {
  font-weight: 500;
  opacity: 0.9;
}

nav a:hover { opacity: 1; color: var(--color-accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.auth-area {
  display: flex;
  gap: 8px;
}

.btn-auth {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-auth-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #1b4332;
  font-weight: 600;
}

.welcome-text {
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
}

@media (max-width: 720px) {
  .nav-wrap { padding: 12px 20px; }
  .logo { font-size: 1.15rem; }
  .nav-wrap > nav, .nav-right { display: none; }
  .menu-toggle { display: flex; }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--color-primary);
    padding: 0 20px 20px;
    gap: 16px;
  }

  .mobile-menu.open { display: flex; }

  .mobile-menu nav { display: block; }

  .mobile-menu nav ul {
    flex-direction: column;
    gap: 14px;
    list-style: none;
  }

  .mobile-menu nav a {
    display: block;
    color: #fff;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .mobile-lang-switch { display: flex; gap: 8px; }
  .mobile-auth-area { display: flex; gap: 8px; }
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: #fff;
  border-radius: 10px;
  padding: 36px;
  width: 360px;
  position: relative;
}

.modal-box h2 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #999;
}

.modal-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-box form a {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-top: 6px;
}

.error-msg {
  color: #c0392b;
  font-size: 0.85rem;
  min-height: 1em;
  margin-bottom: 8px;
}

.locked-banner {
  text-align: center;
  background: #fff8e6;
  border: 1px dashed var(--color-accent);
  border-radius: 8px;
  padding: 28px;
  margin-top: 30px;
}

.locked-banner p { margin-bottom: 16px; color: #555; }

.form-status {
  font-size: 0.9rem;
  min-height: 1em;
}

.form-status.success { color: #2d6a4f; }
.form-status.error { color: #c0392b; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.catalog-grid img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.15s;
}

.catalog-grid img:hover { transform: scale(1.03); }

.cert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.cert-gallery img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lang-switch button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

.lang-switch button.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #1b4332;
  font-weight: 700;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  color: #fff;
  padding: 90px 24px 70px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.2rem;
  max-width: 800px;
  margin: 0 auto 18px;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  opacity: 0.92;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badges span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: #fff;
  opacity: 0.95;
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: 36px auto 0;
}

.hero-proof-strip figure {
  margin: 0;
}

.hero-proof-strip img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  display: block;
}

.hero-proof-strip figcaption {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  text-align: center;
  margin-top: 6px;
}

@media (max-width: 720px) {
  .hero-proof-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
  .hero-proof-strip img { height: 70px; }
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-accent);
  color: #1b4332;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
}

.btn-primary:hover { opacity: 0.9; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* Sections */
section { padding: 70px 0; }

section h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 10px;
  color: var(--color-primary);
}

section > .container > p.subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
}

/* Trust grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.trust-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-top: 3px solid var(--color-accent);
}

.trust-card h3 {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.trust-card p { color: #555; font-size: 0.95rem; }

/* How It Works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.how-step {
  text-align: center;
  padding: 10px;
}

.how-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.how-step h3 {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.how-step p { color: #555; font-size: 0.92rem; }

.locked-subtext {
  font-size: 0.8rem;
  color: #888;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: #555;
  font-size: 0.92rem;
}

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

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.product-card-header {
  background: var(--color-primary);
  color: #fff;
  padding: 20px 24px;
}

.product-card-header h3 { font-size: 1.25rem; margin-bottom: 6px; }
.product-card-header p { opacity: 0.85; font-size: 0.9rem; }

.category-tag {
  display: inline-block;
  margin-top: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-accent);
}

.product-item-list { padding: 16px 24px; }

.product-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.product-item:last-child { border-bottom: none; }

.product-item img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.product-item-info strong { font-size: 0.95rem; display: block; }

.product-sku {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-left: 6px;
  font-weight: 600;
}

.product-item-info p {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

.product-item-info em {
  display: block;
  margin-top: 4px;
  color: var(--color-primary);
  font-weight: 600;
  font-style: normal;
}

.products-note {
  text-align: center;
  margin-top: 30px;
  color: #666;
  font-size: 0.9rem;
}

/* About */
.about-section { background: #fff; }
.about-content { max-width: 750px; margin: 0 auto; }
.about-content p { margin-bottom: 16px; color: #444; }
.cert-gallery-caption { font-size: 0.85rem; color: #888; font-style: italic; margin-bottom: 12px; }

.trust-checklist {
  list-style: none;
  margin: 4px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-checklist li {
  color: #333;
  font-size: 0.95rem;
  padding-left: 26px;
  position: relative;
}

.trust-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.cert-gallery a { display: block; }

.cert-request-note {
  text-align: center;
  margin-top: 18px;
  font-size: 0.9rem;
  color: #555;
}

.cert-request-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* Trust & Procurement Info */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.info-card {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 22px 24px;
  border-left: 3px solid var(--color-primary);
}

.info-card h3 {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 8px;
}

.info-card p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.info-disclaimer {
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
}

.procurement-flow {
  margin-bottom: 40px;
}

.procurement-flow h3 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 24px;
  font-size: 1.15rem;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg);
  border-radius: 20px;
  padding: 8px 16px;
}

.flow-step span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-step p {
  font-size: 0.82rem;
  color: #444;
  margin: 0;
}

.company-info-bar {
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 24px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.company-info-bar p {
  font-size: 0.85rem;
  color: #555;
}

@media (max-width: 720px) {
  .flow-steps { gap: 6px; }
  .flow-step { padding: 6px 12px; }
  .company-info-bar { gap: 12px; flex-direction: column; }
}

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

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 20px 36px; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.95rem; margin-bottom: 22px; }
  .hero-buttons { margin-bottom: 22px; }
  .hero-badges span { font-size: 0.7rem; padding: 5px 10px; }
  section { padding: 44px 0; }
}

form { display: flex; flex-direction: column; gap: 14px; }

input, textarea {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}

textarea { min-height: 120px; resize: vertical; }

.contact-direct {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  align-self: start;
}

.contact-direct p { margin-bottom: 14px; }

.contact-direct a.whatsapp-link {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 8px;
}

footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.8);
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
}

.footer-links {
  margin-top: 8px;
}

.footer-links a {
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}
