/* EcoPrint Argentina — estilos propios del sitio, sobre la base de styles.css (Modernist). */

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }

:root {
  --color-bg: #ffffff;
  --color-accent: #2fae44;
  --color-accent-100: #eaf7ec;
  --color-accent-200: #cdeed2;
  --color-accent-600: #259639;
  --color-accent-700: #1c6b2b;
  --color-accent-800: #154f21;
  --color-accent-2: #29c1e8;
  --color-accent-2-100: #e8f8fc;
  --color-accent-2-200: #c7edf7;
  --color-accent-2-600: #1ea2c4;
  --color-accent-2-700: #0f7691;
  --color-accent-2-800: #0b5468;
}

@keyframes ep-fade { from { opacity: 0; } to { opacity: 1; } }

.nav {
  flex-wrap: wrap; row-gap: 10px;
  background: var(--color-bg);
  position: sticky; top: 0; z-index: 20;
  border-bottom: none;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--color-text) 10%, transparent);
}

.hero { position: relative; overflow: hidden; min-height: 560px; background: var(--color-bg); }

.hero-slide {
  display: none;
  position: relative;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px);
  flex-wrap: wrap;
}
.hero-slide.is-active { display: flex; animation: ep-fade 0.5s ease; }
.hero-slide > * { position: relative; z-index: 1; }

.hero-shape {
  position: absolute; top: -20%; right: -6%; width: 58%; height: 150%;
  background: var(--color-accent);
  opacity: 0.09;
  clip-path: polygon(28% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0; pointer-events: none;
}

.hero-kicker {
  display: block; font-size: 13px; line-height: 14px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-accent-700); font-weight: 600;
  margin-bottom: 18px;
  position: relative; padding-left: 17px;
}
.hero-kicker::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 9px; height: 9px; background: var(--color-accent);
}
.hero-title { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.06; margin: 0; }
.hero-title span { display: block; }
.hero-sub { font-size: 17px; line-height: 28px; max-width: 52ch; margin: 24px 0 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(15px, 1.6vw, 17px); font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 22px 0 0; padding: 10px 20px;
  color: var(--color-accent-800); background: var(--color-accent-100);
  border-radius: var(--radius-md);
}
.hero-badge::before {
  content: ""; width: 9px; height: 9px; flex: none; background: var(--color-accent);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.hero-media {
  flex: 1 1 380px; min-width: 280px; aspect-ratio: 16 / 11;
  background: repeating-linear-gradient(135deg, var(--color-neutral-200), var(--color-neutral-200) 10px, var(--color-neutral-100) 10px, var(--color-neutral-100) 20px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-media span {
  font-family: ui-monospace, Menlo, monospace; font-size: 13px;
  color: var(--color-neutral-700); text-align: center; padding: 0 20px;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-banners { min-height: 0; }
.hero-banners .hero-slide { padding: 0; }
.hero-banners .hero-slide img { width: 100%; height: auto; display: block; }

.hero-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  border: 2px solid var(--color-divider); font-size: 18px;
  z-index: 2;
}
.hero-nav-btn.prev { left: 12px; }
.hero-nav-btn.next { right: 12px; }

.hero-dots {
  position: absolute; bottom: 20px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  z-index: 2;
}
.hero-dots button {
  width: 10px; height: 10px; padding: 0; border: none; cursor: pointer;
  background: #d7d3d3;
}
.hero-dots button.is-active { background: var(--dot-color, var(--color-accent)); }

.section-kicker {
  display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-700); font-weight: 600; margin-bottom: 18px;
  position: relative; padding-left: 17px;
}
.section-kicker::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 9px; height: 9px; background: var(--color-accent);
}
.section-kicker--lg {
  font-size: 20px;
}
.section-kicker--lg::before {
  top: 6px;
}

.brands-section { background: var(--color-surface); padding: 76px clamp(20px, 5vw, 72px); }
.brands-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 44px clamp(36px, 6vw, 72px);
  margin-top: 8px;
}
.brands-grid img {
  max-height: 66px; width: auto; object-fit: contain;
  opacity: 0.75; filter: grayscale(1);
  transition: opacity 0.15s ease, filter 0.15s ease;
}
.brands-grid img:hover { opacity: 1; filter: grayscale(0); }

.about-section {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 72px); align-items: center;
  background: var(--color-bg);
  padding: 84px clamp(20px, 5vw, 72px);
}
.about-text { flex: 1 1 420px; min-width: 280px; }
.about-media {
  flex: 1 1 380px; min-width: 280px; aspect-ratio: 951 / 665;
  background: repeating-linear-gradient(135deg, var(--color-neutral-200), var(--color-neutral-200) 10px, var(--color-neutral-100) 10px, var(--color-neutral-100) 20px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-media span { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--color-neutral-700); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

.news-section { background: var(--color-surface); padding: 84px clamp(20px, 5vw, 72px); }
.news-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px; margin-top: 8px;
}
.news-item {
  display: flex; flex-direction: column;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.news-thumb { width: 100%; aspect-ratio: 1 / 1; background: var(--color-neutral-200); cursor: zoom-in; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lightbox {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  padding: clamp(20px, 6vw, 64px);
  background: color-mix(in srgb, var(--color-neutral-900) 82%, transparent);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(720px, 100%); max-height: 85vh; object-fit: contain; cursor: auto; }
.lightbox-close {
  position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px);
  background: var(--color-surface); border: none; font-size: 22px; line-height: 1;
}
.news-body { padding: 20px clamp(18px, 3vw, 28px) 26px; }
.news-date {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 13px; margin: 0 0 10px; letter-spacing: 0.04em;
  position: relative; padding-left: 18px;
}
.news-date::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 8px; height: 8px; background: var(--color-accent);
}
.news-item h3 { margin: 0 0 8px; }
.news-item p { font-size: 15.5px; line-height: 26px; margin: 0; }

.contact-section { background: var(--color-bg); padding: 76px clamp(20px, 5vw, 72px); }
.contact-grid { display: flex; gap: clamp(24px, 6vw, 96px); flex-wrap: wrap; }
.contact-grid p:first-child { font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 6px; }
.contact-grid p.contact-phone { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 22px; margin: 0; }

.cta-section { background: var(--color-accent); color: var(--color-bg); padding: 84px clamp(20px, 5vw, 72px); }
.cta-section h3 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; margin: 0; }
.cta-section h3 span { display: block; }
.cta-section .btn-ghost { color: var(--color-bg); border-color: var(--color-bg); margin-top: 32px; }

@media (max-width: 640px) {
  .nav { gap: 12px; }
  .nav a { font-size: 13px; }
}
