/* ─── CUSTOM FONT ─── */
@font-face {
  font-family: 'Conthrax';
  src: url('fonts/Conthrax-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --navy: #080e1f;
  --navy-mid: #0f1a35;
  --navy-light: #162040;
  --accent: #00d4a1;
  --accent2: #0099ff;
  --accent-glow: rgba(0,212,161,0.18);
  --white: #f5f8ff;
  --muted: #7a8aaa;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Conthrax', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 6%;
  background: rgba(8,14,31,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  animation: fadeDown .6s ease both;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -.02em;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--accent); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}
nav ul a {
  text-decoration: none;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .25s;
}
nav ul a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: var(--navy) !important;
  padding: .55rem 1.3rem;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background .25s, transform .2s !important;
}
.nav-cta:hover { background: #00f0b8 !important; transform: translateY(-1px); }

/* ─── HERO ─── */
#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 6% 6rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,153,255,0.13) 0%, rgba(0,212,161,0.07) 50%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  pointer-events: none;
  animation: pulse 5s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,212,161,0.1);
  border: 1px solid rgba(0,212,161,0.3);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.8rem;
  animation: fadeUp .6s .1s ease both;
}
.badge::before { content: '●'; font-size: .5rem; animation: blink 1.5s ease infinite; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
  max-width: 820px;
  animation: fadeUp .7s .2s ease both;
}
h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 580px;
  margin: 1.6rem auto 0;
  font-weight: 300;
  animation: fadeUp .7s .35s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.8rem;
  flex-wrap: wrap;
  animation: fadeUp .7s .5s ease both;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: .9rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .25s;
  box-shadow: 0 0 28px rgba(0,212,161,0.25);
}
.btn-primary:hover { background: #00f0b8; transform: translateY(-2px); box-shadow: 0 0 40px rgba(0,212,161,0.4); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: .9rem 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .25s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }

.hero-stats {
  display: flex;
  gap: 3.5rem;
  justify-content: center;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 600px;
  animation: fadeUp .7s .65s ease both;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-top: .2rem; }

/* ─── SECTIONS BASE ─── */
section { padding: 7rem 6%; position: relative; z-index: 1; }
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  max-width: 600px;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}
.section-sub {
  color: var(--muted);
  max-width: 520px;
  margin-top: .9rem;
  font-weight: 300;
  font-size: 1.05rem;
}

/* ─── SOLUTIONS ─── */
#soluciones { background: var(--navy-mid); }
#soluciones::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy) 0%, transparent 15%, transparent 85%, var(--navy) 100%);
  pointer-events: none;
}

.solutions-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}
.solutions-header .section-title,
.solutions-header .section-sub { max-width: 640px; margin-left: auto; margin-right: auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,212,161,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}
.icon-green { background: rgba(0,212,161,0.12); }
.icon-blue  { background: rgba(0,153,255,0.12); }
.icon-purple{ background: rgba(120,80,255,0.12); }
.icon-orange{ background: rgba(255,140,0,0.12); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: .7rem;
}
.service-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.service-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,212,161,0.1);
  border-radius: 4px;
  padding: .25rem .65rem;
}

.solutions-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ─── NOSOTROS ─── */
#nosotros_div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
}
.about-card-main {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.about-card-main::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,161,0.12), transparent 70%);
}
.about-big-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.04em;
}
.about-big-label {
  font-size: 1rem;
  color: var(--muted);
  margin-top: .3rem;
}
.about-divider {
  width: 40px; height: 2px;
  background: var(--accent);
  margin: 1.5rem 0;
}
.about-card-main p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
}

.differentiators {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-top: 1.8rem;
}
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.diff-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(0,212,161,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.diff-item h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .2rem;
}
.diff-item p { font-size: .85rem; color: var(--muted); line-height: 1.55; }

.about-text p {
  color: var(--muted);
  margin-top: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
}
.about-text .btn-primary { margin-top: 2rem; }

/* ─── CONTACT ─── */
#contacto {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy) 0%, transparent 15%, transparent 85%, var(--navy) 100%);
  pointer-events: none;
}

.contact-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -.025em;
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 400px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-top: 2.2rem;
}
.channel {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .95rem;
  color: var(--white);
  text-decoration: none;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  transition: border-color .25s, background .25s;
}
.channel:hover { border-color: rgba(0,212,161,0.35); background: rgba(0,212,161,0.05); }
.channel-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0,212,161,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.channel span { font-size: .8rem; color: var(--muted); display: block; }

.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.4rem 2.2rem;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.form-group label { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color .25s, background .25s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(122,138,170,0.5); }
.form-group select option { background: var(--navy-mid); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); background: rgba(0,212,161,0.04); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 1rem; font-size: 1rem; font-family: var(--font-display); font-weight: 600; margin-top: .5rem; border-radius: 10px; }

.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 1rem;
}
.form-note span { color: var(--accent); }

/* ─── FOOTER ─── */
footer {
  padding: 2.5rem 6%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
footer .logo { font-size: 1.2rem; }
footer p { font-size: .82rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a { font-size: .82rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

/* ─── ANIMATIONS ─── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -52%) scale(1); opacity: 1; }
  50%       { transform: translate(-50%, -52%) scale(1.07); opacity: .7; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav ul { gap: 1.4rem; }
  #nosotros_div { grid-template-columns: 1fr; gap: 3rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav ul { display: none; }
  .hero-stats { gap: 2rem; }
  footer { flex-direction: column; text-align: center; }
}

/* ─── FORM FEEDBACK ─── */
.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
.form-feedback.success {
  background: rgba(0,212,161,0.12);
  border: 1px solid rgba(0,212,161,0.4);
  color: #00d4a1;
}
.form-feedback.error {
  background: rgba(255,80,80,0.1);
  border: 1px solid rgba(255,80,80,0.35);
  color: #ff7070;
}

/* ─── HONEYPOT (oculto para humanos) ─── */
.hp-field { display: none !important; visibility: hidden !important; }

/* ════════════════════════════════════════════════════════════════
   HAMBURGER MENU
   ════════════════════════════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  z-index: 200;
  transition: border-color .25s;
}
.nav-hamburger:hover { border-color: var(--accent); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
  transform-origin: center;
}

/* Estado activo (X) */
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay oscuro detrás del menú mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 150;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s;
}
.nav-overlay.active {
  display: block;
  opacity: 1;
  z-index: 2;
}

@media (max-width: 640px) {
  .nav-hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100dvh;
    background: var(--navy-mid);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 2rem;
    gap: 0;
    z-index: 160;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    display: flex !important; /* override el display:none del breakpoint anterior */
  }
  .nav-menu.open { right: 0; }

  .nav-menu li { width: 100%; }
  .nav-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    letter-spacing: .06em;
  }
  .nav-menu li:last-child a {
    margin-top: 1.5rem;
    border-bottom: none;
    text-align: center;
    border-radius: 8px;
  }
}

/* ════════════════════════════════════════════════════════════════
   BOTONES FLOTANTES
   ════════════════════════════════════════════════════════════════ */
.floating-btns {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .35s, transform .35s;
}
.floating-btns.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

/* WhatsApp */
.float-wa {
  background: #25d366;
  color: #fff;
}
.float-wa.chatbot-active { background: #128c7e; }

/* Pulso animado en el botón WhatsApp */
.float-btn-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.35);
  animation: waPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Scroll top */
.float-top {
  background: var(--navy-light);
  border: 1px solid var(--border);
  color: var(--white);
}
.float-top:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   MINI CHATBOT WHATSAPP
   ════════════════════════════════════════════════════════════════ */
.float-wa-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-chatbot {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 300px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  opacity: 0;
  transform: scale(.9) translateY(10px);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.wa-chatbot.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

/* Header */
.wa-chatbot-header {
  background: #075e54;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.wa-chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.wa-chatbot-avatar svg { width: 22px; height: 22px; }
.wa-chatbot-name  { font-size: .9rem; font-weight: 700; line-height: 1.2; }
.wa-chatbot-status {
  font-size: .72rem;
  opacity: .85;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wa-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #25d366;
  display: inline-block;
  animation: blink 1.5s ease infinite;
}
.wa-chatbot-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1;
  transition: color .2s;
}
.wa-chatbot-close:hover { color: #fff; }

/* Cuerpo mensajes */
.wa-chatbot-body {
  padding: 14px;
  background: #ece5dd;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-msg {
  background: #fff;
  border-radius: 0 10px 10px 10px;
  padding: 9px 12px;
  max-width: 88%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  font-size: .87rem;
  color: #222;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(6px);
  animation: msgAppear .4s ease forwards;
}
.wa-msg-delay1 { animation-delay: .5s; }
.wa-msg-delay2 { animation-delay: 1s; }
@keyframes msgAppear {
  to { opacity: 1; transform: translateY(0); }
}
.wa-msg p { margin: 0; }

/* Footer botón CTA */
.wa-chatbot-footer {
  padding: 10px 14px 14px;
  background: #fff;
}
.wa-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  width: 100%;
  transition: background .2s;
}
.wa-open-btn:hover { background: #1ebe5d; }

/* ════════════════════════════════════════════════════════════════
   REDES SOCIALES — sección contacto
   ════════════════════════════════════════════════════════════════ */
.social-row {
  display: flex;
  gap: .75rem;
  margin-top: .25rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: 1;
  padding: .7rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--white);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: border-color .25s, background .25s, color .25s, transform .2s;
}
.social-btn:hover { transform: translateY(-2px); }

/* LinkedIn */
.social-li:hover {
  border-color: #0a66c2;
  background: rgba(10,102,194,0.1);
  color: #5ba4f5;
}

/* Instagram */
.social-ig:hover {
  border-color: #e1306c;
  background: rgba(225,48,108,0.08);
  color: #f77fb3;
}
a.nav-cta.menu-footer {
    margin-bottom: 100% !important;
}
/* ── LOGO IMG (navbar + footer) ────────────────────────────────── */
.logo-img {
  height: 28px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  position: relative;
  top: -1px;
  filter: brightness(1);
  transition: filter .25s;
}
.logo:hover .logo-img {
  filter: brightness(1.15) drop-shadow(0 0 6px rgba(0,212,161,0.45));
}
