:root {
  --green: #4db30f;
  --green-dark: #2f7f09;
  --green-soft: #eef8e8;
  --ink: #15171a;
  --muted: #666d75;
  --line: #e5e8eb;
  --soft: #f6f8f7;
  --white: #ffffff;
  --dark: #101316;
  --shadow: 0 18px 50px rgba(22, 29, 25, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,232,235,.9);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 230px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; color: #3d4248; }
.main-nav a:hover { color: var(--green-dark); }
.nav-cta { background: var(--ink); color: white !important; padding: 11px 17px; border-radius: 999px; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 26px; }

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background: url('../img/hero-is.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,17,11,.94) 0%, rgba(9,17,11,.82) 45%, rgba(9,17,11,.42) 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding: 90px 0; }
.hero-copy { color: white; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; margin-bottom: 18px; }
.eyebrow.green { color: var(--green-dark); }
.eyebrow.light { color: #9ee06f; }
.hero h1 { font-size: clamp(48px, 6vw, 76px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 24px; max-width: 760px; }
.hero-copy > p { font-size: 20px; color: rgba(255,255,255,.83); max-width: 720px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: white; }
.btn-secondary { border: 1px solid rgba(255,255,255,.34); color: white; background: rgba(255,255,255,.06); }
.btn-white { background: white; color: var(--ink); }
.btn.full { width: 100%; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-points span { border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.75); padding: 8px 12px; border-radius: 999px; font-size: 13px; }
.hero-card { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); padding: 34px; border-radius: 28px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 32px; line-height: 1.15; margin: 6px 0 16px; }
.hero-card p { color: var(--muted); }
.mini-label { font-size: 11px; font-weight: 800; letter-spacing: .15em; color: var(--green-dark) !important; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.metric-grid div { background: var(--soft); padding: 18px; border-radius: 18px; }
.metric-grid strong { display: block; color: var(--green-dark); font-size: 21px; }
.metric-grid span { font-size: 13px; color: var(--muted); }

.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head h2, .contact-section h2, .about-grid h2, .experience-grid h2, .cta-band h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 18px; }
.section-head p, .split-head > p, .about-grid p, .contact-grid p, .experience-grid > div > p { font-size: 18px; color: var(--muted); }
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; max-width: none; gap: 64px; align-items: end; }

.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.feature-card .icon { width: 50px; height: 50px; border-radius: 15px; background: var(--green-soft); display: grid; place-items: center; color: var(--green-dark); font-size: 24px; margin-bottom: 24px; }
.feature-card h3 { font-size: 22px; margin: 0 0 12px; }
.feature-card p { margin: 0; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.product-card { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 32px; min-height: 310px; display: flex; flex-direction: column; }
.product-card.featured { background: linear-gradient(145deg, #17310f, #275f15); color: white; border: 0; }
.product-tag { font-size: 11px; letter-spacing: .13em; font-weight: 800; color: var(--green-dark); margin-bottom: 46px; }
.product-card.featured .product-tag { color: #b9ef97; }
.product-card h3 { font-size: 34px; margin: 0 0 15px; }
.product-card p { color: var(--muted); margin: 0 0 24px; }
.product-card.featured p { color: rgba(255,255,255,.78); }
.product-card a { margin-top: auto; color: #c7f3a9; font-weight: 700; }
.product-status { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--green-dark); }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.service-grid article { background: white; padding: 32px; min-height: 250px; }
.service-grid article > span { color: var(--green-dark); font-weight: 800; font-size: 12px; }
.service-grid h3 { font-size: 22px; margin: 32px 0 10px; }
.service-grid p { color: var(--muted); margin: 0; }

.dark-section { background: var(--dark); color: white; }
.experience-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.experience-grid > div > p { color: rgba(255,255,255,.67); }
.experience-list { border-top: 1px solid rgba(255,255,255,.15); }
.experience-list div { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.experience-list strong { color: #9ee06f; }
.experience-list p { margin: 0; color: rgba(255,255,255,.82); font-size: 18px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-image { min-height: 520px; border-radius: 30px; background: url('../img/about.jpg') center/cover no-repeat; box-shadow: var(--shadow); }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.values span { background: var(--green-soft); color: var(--green-dark); padding: 9px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; }

.cta-band { background: linear-gradient(135deg, #366f17, #4db30f); color: white; padding: 72px 0; }
.cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 780px; margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: start; }
.contact-card { background: var(--soft); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.contact-card > div { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-label { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.contact-card a:not(.btn) { font-weight: 700; }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0; background: #fbfcfb; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 34px; align-items: center; }
.footer-logo { width: 190px; margin-bottom: 12px; }
.site-footer p, .footer-copy { color: var(--muted); font-size: 13px; margin: 0; }
.footer-links { display: flex; gap: 18px; font-size: 13px; font-weight: 600; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 78px; left: 20px; right: 20px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 18px; padding: 18px; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .hero-grid, .split-head, .experience-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero { min-height: auto; }
  .cards-3, .product-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .cta-wrap { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand img { width: 190px; }
  .hero-grid { padding: 64px 0; }
  .hero h1 { font-size: 46px; }
  .hero-copy > p { font-size: 17px; }
  .section { padding: 72px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .hero-card, .feature-card, .product-card, .contact-card { padding: 24px; }
  .about-image { min-height: 340px; }
  .footer-links { flex-wrap: wrap; }
}


/* V1.1 · Experiencia / clientes */
.clients-section { background: var(--white); }
.clients-head { max-width: 820px; }
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}
.client-logo {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.client-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d8ddd9;
}
.client-logo img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo { min-height: 110px; padding: 20px; }
}


/* V1.2 · Contenido comercial de productos */
.product-lead {
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--ink);
}
.product-card.featured .product-lead { color: var(--white); }

.product-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
}
.product-capabilities span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.product-card.featured .product-capabilities span {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.90);
}
