/* ============================================
   HAIKO · KIT CONSULTING — styles.css
   Paleta corporativa: fondo #1a1a1a, verde #8FD400
   ============================================ */

:root {
  --bg:           #1a1a1a;
  --bg-elev:      #222222;
  --bg-elev-2:    #2a2a2a;
  --bg-deep:      #121212;
  --green:        #8FD400;
  --green-dim:    #7ab800;
  --text:         #f4f4f1;
  --text-soft:    rgba(244, 244, 241, 0.66);
  --text-faint:   rgba(244, 244, 241, 0.42);
  --line:         rgba(244, 244, 241, 0.10);
  --line-strong:  rgba(244, 244, 241, 0.20);
  --radius:       14px;
  --radius-sm:    9px;
  --maxw:         1140px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--green); color: var(--bg); }

/* ---------- Layout helpers ---------- */
section { padding: 96px 24px; }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-soft); font-size: 16px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--green); color: var(--bg); }
.btn--primary:hover { background: #9ee300; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
  margin-bottom: 26px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.nav__logo-img { height: 68px; width: auto; display: block; }
.nav__logo-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-soft);
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { text-decoration: none; font-size: 14px; color: var(--text-soft); transition: color 0.16s ease; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text) !important;
}
.nav__cta:hover { border-color: var(--green); color: var(--green) !important; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 110px 24px 90px; overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(143, 212, 0, 0.16), transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero__title em { color: var(--green); font-style: italic; }
.hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto 28px;
}
.hero__lead strong { color: var(--text); font-weight: 600; }

.hero__notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 16px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
}
.hero__notice-icon { color: var(--green); font-size: 10px; line-height: 1.9; flex-shrink: 0; }
.hero__notice p { font-size: 14px; color: var(--text-soft); }
.hero__notice strong { color: var(--text); }

.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FRANJA IMPORTES ---------- */
.amounts { background: var(--bg-deep); padding: 56px 24px 44px; }
.amounts__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.amount { background: var(--bg-deep); padding: 30px 28px; text-align: center; }
.amount__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 42px);
  color: var(--green);
  letter-spacing: -0.01em;
}
.amount__label { display: block; font-size: 14px; color: var(--text-soft); margin-top: 6px; }
.amounts__foot {
  max-width: 640px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- SERVICIOS ---------- */
.services__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(143, 212, 0, 0.12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 23px;
  margin-bottom: 12px;
}
.service-card p { color: var(--text-soft); font-size: 15px; margin-bottom: 18px; }
.service-card__list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.service-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-soft);
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 2px;
}
.services__note {
  max-width: 620px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-faint);
  font-style: italic;
}

/* ---------- CATEGORÍAS ---------- */
.categories { background: var(--bg-deep); }
.categories__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.cat-card--featured { border-left: 3px solid var(--green); }
.cat-card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}
.cat-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  margin: 8px 0 8px;
  line-height: 1.3;
}
.cat-card p { font-size: 13.5px; color: var(--text-soft); }
.cat-card__tag {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  background: rgba(143, 212, 0, 0.12);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
}

/* ---------- PROCESO ---------- */
.process__steps {
  max-width: var(--maxw);
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin-bottom: 8px;
}
.step p { font-size: 14px; color: var(--text-soft); }

/* ---------- CONTACTO ---------- */
.contact { background: var(--bg-deep); }
.contact__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact__intro { position: sticky; top: 100px; }
.contact__intro h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 14px;
}
.contact__intro > p { color: var(--text-soft); font-size: 15px; margin-bottom: 24px; }
.contact__intro a { color: var(--green); }
.contact__points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact__points li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text-soft);
}
.contact__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

/* ---------- FORMULARIO ---------- */
.form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 7px; }
.form__field label { font-size: 13px; font-weight: 500; color: var(--text-soft); }
.form__field input,
.form__field select,
.form__field textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.16s ease;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field select { cursor: pointer; }

/* Honeypot — invisible para humanos */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-soft);
  cursor: pointer;
}
.form__check input { margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.form__check a { color: var(--green); }

.form__status { font-size: 14px; text-align: center; min-height: 20px; }
.form__status.is-ok { color: var(--green); }
.form__status.is-error { color: #ff6b6b; }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 24px 32px; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer__logo-img { height: 50px; width: auto; display: block; border-radius: 4px; }
.footer__brand p { font-size: 13px; color: var(--text-faint); margin-top: 12px; line-height: 1.7; }
.footer__legal { display: flex; flex-direction: column; gap: 8px; }
.footer__legal a { font-size: 13px; color: var(--text-soft); text-decoration: none; }
.footer__legal a:hover { color: var(--green); }
.footer__institutional {
  max-width: var(--maxw);
  margin: 28px auto 0;
  text-align: center;
}
.footer__institutional-img {
  width: 100%;
  max-width: 880px;
  height: auto;
  margin: 0 auto 14px;
  border-radius: 6px;
}
.footer__institutional p { font-size: 12px; color: var(--text-faint); line-height: 1.7; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  section { padding: 72px 20px; }
  .nav__links { gap: 16px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .amounts__inner { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .contact__intro { position: static; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 24px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding: 70px 20px 60px; }
  .process__steps { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
