/* ============================================
   MAURO AYALA — PORTFOLIO WEB
   Aesthetic: Dark editorial + electric accent
   ============================================ */

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --surface: #16161f;
  --surface2: #1e1e2a;
  --border: rgba(255, 255, 255, 0.07);
  --accent: #00e5ff;
  --accent2: #7c3aed;
  --text: #f0f0f8;
  --text-muted: #8888a8;
  --text-dim: #555570;
  --white: #ffffff;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 16px;
  --radius-sm: 8px;
  --glow: 0 0 40px rgba(0, 229, 255, 0.15);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image: radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  color: var(--text);
  overflow-x: hidden;
}

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

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

/* ============================================
   CURSOR
   ============================================ */
.cursor {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.15s ease;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor.hovered {
  transform: translate(-50%, -50%) scale(1.8);
  opacity: 0.5;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text);
  letter-spacing: 2px;
}

.mobile-cta {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 1.1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 40px 80px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.blob-1 {
  width: 800px;
  height: 800px;
  background: var(--accent);
  top: -300px;
  right: -200px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: var(--accent2);
  bottom: -200px;
  left: 100px;
  animation-delay: -4s;
}

@keyframes blobFloat {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(40px, -40px) scale(1.05);
  }
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title .line {
  display: block;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: #00c8e0;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  transition: all 0.25s;
  margin-top: 8px;
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.3);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* HERO VISUAL */
.hero-visual {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.profile-frame {
  position: relative;
  width: 340px;
  height: 340px;
}

.profile-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent2)) border-box;
  animation: ringRotate 6s linear infinite;
}

@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.profile-img,
.profile-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface2);
}

.profile-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
}

.profile-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 54px;
  height: 54px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: badgeBounce 3s ease-in-out infinite;
}

@keyframes badgeBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.floating-card {
  position: absolute;
  background: rgba(22, 22, 31, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  animation: floatCard 4s ease-in-out infinite alternate;
}

.card-1 {
  top: -10px;
  left: -80px;
  animation-delay: -2s;
}

.card-2 {
  bottom: 30px;
  right: -80px;
}

.card-icon {
  font-size: 1rem;
}

@keyframes floatCard {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-12px);
  }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-wrap {
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.marquee-track span:not([class]) {
  color: var(--accent);
  opacity: 0.4;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* PLANES GRID */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: var(--glow);
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-featured {
  border-color: rgba(0, 229, 255, 0.3);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0, 229, 255, 0.04) 100%);
}

.plan-featured::before {
  opacity: 1;
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.plan-icon {
  font-size: 2rem;
}

.plan-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.price-desde {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.price-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--accent);
  line-height: 1;
}

.price-cur {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-btn {
  display: block;
  text-align: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s;
}

.plan-btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* SISTEMAS A MEDIDA */
.medida-card {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(124, 58, 237, 0.08) 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.medida-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.medida-left {
  flex: 1;
}

.medida-right {
  flex-shrink: 0;
  text-align: center;
}

.medida-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #a78bfa;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.medida-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.medida-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.medida-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.medida-item {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  color: #c4b5fd;
}

.medida-cta-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 220px;
  line-height: 1.5;
}

/* ============================================
   SOBRE MÍ
   ============================================ */
.sobre-mi {
  padding: 120px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.sobre-img-wrap {
  position: relative;
  width: 340px;
}

.sobre-img-wrap img,
.sobre-placeholder {
  width: 340px;
  height: 400px;
  border-radius: var(--radius);
  object-fit: cover;
}

.sobre-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--accent);
}

.sobre-deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0, 229, 255, 0.15);
  border-radius: var(--radius);
  z-index: -1;
}

.sobre-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.sobre-text {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}

.skill-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  transition: all 0.2s;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
  padding: 120px 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-val {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-val:hover {
  color: var(--accent);
}

/* FORM */
.contacto-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-group select option {
  background: var(--bg2);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-success {
  display: none;
  text-align: center;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--accent);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
}

.form-success.error {
  background: rgba(255, 82, 82, 0.08);
  border-color: rgba(255, 82, 82, 0.2);
  color: #ff5252;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
}

.footer-text {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ============================================
   CLIENTES
   ============================================ */
.clientes {
  padding: 120px 0;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.cliente-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.cliente-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: var(--glow);
}

.cliente-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface2);
}

.cliente-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cliente-card:hover .cliente-img-wrap img {
  transform: scale(1.1);
}

.cliente-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cliente-card:hover .cliente-overlay {
  opacity: 1;
}

.cliente-link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}

.cliente-link:hover {
  background: var(--accent);
  color: var(--bg);
}

.cliente-info {
  padding: 20px;
}

.cliente-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cliente-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.clientes-cta {
  text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero {
    padding: 130px 40px 80px;
    gap: 40px;
  }

  .planes-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 40px;
  }

  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .medida-card {
    flex-direction: column;
    gap: 32px;
  }

  .medida-right {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding-top: 80px;
  }

  .hero-container {
    margin-top: -100px;
    flex-direction: column;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

  .sobre-img-wrap {
    margin: 0 auto;
  }

  .sobre-content .section-title {
    text-align: center;
  }

  .sobre-content .section-tag {
    text-align: center;
  }

  .skills-list {
    justify-content: center;
  }

  .sobre-content {
    text-align: center;
  }

  .sobre-content .btn {
    margin: 0 auto;
  }

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

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    padding: 20px 24px;
  }

  .nav.scrolled {
    padding: 14px 24px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 30px 24px 60px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .medida-card {
    padding: 32px 24px;
  }

  .contacto-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .floating-card {
    display: none;
  }

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

/* STAGGER REVEAL DELAYS */
.reveal:nth-child(1) {
  transition-delay: 0s;
}

.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.15s;
}

.reveal:nth-child(4) {
  transition-delay: 0.2s;
}

.reveal:nth-child(5) {
  transition-delay: 0.25s;
}