:root {
  --bg: #0d2744; /* Azul marino del logo */
  --bg-2: #0f335a;
  --primary: #2a7bd8; /* Azul brillante */
  --primary-2: #61a7ff; /* Degradado claro */
  --accent: #5ee2ff; /* Celeste acento */
  --text: #e9f1ff;
  --muted: #a6b6cf;
  --card: #0f1e33;
  --ok: #16a34a;
  --error: #ef4444;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  /* Fondos azules alternados para secciones */
  --bg-light: #152a47;
  --bg-light-2: #1a3454;
  --text-light: #e9f1ff;
  --text-light-muted: #a6b6cf;
  --card-light: #1e3a5f;
  --border-light: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, "Helvetica Neue", Arial;
  color: var(--text);
  background: radial-gradient(
      1200px 600px at 10% -10%,
      rgba(42, 123, 216, 0.25) 0%,
      rgba(42, 123, 216, 0.15) 30%,
      rgba(42, 123, 216, 0.08) 50%,
      rgba(13, 39, 68, 0) 70%
    ),
    linear-gradient(180deg, var(--bg) 0%, #0c2440 40%, #0a1f37 100%);
}

/* Utilidades */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.section {
  padding: 96px 0;
  background: var(--bg);
  color: var(--text);
}
.section-light {
  background: var(--bg-light);
  color: var(--text-light);
}
.section-light .section-title {
  color: var(--text-light);
}
.section-light .section-subtitle {
  color: var(--text-light-muted);
}
.section-alt {
  background: var(--bg);
  position: relative;
  color: var(--text);
}
.section-alt-light {
  background: var(--bg-light-2);
  position: relative;
  color: var(--text-light);
}
.section-alt-light .section-title {
  color: var(--text-light);
}
.section-alt-light .section-subtitle {
  color: var(--text-light-muted);
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-subtitle {
  margin: 0 0 32px;
  color: var(--muted);
}
.grid {
  display: grid;
  gap: 24px;
}
.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Header + Nav */
.site-header {
  position: relative;
  background: transparent;
  padding-top: 72px;
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 39, 68, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.brand-logo.small {
  height: 28px;
  width: auto;
}
.brand-text {
  font-weight: 800;
  letter-spacing: 0.2px;
}
.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}
.nav-links a:hover {
  color: white;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  color: var(--text);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    right: 4%;
    top: 60px;
    background: var(--bg-2);
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav {
    padding: 14px 4%;
  }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 28px;
  padding: 56px 6% 80px;
}
.hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
}
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content p {
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 60ch;
}
.hero-cta {
  display: flex;
  gap: 12px;
}
.btn {
  display: inline-block;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3d8ce5 50%, var(--primary-2) 100%);
  color: white;
  box-shadow: 0 10px 20px rgba(42, 123, 216, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42, 123, 216, 0.45);
}
.contact-form .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}
.badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}
.blob {
  position: absolute;
  filter: blur(24px);
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
}
.blob-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle at 30% 30%,
    var(--primary-2) 0%,
    rgba(97, 167, 255, 0.6) 30%,
    rgba(97, 167, 255, 0.3) 50%,
    transparent 70%
  );
  top: 20px;
  right: 10px;
}
.blob-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle at 60% 60%,
    var(--accent) 0%,
    rgba(94, 226, 255, 0.6) 30%,
    rgba(94, 226, 255, 0.3) 50%,
    transparent 70%
  );
  bottom: -20px;
  left: 20px;
  animation-duration: 14s;
}

.device-cards {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 18px;
}
.card {
  width: 160px;
  height: 110px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  isolation: isolate;
}
.card .spark {
  position: absolute;
  inset: auto auto -10px -10px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--accent), transparent 60%);
  filter: blur(12px);
  opacity: 0.6;
}
.card.phone {
  transform: rotate(-6deg) translate(-30px, -10px);
}
.card.web {
  transform: translate(20px, 0);
}
.card.support {
  transform: rotate(6deg) translate(30px, 20px);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

/* Servicios */
.service-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: var(--text);
}
.service-card h3 {
  color: var(--text);
  margin: 0 0 8px;
}
.service-card p {
  color: var(--muted);
  margin: 0;
}
.section-light .service-card {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}
.section-light .service-card h3 {
  color: var(--text-light);
}
.section-light .service-card p {
  color: var(--text-light-muted);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.section-light .service-card:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  position: relative;
}
.icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.25);
  mix-blend: overlay;
}
.icon-app {
  mask: url("../icons/app.svg") center/60% no-repeat;
}
.icon-web {
  mask: url("../icons/web.svg") center/60% no-repeat;
}
.icon-it {
  mask: url("../icons/it.svg") center/60% no-repeat;
}

/* Portafolio */
.portfolio-item {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--card);
  box-shadow: var(--shadow);
}
.portfolio-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img {
  transform: scale(1.06);
}
.portfolio-item figcaption {
  padding: 14px 16px;
}
.portfolio-item figcaption h3 {
  color: var(--text);
  margin: 0 0 6px;
}
.portfolio-item figcaption p {
  color: var(--muted);
  margin: 0;
}

/* Clientes */
.clients-carousel-wrapper {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px 0;
  background: rgba(15, 30, 51, 0.4);
  position: relative;
}
.section-light .clients-carousel-wrapper {
  border: 1px solid var(--border-light);
  background: rgba(30, 58, 95, 0.3);
}
.clients-carousel {
  display: flex;
  gap: 16px;
  animation: scroll-clients 30s linear infinite;
  width: fit-content;
}
.client-logo {
  display: grid;
  place-items: center;
  height: 64px;
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.section-light .client-logo {
  background: var(--card-light);
  border: 1px solid var(--border-light);
}
.section-light .client-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.client-logo img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.client-logo:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.client-logo:hover img {
  opacity: 1;
}

@keyframes scroll-clients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .client-logo {
    min-width: 120px;
  }
  @keyframes scroll-clients {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}

/* Testimonios */
#testimonios {
  position: relative;
}
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 20px;
}
.testimonials-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}
.section-light .testimonials-label {
  color: var(--primary);
}
.testimonials-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: var(--primary);
}
.testimonials-nav {
  display: flex;
  gap: 8px;
}
.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  outline: none;
}
.testimonial-btn:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(42, 123, 216, 0.3);
}
.testimonial-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.testimonial-btn.next {
  background: var(--primary);
  border-color: var(--primary);
}
.section-light .testimonial-btn {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  color: var(--text-light);
}
.section-light .testimonial-btn.next {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.section-light .testimonial-btn:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.testimonials-carousel {
  overflow: hidden;
  position: relative;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testimonial-card {
  min-width: 340px;
  max-width: 340px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.12);
}
.section-light .testimonial-card {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}
.section-light .testimonial-card .testimonial-text {
  color: var(--text-light);
}
.section-light .testimonial-card .testimonial-author strong {
  color: var(--text-light);
}
.section-light .testimonial-card .testimonial-author span {
  color: var(--text-light-muted);
}
.section-light .testimonial-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--border-light);
}
.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(42, 123, 216, 0.3);
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.star {
  font-size: 18px;
  line-height: 1;
}
.star.filled {
  color: #ffd700;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}
.star.outlined {
  color: rgba(255, 215, 0, 0.3);
}
.testimonial-text {
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 20px;
  font-size: 15px;
  min-height: 80px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-author strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}
.testimonial-author span {
  color: var(--muted);
  font-size: 13px;
}
.testimonial-quote-icon {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 48px;
  color: var(--primary);
  opacity: 0.15;
  font-weight: 700;
  line-height: 1;
  font-family: serif;
}

@media (max-width: 768px) {
  .testimonials-header {
    flex-direction: column;
    align-items: stretch;
  }
  .testimonials-nav {
    align-self: flex-end;
  }
  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
  }
  .testimonials-track {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    min-width: calc(100vw - 64px);
    max-width: calc(100vw - 64px);
  }
}

/* Contacto */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-media {
  display: none;
}
.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--card-light);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
  background: rgba(42, 123, 216, 0.1);
}
.contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 12px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(42, 123, 216, 0.3);
}
.contact-info-card:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(42, 123, 216, 0.4);
}
.contact-info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.contact-label {
  font-size: 13px;
  color: var(--text-light-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-value {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 600;
}
.contact-copy .contact-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}
.contact-copy a {
  color: var(--accent);
}
.contact-form {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.8;
}
.section-alt-light .contact-form {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.section-alt-light .contact-form::before {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.section-alt-light .contact-copy {
  color: var(--text-light);
}
.section-alt-light .contact-copy .section-title {
  color: var(--text-light);
}
.section-alt-light .contact-copy .section-subtitle {
  color: var(--text-light-muted);
}
.section-alt-light .contact-list {
  color: var(--text-light);
}
.section-alt-light .contact-copy a {
  color: var(--accent);
}
.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
}
.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}
.section-alt-light .form-field label {
  color: var(--text-light);
}
.form-field input,
.form-field textarea {
  background: rgba(13, 39, 68, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: inherit;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  background: rgba(13, 39, 68, 0.6);
  box-shadow: 0 0 0 4px rgba(42, 123, 216, 0.1);
  transform: translateY(-2px);
}
.section-alt-light .form-field input,
.section-alt-light .form-field textarea {
  background: rgba(13, 39, 68, 0.5);
  border: 2px solid var(--border-light);
  color: var(--text-light);
}
.section-alt-light .form-field input:focus,
.section-alt-light .form-field textarea:focus {
  border-color: var(--primary);
  background: rgba(13, 39, 68, 0.7);
  box-shadow: 0 0 0 4px rgba(42, 123, 216, 0.15);
}
.section-alt-light .form-field label {
  color: var(--text-light);
}
.toast {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  display: none;
}
.toast.show {
  display: block;
}
.toast.ok {
  background: #0a1f14;
  border: 1px solid rgba(22, 163, 74, 0.5);
  color: #b2f1c7;
}
.toast.err {
  background: #2a1212;
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fecaca;
}

/* Footer */
.footer {
  padding: 64px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-about {
  max-width: 400px;
}
.footer-about .brand {
  margin-bottom: 16px;
}
.footer-about .brand-logo {
  height: 56px;
  width: auto;
}
.footer-description {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
}
.footer-contact-item:hover {
  color: var(--accent);
}
.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: 0.3px;
}
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}
.footer-link-list a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.footer-social .social {
  margin-top: 8px;
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.footer-bottom p {
  margin: 0;
}

/* Redes sociales en footer */
.social {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}
.social a svg {
  fill: var(--text);
  opacity: 0.9;
}
.social a:hover {
  transform: translateY(-2px);
  background: var(--primary);
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  transition: transform 0.3s ease;
  width: auto;
  height: auto;
  z-index: 100;
}
.whatsapp-fab img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
  .whatsapp-fab {
    right: 12px;
    bottom: 12px;
  }
  .whatsapp-fab img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .whatsapp-fab {
    right: 10px;
    bottom: 10px;
  }
  .whatsapp-fab img {
    width: 60px;
    height: 60px;
  }
}

/* Animaciones on-scroll */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in {
  opacity: 1;
  transform: none;
}
[data-animate="stagger"] > * {
  opacity: 0;
  transform: translateY(16px);
}
[data-animate="stagger"].in > * {
  animation: stagger 0.6s ease forwards;
}
[data-animate="stagger"].in > *:nth-child(2) {
  animation-delay: 0.08s;
}
[data-animate="stagger"].in > *:nth-child(3) {
  animation-delay: 0.16s;
}
@keyframes stagger {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 4% 64px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info-cards {
    margin-top: 24px;
  }
  .contact-form {
    padding: 24px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-about {
    max-width: 100%;
  }
  .section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 48px 0;
  }
  .hero {
    padding: 32px 4% 48px;
  }
  .hero-content h1 {
    font-size: clamp(28px, 8vw, 40px);
  }
  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }
  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  .contact-info-card {
    padding: 16px;
  }
  .service-card {
    padding: 18px;
  }
}

@media (min-width: 981px) {
  .contact-media {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
  }
}

/* Contact visual */
.contact-visual {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-visual .cv-blob {
  position: absolute;
  filter: blur(18px);
  opacity: 0.55;
}
.contact-visual .cv-blob.b1 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--primary-2), transparent 60%);
  top: -30px;
  left: -20px;
}
.contact-visual .cv-blob.b2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent), transparent 60%);
  bottom: -30px;
  right: -10px;
}
.contact-visual .cv-devices {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.contact-visual .cv-card {
  width: 160px;
  height: 110px;
  border-radius: 14px;
  background: linear-gradient(180deg, #11213b, #0b1628);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-weight: 700;
}
