/* ═══════════════════════════════════════════════════════════
   S.P.R. JUNCO, S.L. — Corporate Stylesheet
   Design: Refined Industrial · Earth Tones · Premium
   ═══════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {

  /* ═════════ VERDES SPR JUNCO ═════════ */
  --green-900: #2f5f48;
  --green-800: #3f7a5c;
  --green-700: #4f946f;
  --green-600: #62ad82;
  --green-500: #78c099;

  --green-400: #a6d6ba;
  --green-300: #cfead9;
  --green-200: #e6f5ec;
  --green-100: #f3fbf6;

  /* NEUTROS */
  --white: #ffffff;

  /* TEXTOS */
  --text-900: #1f2b23;
  --text-700: #3f4f44;
  --text-500: #6b7c71;
  --text-300: #9aa8a0;

  /* ACENTO */
  --gold: #c9a35a;
  --gold-soft: #e3c88a;

  /* LAYOUT */
  --max-w: 1200px;
  --gutter: 1.5rem;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;

  --ease-out: cubic-bezier(.16,.84,.44,1);

  /* SOMBRAS */
  --shadow: rgba(47, 95, 72, 0.15);

--text-on-dark: #f7f3e7;   /* crema claro (principal sobre verde) */
--text-on-dark-soft: #e9e1cf;
--text-on-light: #1f2b23;  /* verde oscuro (sobre fondos claros) */

--text-muted-dark: rgba(247,243,231,0.75);
--text-muted-light: #5a6b60;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--warm-white);
  overflow-x: hidden;
}

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

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .22s; }
.reveal--delay-3 { transition-delay: .34s; }
.reveal--delay-4 { transition-delay: .5s; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-cond);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-tag--light { color: var(--gold-light); }
.section-tag--light::before { background: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -.01em;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-title--light { color: var(--warm-white); }
.section-title--light em { color: var(--gold-light); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,135,42,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(255,255,255,.45);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
}

.btn--sm { padding: .65rem 1.4rem; font-size: .8rem; }
.btn--full { width: 100%; justify-content: center; }

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s var(--ease-out), box-shadow .4s;
}
.navbar.scrolled {
  background: rgba(26, 26, 24, .97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 40px rgba(0,0,0,.35);
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.2rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.logo-mark {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .14em;
  background: var(--gold);
  color: #fff;
  padding: .35rem .6rem;
  border-radius: var(--radius-sm);
  line-height: 1;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: .02em;
}
.logo-suffix {
  font-family: var(--font-cond);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--stone-light);
  text-transform: uppercase;
}

/* Nav links */
.navbar__nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color .25s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -.3rem;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease-out);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

/* CTA button in nav */
.navbar__cta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: .5rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: all .3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar__cta svg { width: 14px; height: 14px; }
.navbar__cta:hover {
  background: var(--gold);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(26,26,24,.98);
  border-top: 1px solid var(--charcoal-3);
  padding: 1rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out);
}
.navbar__mobile-menu.open { max-height: 400px; }
.mobile-link {
  padding: .85rem var(--gutter);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s, background .2s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--gold-light); background: rgba(255,255,255,.04); }

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

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 110% 50%, rgba(184,135,42,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at -10% 80%, rgba(184,135,42,.08) 0%, transparent 50%),
    linear-gradient(160deg, #1A1A18 0%, #242420 50%, #1A1A18 100%);
}

/* Geometric grid overlay */
.hero__bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,135,42,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,135,42,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .035;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--gutter) + 80px) var(--gutter) var(--gutter);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-cond);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
}
.eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.02em;
  color: var(--warm-white);
  margin-bottom: 1.8rem;
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__subtitle {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(250,248,244,.6);
  max-width: 56ch;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero badge */
.hero__badge {
  position: absolute;
  right: clamp(2rem, 8vw, 10rem);
  bottom: clamp(4rem, 15vh, 10rem);
  z-index: 2;
}
.badge-inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .25rem;
  background: rgba(184,135,42,.08);
  backdrop-filter: blur(8px);
  animation: badgeSpin 24s linear infinite;
}
@keyframes badgeSpin {
  to { box-shadow: 0 0 0 6px rgba(184,135,42,.06), 0 0 0 12px rgba(184,135,42,.03); }
  50% { box-shadow: 0 0 0 12px rgba(184,135,42,.06), 0 0 0 24px rgba(184,135,42,.03); }
}
.badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}
.badge-label {
  font-family: var(--font-cond);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-light);
  line-height: 1.3;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .4; transform: scaleY(.7); }
}
.hero__scroll-hint span {
  font-family: var(--font-cond);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════ */
.stats-bar {
  background: var(--charcoal-2);
  border-top: 1px solid var(--charcoal-3);
  border-bottom: 1px solid rgba(184,135,42,.2);
}
.stats-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .3rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--charcoal-3);
}

/* ════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════ */
.about {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--warm-white);
}
.about__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

/* Visual side */
.about__visual {
  position: relative;
}
.about__img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.about__img-placeholder {
  background: var(--warm-beige);
  border: 1px solid rgba(184,135,42,.2);
  border-radius: var(--radius);
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  color: var(--stone);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about__img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(184,135,42,.08) 0%, transparent 60%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(184,135,42,.04) 20px,
      rgba(184,135,42,.04) 21px
    );
}
.placeholder-icon svg {
  width: 80px;
  height: 80px;
  color: var(--gold);
  opacity: .7;
}
.about__img-placeholder span {
  font-family: var(--font-cond);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.5;
  position: relative;
}

/* Decorative accent */
.about__img-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  opacity: .3;
  z-index: -1;
}
.about__img-accent::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius) - 4px);
  opacity: .5;
}

/* Year badge */
.about__year-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--charcoal-3);
}
.about__year-badge span {
  font-family: var(--font-cond);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stone-light);
}
.about__year-badge strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}

/* Text side */
.about__text { padding: .5rem 0; }

.about__body {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about__body p {
  font-size: .975rem;
  line-height: 1.85;
  color: var(--text-muted);
}
.about__body strong { color: var(--text-body); font-weight: 600; }

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 2rem;
}
.feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  background: var(--warm-beige);
  border-radius: var(--radius);
  border: 1px solid rgba(184,135,42,.15);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: .01em;
  transition: border-color .25s, box-shadow .25s;
}
.feature:hover {
  border-color: rgba(184,135,42,.4);
  box-shadow: var(--shadow-sm);
}
.feature__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__icon svg {
  width: 15px;
  height: 15px;
  color: #fff;
}

/* ════════════════════════════════════════
   PRODUCTS
   ════════════════════════════════════════ */
.products {
  background: var(--charcoal);
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.products::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.products__header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 3rem;
  align-items: start;
}
.products__header .section-tag { grid-column: 1; grid-row: 1; }
.products__header .section-title { grid-column: 1; grid-row: 2; }
.products__intro {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  font-size: .975rem;
  line-height: 1.8;
  color: rgba(250,248,244,.5);
  max-width: 44ch;
}

.products__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(184,135,42,.15);
  border: 1.5px solid rgba(184,135,42,.15);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-card {
  background: var(--charcoal-2);
  padding: 2.5rem 2rem;
  display: flex;
  gap: 1.5rem;
  transition: background .3s;
  position: relative;
  overflow: hidden;
}
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 2rem; right: 2rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .4s var(--ease-out);
  transform-origin: left;
}
.product-card:hover { background: var(--charcoal-3); }
.product-card:hover::after { transform: scaleX(1); }

.product-card--featured {
  background: linear-gradient(135deg, var(--charcoal-2) 0%, rgba(184,135,42,.12) 100%);
}

.product-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(184,135,42,.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.product-card__icon svg { width: 28px; height: 28px; }

.product-card__content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: .6rem;
}
.product-card__content p {
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(250,248,244,.5);
}
.product-tag {
  display: inline-block;
  margin-top: .8rem;
  font-family: var(--font-cond);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,135,42,.35);
  padding: .2rem .6rem;
  border-radius: 2px;
}

.product-card--cta {
  background: linear-gradient(135deg, rgba(184,135,42,.15) 0%, rgba(184,135,42,.05) 100%);
  border: 1px solid rgba(184,135,42,.2);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.product-card__cta-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: .6rem;
}
.product-card__cta-content p {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(250,248,244,.55);
  margin-bottom: 1.2rem;
}

/* ════════════════════════════════════════
   ADVANTAGES
   ════════════════════════════════════════ */
.advantages {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--warm-beige);
  position: relative;
}
.advantages::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent 5%, var(--gold) 30%, var(--gold-light) 70%, transparent 95%);
  opacity: .4;
}

.advantages__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.advantages__left {
  position: sticky;
  top: 120px;
  padding-top: .5rem;
}
.advantages__intro {
  font-size: .975rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 1.5rem 0 2rem;
  max-width: 38ch;
}

.advantages__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.advantage-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(184,135,42,.15);
  transition: all .3s;
}
.advantage-item:first-child { padding-top: 0; }
.advantage-item:last-child { border-bottom: none; }
.advantage-item:hover { padding-left: .5rem; }

.advantage-num {
  font-family: var(--font-cond);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(184,135,42,.2);
  line-height: 1;
  flex-shrink: 0;
  transition: color .3s;
  width: 3rem;
}
.advantage-item:hover .advantage-num { color: var(--gold); }

.advantage-body h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.advantage-body p {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════ */
.contact {
  background: var(--charcoal);
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.contact__bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at -10% 50%, rgba(184,135,42,.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 110% 80%, rgba(184,135,42,.06) 0%, transparent 50%);
  pointer-events: none;
}

.contact__container {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact__intro {
  font-size: .975rem;
  line-height: 1.85;
  color: rgba(250,248,244,.55);
  margin: 1.5rem 0 2.5rem;
  max-width: 38ch;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(184,135,42,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-item > div {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.contact-item strong {
  font-family: var(--font-cond);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.contact-item span,
.contact-item a {
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(250,248,244,.65);
  transition: color .2s;
}
.contact-item a:hover { color: var(--gold-light); }

/* Form */
.contact__form-wrap {
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.form-group label {
  font-family: var(--font-cond);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-light);
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--charcoal-3);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--warm-white);
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--charcoal-2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(184,135,42,.5);
  box-shadow: 0 0 0 3px rgba(184,135,42,.1);
}

.form-success {
  display: none;
  background: rgba(184,135,42,.12);
  border: 1px solid rgba(184,135,42,.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: .88rem;
  color: var(--gold-light);
  font-weight: 500;
  text-align: center;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: #111110;
  border-top: 1px solid rgba(184,135,42,.15);
}
.footer__top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  align-items: start;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.2rem;
}
.footer__brand p {
  font-size: .875rem;
  line-height: 1.8;
  color: var(--stone);
  max-width: 32ch;
}
.footer__social {
  margin-top: 1.5rem;
  font-family: var(--font-cond);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.footer-col h5 {
  font-family: var(--font-cond);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: .4rem;
  font-weight: 600;
}
.footer-col a {
  font-size: .85rem;
  line-height: 1.5;
  color: var(--stone);
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-family: var(--font-cond);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--charcoal-3);
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about__container { grid-template-columns: 1fr; }
  .advantages__container { grid-template-columns: 1fr; }
  .advantages__left { position: static; }
  .products__header {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .products__header .section-tag,
  .products__header .section-title,
  .products__intro { grid-column: 1; grid-row: auto; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__container { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar__nav,
  .navbar__cta { display: none; }
  .hamburger { display: flex; }
  .navbar__mobile-menu { display: flex; }

  .hero__badge { display: none; }
  .stats-bar__inner { justify-content: center; gap: 1rem; }
  .stat-divider { display: none; }
  .stats-bar__inner { gap: 1.5rem; }

  .products__grid { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .about__features { grid-template-columns: 1fr; }
  .hero__subtitle br { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .footer__links { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 1.5rem; }
}

/* ═════════ OVERRIDE GLOBAL (SPR JUNCO GREEN THEME) ═════════ */

body {
  background: var(--green-100);
  color: var(--text-700);
}

/* HERO */
.hero {
  background: var(--green-900);
}

.hero__subtitle {
  color: var(--green-200);
}

/* NAVBAR SCROLL */
.navbar.scrolled {
  background: var(--green-900);
}

/* STATS */
.stats-bar {
  background: var(--green-800);
}

/* ABOUT */
.about {
  background: var(--white);
}

/* PRODUCTS */
.products {
  background: var(--green-900);
}

/* CARDS */
.product-card {
  background: var(--white);
}

/* CONTACT */
.contact {
  background: var(--green-900);
}

.contact__form-wrap {
  background: var(--white);
}

/* FOOTER */
.footer {
  background: #0f1f17;
}

/* BUTTONS FIX */
.btn--primary {
  background: var(--green-800);
  border-color: var(--green-800);
}

.btn--primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
}

/* TEXT FIX */
.section-title {
  color: var(--text-900);
}

.section-title em {
  color: var(--green-700);
}

/* LINKS */
.nav-link {
  color: rgba(255,255,255,.8);
}

.nav-link:hover {
  color: var(--white);
}



/* ═════════ LEGIBILIDAD GLOBAL SPR JUNCO ═════════ */

/* ── TEXTOS EN FONDOS OSCUROS (HERO, PRODUCTS, CONTACT, FOOTER) ── */
.hero__title,
.hero__subtitle,
.products__intro,
.contact__intro,
.footer__brand p,
.product-card__content p,
.advantages__intro {
  color: var(--text-on-dark);
}

/* secundarios en oscuro */
.hero__eyebrow,
.stat-label,
.section-tag--light {
  color: var(--text-muted-dark);
}

/* ── TEXTO PRINCIPAL EN FONDOS CLAROS (ABOUT, FEATURES) ── */
.about,
.about__body p,
.feature,
.advantage-body p {
  color: var(--text-on-light);
}

/* títulos en claro */
.section-title {
  color: var(--text-on-light);
}

/* ── NAVBAR ── */
.nav-link {
  color: rgba(247,243,231,0.85);
}

.nav-link:hover {
  color: #ffffff;
}

/* CTA NAV */
.navbar__cta {
  color: var(--text-on-dark);
}

/* ── CONTACT LINKS ── */
.contact-item span,
.contact-item a {
  color: var(--text-on-dark);
}

.contact-item a:hover {
  color: #ffffff;
}

/* ── FOOTER ── */
.footer-col a {
  color: var(--text-muted-dark);
}

.footer-col a:hover {
  color: var(--text-on-dark);
}

/* ── FORMULARIO ── */
.form-group label {
  color: var(--text-on-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  color: var(--text-on-dark);
}

::placeholder {
  color: rgba(233,225,207,0.6);
}

/* ── STATS ── */
.stat-num {
  color: #ffffff;
}

.stat-label {
  color: var(--text-muted-dark);
}

.logo-img {
  width: 120px;
  height: auto;
  vertical-align: middle;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about__img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}
.about__img-placeholder {
  position: relative;
  text-align: center;
}
.about__img-placeholder span {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  color: #fff;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 0;
}
/* Imagen real en about */
.about__img-frame {
  height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
}

.about__img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.about__visual {
  display: block !important;
}
/* Textos dorados → verde corporativo en product cards */
.product-card__content p {
  color: var(--text-muted-light);
}

.product-tag {
  color: var(--green-700);
  border-color: var(--green-700);
}

.product-card__icon {
  color: var(--green-700);
  border-color: rgba(79, 148, 111, 0.3);
}

.product-card__cta-content p {
  color: var(--text-muted-light);
}

/* Labels del formulario en verde */
.form-group label {
  color: var(--green-800);
}

/* Texto escrito y placeholders */
.form-group input,
.form-group textarea,
.form-group select {
  color: var(--text-900);
  background: #f9fafb;
  border-color: rgba(63, 122, 92, 0.25);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(79, 148, 111, 0.15);
}

.advantages__intro {
  color: var(--text-700);
}

#rejilla1 {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;    /* Centra verticalmente */
 
}

#medula1 {
  border-radius: 10px
}

#medula2 {
  border-radius: 10px
}

#juncohilo1 {
  border-radius: 10px
}

#tiretapelada1 {
  border-radius: 10px
}