/* ========================================
   FONTS
   ========================================
   Neue Haas Grotesk Display via font-face.
   Si no tienes los archivos de fuente, el sitio
   usa el fallback del sistema (Inter, Helvetica, sans-serif).
   Para activar: coloca los archivos .woff2 en assets/fonts/
   y descomenta los @font-face correspondientes.
*/

/*
@font-face {
  font-family: 'Neue Haas Grotesk';
  src: url('../fonts/NeueHaasGroteskDisp-55Roman.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Haas Grotesk';
  src: url('../fonts/NeueHaasGroteskDisp-65Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Haas Grotesk';
  src: url('../fonts/NeueHaasGroteskDisp-75Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

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

:root {
  --black: #0a0a0a;
  --white: #f5f5f5;
  --gray-100: #e0e0e0;
  --gray-300: #a0a0a0;
  --gray-500: #6b6b6b;
  --gray-700: #333333;
  --gray-900: #1a1a1a;
  --green: #a2df23;
  --green-dim: rgba(162, 223, 35, 0.15);
  --font: 'Neue Haas Grotesk', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max-width: 1100px;
  --section-padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 40px);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(200, 255, 120, 0.9), rgba(162, 223, 35, 0.6) 40%, rgba(162, 223, 35, 0.2) 70%, transparent 100%);
  box-shadow:
    0 0 10px rgba(162, 223, 35, 0.4),
    0 0 20px rgba(162, 223, 35, 0.15),
    inset 0 0 4px rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.cursor--hover {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle at 35% 35%, rgba(220, 255, 160, 0.95), rgba(162, 223, 35, 0.7) 40%, rgba(162, 223, 35, 0.3) 70%, transparent 100%);
  box-shadow:
    0 0 16px rgba(162, 223, 35, 0.5),
    0 0 30px rgba(162, 223, 35, 0.2),
    inset 0 0 6px rgba(255, 255, 255, 0.4);
}

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px clamp(20px, 5vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.nav__logo {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav__logo span {
  color: var(--green);
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 14px;
  color: var(--gray-300);
}

.nav__links a {
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__cta {
  font-size: 14px;
  padding: 8px 20px;
  border: 1px solid var(--green);
  color: var(--green);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav__cta:hover {
  background: var(--green);
  color: var(--black);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: var(--section-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero__name {
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero__statement {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--gray-100);
  max-width: 700px;
  line-height: 1.4;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero__statement strong {
  color: var(--green);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__photo {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  filter: grayscale(100%) contrast(1.05);
  position: relative;
  z-index: 1;
}

.hero__photo::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), transparent 60%);
  z-index: 0;
  opacity: 0.6;
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(162, 223, 35, 0.1);
  z-index: 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn--primary {
  background: var(--green);
  color: var(--black);
}

.btn--primary:hover {
  background: #b8f035;
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-700);
}

.btn--secondary:hover {
  border-color: var(--gray-500);
  transform: translateY(-1px);
}

/* ========================================
   SECTIONS (shared)
   ======================================== */
.section {
  padding: var(--section-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 16px;
  font-weight: 500;
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.section__text {
  color: var(--gray-300);
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
}

.divider {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.divider hr {
  border: none;
  border-top: 1px solid var(--gray-700);
}

/* ========================================
   PROBLEM
   ======================================== */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.problem__card {
  padding: 32px;
  background: var(--gray-900);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.problem__card-icon {
  font-size: 24px;
  margin-bottom: 16px;
  display: block;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dim);
  border-radius: 8px;
  color: var(--green);
}

.problem__card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--white);
}

.problem__card p {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ========================================
   ABOUT
   ======================================== */
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.about__bio {
  color: var(--gray-300);
  font-size: 17px;
  line-height: 1.75;
}

.about__bio p+p {
  margin-top: 20px;
}

.about__markers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.marker {
  padding: 24px;
  background: var(--gray-900);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.marker__value {
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}

.marker__label {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ========================================
   SERVICES
   ======================================== */
.services__featured {
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(135deg, var(--gray-900), rgba(162, 223, 35, 0.05));
  border: 1px solid rgba(162, 223, 35, 0.2);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.services__featured h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.services__featured p {
  color: var(--gray-300);
  font-size: 16px;
  max-width: 520px;
  line-height: 1.65;
}

.services__featured .price {
  font-size: 14px;
  color: var(--green);
  margin-top: 12px;
  font-weight: 500;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  padding: 28px;
  background: var(--gray-900);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.service-card:hover {
  border-color: rgba(162, 223, 35, 0.3);
}

.service-card h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========================================
   RESULTS
   ======================================== */
.results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.result {
  text-align: left;
}

.result__number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.02em;
}

.result__context {
  font-size: 15px;
  color: var(--gray-300);
  margin-top: 8px;
  line-height: 1.5;
}

.result__source {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ========================================
   CTA FINAL
   ======================================== */
.cta {
  text-align: center;
  padding: clamp(100px, 15vh, 160px) clamp(20px, 5vw, 40px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta__text {
  font-size: 18px;
  color: var(--gray-300);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 40px clamp(20px, 5vw, 40px);
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--gray-700);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 13px;
  color: var(--gray-500);
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 13px;
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--green);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Mobile menu */
  .nav.menu-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px clamp(20px, 5vw, 40px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 20px;
  }

  .nav.menu-open .nav__cta {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 140px);
    left: clamp(20px, 5vw, 40px);
  }

  .nav.menu-open .nav__hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav.menu-open .nav__hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav.menu-open .nav__hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__content {
    order: 2;
    align-items: center;
  }

  .hero__photo {
    order: 1;
    width: 200px;
    height: 200px;
    justify-self: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__featured {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .services__featured .btn {
    justify-self: start;
  }
}