/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #FFD700;
  --yellow-dim: #CCAC00;
  --yellow-light: #FFF3A3;
  --black: #0A0A0A;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --black-4: #222222;
  --gray: #2e2e2e;
  --gray-light: #888;
  --white: #ffffff;
  --green: #00ff88;
  --font-main: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 32px rgba(255, 215, 0, 0.08);
  --shadow-hover: 0 8px 48px rgba(255, 215, 0, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--yellow-dim); border-radius: 3px; }

/* ─── Utils ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.accent { color: var(--yellow); }
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.section-header p { color: var(--gray-light); font-size: 17px; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #ffe44d;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); padding: 16px; font-size: 17px; }

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,215,0,0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black-3);
  border: 1.5px solid rgba(255,215,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: var(--transition);
}
.logo-mark:hover { border-color: var(--yellow); box-shadow: 0 0 16px rgba(255,215,0,0.3); }
.logo-mark--sm { width: 38px; height: 38px; }
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.btn-nav {
  background: var(--yellow) !important;
  color: var(--black) !important;
  font-weight: 700 !important;
  border-radius: 100px !important;
  padding: 10px 22px !important;
}
.btn-nav:hover { background: #ffe44d !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(255,215,0,0.06) 0%, transparent 70%);
}
.code-rain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
}
.hero-content {
  flex: 1;
  min-width: 0;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.highlight {
  position: relative;
  color: var(--yellow);
}
.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), transparent);
  border-radius: 2px;
}
.hero-sub {
  font-size: 18px;
  color: var(--gray-light);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat p { font-size: 13px; color: var(--gray-light); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero-logo-big {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.big-logo-img {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,215,0,0.4);
  filter: drop-shadow(0 0 40px rgba(255,215,0,0.25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.glow-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255,215,0,0.1);
  animation: ringPulse 4s ease-in-out infinite;
  pointer-events: none;
}
.glow-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,215,0,0.06);
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ─── Servicios ─── */
.servicios { background: var(--black); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--black-3);
  border: 1px solid rgba(255,215,0,0.08);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(255,215,0,0.04), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.card:hover { border-color: rgba(255,215,0,0.3); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card--featured {
  background: linear-gradient(135deg, rgba(255,215,0,0.08) 0%, rgba(10,10,10,0) 60%), var(--black-3);
  border-color: rgba(255,215,0,0.25);
}
.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-icon { width: 52px; height: 52px; margin-bottom: 20px; }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card > p { color: var(--gray-light); font-size: 15px; margin-bottom: 20px; line-height: 1.65; }
.card-list { list-style: none; margin-bottom: 24px; }
.card-list li {
  font-size: 14px;
  color: var(--gray-light);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-list li::before { content: '→'; color: var(--yellow); font-size: 12px; }
.card-link {
  font-weight: 700;
  color: var(--yellow);
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.card-link:hover { gap: 8px; }
.card--cta {
  background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,215,0,0.04));
  border-color: rgba(255,215,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.card--cta h3 { font-size: 22px; }

/* ─── Por qué ─── */
.porque { background: var(--black-2); }
.porque-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.porque-text h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.porque-text > p { color: var(--gray-light); font-size: 16px; line-height: 1.7; margin-bottom: 36px; }
.features-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; align-items: flex-start; gap: 16px; }
.feature-check {
  width: 28px;
  height: 28px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item strong { display: block; font-size: 16px; margin-bottom: 4px; }
.feature-item p { color: var(--gray-light); font-size: 14px; }

.process-card {
  background: var(--black-3);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: var(--radius);
  padding: 36px;
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.process-step.active, .process-step:hover {
  background: rgba(255,215,0,0.05);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--yellow);
  opacity: 0.4;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
  transition: var(--transition);
}
.process-step.active .step-num, .process-step:hover .step-num { opacity: 1; }
.process-step strong { display: block; font-size: 16px; margin-bottom: 4px; }
.process-step p { color: var(--gray-light); font-size: 14px; }
.process-connector {
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(255,215,0,0.3), rgba(255,215,0,0.05));
  margin-left: 36px;
}

/* ─── Proyectos ─── */
.proyectos { background: var(--black); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 280px 220px;
  gap: 16px;
}
.project--large { grid-row: 1 / 2; }
.project-card { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.project-image {
  width: 100%;
  height: 100%;
  position: relative;
  transition: var(--transition);
}
.pi-1 { background: url('proyecto-ecommerce.png') center/cover no-repeat; }
.pi-2 { background: url('proyecto-chatbot.jpg') center/cover no-repeat; }
.pi-3 { background: url('proyecto-landing.png') center/cover no-repeat; }
.pi-4 { background: url('proyecto-webapp.png') center/cover no-repeat; }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover .project-image::before { opacity: 0.05; }
.project-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
  width: fit-content;
}
.project-overlay h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.project-overlay p { color: var(--gray-light); font-size: 14px; }
.projects-cta { text-align: center; margin-top: 40px; }
.projects-cta p { color: var(--gray-light); font-size: 16px; }
.projects-cta a { color: var(--yellow); font-weight: 600; text-decoration: none; transition: var(--transition); }
.projects-cta a:hover { text-decoration: underline; }

/* ─── Testimonios ─── */
.testimonios { background: var(--black-2); }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonio-card {
  background: var(--black-3);
  border: 1px solid rgba(255,215,0,0.08);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.testimonio-card:hover { border-color: rgba(255,215,0,0.2); transform: translateY(-4px); }
.stars { color: var(--yellow); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonio-card > p { color: var(--gray-light); font-size: 15px; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonio-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.av1 { background: linear-gradient(135deg, #FFD700, #CC9900); color: var(--black); }
.av2 { background: linear-gradient(135deg, #00cc66, #004422); color: var(--white); }
.av3 { background: linear-gradient(135deg, #4488ff, #001166); color: var(--white); }
.testimonio-author strong { display: block; font-size: 15px; }
.testimonio-author span { color: var(--gray-light); font-size: 13px; }

/* ─── Contacto ─── */
.contacto { background: var(--black); }
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contacto-text h2 { font-size: clamp(26px, 3.5vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.contacto-text > p { color: var(--gray-light); font-size: 16px; line-height: 1.7; margin-bottom: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 14px; color: var(--gray-light); font-size: 15px; }
.contact-icon { width: 20px; height: 20px; flex-shrink: 0; }
.contact-icon svg { width: 100%; height: 100%; }
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 44px;
  height: 44px;
  background: var(--black-3);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { border-color: var(--yellow); background: rgba(255,215,0,0.08); transform: translateY(-2px); }

.contacto-form {
  background: var(--black-3);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
  width: 100%;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  background: rgba(255,215,0,0.04);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.08);
}
.form-group select option { background: var(--black-3); }
.form-note { font-size: 13px; color: var(--gray-light); text-align: center; }

/* ─── Footer ─── */
.footer { background: var(--black-2); border-top: 1px solid rgba(255,215,0,0.08); padding: 60px 0 32px; }
.footer-inner { display: flex; gap: 60px; margin-bottom: 48px; }
.footer-brand { flex: 1; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand > p { color: var(--gray-light); font-size: 15px; }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.footer-col a { color: var(--gray-light); text-decoration: none; font-size: 15px; transition: var(--transition); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  color: var(--gray-light);
}

/* ─── Responsive ─── */

/* Tablet landscape — 1024px */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 24px 64px;
    gap: 40px;
    min-height: auto;
  }
  .hero-sub { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .big-logo-img { width: 260px; height: 260px; }
  .glow-ring { width: 280px; height: 280px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .sitios-grid { grid-template-columns: repeat(2, 1fr); }
  .porque-inner { grid-template-columns: 1fr; gap: 40px; }
  .contacto-inner { grid-template-columns: 1fr; gap: 40px; }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait / mobile — 768px */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 15px; }

  /* Navbar */
  .nav-inner { gap: 12px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,215,0,0.1);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; border-radius: 8px; width: 100%; font-size: 16px; }
  .nav-toggle { display: flex; }
  .lang-toggle { padding: 6px 12px; font-size: 12px; }

  /* Hero */
  .hero { padding: 86px 20px 52px; gap: 32px; }
  .hero-title { font-size: clamp(28px, 7vw, 44px); }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 26px; }
  .hero-badge { font-size: 12px; }

  /* Grids */
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .sitios-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 220px); }
  .project--large { grid-row: auto; }

  /* Cards */
  .card { padding: 24px 20px; }
  .card h3 { font-size: 18px; }
  .price-value { font-size: 20px; }

  /* Sitios */
  .sitio-card { padding: 20px; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
  .sitio-header { width: 100%; }
  .sitio-browser { width: 100%; }
  .sitio-domain { font-size: 15px; }
  .sitio-desc { width: 100%; }
  .sitio-visit { margin-top: 0; }

  /* Por qué */
  .process-card { padding: 20px; }
  .process-step { padding: 12px; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contacto-form { padding: 24px 18px; }
  .contacto-text h2 { font-size: 26px; }

  /* Footer */
  .footer { padding: 48px 0 28px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 13px; }
  .footer-col a { font-size: 14px; }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  /* Navbar */
  .logo-text { font-size: 18px; }
  .nav-inner { padding: 0 16px; }
  .lang-toggle { padding: 5px 10px; }

  /* Hero */
  .hero { padding: 80px 16px 48px; }
  .hero-title { font-size: 28px; }
  .hero-badge { padding: 6px 12px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; font-size: 15px; }
  .big-logo-img { width: 200px; height: 200px; }
  .glow-ring { width: 218px; height: 218px; }
  .hero-stats { gap: 10px; }
  .stat-divider { display: none; }
  .stat-num { font-size: 24px; }

  /* Cards */
  .card { padding: 20px 16px; }
  .card-price { padding: 8px 12px; }
  .price-value { font-size: 18px; }

  /* Sitios */
  .sitio-card { flex-direction: column; padding: 18px 16px; }
  .browser-url { font-size: 10px; }
  .sitio-domain { font-size: 15px; }

  /* Process */
  .process-card { padding: 16px; }
  .step-num { font-size: 18px; }

  /* Testimonios */
  .testimonio-card { padding: 24px 18px; }

  /* Contact */
  .contacto-form { padding: 18px 14px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; } /* evita zoom en iOS */

  /* Footer */
  .footer-links { flex-direction: column; gap: 24px; }
  .logo-text { font-size: 18px; }

  /* WA float */
  .whatsapp-float { bottom: 18px; right: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .wa-tooltip { display: none; } /* tooltip hidden on mobile, no hover */
}

/* Very small screens — 360px */
@media (max-width: 360px) {
  .hero-title { font-size: 24px; }
  .logo-text { display: none; }
  .logo-mark { width: 36px; height: 36px; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .stat { min-width: 60px; }
  .stat-num { font-size: 22px; }
  .stat p { font-size: 11px; }
  .card-price { flex-wrap: wrap; gap: 4px; }
}

/* ─── Card price ─── */
.card-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.14);
  border-radius: var(--radius-sm);
}
.price-from {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-light);
}
.price-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.price-cur {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.55);
  letter-spacing: 0.06em;
}

/* ─── Language toggle ─── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 7px 14px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.lang-toggle:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255,215,0,0.06);
}

/* ─── Sitios en producción ─── */
.sitios { background: var(--black-2); }
.sitios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sitio-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 22px;
  background: var(--black-3);
  border: 1px solid rgba(255,215,0,0.08);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.sitio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), transparent);
  opacity: 0;
  transition: var(--transition);
}
.sitio-card:hover {
  border-color: rgba(255,215,0,0.28);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.sitio-card:hover::before { opacity: 1; }
.sitio-card:hover .sitio-ext { color: var(--yellow); transform: translate(2px, -2px); }

.sitio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sitio-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.18);
  padding: 3px 10px;
  border-radius: 100px;
}
.sitio-ext {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
  flex-shrink: 0;
}

/* Mini browser mockup */
.sitio-browser {
  background: var(--black-4);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }
.browser-url {
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sitio-card:hover .browser-url { color: rgba(255,215,0,0.6); }

.sitio-domain {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.sitio-desc {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.6;
  flex: 1;
}
.sitio-visit {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  margin-top: 4px;
}


/* ─── Floating WhatsApp button ─── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1100;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waPulse 2.8s ease-in-out infinite;
}
.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: #fff;
  flex-shrink: 0;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.65);
  animation: none;
}
.wa-tooltip {
  position: absolute;
  right: 74px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: #fff;
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ─── Form success state ─── */
.form-success {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.form-success .check-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 255, 136, 0.1);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.form-success h3 { font-size: 22px; font-weight: 700; }
.form-success p { color: var(--gray-light); }
