/* ===== Andres Godinez — Landing · estilos ===== */
:root {
  --bg: #0a0805;
  --ink: #ECECF1;
  --accent: #F2A33C;
  --accent-soft: #f7c382;
  --accent-deep: #a6691b;
  --ink-dark: #1a1206;
  --card: rgba(20, 15, 8, 0.4);
  --line: rgba(255, 255, 255, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

::selection { background: rgba(242, 163, 60, 0.32); color: #fff; }

h1, h2, h3 { font-family: 'Sora', system-ui, sans-serif; letter-spacing: -0.02em; }

img { max-width: 100%; }

.accent { color: var(--accent); }
.accent-soft { color: var(--accent-soft); }

/* ===== Fondos ambientales ===== */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: drift 14s linear infinite;
}
.bg-glow {
  position: fixed; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(242,163,60,0.18), transparent 65%);
  filter: blur(20px);
}

@keyframes drift { 0% { background-position: 0 0; } 100% { background-position: 60px 60px; } }
@keyframes pulseGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes slideSwap { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 8, 5, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(236, 236, 241, 0.62); text-decoration: none; font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); }

/* ===== Botones ===== */
.btn-primary {
  background: var(--accent); color: var(--ink-dark); text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 9px;
  box-shadow: 0 0 20px rgba(242, 163, 60, 0.4); border: none; cursor: pointer;
  font-family: 'Manrope', sans-serif; transition: background .2s ease;
}
.btn-primary:hover { background: #ffb454; }
.btn-secondary {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 11px;
  transition: border-color .2s ease;
}
.btn-secondary:hover { border-color: rgba(242, 163, 60, 0.4); }
.btn-lg { font-size: 16px; padding: 15px 30px; border-radius: 11px; box-shadow: 0 0 30px rgba(242,163,60,0.45); }
.btn-block { width: 100%; padding: 15px; font-size: 16px; border-radius: 11px; box-shadow: 0 0 30px rgba(242,163,60,0.4); }

/* ===== Layout general ===== */
main { position: relative; z-index: 1; }
.section { max-width: var(--max); margin: 0 auto; padding: 70px 28px; }
.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.18em;
  color: var(--accent-soft); margin-bottom: 14px;
}
h2 { font-weight: 700; font-size: clamp(30px, 4vw, 46px); margin: 0 0 14px; }
.lead { font-size: 17px; color: rgba(236, 236, 241, 0.55); max-width: 560px; margin: 0 auto; }

/* ===== Hero ===== */
.hero { max-width: 1000px; margin: 0 auto; padding: 110px 28px 90px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 100px;
  border: 1px solid rgba(242, 163, 60, 0.32); background: rgba(242, 163, 60, 0.07);
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.14em;
  color: var(--accent-soft); margin-bottom: 30px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent); animation: pulseGlow 2s ease-in-out infinite; flex: none;
}
.hero h1 { font-weight: 700; font-size: clamp(40px, 6.5vw, 78px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 26px; }
.hero h1 .accent { text-shadow: 0 0 32px rgba(242, 163, 60, 0.6); }
.hero-sub { font-size: 19px; line-height: 1.6; color: rgba(236, 236, 241, 0.62); max-width: 620px; margin: 0 auto 40px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 64px; }
.stat-num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 34px; color: #fff; }
.stat-label { font-size: 13px; color: rgba(236, 236, 241, 0.5); font-family: 'IBM Plex Mono', monospace; }
.stat-divider { width: 1px; background: rgba(255, 255, 255, 0.1); }

/* ===== Slider Sobre mí ===== */
.slider-controls { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-bottom: 24px; }
.dots { display: flex; align-items: center; gap: 9px; margin-right: 4px; }
.dot {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
  background: rgba(236, 236, 241, 0.28); cursor: pointer; transition: all .25s ease;
}
.dot.is-active { width: 24px; border-radius: 100px; background: var(--accent); box-shadow: 0 0 10px rgba(242, 163, 60, 0.5); }
.arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(242, 163, 60, 0.4); background: rgba(20, 15, 8, 0.6);
  color: var(--accent-soft); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s ease;
}
.arrow:hover { background: var(--accent); color: var(--ink-dark); }
.arrow-primary {
  border-color: rgba(242, 163, 60, 0.5); background: var(--accent); color: var(--ink-dark);
  box-shadow: 0 0 18px rgba(242, 163, 60, 0.45);
}
.arrow-primary:hover { background: #ffb454; }

.slide { display: none; }
.slide.is-active { display: block; animation: slideSwap .5s cubic-bezier(.2,.7,.2,1) both; }

.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.photo-wrap { position: relative; }
.photo-glow {
  position: absolute; inset: -20px; pointer-events: none; filter: blur(16px);
  background: radial-gradient(circle at 50% 45%, rgba(242, 163, 60, 0.35), transparent 68%);
}
.photo {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 22px; border: 1px solid rgba(242, 163, 60, 0.35);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 50px rgba(242, 163, 60, 0.18); display: block;
}
.badge-available {
  position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 100px; background: rgba(10, 8, 5, 0.78); backdrop-filter: blur(10px);
  border: 1px solid rgba(242, 163, 60, 0.35); font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent-soft);
}
.about-grid h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 20px; }
.about-p { font-size: 17.5px; line-height: 1.7; color: rgba(236, 236, 241, 0.7); margin: 0 0 22px; max-width: 540px; }
.about-p:last-of-type { margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.chip {
  display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(242, 163, 60, 0.06);
  font-size: 14px; color: rgba(236, 236, 241, 0.85);
}
.link-accent { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: none; font-weight: 600; font-size: 16px; }
.link-accent:hover { color: var(--accent-soft); }

/* Slide 2 · baraja */
.divulg-head { text-align: center; margin-bottom: 14px; }
.divulg-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 10px; }
.deck { display: flex; justify-content: center; align-items: flex-end; min-height: 330px; padding: 18px 0 6px; }
.deck-card {
  position: relative; flex: 0 0 auto; width: 200px; aspect-ratio: 359 / 476;
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(242, 163, 60, 0.3);
  box-shadow: 0 16px 44px rgba(0,0,0,0.55); transform-origin: bottom center;
  transform: rotate(var(--rot)); transition: transform .35s ease, box-shadow .35s ease;
}
.deck-card:not(:first-child) { margin-left: -64px; }
.deck-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.deck-card:hover { transform: translateY(-24px) rotate(0deg) scale(1.06); z-index: 20 !important; box-shadow: 0 30px 66px rgba(0,0,0,0.65); }

/* ===== Servicios ===== */
.services { display: flex; flex-direction: column; gap: 18px; }
.service-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; padding: 34px;
  border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(242, 163, 60, 0.08), rgba(20, 15, 8, 0.3));
  transition: border-color .2s ease;
}
.service-row:hover { border-color: rgba(242, 163, 60, 0.4); }
.service-lead { display: flex; align-items: center; gap: 18px; }
.service-num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 56px; color: rgba(242, 163, 60, 0.55); line-height: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: 15px; background: rgba(242, 163, 60, 0.13);
  border: 1px solid rgba(242, 163, 60, 0.3); display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.service-row h3 { font-weight: 600; font-size: 24px; margin: 0 0 8px; }
.service-row p { font-size: 15.5px; line-height: 1.6; color: rgba(236, 236, 241, 0.6); margin: 0; }

/* ===== Casos de éxito · marquee ===== */
.marquee-mask {
  position: relative; width: 100vw; left: 50%; transform: translateX(-50%); overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.marquee-track { display: flex; gap: 22px; width: max-content; padding: 6px 11px; animation: marquee 38s linear infinite; }
.marquee-mask:hover .marquee-track { animation-play-state: paused; }
.testi-card {
  flex: 0 0 360px; padding: 32px 28px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--card);
}
.testi-stat { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 40px; color: var(--accent); text-shadow: 0 0 24px rgba(242, 163, 60, 0.4); margin-bottom: 16px; }
.testi-card p { font-size: 15.5px; line-height: 1.65; color: rgba(236, 236, 241, 0.78); margin: 0 0 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 600; color: var(--ink-dark);
}
.testi-name { font-size: 14px; font-weight: 600; }
.testi-role { font-size: 12.5px; color: rgba(236, 236, 241, 0.5); }

/* ===== CTA + contacto ===== */
.cta-box {
  position: relative; border-radius: 24px; border: 1px solid rgba(242, 163, 60, 0.24);
  background: linear-gradient(160deg, rgba(242, 163, 60, 0.12), rgba(20, 15, 8, 0.5));
  padding: 56px clamp(28px, 5vw, 70px); overflow: hidden;
}
.cta-glow {
  position: absolute; top: -120px; right: -80px; width: 360px; height: 360px; pointer-events: none;
  background: radial-gradient(circle, rgba(242, 163, 60, 0.24), transparent 65%); filter: blur(20px);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; }
.cta-grid h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; margin: 0 0 18px; }
.cta-grid .lead { margin: 0 0 26px; text-align: left; }
.cta-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cta-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(236, 236, 241, 0.8); }

.contact-form { display: flex; flex-direction: column; gap: 14px; background: rgba(10, 8, 5, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 26px; }
.contact-form input, .contact-form textarea {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px;
  padding: 13px 15px; color: var(--ink); font-size: 15px; font-family: 'Manrope', sans-serif;
}
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(236, 236, 241, 0.32); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 163, 60, 0.18); }
.form-success { border-radius: 16px; border: 1px solid rgba(40, 200, 64, 0.4); background: rgba(40, 200, 64, 0.08); padding: 40px 28px; text-align: center; }
.form-success-check { font-size: 40px; margin-bottom: 14px; }
.form-success h3 { font-weight: 600; font-size: 22px; margin: 0 0 8px; }
.form-success p { font-size: 15px; color: rgba(236, 236, 241, 0.65); margin: 0; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 36px 28px; position: relative; z-index: 1; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { height: 28px; width: auto; display: block; opacity: 0.92; }
.footer-meta { font-size: 13px; color: rgba(236, 236, 241, 0.4); font-family: 'IBM Plex Mono', monospace; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn-primary) { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .photo { max-width: 320px; margin: 0 auto; }
  .service-row { grid-template-columns: 1fr; gap: 18px; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .deck-card { width: 150px; }
  .deck-card:not(:first-child) { margin-left: -48px; }
}
