/* Reset y base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0A0A0A;
  --bg2:       #111111;
  --card:      #161616;
  --border:    rgba(255,255,255,0.07);
  --accent:    #C8FF00;
  --text:      #EFEFEF;
  --muted:     #888888;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* dot grid en hero - canvas interactivo */
.hero::after { display: none; }
.page-hero::after { display: none; }

/* scanline - sutil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.012) 2px,
    rgba(255,255,255,0.012) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* nav */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 32px; width: 32px;
  object-fit: contain;
  border-radius: 50%;
  margin-right: 0.5rem;
}
.nav-logo span { color: var(--accent); margin-left: -1px; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
}
.nav-links a:hover { color: var(--accent); transform: translateY(-2px); }
.nav-links a.active { color: var(--accent); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* overlay móvil */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: color 0.25s;
}
.nav-overlay a:hover,
.nav-overlay a.active { color: var(--accent); }
.nav-overlay a:hover {
  animation: navBounce 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

/* hero (index.html) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 4rem 5rem;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.96;
  letter-spacing: -2px;
  font-weight: 800;
  color: var(--text);
  animation: fadeUp 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero h1 .accent  { color: var(--accent); }
.hero h1 .accent2 { color: var(--accent); }

.hero-sub {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.75;
  max-width: 440px;
  animation: fadeUp 0.8s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.8rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* page hero (servicios.html) */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 10rem 4rem 6rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.page-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 0.97;
  color: var(--text);
  margin-bottom: 1.8rem;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.page-hero p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
}
.page-hero p strong { color: var(--text); font-weight: 600; }

/* botones */
.btn-primary {
  padding: 0.82rem 1.9rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.83rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,255,0,0.25); }

.btn-ghost {
  padding: 0.82rem 1.9rem;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.83rem;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Social floating bar */
.hero-socials {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 2;
  animation: fadeUp 0.8s 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.social-dot {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--card);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 1.3rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.social-dot:hover {
  border-color: rgba(200,255,0,0.45);
  color: var(--accent);
  background: rgba(200,255,0,0.06);
  box-shadow: 0 0 14px rgba(200,255,0,0.12);
  transform: translateY(-3px);
}

/* section base */
section { position: relative; padding: 6rem 4rem; z-index: 1; }
.section-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}
.section-label span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: var(--border);
  max-width: 50px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -1.5px;
  line-height: 1.02;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3rem;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}
.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* about */
#about { background: var(--card); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.about-avatar-wrap { position: relative; }
.about-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-avatar-deco {
  position: absolute;
  bottom: -14px; right: -14px;
  width: 52px; height: 52px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(200,255,0,0.35);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 2rem;
}
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 6px;
  padding: 1.1rem;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -1px;
}
.stat-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); margin-top: 0.2rem; }

.about-text p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}
.about-text p strong { color: var(--text); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.tag {
  padding: 0.28rem 0.75rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 400;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.tag:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,255,0,0.04); }

/* youtube */
#youtube { background: var(--bg2); }
.yt-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem auto 0;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.yt-toggle-btn:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,255,0,0.25); }
.yt-toggle-btn .yt-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.yt-toggle-btn.open .yt-arrow { transform: rotate(180deg); }
.yt-collapsible {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}
.yt-collapsible.open {
  max-height: 2000px;
  opacity: 1;
}
.yt-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.yt-channel-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.yt-channel-badge:hover { border-color: rgba(200,255,0,0.35); color: var(--text); box-shadow: 0 4px 16px rgba(200,255,0,0.08); transform: translateY(-2px); }
.yt-icon { width: 18px; height: 18px; fill: #ff0000; }

.yt-featured {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.yt-featured-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg2);
  overflow: hidden;
}
.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  transition: background 0.2s;
}
.yt-play-btn:hover { background: rgba(0,0,0,0.3); }
.yt-play-circle {
  width: 56px; height: 56px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.yt-play-btn:hover .yt-play-circle { transform: scale(1.08); }

.yt-featured-info { padding: 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.yt-featured-info .badge {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  background: rgba(200,255,0,0.08);
  border: 1px solid rgba(200,255,0,0.25);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: 1rem;
  width: fit-content;
}
.yt-featured-info h3 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}
.yt-featured-info p { color: var(--muted); font-size: 0.87rem; line-height: 1.7; }

.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.yt-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: block;
}
.yt-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.3); border-color: rgba(200,255,0,0.2); transform: translateY(-4px); }
.yt-thumb {
  aspect-ratio: 16/9;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-card-body { padding: 1rem 1.1rem; }
.yt-card-title { font-size: 0.85rem; font-weight: 500; line-height: 1.5; margin-bottom: 0.4rem; color: var(--text); }
.yt-card-meta { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); }

/* products */
.products-intro {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  margin-top: -1.5rem;
  font-size: 0.95rem;
}
.products-intro a { color: var(--accent); text-decoration: none; }

.btn-toggle-products {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  background: var(--accent);
  border: none;
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-bottom: 2.5rem;
}
.btn-toggle-products:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,255,0,0.25); }
.btn-toggle-products .toggle-icon {
  display: inline-block;
  transition: transform 0.35s ease;
  font-style: normal;
  font-size: 0.68rem;
}
.btn-toggle-products.open .toggle-icon { transform: rotate(180deg); }

.products-collapse {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.55s ease, opacity 0.4s ease;
}
.products-collapse.open { max-height: 9000px; opacity: 1; }

.products-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.35rem 0.9rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: rgba(200,255,0,0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.4); border-color: rgba(200,255,0,0.2); transform: translateY(-4px); }
.product-img {
  aspect-ratio: 4/3;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: #16a34a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.product-badge.hot { background: var(--accent); color: var(--bg); }

.product-body { padding: 1.2rem; }
.product-cat { font-family: var(--font-mono); font-size: 0.62rem; color: var(--accent); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.4rem; }
.product-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; line-height: 1.4; color: var(--text); }
.product-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-head); font-size: 1.1rem; color: var(--text); font-weight: 700; }
.btn-affiliate {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  background: var(--accent);
  border: none;
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-affiliate:hover { opacity: 0.85; transform: translateY(-1px); }

/* social links */
#redes { background: var(--card); }
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; }
.social-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.6rem 1.4rem;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.social-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.35); transform: translateY(-4px); }

.social-card[data-net="youtube"]:hover  { border-color: rgba(255,0,0,0.4); }
.social-card[data-net="instagram"]:hover{ border-color: rgba(225,48,108,0.4); }
.social-card[data-net="facebook"]:hover { border-color: rgba(24,119,242,0.4); }
.social-card[data-net="reddit"]:hover   { border-color: rgba(255,69,0,0.4); }
.social-card[data-net="linkedin"]:hover { border-color: rgba(10,102,194,0.45); }

.social-icon { font-size: 1.8rem; }
.social-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.social-handle { font-size: 0.78rem; color: var(--muted); }
.social-arrow {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* contact */
#contacto { background: var(--bg2); text-align: center; }
.contact-inner { max-width: 560px; margin: 0 auto; }
.contact-inner .section-label { justify-content: center; }
.contact-inner .section-label::after { display: none; }
.contact-inner .section-title { margin-bottom: 1rem; }
.contact-sub { color: var(--muted); line-height: 1.8; margin-bottom: 3rem; font-size: 0.95rem; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 0.9rem 2rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.85rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  margin-bottom: 2rem;
}
.contact-email:hover { border-color: rgba(200,255,0,0.35); box-shadow: 0 6px 24px rgba(200,255,0,0.08); transform: translateY(-2px); }
.contact-also { color: var(--muted); font-size: 0.82rem; }
.contact-social-row {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.cs-btn {
  padding: 0.42rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 500;
  transition: all 0.2s;
}
.cs-btn:hover { border-color: rgba(200,255,0,0.3); color: var(--accent); transform: translateY(-2px); }

/* service cards (servicios.html) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  border-color: rgba(200,255,0,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon { font-size: 2rem; line-height: 1; }
.section-alt { background: var(--bg2); }
.service-img { height: 2rem; width: auto; display: block; }
.service-emoji { display: none; }
.service-emoji.fallback { display: inline; }
.service-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}
.service-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.service-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.2rem 0.6rem;
}
.btn-contact-service {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  width: fit-content;
}
.btn-contact-service:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,255,0,0.04);
}

.category-block { margin-bottom: 4rem; }
.category-block:last-child { margin-bottom: 0; }

/* proceso (servicios.html) */
#proceso { background: var(--bg2); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.process-step {
  background: var(--bg2);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 1px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}
.step-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
}

/* cta final (servicios.html) */
#cta { text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner .section-label { justify-content: center; }
.cta-inner .section-label::after { display: none; }
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1rem;
}
.cta-title em { font-style: normal; color: var(--accent); }
.cta-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.cta-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-cta-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,255,0,0.25);
}
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-cta-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* footer */
footer {
  border-top: 1.5px solid var(--border);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 1rem;
}
footer p { font-size: 0.75rem; color: var(--muted); }
footer a {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
}
footer a img {
  height: 32px; width: 32px;
  object-fit: contain;
  border-radius: 50%;
  margin-right: 0.5rem;
}
footer a span { color: var(--accent); }

/* whatsapp float */
.wa-float {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  z-index: 999;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(200,255,0,0.55), 0 0 40px rgba(200,255,0,0.25);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 2.5s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(200,255,0,0.55), 0 0 40px rgba(200,255,0,0.25); }
  50%       { box-shadow: 0 0 26px rgba(200,255,0,0.8),  0 0 60px rgba(200,255,0,0.4); }
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 0 32px rgba(200,255,0,0.9), 0 0 70px rgba(200,255,0,0.5);
  animation: none;
}
.wa-float svg { width: 42px; height: 42px; fill: var(--bg); }

/* animations */
@keyframes navBounce {
  0%   { transform: translateY(0) scale(1); }
  25%  { transform: translateY(-16px) scale(1.06); }
  50%  { transform: translateY(-5px) scale(1); }
  75%  { transform: translateY(-11px) scale(1.03); }
  100% { transform: translateY(-7px) scale(1.01); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.reveal {
  opacity: 0;
  transform: translateY(45px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* responsive */
@media (max-width: 900px) {
  /* NAV */
  nav { padding: 1rem 1.5rem; z-index: 200; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* HERO */
  .hero { padding: 6.5rem 1.5rem 4rem; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 5rem); letter-spacing: -1px; line-height: 1; }
  .hero-sub { max-width: 100%; font-size: 0.92rem; }
  .hero-socials { display: none; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }

  /* PAGE HERO */
  .page-hero { padding: 7rem 1.5rem 4rem; }
  .page-hero h1 { font-size: clamp(2.4rem, 12vw, 4rem); letter-spacing: -1px; }

  /* SECTIONS */
  section { padding: 4rem 1.5rem; }
  .section-title { font-size: clamp(1.7rem, 6vw, 2.5rem); letter-spacing: -0.8px; }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-avatar { max-width: 300px; margin: 0 auto; }
  .about-avatar-wrap { display: flex; flex-direction: column; align-items: center; }

  /* YOUTUBE */
  .yt-header { flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-bottom: 2rem; }
  .yt-toggle-btn { width: 100%; justify-content: center; }
  .yt-featured { grid-template-columns: 1fr; }
  .yt-featured-info { padding: 1.4rem; }
  .yt-featured-info h3 { font-size: 1.15rem; }
  .yt-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }

  /* PRODUCTS */
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .products-filter { gap: 0.4rem; }

  /* SOCIAL */
  .social-grid { grid-template-columns: 1fr 1fr; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }

  /* CONTACT */
  .contact-email { font-size: 0.82rem; padding: 0.85rem 1.4rem; max-width: 100%; }
  .contact-social-row { gap: 0.5rem; }

  /* FOOTER */
  footer { padding: 1.5rem; flex-direction: column; text-align: center; gap: 0.5rem; }

  /* WHATSAPP */
  .wa-float { width: 64px; height: 64px; bottom: 4rem; right: 1.2rem; }
  .wa-float svg { width: 36px; height: 36px; }
}

@media (max-width: 600px) {
  /* HERO */
  .hero { padding: 5.5rem 1.2rem 3.5rem; }
  .hero h1 { font-size: clamp(2.4rem, 15vw, 3.5rem); }

  /* PAGE HERO */
  .page-hero { padding: 6rem 1.2rem 3.5rem; }

  /* ABOUT */
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.5rem; }

  /* YOUTUBE */
  .yt-grid { grid-template-columns: 1fr; }
  .yt-featured { grid-template-columns: 1fr; }

  /* PRODUCTS */
  .products-grid { grid-template-columns: 1fr; }

  /* SOCIAL */
  .social-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .social-card { padding: 1.2rem 1rem; }

  /* SERVICES */
  .process-steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  /* CONTACT */
  .contact-email { word-break: break-all; justify-content: center; display: flex; }
  .contact-social-row { flex-wrap: wrap; justify-content: center; }

  /* SECTION */
  section { padding: 3.5rem 1.2rem; }
  .section-label { font-size: 0.7rem; }
  .section-title { font-size: 1.7rem; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: clamp(2rem, 16vw, 3rem); }
  .social-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .yt-grid { grid-template-columns: 1fr; }
}

/* Recursos (recursos.html) */
.recursos-intro {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.recursos-intro strong { color: var(--text); font-weight: 600; }

.recursos-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.recurso-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.recurso-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.recurso-card:hover {
  border-color: rgba(200,255,0,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}
.recurso-card:hover::before { transform: scaleX(1); }

.recurso-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  line-height: 1;
}
.recurso-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.recurso-cat-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.recurso-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  line-height: 1.25;
}

.recurso-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.recurso-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.recurso-size {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn-download:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  box-shadow: 0 6px 16px rgba(200,255,0,0.3);
}

.empty-state {
  color: var(--muted);
  font-style: italic;
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
}

@media (max-width: 600px) {
  .recursos-grid { grid-template-columns: 1fr; }
  .recurso-card { padding: 1.4rem 1.2rem; }
}
