/* =========================================================
   IT SOLUTIONS — ESTILOS
   ========================================================= */

/* ----- Reset básico ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font: inherit;
}

/* ----- Variables CSS ----- */
:root {
  --color-navy-950: #060b16;
  --color-navy-900: #0a1224;
  --color-navy-800: #0f1c33;
  --color-navy-700: #16294a;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-white: #ffffff;

  --color-cyan: #22d3ee;
  --color-cyan-dark: #0891b2;
  --color-green: #10b981;

  --gradient-accent: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-green) 100%);
  --gradient-hero: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.15), transparent 45%),
                    radial-gradient(circle at 80% 60%, rgba(16, 185, 129, 0.12), transparent 45%),
                    linear-gradient(180deg, var(--color-navy-950) 0%, var(--color-navy-900) 100%);

  --font-main: 'Inter', 'Roboto', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 10px 30px -12px rgba(6, 11, 22, 0.15);
  --shadow-card-hover: 0 20px 40px -15px rgba(6, 11, 22, 0.25);

  --container-width: 1180px;
  --transition: all 0.25s ease;
}

body {
  font-family: var(--font-main);
  color: var(--color-navy-900);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Utilidades tipográficas ----- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cyan-dark);
  margin-bottom: 12px;
}

.eyebrow--light {
  color: var(--color-cyan);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-navy-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--color-slate-500);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head--left {
  text-align: left;
  margin: 0 0 40px;
}

/* ----- Botones ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: var(--transition);
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-navy-950);
}

.btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--accent {
  background: var(--color-white);
  color: var(--color-navy-900);
}

.btn--accent:hover {
  transform: translateY(-2px);
}

.btn--lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* ----- Micro-interacción sutil en botones destacados (solo CSS) ----- */
.btn--magnetic {
  transition: transform 0.2s ease, filter 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--magnetic:hover {
  transform: translateY(-2px) scale(1.015);
}

.btn--magnetic:active {
  transform: translateY(0) scale(0.99);
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__orb,
  .btn--magnetic {
    transition: none !important;
  }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 22, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
}

.logo strong {
  color: var(--color-cyan);
}

.logo__icon {
  color: var(--color-cyan);
  font-size: 1.3rem;
}

.logo__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-white);
  flex-shrink: 0;
}

.logo__badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: var(--color-slate-200);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--color-cyan);
}

.nav__cta {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--gradient-hero);
  padding: 120px 0 90px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

/* ----- Orbs decorativos con parallax sutil ----- */
.hero__orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.6;
  will-change: transform;
}

.hero__orb--cyan {
  width: 420px;
  height: 420px;
  top: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 70%);
}

.hero__orb--green {
  width: 380px;
  height: 380px;
  bottom: -120px;
  right: -60px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.45), transparent 70%);
}

@media (max-width: 768px) {
  .hero__orb--cyan {
    width: 260px;
    height: 260px;
  }

  .hero__orb--green {
    width: 220px;
    height: 220px;
  }
}

.hero__content {
  max-width: 760px;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--color-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-slate-400);
  max-width: 600px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-cyan);
}

.stat__label {
  color: var(--color-slate-400);
  font-size: 0.9rem;
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.services {
  padding: 100px 0;
  background: var(--color-slate-100);
}

.service-category {
  margin-bottom: 64px;
}

.service-category__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy-800);
  margin-bottom: 28px;
}

.service-category__title i {
  color: var(--color-cyan-dark);
  font-size: 1.2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.cards-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ----- Servicios en pestañas (versión compacta) ----- */
.services-tabs {
  margin-bottom: 56px;
}

.services-tabs__nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-slate-200);
  margin-bottom: 26px;
}

.services-tabs__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-slate-500);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
}

.services-tabs__btn i {
  color: var(--color-slate-400);
  font-size: 0.95rem;
  transition: var(--transition);
}

.services-tabs__btn:hover {
  color: var(--color-navy-800);
}

.services-tabs__btn.active {
  color: var(--color-navy-900);
  border-bottom-color: var(--color-cyan);
}

.services-tabs__btn.active i {
  color: var(--color-cyan-dark);
}

.services-tabs__panel {
  display: none;
}

.services-tabs__panel.active {
  display: block;
  animation: tabFadeIn 0.35s ease;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.cards-grid--compact {
  gap: 14px;
}

.cards-grid--compact.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.cards-grid--compact .card {
  padding: 18px 16px;
}

.cards-grid--compact .card__icon {
  width: 42px;
  height: 42px;
  font-size: 1.05rem;
  margin-bottom: 12px;
  border-radius: 8px;
}

.cards-grid--compact .card h4 {
  font-size: 0.96rem;
  margin-bottom: 6px;
}

.cards-grid--compact .card p {
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .services-tabs__nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .services-tabs__btn {
    white-space: nowrap;
  }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(34, 211, 238, 0.35);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-navy-950);
  margin-bottom: 18px;
}

.card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-navy-900);
}

.card p {
  color: var(--color-slate-500);
  font-size: 0.92rem;
}

/* ----- Bloque destacado: Gestión de Áreas ----- */
.highlight {
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  color: var(--color-white);
}

.highlight__text h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.highlight__text p {
  color: var(--color-slate-400);
  margin-bottom: 28px;
}

.highlight__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.area-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}

.area-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.area-card i {
  font-size: 1.4rem;
  color: var(--color-cyan);
  margin-bottom: 14px;
}

.area-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.area-card p {
  font-size: 0.88rem;
  color: var(--color-slate-400);
}

/* =========================================================
   CONFÍAN EN NOSOTROS
   ========================================================= */
.trust {
  padding: 80px 0;
  background: var(--color-white);
}

/* ----- Leyenda destacada: foco en el sector Minero ----- */
.mining-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 780px;
  margin: 0 auto 44px;
  padding: 20px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(34, 211, 238, 0.28);
}

.mining-badge i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--color-navy-950);
  font-size: 1.1rem;
}

.mining-badge p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-slate-500);
}

.mining-badge p strong {
  color: var(--color-navy-900);
}

@media (max-width: 640px) {
  .mining-badge {
    flex-direction: column;
    text-align: center;
    border-radius: var(--radius-lg);
    padding: 24px;
  }
}

.trust__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-200);
}

.trust__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  filter: grayscale(1);
  opacity: 0.55;
  transition: var(--transition);
  cursor: default;
}

.trust__logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.trust__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .trust__grid {
    gap: 32px;
  }

  .trust__logo {
    height: 52px;
  }
}

@media (max-width: 480px) {
  .trust__grid {
    gap: 28px;
  }

  .trust__logo {
    height: 44px;
  }
}

/* =========================================================
   NOSOTROS
   ========================================================= */
.about {
  position: relative;
  padding: 90px 0;
  background: var(--color-slate-100);
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.14), transparent 70%);
  pointer-events: none;
}

.about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.about__content p {
  color: var(--color-slate-500);
  margin-bottom: 24px;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--color-navy-800);
}

.about__list i {
  color: var(--color-green);
  background: rgba(16, 185, 129, 0.12);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.about__visual {
  display: flex;
}

.about__card {
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  color: var(--color-navy-950);
  width: 100%;
}

.about__card i {
  font-size: 2rem;
  margin-bottom: 18px;
}

.about__card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contact {
  padding: 72px 0;
  background: var(--color-white);
}

/* ----- Panel oscuro unificado (mismo lenguaje visual que el hero) ----- */
.contact__panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
  border-radius: var(--radius-lg);
  padding: 52px;
}

.contact__panel::before,
.contact__panel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.contact__panel::before {
  width: 320px;
  height: 320px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 70%);
}

.contact__panel::after {
  width: 280px;
  height: 280px;
  bottom: -100px;
  right: -60px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22), transparent 70%);
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.contact__info {
  padding-top: 4px;
}

.contact__info .eyebrow {
  color: var(--color-cyan);
}

.contact__info .section-title {
  color: var(--color-white);
}

.contact__info .section-desc {
  color: var(--color-slate-400);
}

.contact__quick {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.contact__quick li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-slate-200);
}

.contact__quick i {
  width: 18px;
  color: var(--color-cyan);
}

.contact-form--compact .form-group {
  margin-bottom: 12px;
}

.contact-form--compact .form-row {
  gap: 12px;
}

.contact-form--compact textarea {
  min-height: 0;
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-slate-200);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-slate-500);
}

.form-group select option {
  color: var(--color-navy-900);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.form-group textarea {
  resize: vertical;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #f87171;
}

.error-message {
  color: #fca5a5;
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 0;
  display: none;
}

.form-group.has-error .error-message {
  display: block;
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success.show {
  display: block;
}

.form-error {
  display: none;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fecaca;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-error.show {
  display: block;
}

/* Honeypot: oculto para personas, visible para bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--color-navy-950);
  color: var(--color-slate-400);
  padding: 72px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo--footer {
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.92rem;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--gradient-accent);
  color: var(--color-navy-950);
}

.footer__col h5 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer__col ul a {
  transition: var(--transition);
}

.footer__col ul a:hover {
  color: var(--color-cyan);
}

.footer__col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__col ul li i {
  color: var(--color-cyan);
  margin-top: 3px;
}

.footer__bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
}

/* =========================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: var(--color-navy-950);
  font-size: 1.7rem;
  box-shadow: 0 10px 28px rgba(6, 11, 22, 0.35);
  transition: var(--transition);
  animation: wa-float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.45);
}

.whatsapp-float i {
  position: relative;
  z-index: 2;
}

/* Anillo de pulso tipo "radar" */
.whatsapp-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 1;
  animation: wa-pulse 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Punto de estado "en línea" */
.whatsapp-float__status {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-cyan);
  border: 2px solid var(--color-navy-950);
  z-index: 3;
  animation: wa-blink 1.8s ease-in-out infinite;
}

/* Tooltip estilo "terminal" */
.whatsapp-float__tooltip {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--color-navy-950);
  color: var(--color-white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 211, 238, 0.4);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(6, 11, 22, 0.3);
}

.whatsapp-float__tooltip small {
  display: block;
  font-weight: 400;
  color: var(--color-slate-400);
  font-size: 0.72rem;
  margin-top: 2px;
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-navy-950);
  border-right: 1px solid rgba(34, 211, 238, 0.4);
  border-bottom: 1px solid rgba(34, 211, 238, 0.4);
  transform: translateY(-50%) rotate(-45deg);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@keyframes wa-pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(34, 211, 238, 0.55),
      0 0 0 0 rgba(16, 185, 129, 0.35);
  }
  70% {
    box-shadow:
      0 0 0 16px rgba(34, 211, 238, 0),
      0 0 0 30px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34, 211, 238, 0),
      0 0 0 0 rgba(16, 185, 129, 0);
  }
}

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

@keyframes wa-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px 1px rgba(34, 211, 238, 0.7); }
  50% { opacity: 0.4; box-shadow: 0 0 2px 0 rgba(34, 211, 238, 0.3); }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
    font-size: 1.5rem;
  }

  .whatsapp-float__tooltip {
    display: none;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .highlight {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }

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

  .about__visual {
    order: -1;
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.active {
    max-height: 320px;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .nav__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__link {
    display: block;
    padding: 14px 0;
  }

  .nav__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 90px 0 60px;
  }

  .hero__stats {
    gap: 32px;
  }

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

  .contact__panel {
    padding: 36px 26px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 480px) {
  .header__inner {
    height: 68px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .services,
  .about,
  .contact {
    padding: 64px 0;
  }
}
