/* =====================================================
   MABI-TRADE / DENTINA — Modern Static Website
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --green-950: #0d2117;
  --green-900: #1b3a2a;
  --green-800: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --green-300: #95d5b2;
  --green-100: #d8f3dc;
  --green-50:  #f0faf3;

  --cream:     #faf9f6;
  --white:     #ffffff;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-500:  #6b7280;
  --gray-700:  #374151;
  --gray-900:  #111827;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);

  --transition: 0.25s ease;
  --max-w: 1140px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILS ────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.section--alt { background: var(--green-50); }
.section--dark { background: var(--green-900); color: var(--white); }

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
}
.section--dark .label { color: var(--green-300); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section--dark .section-title { color: var(--white); }

.section-lead {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 680px;
  margin-bottom: 56px;
}
.section--dark .section-lead { color: var(--green-300); }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--green-800);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-900); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: white; }

/* ── NAVBAR ───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo-mark {
  width: 36px; height: 36px;
  background: var(--green-800);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.navbar-logo-mark svg { width: 20px; height: 20px; fill: none; stroke: white; stroke-width: 2.2; }
.navbar-logo-text { font-weight: 700; font-size: 1.0625rem; color: var(--green-900); letter-spacing: -0.01em; }
.navbar-logo-sub  { font-size: 0.7rem; font-weight: 500; color: var(--green-600); letter-spacing: 0.05em; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.navbar-nav a:hover { background: var(--green-50); color: var(--green-800); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
  padding: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}
.lang-switch a {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: var(--transition);
}
.lang-switch a.active, .lang-switch a:hover {
  background: var(--white);
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(82,183,136,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(64,145,108,0.14) 0%, transparent 70%),
    linear-gradient(135deg, #0d2117 0%, #1b3a2a 50%, #2d6a4f 100%);
}

/* Leaf/organic shape decoration */
.hero-deco {
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 620px; height: 620px;
  opacity: 0.07;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 68px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(82,183,136,0.2);
  border: 1px solid rgba(82,183,136,0.35);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero-title span { color: var(--green-500); }

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--green-300);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.8;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ── ABOUT ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.about-img-placeholder {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--green-100) 0%, var(--green-50) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-img-placeholder svg {
  width: 180px;
  opacity: 0.22;
}
.about-badge {
  position: absolute;
  bottom: 28px; right: 28px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-badge-icon {
  width: 44px; height: 44px;
  background: var(--green-100);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.about-badge-icon svg { width: 22px; height: 22px; stroke: var(--green-800); fill: none; stroke-width: 1.8; }
.about-badge-num  { font-size: 1.5rem; font-weight: 700; color: var(--green-900); line-height: 1; }
.about-badge-text { font-size: 0.75rem; color: var(--gray-500); }

.about-body p { margin-bottom: 20px; }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.highlight-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--green-100);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.highlight-icon svg { width: 14px; height: 14px; stroke: var(--green-800); fill: none; stroke-width: 2.5; }

/* ── BRAND / DENTINA ──────────────────────────────── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.brand-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--green-100);
  transition: var(--transition);
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-300);
}
.brand-card-icon {
  width: 52px; height: 52px;
  background: var(--green-50);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.brand-card-icon svg { width: 26px; height: 26px; stroke: var(--green-700, var(--green-800)); fill: none; stroke-width: 1.8; }
.brand-card h3 { font-size: 0.9375rem; font-weight: 600; color: var(--green-900); margin-bottom: 8px; }
.brand-card p  { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }

/* ── ACTIVITIES ───────────────────────────────────── */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.activity-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}
.activity-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(82,183,136,0.4);
  transform: translateY(-3px);
}
.activity-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-500);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.activity-card h3 { font-size: 1.1875rem; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.activity-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.activity-list    { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.activity-list li {
  font-size: 0.8375rem;
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 8px;
}
.activity-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-500);
  flex-shrink: 0;
}

/* ── ECOLOGIC ─────────────────────────────────────── */
.ecologic-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.ecologic-body p { margin-bottom: 18px; font-size: 0.9375rem; }

.callout {
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 28px 0;
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.7;
  position: relative;
}
.callout::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--green-500);
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
  opacity: 0.5;
}
.callout-text { padding-left: 12px; }

.ecologic-facts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 88px;
}
.eco-fact {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}
.eco-fact:hover { border-color: var(--green-300); box-shadow: var(--shadow); }
.eco-fact-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--green-50);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.eco-fact-icon svg { width: 24px; height: 24px; stroke: var(--green-800); fill: none; stroke-width: 1.8; }
.eco-fact h4 { font-size: 0.9375rem; font-weight: 600; color: var(--green-900); margin-bottom: 6px; }
.eco-fact p  { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

/* ── CERTIFICATES ─────────────────────────────────── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.cert-icon {
  width: 64px; height: 64px;
  background: var(--green-50);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.cert-icon svg { width: 32px; height: 32px; stroke: var(--green-800); fill: none; stroke-width: 1.6; }
.cert-card h3  { font-size: 1.125rem; font-weight: 700; color: var(--green-900); margin-bottom: 8px; }
.cert-card p   { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 24px; }
.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-800);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 16px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.cert-link:hover { background: var(--green-100); }
.cert-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ── LOCATION & CONTACT ───────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--green-300); box-shadow: var(--shadow-sm); }
.contact-item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--green-800); fill: none; stroke-width: 1.8; }
.contact-item-label { font-size: 0.75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-item-value { font-size: 0.9375rem; color: var(--gray-700); }
.contact-item-value a:hover { color: var(--green-700, var(--green-800)); }

.map-box {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.map-box iframe {
  width: 100%; height: 100%;
  border: none;
}
.map-placeholder {
  text-align: center;
  color: var(--green-600);
}
.map-placeholder svg { width: 48px; height: 48px; stroke: var(--green-600); fill: none; stroke-width: 1.5; margin: 0 auto 16px; }
.map-placeholder p  { font-size: 0.875rem; }

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: var(--green-950);
  color: rgba(255,255,255,0.55);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand { }
.footer-logo-text { font-weight: 700; font-size: 1.125rem; color: var(--white); margin-bottom: 4px; }
.footer-logo-sub  { font-size: 0.75rem; color: var(--green-400, var(--green-500)); letter-spacing: 0.04em; margin-bottom: 16px; }
.footer-desc { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--green-800); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }

.footer-col h4 { font-size: 0.8125rem; font-weight: 600; color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}
.footer-bottom a { color: var(--green-500); }

/* ── MOBILE MENU ──────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(27,58,42,0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.mobile-nav .lang-row { display: flex; gap: 16px; margin-top: 24px; }
.mobile-nav .lang-row a { font-size: 1rem; }
.mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.mobile-close svg { width: 28px; height: 28px; stroke: white; fill: none; stroke-width: 2; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .brand-grid       { grid-template-columns: repeat(2, 1fr); }
  .activities-grid  { grid-template-columns: repeat(2, 1fr); }
  .ecologic-layout  { grid-template-columns: 1fr; gap: 48px; }
  .ecologic-facts   { position: static; flex-direction: row; flex-wrap: wrap; }
  .eco-fact         { flex: 1 1 280px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .navbar-nav { display: none; }
  .lang-switch { display: none; }
  .hamburger   { display: flex; }

  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .about-grid      { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap  { order: -1; }
  .about-img, .about-img-placeholder { height: 320px; }
  .brand-grid      { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr; }
  .certs-grid      { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom   { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-stats { gap: 20px; }
}
