/* ============================================================
   STRICKGRAFIC — CSS PRINCIPAL
   Variables → Reset → Base → Componentes → Secciones → Responsive
============================================================ */

/* ============================================================
   1. VARIABLES CSS (Sistema de diseño)
============================================================ */
:root {
  /* COLORES PRINCIPALES */
  --blue-deep:    #0a0e1a;
  --blue-dark:    #0d1526;
  --blue-mid:     #0f2044;
  --blue-brand:   #1a3a6e;
  --blue-accent:  #1e6fff;
  --blue-bright:  #3d8bff;
  --blue-glow:    #60a5fa;
  --blue-soft:    #93c5fd;

  /* ACENTOS Y CONTRASTES */
  --cyan:         #00d4ff;
  --cyan-glow:    rgba(0, 212, 255, 0.3);
  --gold:         #f59e0b;
  --white:        #ffffff;
  --white-90:     rgba(255,255,255,0.9);
  --white-70:     rgba(255,255,255,0.7);
  --white-40:     rgba(255,255,255,0.4);
  --white-10:     rgba(255,255,255,0.1);
  --white-05:     rgba(255,255,255,0.05);

  /* GRISES */
  --gray-100:     #f1f5f9;
  --gray-200:     #e2e8f0;
  --gray-400:     #94a3b8;
  --gray-600:     #475569;
  --gray-800:     #1e293b;
  --gray-900:     #0f172a;

  /* TIPOGRAFÍA */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-light:   'DM Sans', sans-serif;

  /* TAMAÑOS */
  --nav-h:        80px;
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;

  /* SOMBRAS */
  --shadow-blue:  0 0 40px rgba(30, 111, 255, 0.3);
  --shadow-glow:  0 0 80px rgba(30, 111, 255, 0.2);
  --shadow-card:  0 20px 60px rgba(0,0,0,0.4);
  --shadow-sm:    0 4px 20px rgba(0,0,0,0.2);

  /* TRANSICIONES */
  --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s ease;
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--blue-deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: var(--font-body);
  outline: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   3. SCROLLBAR PERSONALIZADA
============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--blue-deep); }
::-webkit-scrollbar-thumb {
  background: var(--blue-accent);
  border-radius: 10px;
}

/* ============================================================
   4. TIPOGRAFÍA BASE
============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.1;
}

.text-accent { color: var(--blue-accent); }

/* ============================================================
   5. BOTONES GLOBALES
============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 16px 36px;
  background: var(--blue-accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-blue); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-glow {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 20px;
  background: var(--blue-accent);
  filter: blur(20px);
  opacity: 0;
  transition: var(--transition);
  border-radius: 50%;
}
.btn-primary:hover .btn-glow { opacity: 0.7; }
.btn-primary.large { padding: 20px 48px; font-size: 16px; }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 2px solid var(--white-40);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--blue-accent);
  background: var(--white-05);
  transform: translateY(-3px);
}
.btn-ghost i { font-size: 18px; color: var(--cyan); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 40px;
  background: #25d366;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: var(--transition);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(37,211,102,0.4); }
.btn-whatsapp i { font-size: 22px; }

/* ============================================================
   6. SECTION HEADERS GLOBALES
============================================================ */
.section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 20px;
}
.section-tag.center { justify-content: center; }
.tag-line {
  display: block;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--blue-accent), var(--cyan));
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-title.center { text-align: center; }

.section-desc {
  font-size: 17px;
  color: var(--white-70);
  max-width: 600px;
  line-height: 1.8;
  text-align: center;
  margin: 0 auto 60px;
}

.section-header { margin-bottom: 60px; }

/* ============================================================
   7. NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-10);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
  height: 70px;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Imagen del logo — subida desde el admin */
.site-logo-img {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  display: block;
  transition: opacity 0.3s ease;
}
.nav-logo:hover .site-logo-img { opacity: 0.85; }

/* Tamaño del logo en el footer (un poco más grande) */
.footer-logo .site-logo-img {
  height: 54px;
}


.logo-icon {
  position: relative;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue-accent), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-letter {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  z-index: 1;
  position: relative;
}

.logo-dot {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 10px; height: 10px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.8;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--white);
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--blue-accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* MENÚ DESKTOP */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white-70);
  transition: var(--transition-fast);
  border-radius: 8px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--blue-accent);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 60%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--blue-accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.nav-cta i { font-size: 12px; }

/* BARRA PROGRESO */
.scroll-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-accent), var(--cyan));
  width: 0%;
  transition: width 0.1s linear;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  padding: 4px;
  cursor: pointer;
}

.ham-line {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.ham-top  { width: 100%; }
.ham-mid  { width: 75%; margin-left: auto; }
.ham-bot  { width: 55%; margin-left: auto; }

.hamburger.open .ham-top {
  transform: rotate(45deg) translate(5px, 5px);
  width: 100%;
}
.hamburger.open .ham-mid { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-bot {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 100%;
}

/* OVERLAY MÓVIL */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: var(--transition);
}
.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================================
   8. HERO SECTION
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(26,58,110,0.9) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(30,111,255,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(0,212,255,0.1) 0%, transparent 60%),
    linear-gradient(135deg, #0a0e1a 0%, #0d1526 40%, #0f2044 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,111,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1.5); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-h);
  width: 100%;
}

/* BADGE */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(30,111,255,0.4);
  border-radius: 30px;
  background: rgba(30,111,255,0.1);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-glow);
  letter-spacing: 1px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 10px var(--cyan); }
  50%       { box-shadow: 0 0 20px var(--cyan), 0 0 40px var(--cyan); }
}

/* TÍTULO HERO */
.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.title-line {
  display: block;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-family: var(--font-display);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--white);
  opacity: 0;
  transform: translateY(40px);
}

.title-line.line-1 { animation: fadeUp 0.8s ease 0.4s forwards; }
.title-line.line-2 { animation: fadeUp 0.8s ease 0.55s forwards; }
.title-line.line-3 { animation: fadeUp 0.8s ease 0.7s forwards; }
.title-line.line-4 { animation: fadeUp 0.8s ease 0.85s forwards; }

.title-line em {
  font-style: normal;
  color: var(--blue-accent);
}

.title-accent { color: var(--white-70); font-size: 0.7em; }

.title-highlight {
  background: linear-gradient(135deg, var(--cyan), var(--blue-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SUBTITLE */
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--white-70);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 1s forwards;
}

/* HERO ACTIONS */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 1.15s forwards;
}

/* HERO STATS */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 28px 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 1.3s forwards;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0 32px;
  flex-direction: row;
  align-items: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1;
}

.stat-plus {
  font-size: 2rem;
  color: var(--blue-accent);
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--white-40);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 10px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--white-10);
  flex-shrink: 0;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white-40);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeUp 1s ease 2s both;
}

.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--white-40);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--blue-accent);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* SHAPES DECORATIVAS */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.shape-1 {
  width: 600px; height: 600px;
  right: -200px; top: -100px;
  background: radial-gradient(circle, rgba(30,111,255,0.15), transparent 70%);
  animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px; height: 400px;
  right: 10%; bottom: 10%;
  background: radial-gradient(circle, rgba(0,212,255,0.1), transparent 70%);
  animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px; height: 300px;
  left: 40%; top: 20%;
  background: radial-gradient(circle, rgba(30,111,255,0.08), transparent 70%);
  animation: floatShape 12s ease-in-out infinite;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(30px,-30px) scale(1.1); }
}

/* ============================================================
   9. SOBRE NOSOTROS
============================================================ */
.about {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* VISUAL */
.about-visual {
  position: relative;
  height: 580px;
}

.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.about-img-main:hover img { transform: scale(1.05); }

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,111,255,0.2), transparent 60%);
  border-radius: var(--radius-lg);
}

.about-img-float {
  position: absolute;
  bottom: 0; right: 0;
  width: 50%;
  height: 45%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--blue-deep);
  box-shadow: var(--shadow-card);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }

.about-years-badge {
  position: absolute;
  top: 30px; right: 10px;
  width: 100px; height: 100px;
  background: var(--blue-accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 40px rgba(30,111,255,0.5);
  z-index: 3;
}
.years-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--white);
}
.years-text {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}

.about-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--blue-dark);
  border: 1px solid var(--white-10);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  z-index: 3;
  box-shadow: var(--shadow-sm);
}
.about-tag i { color: var(--blue-accent); }
.tag-1 { bottom: 100px; left: -20px; }
.tag-2 { bottom: 40px; right: 20px; }

/* CONTENT */
.about-content { padding-left: 20px; }

.about-desc {
  font-size: 16px;
  color: var(--white-70);
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-desc strong { color: var(--white); font-weight: 600; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 36px 0;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--white-05);
  border: 1px solid var(--white-10);
  transition: var(--transition);
}
.value-item:hover {
  background: rgba(30,111,255,0.08);
  border-color: rgba(30,111,255,0.3);
  transform: translateX(8px);
}

.value-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-accent), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  flex-shrink: 0;
}

.value-info h4 { font-size: 15px; margin-bottom: 4px; }
.value-info p  { font-size: 13px; color: var(--white-70); line-height: 1.5; }

/* ============================================================
   10. SERVICIOS
============================================================ */
.services {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15,32,68,0.5), transparent);
}

.services-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,111,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* GRID SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* El 7mo servicio centrado */
.services-grid > .service-card:nth-child(7) {
  grid-column: 2 / 4;
}

/* CARD */
.service-card {
  position: relative;
  padding: 36px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  group: true;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-accent), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(30,111,255,0.06);
  border-color: rgba(30,111,255,0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(30,111,255,0.15);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  background: linear-gradient(135deg, rgba(30,111,255,0.12), rgba(0,212,255,0.05));
  border-color: rgba(30,111,255,0.3);
  grid-row: span 1;
}
.service-card.featured::before { transform: scaleX(1); }

.card-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(30,111,255,0.15), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover .card-glow { opacity: 1; }

.card-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--white-05);
  line-height: 1;
  position: absolute;
  top: 16px; right: 20px;
  transition: var(--transition);
}
.service-card:hover .card-num { color: rgba(30,111,255,0.1); }

.card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(30,111,255,0.2), rgba(0,212,255,0.1));
  border: 1px solid rgba(30,111,255,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--blue-accent);
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .card-icon {
  background: linear-gradient(135deg, var(--blue-accent), var(--cyan));
  color: var(--white);
  transform: rotate(-5deg) scale(1.1);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-desc {
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.card-tags span {
  padding: 4px 10px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: 20px;
  font-size: 11px;
  color: var(--white-70);
}

.card-arrow {
  width: 36px; height: 36px;
  border: 1px solid var(--white-10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--white-40);
  transition: var(--transition);
}
.service-card:hover .card-arrow {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: var(--white);
  transform: rotate(45deg);
}

/* ============================================================
   11. PORTAFOLIO
============================================================ */
.portfolio { padding: 120px 0; }

/* FILTROS */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--white-10);
  border-radius: 30px;
  color: var(--white-70);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: var(--transition);
  background: transparent;
}
.filter-btn:hover { border-color: var(--blue-accent); color: var(--white); }
.filter-btn.active {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: var(--white);
  box-shadow: 0 0 20px rgba(30,111,255,0.3);
}

/* GRID MASONRY */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.portfolio-item { border-radius: var(--radius-md); overflow: hidden; }
.portfolio-item.large { grid-column: span 2; grid-row: span 2; }
.portfolio-item.tall  { grid-row: span 2; }

.portfolio-img {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.9), rgba(30,111,255,0.6));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-img img { transform: scale(1.08); }

.overlay-content { transform: translateY(20px); transition: var(--transition); }
.portfolio-item:hover .overlay-content { transform: translateY(0); }

.overlay-cat {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-accent);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.overlay-content h4 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
}
.overlay-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--white-40);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}
.overlay-btn:hover {
  background: var(--white);
  color: var(--blue-deep);
  border-color: var(--white);
}

.portfolio-cta {
  text-align: center;
  margin-top: 50px;
}

/* ============================================================
   12. PROCESO
============================================================ */
.process {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.process-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15,32,68,0.4) 50%, transparent);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

/* LÍNEA CONECTORA ENTRE PASOS */
.process-steps::before {
  content: '';
  position: absolute;
  top: 50px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-accent), var(--cyan), var(--blue-accent));
  z-index: 0;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.step-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: rgba(30,111,255,0.08);
  line-height: 1;
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
}

.step-icon {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-brand));
  border: 2px solid rgba(30,111,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--blue-accent);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(30,111,255,0);
}
.process-step:hover .step-icon {
  background: linear-gradient(135deg, var(--blue-accent), var(--cyan));
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(30,111,255,0.4);
}

.step-content h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--white);
}
.step-content p {
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.7;
}

.step-connector { display: none; }

/* ============================================================
   13. TESTIMONIOS
============================================================ */
.testimonials { padding: 120px 0; }

.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: calc(33.333% - 16px);
  padding: 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  flex-shrink: 0;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-accent), var(--cyan));
  opacity: 0;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(30,111,255,0.05);
  border-color: rgba(30,111,255,0.2);
  transform: translateY(-5px);
}
.testimonial-card:hover::before { opacity: 1; }

.testi-quote {
  font-size: 2.5rem;
  color: var(--blue-accent);
  margin-bottom: 20px;
  opacity: 0.5;
}

.testi-text {
  font-size: 15px;
  color: var(--white-70);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 28px;
  font-family: var(--font-light);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.testi-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue-accent), var(--cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testi-info strong { display: block; font-size: 15px; margin-bottom: 2px; }
.testi-info span  { font-size: 12px; color: var(--white-40); }

.testi-stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 13px;
  display: flex;
  gap: 2px;
}

/* CONTROLES SLIDER */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--white-10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-70);
  font-size: 16px;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}
.slider-btn:hover {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: var(--white);
}

.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  background: var(--white-40);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.dot.active {
  background: var(--blue-accent);
  width: 28px;
  box-shadow: 0 0 10px rgba(30,111,255,0.5);
}

/* ============================================================
   14. CTA SECTION
============================================================ */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f2044, #0a1a3a, #0d1526);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(30,111,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0,212,255,0.1) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(30,111,255,0.4);
  border-radius: 30px;
  background: rgba(30,111,255,0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-glow);
  letter-spacing: 1px;
  margin-bottom: 32px;
}
.cta-badge i { color: var(--cyan); }

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-display);
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

.cta-highlight {
  background: linear-gradient(135deg, var(--blue-accent), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: 18px;
  color: var(--white-70);
  line-height: 1.8;
  margin-bottom: 48px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   15. CONTACTO
============================================================ */
.contact { padding: 120px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 15px;
  color: var(--white-70);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(30,111,255,0.2), rgba(0,212,255,0.1));
  border: 1px solid rgba(30,111,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--blue-accent);
  flex-shrink: 0;
}

.contact-text strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-text span   { font-size: 14px; color: var(--white-70); }

.contact-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px; height: 44px;
  border: 1px solid var(--white-10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white-70);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(30,111,255,0.4);
}

/* FORMULARIO */
.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--white-70);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  transition: var(--transition);
  resize: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--white-40);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-accent);
  background: rgba(30,111,255,0.05);
  box-shadow: 0 0 0 3px rgba(30,111,255,0.15);
}

.form-group select option { background: var(--blue-dark); color: var(--white); }

.form-error {
  font-size: 12px;
  color: #ef4444;
  display: none;
}
.form-error.show { display: block; }

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-sm);
  color: #4ade80;
  font-size: 15px;
  margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success i { font-size: 20px; }

/* ============================================================
   16. FOOTER
============================================================ */
.footer { position: relative; }

.footer-top {
  padding: 80px 0 60px;
  border-top: 1px solid var(--white-10);
  background: linear-gradient(180deg, transparent, rgba(13,21,38,0.8));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--white-40);
  line-height: 1.8;
  margin: 20px 0 28px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--white-10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--white-40);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--blue-accent);
  border-radius: 2px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--white-40);
  transition: var(--transition-fast);
}
.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-list li i {
  color: var(--blue-accent);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-list li span {
  font-size: 14px;
  color: var(--white-40);
  line-height: 1.5;
}

.footer-bottom {
  padding: 24px;
  border-top: 1px solid var(--white-05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--white-40);
}
.footer-bottom .fa-heart { color: var(--blue-accent); }

/* FOOTER LOGO */
.footer-logo { margin-bottom: 4px; }

/* WHATSAPP FLOTANTE */
.whatsapp-float {
  position: fixed;
  bottom: 90px; right: 28px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  z-index: 900;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 40px rgba(37,211,102,0.6);
}
.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--blue-dark);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--white-10);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--blue-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  cursor: pointer;
  pointer-events: none;
  box-shadow: var(--shadow-blue);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 0 30px rgba(30,111,255,0.5); }

/* ============================================================
   17. LIGHTBOX
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border: 1px solid var(--white-40);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--white); color: var(--blue-deep); }

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* ============================================================
   18. ANIMACIONES GLOBALES
============================================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* REVEAL ON SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* DELAY HELPERS */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================================
   19. RESPONSIVE — TABLET (1024px)
============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > .service-card:nth-child(7) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
}

@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   20. RESPONSIVE — MOBILE (768px)
============================================================ */
@media (max-width: 768px) {

  /* NAVBAR MÓVIL */
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 340px;
    height: 100vh;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--white-10);
  }

  .nav-menu.open { right: 0; }

  .nav-link {
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
    color: var(--white);
    border-bottom: 1px solid var(--white-05);
  }
  .nav-link::after { display: none; }

  .nav-cta {
    margin: 20px 0 0;
    width: 100%;
    justify-content: center;
    padding: 14px;
  }

  /* HERO MÓVIL */
  .hero-stats {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    width: 100%;
  }
  .stat-item { padding: 0; }
  .stat-divider { width: 60%; height: 1px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 360px; }
  .about-content { padding-left: 0; }

  /* SERVICIOS */
  .services-grid { grid-template-columns: 1fr; }

  /* PORTAFOLIO */
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .portfolio-item.large { grid-column: span 2; }

  /* PROCESO */
  .process-steps { grid-template-columns: 1fr; gap: 32px; }

  /* TESTIMONIOS */
  .testimonial-card { min-width: 100%; }

  /* CONTACTO */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* SECCIONES */
  .about, .services, .portfolio, .process,
  .testimonials, .cta-section, .contact { padding: 80px 0; }
}

/* ============================================================
   21. RESPONSIVE — SMALL MOBILE (480px)
============================================================ */
@media (max-width: 480px) {
  .hero-title .title-line { font-size: clamp(2.8rem, 14vw, 4rem); }
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .portfolio-item.large { grid-column: span 1; grid-row: span 1; }
  .cta-actions { flex-direction: column; width: 100%; }
  .btn-whatsapp, .btn-primary.large { width: 100%; justify-content: center; }
  .hero-stats { display: none; }
}
