/* ============================================
   EPV — Empaques Plásticos Verdes
   Design System
============================================ */

:root {
  /* Brand */
  --green: #4CAF3F;
  --green-deep: #2E7D32;
  --green-light: #8BC34A;
  --green-soft: #E8F5E9;

  --navy: #1B2D45;
  --navy-deep: #0F1B2D;
  --navy-soft: #2A4365;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #FAFBFC;
  --gray-100: #F3F5F8;
  --gray-200: #E5E9EF;
  --gray-300: #CBD2DC;
  --gray-400: #9BA3AF;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(15, 27, 45, 0.12);
  --shadow-lg: 0 24px 48px -16px rgba(15, 27, 45, 0.16);
  --shadow-xl: 0 40px 80px -20px rgba(15, 27, 45, 0.22);
  --shadow-green: 0 20px 40px -16px rgba(76, 175, 63, 0.45);

  /* Type */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --max-w: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

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

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

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

/* ============================================
   Top contact bar
============================================ */
.topbar {
  background: var(--navy-deep);
  color: var(--gray-200);
  font-size: 13px;
  padding: 10px 0;
  position: relative;
  z-index: 60;
}
.topbar .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar .info {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.topbar .info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar .info svg { width: 14px; height: 14px; color: var(--green-light); }
.topbar .socials { display: flex; gap: 14px; }
.topbar .socials a {
  width: 26px; height: 26px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background .2s, color .2s;
}
.topbar .socials a:hover { background: var(--green); color: white; }
.topbar .socials svg { width: 13px; height: 13px; }

/* ============================================
   Navbar
============================================ */
.nav {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 50;
  transition: padding .25s ease, box-shadow .25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  transition: padding .25s ease;
}
.nav.scrolled .row { padding: 12px 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
}
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  position: relative;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name { font-size: 22px; letter-spacing: -0.02em; }
.brand-text .tag { font-size: 10.5px; color: var(--green-deep); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: background .2s, color .2s;
  position: relative;
}
.nav-links a:hover { background: var(--gray-100); }
.nav-links a.active { color: var(--green-deep); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s, background .2s;
}
.nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }

/* ============================================
   Hero
============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  background:
    radial-gradient(ellipse at top right, rgba(76,175,63,0.12), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(27,45,69,0.06), transparent 50%),
    linear-gradient(180deg, #FAFBFC 0%, #F0F4F0 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0 120px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(27,45,69,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--gray-200);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .pill {
  background: var(--green);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(46px, 6.5vw, 92px);
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin-bottom: 28px;
}
.hero h1 .accent {
  color: var(--green-deep);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 12px;
  background: var(--green);
  opacity: 0.18;
  z-index: -1;
  transform: skewX(-8deg);
}

.hero p.lead {
  font-size: 18px;
  color: var(--gray-700);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 24px 48px -16px rgba(46, 125, 50, 0.5); }
.btn-secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--gray-200);
}
.btn-secondary:hover { background: var(--navy); color: white; border-color: var(--navy); }
.btn svg { width: 16px; height: 16px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust .label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-trust .badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--gray-200);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.hero-trust .badge .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 560px;
}
.hex-stack { position: absolute; inset: 0; }

.hex {
  position: absolute;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
}
.hex-frame {
  background: linear-gradient(135deg, #c5cad3 0%, #8B95A4 100%);
  padding: 10px;
}
.hex-frame > .hex-inner {
  width: 100%;
  height: 100%;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: white;
  padding: 10px;
}
.hex-frame > .hex-inner > .hex-photo {
  width: 100%;
  height: 100%;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background-size: cover;
  background-position: center;
}

.hex-1 {
  width: 380px; height: 420px;
  top: 40px; right: 60px;
  animation: float 6s ease-in-out infinite;
}
.hex-2 {
  width: 240px; height: 260px;
  bottom: 30px; right: 280px;
  animation: float 7s ease-in-out infinite -2s;
}
.hex-3 {
  width: 140px; height: 160px;
  top: 0px; left: 80px;
  background: var(--green);
  opacity: 0.85;
  animation: float 5s ease-in-out infinite -1s;
}
.hex-4 {
  width: 90px; height: 100px;
  bottom: 80px; left: 30px;
  background: var(--navy);
  animation: float 6.5s ease-in-out infinite -3s;
}
.hex-5 {
  width: 50px; height: 56px;
  top: 200px; left: 220px;
  background: var(--green-light);
  opacity: 0.7;
  animation: float 4.5s ease-in-out infinite -2.5s;
}
.hex-outline {
  width: 180px; height: 200px;
  position: absolute;
  bottom: 60px; left: 130px;
  border: 2px solid var(--green);
  opacity: 0.5;
  animation: spin 25s linear infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray-500);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.scroll-hint .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   Stats strip
============================================ */
.stats {
  background: var(--navy);
  color: white;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: linear-gradient(135deg, var(--green), transparent);
  opacity: 0.15;
}
.stats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.stat {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid rgba(255,255,255,0.1);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat .num .suffix { color: var(--green); font-size: 36px; }
.stat .label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ============================================
   Section common
============================================ */
.section {
  padding: 120px 0;
  position: relative;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}
.section-tag::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--green);
}
.section-title {
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.section-lead {
  font-size: 18px;
  color: var(--gray-700);
  max-width: 640px;
}
.section-head {
  margin-bottom: 64px;
}
.section-head.center {
  text-align: center;
}
.section-head.center .section-lead { margin: 0 auto; }
.section-head.center .section-tag { justify-content: center; }
.section-head.center .section-tag::before { display: none; }
.section-head.center .section-tag {
  background: var(--green-soft);
  color: var(--green-deep);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ============================================
   About section
============================================ */
.about {
  background: var(--white);
}
.about .grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1 / 1;
}
.about-photo {
  width: 100%; height: 100%;
  clip-path: polygon(25% 2%, 75% 2%, 98% 50%, 75% 98%, 25% 98%, 2% 50%);
  background-size: cover;
  background-position: center;
}
.about-photo-bg {
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  clip-path: polygon(25% 2%, 75% 2%, 98% 50%, 75% 98%, 25% 98%, 2% 50%);
  background: var(--green);
  opacity: 0.85;
}
.about-photo-bg-2 {
  position: absolute;
  inset: 32px -32px -32px 32px;
  z-index: -2;
  clip-path: polygon(25% 2%, 75% 2%, 98% 50%, 75% 98%, 25% 98%, 2% 50%);
  background: var(--navy);
  opacity: 0.15;
}

.about-floating {
  position: absolute;
  top: 30px; right: -20px;
  background: white;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 4;
}
.about-floating .icon {
  width: 44px; height: 44px;
  background: var(--green-soft);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--green-deep);
}
.about-floating .icon svg { width: 22px; height: 22px; }
.about-floating .text { display: flex; flex-direction: column; }
.about-floating .num { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); }
.about-floating .lbl { font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; }

.about-floating.b {
  top: auto; bottom: 30px; right: auto; left: -30px;
  animation: float 6s ease-in-out infinite -2s;
}
.about-floating.a {
  animation: float 6s ease-in-out infinite;
}

.about-content p {
  font-size: 17px;
  color: var(--gray-700);
  margin-bottom: 20px;
}
.about-content p:first-of-type {
  font-size: 19px;
  color: var(--navy);
  font-weight: 500;
}
.about-points {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-700);
}
.about-points li .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--green);
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
}
.about-points li .check svg { width: 12px; height: 12px; }

/* ============================================
   Mission / Vision
============================================ */
.mv {
  background: linear-gradient(180deg, var(--gray-100), white);
}
.mv .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mv-card {
  background: white;
  border-radius: 24px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform .3s, box-shadow .3s;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 200px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: var(--green);
  opacity: 0.06;
}
.mv-card.vision::before { background: var(--navy); opacity: 0.06; }

.mv-icon {
  width: 64px; height: 64px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.mv-card.vision .mv-icon { background: rgba(27, 45, 69, 0.08); color: var(--navy); }
.mv-icon svg { width: 28px; height: 28px; }
.mv-card h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.mv-card p {
  font-size: 16px;
  color: var(--gray-700);
}

/* ============================================
   Líneas de negocio (3 cards)
============================================ */
.lines {
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}
.lines::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 360px; height: 400px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: var(--green);
  opacity: 0.05;
}
.lines .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.line-card {
  position: relative;
  background: white;
  padding: 36px 32px 32px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  overflow: hidden;
}
.line-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }
.line-card .num {
  position: absolute;
  top: 20px; right: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  color: var(--gray-100);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color .3s;
}
.line-card:hover .num { color: var(--green-soft); }
.line-card .check-hex {
  width: 56px; height: 60px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: var(--green);
  display: grid; place-items: center;
  color: white;
  margin-bottom: 28px;
}
.line-card .check-hex svg { width: 24px; height: 24px; }
.line-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.line-card p {
  color: var(--gray-700);
  font-size: 14.5px;
  margin-bottom: 24px;
}
.line-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.line-card.dark {
  background: var(--navy);
  color: white;
  border-color: transparent;
}
.line-card.dark .num { color: rgba(255,255,255,0.06); }
.line-card.dark:hover .num { color: rgba(76, 175, 63, 0.2); }
.line-card.dark h3 { color: white; }
.line-card.dark p { color: var(--gray-300); }

/* ============================================
   Products section (tabbed)
============================================ */
.products {
  background: white;
  position: relative;
}
.product-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  padding: 6px;
  background: var(--gray-100);
  border-radius: 999px;
  width: fit-content;
  margin-inline: auto;
}
.product-tab {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: all .25s ease;
  font-family: var(--font-body);
}
.product-tab:hover { color: var(--navy); }
.product-tab.active {
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-md);
}
.product-panel {
  display: none;
  animation: fadeUp .4s ease both;
}
.product-panel.active { display: grid; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-panel {
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-image {
  position: relative;
}
.product-image .photo {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.product-image .decor {
  position: absolute;
  width: 60px; height: 65px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
}
.product-image .decor.a { background: var(--green); top: 0; right: 40px; animation: float 5s ease-in-out infinite; }
.product-image .decor.b { background: var(--navy); bottom: 20px; left: 20px; width: 40px; height: 44px; animation: float 6s ease-in-out infinite -2s; }

.product-info .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.product-info h3 {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 18px;
}
.product-info p {
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 28px;
  max-width: 480px;
}
.specs-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.specs-title::before { content: ''; width: 18px; height: 2px; background: var(--green); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.spec {
  padding: 12px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  transition: border-color .2s, background .2s;
}
.spec:hover { background: var(--green-soft); border-color: var(--green-light); }
.spec .size { font-weight: 700; color: var(--navy); }
.spec .cal { color: var(--gray-500); font-size: 13px; }

.specs-note {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(76,175,63,0.06);
  border: 1px dashed var(--green-light);
  border-radius: 12px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 500;
}

/* ============================================
   Quality / Certifications
============================================ */
.quality {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: white;
  position: relative;
  overflow: hidden;
}
.quality::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(76,175,63,0.18) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at right, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at right, black 30%, transparent 70%);
}
.quality .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.quality .section-tag { color: var(--green-light); }
.quality .section-tag::before { background: var(--green-light); }
.quality h2 { color: white; }
.quality p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}
.quality-features {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.quality-feature {
  display: flex;
  gap: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  align-items: center;
  transition: background .25s;
}
.quality-feature:hover { background: rgba(76,175,63,0.1); }
.quality-feature .ic {
  flex-shrink: 0;
  width: 44px; height: 48px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: var(--green);
  display: grid; place-items: center;
}
.quality-feature .ic svg { width: 20px; height: 20px; color: white; }
.quality-feature h4 { font-size: 15px; margin-bottom: 4px; color: white; }
.quality-feature p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; }

.cert-wrap {
  position: relative;
}
.cert-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: rotate(-2deg);
  transition: transform .35s;
}
.cert-card:hover { transform: rotate(0); }
.cert-card .img {
  width: 100%;
  aspect-ratio: 690/380;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
  border-radius: 12px;
}
.cert-card .stamp {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 90px; height: 90px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: var(--shadow-lg);
  animation: spin 20s linear infinite;
}

/* ============================================
   Circular Economy
============================================ */
.circular {
  background: var(--green-soft);
  position: relative;
  overflow: hidden;
}
.circular::after {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 450px; height: 500px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: var(--green);
  opacity: 0.1;
}

.circular .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* SVG circular diagram */
.cycle-diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}
.cycle-svg { width: 100%; height: 100%; }
.cycle-svg .arc {
  fill: none;
  stroke-width: 18;
  stroke-linecap: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawArc 1.2s ease-out forwards;
}
.cycle-svg .arc-1 { stroke: var(--green); animation-delay: 0.1s; }
.cycle-svg .arc-2 { stroke: var(--green-deep); animation-delay: 0.3s; }
.cycle-svg .arc-3 { stroke: var(--navy); animation-delay: 0.5s; }
.cycle-svg .arc-4 { stroke: var(--green-light); animation-delay: 0.7s; }
@keyframes drawArc {
  to { stroke-dashoffset: 0; }
}

.cycle-node {
  position: absolute;
  width: 110px;
  background: white;
  border-radius: 14px;
  padding: 12px 14px 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: nodeIn 0.6s ease forwards;
}
.cycle-node .ic {
  width: 36px; height: 40px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: var(--green);
  margin: 0 auto 8px;
  display: grid; place-items: center;
  color: white;
}
.cycle-node .ic svg { width: 18px; height: 18px; }
.cycle-node .nm {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
}
.cycle-node-1 { top: 4%; left: 50%; transform: translateX(-50%); animation-delay: 0.2s; }
.cycle-node-2 { top: 50%; right: -2%; transform: translateY(-50%); animation-delay: 0.4s; }
.cycle-node-3 { bottom: 4%; left: 50%; transform: translateX(-50%); animation-delay: 0.6s; }
.cycle-node-4 { top: 50%; left: -2%; transform: translateY(-50%); animation-delay: 0.8s; }

.cycle-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 130px; height: 145px;
  transform: translate(-50%, -50%);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: var(--navy);
  display: grid; place-items: center;
  color: white;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.cycle-center .green-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin: 6px auto 0;
}

@keyframes nodeIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   Clientes (marquee)
============================================ */
.clients {
  background: white;
  padding: 80px 0;
}
.clients .label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin-bottom: 36px;
}
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.client-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--gray-400);
  white-space: nowrap;
  padding: 16px 28px;
  border-radius: 12px;
  letter-spacing: -0.02em;
  transition: color .2s;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 8px;
}
.client-logo:hover { color: var(--navy); border-color: var(--gray-300); }
.client-logo .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* ============================================
   Contact section
============================================ */
.contact {
  background: var(--gray-50);
  position: relative;
}
.contact .grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: stretch;
}
.contact-info {
  background: var(--navy);
  color: white;
  padding: 44px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 320px; height: 360px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: var(--green);
  opacity: 0.18;
}
.contact-info h3 { color: white; font-size: 26px; margin-bottom: 8px; }
.contact-info .sub { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 32px; }

.contact-list { list-style: none; display: grid; gap: 22px; position: relative; z-index: 2; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic {
  flex-shrink: 0;
  width: 40px; height: 44px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: var(--green);
  display: grid; place-items: center;
}
.contact-list .ic svg { width: 18px; height: 18px; color: white; }
.contact-list .lb { font-size: 11px; color: var(--green-light); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 4px; }
.contact-list .vl { font-size: 15px; color: white; font-weight: 500; line-height: 1.4; }
.contact-list a.vl { transition: color .2s; }
.contact-list a.vl:hover { color: var(--green-light); }

.contact-form {
  background: white;
  padding: 44px;
  border-radius: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 26px; margin-bottom: 8px; }
.contact-form .sub { color: var(--gray-500); font-size: 14px; margin-bottom: 28px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: var(--gray-50);
  color: var(--navy);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
  background: white;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field textarea { resize: vertical; min-height: 100px; }

.contact-form .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* ============================================
   Footer
============================================ */
.footer {
  background: var(--navy-deep);
  color: var(--gray-300);
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: radial-gradient(circle, rgba(76,175,63,0.06), transparent 70%);
}
.footer .grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  position: relative;
  z-index: 2;
}
.footer h5 {
  color: white;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 700;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--gray-400); transition: color .2s; }
.footer ul a:hover { color: var(--green-light); }
.footer .brand-block p {
  font-size: 14px;
  color: var(--gray-400);
  max-width: 320px;
  margin-top: 16px;
}
.footer .brand-block .brand-text .name { color: white; }
.footer .bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 2;
}

/* ============================================
   Scroll reveal
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================
   Responsive
============================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; }
  .about .grid { grid-template-columns: 1fr; gap: 60px; }
  .mv .grid { grid-template-columns: 1fr; }
  .lines .grid { grid-template-columns: 1fr; }
  .quality .grid { grid-template-columns: 1fr; gap: 60px; }
  .circular .grid { grid-template-columns: 1fr; gap: 60px; }
  .contact .grid { grid-template-columns: 1fr; }
  .product-panel { grid-template-columns: 1fr !important; gap: 40px; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .hero { min-height: 0; padding: 60px 0 80px; }
  .hero-visual { height: 380px; }
  .hex-1 { width: 280px; height: 310px; right: 20px; }
  .hex-2 { width: 180px; height: 200px; right: 200px; }
  .stat .num { font-size: 40px; }
  .stat .num .suffix { font-size: 26px; }
  .mv-card, .contact-info, .contact-form { padding: 28px; }
  .footer .grid { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .topbar .info { gap: 14px; font-size: 12px; }
  .topbar .info span:last-child { display: none; }
}
