:root {
  --bg: #051610;
  --bg-2: #071c03;
  --bg-3: #0c2814;
  --gold: #d4af37;
  --gold-2: #ffde45;
  --gold-3: #996515;
  --gold-soft: rgba(212, 175, 55, 0.14);
  --text: #f5f1e6;
  --muted: rgba(245, 241, 230, 0.72);
  --white: #fff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --gold-glow: 0 14px 40px rgba(212, 175, 55, 0.22);
  --radius: 1.2rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.boot-msg { text-align: center; padding: 4rem; color: var(--gold); }
.container { width: min(1140px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 5.5rem 0; position: relative; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  font-weight: 700; color: var(--gold); margin: 0 0 0.85rem;
}
.section-title {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.15; margin: 0 0 1rem; color: var(--white);
}
.text-accent, .section-title span {
  background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-text { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: 999px; padding: 0.9rem 1.35rem; font-weight: 700;
  border: 1px solid transparent; transition: 0.25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold), var(--gold-3));
  color: #051610; box-shadow: var(--gold-glow);
}
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--ghost { border-color: rgba(212,175,55,0.45); color: var(--gold-2); }
.btn--ghost:hover { background: var(--gold-soft); }
.btn--full { width: 100%; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 22, 16, 0.78);
  border-bottom: 1px solid rgba(212,175,55,0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 22, 16, 0.94);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.nav__brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; }
.nav__logo { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(212,175,55,0.35); }
.nav__name { font-family: Cinzel, Georgia, serif; font-size: 0.92rem; line-height: 1.15; }
.nav__name small { display: block; color: var(--gold); font-size: 0.68rem; letter-spacing: 0.12em; }
.nav__links { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__links a { color: var(--muted); font-weight: 600; font-size: 0.92rem; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-2); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta {
  background: linear-gradient(135deg, var(--gold-2), var(--gold)) !important;
  color: #051610 !important; padding: 0.55rem 1rem; border-radius: 999px;
}
.nav__cta::after { display: none !important; }
.nav__toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.nav__toggle span { display: block; height: 2px; background: var(--gold); margin: 6px 8px; }

.hero {
  position: relative; min-height: 100vh; display: grid; align-items: end;
  padding: 8.5rem 0 4.5rem; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; will-change: transform; }
.hero__bg-img, .hero__bg-video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,22,16,0.35), rgba(5,22,16,0.92)),
    linear-gradient(90deg, rgba(5,22,16,0.8), transparent 60%);
}
.hero__content { position: relative; z-index: 1; max-width: 780px; will-change: transform, opacity; }
.hero__title {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.08; margin: 0 0 1rem;
}
.hero__lead { color: var(--muted); font-size: 1.1rem; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.stats { margin-top: -2.4rem; position: relative; z-index: 2; padding: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card, .service-card, .ally-card, .progress-item, .revista__card, .contact__form, .contact__info, .map-wrap {
  background: linear-gradient(180deg, rgba(12,40,20,0.95), rgba(7,28,3,0.95));
  border: 1px solid rgba(212,175,55,0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.stat-card { padding: 1.35rem; border-top: 3px solid var(--gold); }
.stat-card:hover, .service-card:hover, .ally-card:hover, .progress-item:hover {
  transform: translateY(-8px); box-shadow: var(--gold-glow); border-color: rgba(212,175,55,0.4);
}
.stat-card__value, .stat-card__suffix {
  font-family: Cinzel, Georgia, serif; font-size: 2rem; color: var(--gold-2); font-weight: 700;
}
.stat-card__label { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }

.objetivo__grid, .revista__grid, .experience__grid, .contact__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.4rem; align-items: center;
}
.media-card { border-radius: 1.4rem; overflow: hidden; border: 1px solid rgba(212,175,55,0.2); box-shadow: var(--shadow); }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.objetivo__list { padding-left: 1.1rem; color: var(--muted); }
.objetivo__list li { margin: 0.4rem 0; }

.servicios { background: radial-gradient(circle at top right, rgba(212,175,55,0.08), transparent 40%), var(--bg-2); }
.servicios__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.service-card { padding: 1.4rem; min-height: 180px; }
.service-card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-2); font-weight: 800; margin-bottom: 0.9rem;
  border: 1px solid rgba(212,175,55,0.25);
}
.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #051610;
}
.service-card h3 { margin: 0 0 0.5rem; color: var(--white); font-size: 1.08rem; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.progress-list { display: grid; gap: 1rem; }
.progress-item { padding: 1rem 1.1rem; }
.progress-item__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.55rem; font-weight: 700; }
.progress-item__head strong { color: var(--gold-2); }
.progress-item__bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress-item__bar span {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2));
  box-shadow: 0 0 16px rgba(212,175,55,0.45);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.revista { background: linear-gradient(160deg, #071c03, #0c2814 50%, #1a1405); }
.revista__card { padding: 1.6rem; }
.revista__card h3 { font-family: Cinzel, Georgia, serif; font-size: 1.5rem; margin: 0.3rem 0; color: var(--gold-2); }
.revista__points { padding-left: 1.1rem; color: var(--muted); }
.revista__media img { width: 100%; border-radius: 1rem; object-fit: cover; }

.aliados__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.ally-card { overflow: hidden; }
.ally-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ally-card__body { padding: 1.15rem; }
.ally-card h3 { margin: 0 0 0.45rem; color: var(--gold-2); font-family: Cinzel, Georgia, serif; font-size: 1.1rem; }
.ally-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.cta-band { padding: 0 0 5rem; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  background: linear-gradient(120deg, #071c03, #1a1405 50%, #5b430b);
  border: 1px solid rgba(212,175,55,0.28); border-radius: 1.4rem; padding: 1.6rem 1.8rem;
}
.cta-band__inner h2 { margin: 0 0 0.3rem; font-family: Cinzel, Georgia, serif; }
.cta-band__inner p { margin: 0; color: var(--muted); }

.contact__form, .contact__info, .map-wrap { padding: 1.2rem; }
.contact__info { list-style: none; margin: 1rem 0 0; }
.contact__info li { padding: 0.45rem 0; border-bottom: 1px solid rgba(212,175,55,0.12); }
.contact__form label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.85rem; }
.contact__form input, .contact__form select, .contact__form textarea {
  width: 100%; margin-top: 0.35rem; border: 1px solid rgba(212,175,55,0.22);
  border-radius: 0.8rem; padding: 0.75rem 0.85rem; font: inherit;
  background: rgba(5,22,16,0.65); color: var(--text);
}
.map-wrap iframe { width: 100%; height: 280px; border: 0; border-radius: 0.9rem; filter: grayscale(0.2) contrast(1.05); }

.footer { background: #030d09; border-top: 1px solid rgba(212,175,55,0.14); padding: 2rem 0; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.footer__brand { display: flex; gap: 0.8rem; align-items: center; }
.footer__logo { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }

.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; box-shadow: 0 12px 30px rgba(18,140,126,0.4);
  animation: waPulse 2.2s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
@keyframes waPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 30px rgba(18,140,126,0.4); }
  50% { transform: scale(1.06); box-shadow: 0 16px 40px rgba(18,140,126,0.55); }
}

.reveal { opacity: 0; transform: translateY(28px); filter: blur(4px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1), filter 0.75s ease; }
.reveal-up { transform: translateY(36px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: translateY(18px) scale(0.94); }
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }
.scroll-parallax { transform: translate3d(0, var(--scroll-shift, 0px), 0); transition: transform 0.12s linear; }
.title-draw.visible::after {
  content: ""; display: block; width: min(120px, 40%); height: 3px; margin-top: 0.75rem;
  border-radius: 999px; background: linear-gradient(90deg, var(--gold-2), transparent);
  animation: drawLine 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes drawLine { from { width: 0; opacity: 0; } to { width: min(120px, 40%); opacity: 1; } }

@media (max-width: 980px) {
  .stats__grid, .servicios__grid, .aliados__grid { grid-template-columns: 1fr 1fr; }
  .objetivo__grid, .revista__grid, .experience__grid, .contact__grid { grid-template-columns: 1fr; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: #071c03; flex-direction: column; padding: 1rem;
    border-bottom: 1px solid rgba(212,175,55,0.15);
  }
  .nav__links.open { display: flex; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .stats__grid, .servicios__grid, .aliados__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .scroll-parallax, .hero__bg, .hero__content, .wa-float { animation: none !important; transition: none !important; transform: none !important; filter: none !important; opacity: 1 !important; }
}


/* ═══ GREEN GRADIENTS + REVISTA PAGES + CEO ═══ */
.revista-pages {
  background:
    radial-gradient(circle at 10% 20%, rgba(46, 125, 50, 0.28), transparent 42%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.12), transparent 40%),
    linear-gradient(165deg, #03140c 0%, #0a2f18 42%, #051610 100%);
}
.revista-pages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.revista-page {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.2);
  background: rgba(0,0,0,0.25);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.revista-page:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--gold-glow);
  border-color: rgba(212,175,55,0.45);
}
.revista-page img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}
.revista-page figcaption {
  padding: 0.75rem 0.9rem;
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.88rem;
  border-top: 1px solid rgba(212,175,55,0.15);
}

.ceo-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(2, 28, 14, 0.96), rgba(8, 42, 22, 0.92) 45%, rgba(18, 48, 20, 0.9)),
    linear-gradient(180deg, #02150c, #0b2a16);
}
.ceo-section__glow {
  position: absolute;
  inset: -20% auto auto 40%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(46, 160, 80, 0.28), transparent 68%);
  pointer-events: none;
}
.ceo-section__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.2rem;
  align-items: start;
}
.ceo-section__media {
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.28);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(46,125,50,0.18);
}
.ceo-section__media img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.ceo-section__role {
  color: var(--gold-2);
  font-weight: 700;
  margin: 0.2rem 0 0.8rem;
}
.ceo-section__headline {
  font-family: Cinzel, Georgia, serif;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: 0 0 1rem;
}
.ceo-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.2rem;
}
.ceo-highlight {
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  background: linear-gradient(160deg, rgba(18,70,36,0.75), rgba(5,22,16,0.9));
  border: 1px solid rgba(212,175,55,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ceo-highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--gold-glow);
  border-color: rgba(212,175,55,0.4);
}
.ceo-highlight h4 {
  margin: 0 0 0.35rem;
  color: var(--gold-2);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ceo-highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

#objetivo {
  background:
    linear-gradient(135deg, rgba(4, 40, 18, 0.95) 0%, rgba(8, 55, 28, 0.75) 40%, rgba(5, 22, 16, 0.98) 100%);
}

.servicios {
  background:
    radial-gradient(circle at top right, rgba(46, 125, 50, 0.22), transparent 42%),
    radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.08), transparent 40%),
    linear-gradient(165deg, #03140c, #0a2f18 50%, #051610);
}

@media (max-width: 980px) {
  .revista-pages__grid { grid-template-columns: 1fr 1fr; }
  .ceo-section__grid, .ceo-highlights { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .revista-pages__grid { grid-template-columns: 1fr; }
}


/* ═══ LINKEDIN + TESTIMONIALS ═══ */
.ceo-social { margin-top: 1.25rem; }
.btn--linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #0a66c2, #004182);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 28px rgba(10, 102, 194, 0.28);
}
.btn--linkedin:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.btn--linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonials {
  background:
    radial-gradient(circle at 15% 20%, rgba(46, 125, 50, 0.22), transparent 42%),
    radial-gradient(circle at 85% 70%, rgba(212, 175, 55, 0.1), transparent 40%),
    linear-gradient(165deg, #03140c 0%, #0a2f18 45%, #051610 100%);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: linear-gradient(180deg, rgba(12,40,20,0.95), rgba(7,28,3,0.95));
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--gold-glow);
  border-color: rgba(212,175,55,0.4);
}
.testimonial-card__media {
  background: #000;
  aspect-ratio: 16/10;
}
.testimonial-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.testimonial-card h3 {
  margin: 0;
  padding: 0.95rem 1rem;
  color: var(--gold-2);
  font-size: 0.98rem;
  font-family: Cinzel, Georgia, serif;
}

@media (max-width: 980px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}


.footer__social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff !important;
  background: #0a66c2;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
}
.footer__linkedin svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.footer__linkedin:hover { filter: brightness(1.1); }
.ceo-social { display: block !important; opacity: 1 !important; transform: none !important; filter: none !important; }
.btn--linkedin {
  min-height: 46px;
  padding: 0.8rem 1.2rem !important;
  font-size: 0.95rem;
}
