/* =============================================
   VARIABLES
   ============================================= */
:root {
  --sky:       #0EA5E9;
  --sky-dark:  #0284C7;
  --sky-light: #BAE6FD;
  --sky-pale:  #F0F9FF;
  --navy:      #0C2340;
  --navy-mid:  #1E3A5F;
  --slate:     #475569;
  --gray:      #94A3B8;
  --gray-light:#F1F5F9;
  --white:     #FFFFFF;
  --text:      #0F172A;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(14,165,233,.10);
  --shadow:    0 6px 28px rgba(14,165,233,.14);
  --shadow-lg: 0 16px 48px rgba(14,165,233,.18);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.18;
  color: var(--navy);
}
h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 em {
  font-style: italic;
  font-family: 'Lora', Georgia, serif;
  color: var(--sky);
  font-weight: 600;
}
h2 {
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}
h3 { font-size: 1.1rem; font-weight: 700; }
p { line-height: 1.72; color: var(--slate); }

.accent { color: var(--sky); }
.text-center { text-align: center; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =============================================
   SECTION LABELS & SUBS
   ============================================= */
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--sky);
  margin-bottom: 0.65rem;
}
.section-sub {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
  color: var(--slate);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky);
  color: white;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(14,165,233,.32);
}
.btn-primary:hover {
  background: var(--sky-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(14,165,233,.42);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  border: 2px solid rgba(14,165,233,.3);
  transition: all var(--transition);
}
.btn-ghost:hover {
  border-color: var(--sky);
  color: var(--sky);
  background: var(--sky-pale);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.65rem;
  border-radius: 50px;
  border: 2px solid var(--navy);
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--navy); color: white; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sky);
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.58rem 1.2rem;
  border-radius: 50px;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-nav:hover { background: var(--sky-dark); }

/* =============================================
   NAV
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14,165,233,.1);
  transition: box-shadow var(--transition);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text { line-height: 1.1; }
.logo-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  flex: 1;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--sky); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: white;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--gray-light);
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--gray-light);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--sky); }
.btn-mobile-wa {
  display: block;
  text-align: center;
  background: #25D366;
  color: white !important;
  font-weight: 700;
  padding: 0.9rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  border: none !important;
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.fade-up, .fade-left, .fade-right {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.fade-up    { transform: translateY(28px); }
.fade-left  { transform: translateX(-28px); }
.fade-right { transform: translateX(28px); }

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 100svh;
  padding: 7rem 1.25rem 4rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sky-pale) 0%, #ffffff 55%, rgba(14,165,233,.04) 100%);
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
}
.hero-blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(14,165,233,.18) 0%, transparent 70%);
  top: -120px; right: -100px;
}
.hero-blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(12,35,64,.08) 0%, transparent 70%);
  bottom: -80px; left: -60px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 3.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sky-dark);
  background: rgba(14,165,233,.1);
  border: 1px solid rgba(14,165,233,.2);
  padding: 0.42rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,.1); }
}
.hero-content { max-width: 600px; }
.hero-content h1 { margin-bottom: 1.1rem; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 2px;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-sep {
  width: 1px; height: 32px;
  background: rgba(14,165,233,.2);
}

/* Hero card */
.hero-card {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}
.hero-card-inner {
  background: white;
  border: 1px solid rgba(14,165,233,.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hc-avatar {
  position: relative;
  width: 72px; height: 72px;
  margin-bottom: 1rem;
}
.hc-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--sky-light);
  animation: ring-spin 6s linear infinite;
}
@keyframes ring-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hc-avatar-initials {
  width: 72px; height: 72px;
  background: var(--sky-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--sky-light);
}
.hc-info { margin-bottom: 0.25rem; }
.hc-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.97rem;
  margin-bottom: 1px;
}
.hc-title {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
}
.hc-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--sky);
  background: var(--sky-pale);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.hc-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.25rem;
}
.hc-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--gray-light);
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
}
.hc-next {
  background: var(--sky-pale);
  border: 1px solid rgba(14,165,233,.2);
  border-radius: var(--radius);
  padding: 1rem;
}
.hc-next-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.hc-next-time {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.hc-btn {
  display: block;
  text-align: center;
  background: var(--sky);
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.hc-btn:hover { background: var(--sky-dark); }

/* =============================================
   TRUST STRIP
   ============================================= */
.trust-strip {
  background: var(--navy);
  padding: 1.15rem 1.25rem;
}
.trust-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-item svg { stroke: var(--sky-light); }
.trust-sep {
  width: 1px; height: 20px;
  background: rgba(255,255,255,.15);
}

/* =============================================
   SERVICIOS
   ============================================= */
#servicios {
  padding: 5.5rem 0;
  background: var(--white);
}
#servicios h2,
#servicios .section-label,
#servicios .section-sub {
  text-align: center;
}
#servicios h2 { margin-bottom: 0.35rem; }
#servicios .section-sub { margin-bottom: 3rem; }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.servicio-card {
  background: white;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.servicio-card:hover {
  border-color: var(--sky-light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.servicio-card.featured {
  background: var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.servicio-card.featured h3 { color: white; }
.servicio-card.featured p { color: rgba(255,255,255,.72); }
.servicio-card.featured .servicio-icon-wrap { background: rgba(14,165,233,.2); border-color: rgba(14,165,233,.3); }
.servicio-card.featured .servicio-icon-wrap svg { stroke: var(--sky-light); }
.servicio-card.featured .precio { color: var(--sky-light); }
.servicio-card.featured .servicio-tag { background: rgba(14,165,233,.25); color: var(--sky-light); }

.servicio-icon-wrap {
  width: 52px; height: 52px;
  background: var(--sky-pale);
  border: 1px solid rgba(14,165,233,.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.servicio-icon-wrap svg { stroke: var(--sky); }
.servicio-body { flex: 1; display: flex; flex-direction: column; }
.servicio-body h3 { margin-bottom: 0.5rem; }
.servicio-body p { flex: 1; font-size: 0.92rem; margin-bottom: 1rem; }
.servicio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,.06);
}
.servicio-card.featured .servicio-footer { border-color: rgba(255,255,255,.1); }
.precio {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}
.precio-consultar {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sky);
}
.servicio-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(14,165,233,.1);
  color: var(--sky-dark);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.servicios-cta {
  text-align: center;
  padding: 2rem;
  background: var(--sky-pale);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(14,165,233,.15);
}
.servicios-cta p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--slate);
}

/* =============================================
   EQUIPO
   ============================================= */
#equipo {
  padding: 5.5rem 0;
  background: var(--gray-light);
}
.equipo-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
.equipo-text p {
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}
.equipo-lista {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.equipo-lista li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--slate);
  font-weight: 500;
  line-height: 1.5;
}
.equipo-lista li svg { flex-shrink: 0; margin-top: 2px; }
.equipo-visual {
  position: relative;
}
.equipo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--sky-pale) 0%, rgba(14,165,233,.08) 100%);
  border: 2px dashed rgba(14,165,233,.3);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.equipo-placeholder-icon { opacity: 0.5; }
.equipo-placeholder-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--sky);
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
}
.equipo-tag {
  position: absolute;
  bottom: -12px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid rgba(14,165,233,.2);
  border-radius: 50px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* =============================================
   PROCESO
   ============================================= */
#proceso {
  padding: 5.5rem 0;
  background: white;
}
#proceso h2 { margin-bottom: 0.35rem; }
#proceso .section-sub { margin-bottom: 3.5rem; }

.proceso-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.proceso-step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}
.proceso-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--sky);
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(14,165,233,.35);
}
.proceso-step h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.proceso-step p { font-size: 0.92rem; }
.proceso-connector {
  flex-shrink: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--sky-light), var(--sky));
  margin-top: 27px;
}

/* =============================================
   CHATBOT
   ============================================= */
#chatbot {
  padding: 5.5rem 0;
  background: var(--navy);
}
#chatbot .section-label { color: var(--sky-light); }
#chatbot h2 { color: white; text-align: center; }
#chatbot .section-sub { color: rgba(255,255,255,.65); text-align: center; margin-bottom: 3rem; }

.chatbot-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.chatbot-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.step-icon {
  width: 44px; height: 44px;
  background: rgba(14,165,233,.2);
  border: 1px solid rgba(14,165,233,.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-text h3 { font-size: 1rem; color: white; margin-bottom: 0.3rem; }
.step-text p { font-size: 0.9rem; color: rgba(255,255,255,.6); }

/* Phone frame */
.phone-frame {
  background: #1C1C1E;
  border-radius: 36px;
  padding: 0.75rem 0.75rem 1rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  max-width: 280px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.08);
}
.phone-notch {
  width: 80px; height: 8px;
  background: #2C2C2E;
  border-radius: 50px;
  margin: 0 auto 0.5rem;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0.75rem;
  background: #25D366;
  border-radius: 14px 14px 0 0;
}
.phone-avatar {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.phone-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.phone-info strong { font-size: 0.8rem; color: white; }
.phone-info span { font-size: 0.7rem; color: rgba(255,255,255,.8); }
.online-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
  margin-right: 4px;
}
.chat-messages {
  background: #ECE5DD;
  padding: 0.75rem;
  min-height: 240px;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: none;
}
.chat-messages::-webkit-scrollbar { display: none; }
.msg {
  max-width: 80%;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  font-size: 0.77rem;
  line-height: 1.45;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.msg.visible { opacity: 1; }
.msg-user {
  background: #DCF8C6;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  color: #1a1a1a;
}
.msg-bot {
  background: white;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  color: #1a1a1a;
}
.msg-confirm {
  background: #E3F2FD;
  font-size: 0.75rem;
  line-height: 1.55;
}
.confirm-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  color: #333;
  margin-top: 3px;
}
.phone-input {
  background: white;
  border-radius: 0 0 14px 14px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-input span { font-size: 0.75rem; color: #aaa; }

/* =============================================
   TESTIMONIOS
   ============================================= */
#testimonios {
  padding: 5.5rem 0;
  background: var(--gray-light);
}
#testimonios h2 { margin-bottom: 2.5rem; }

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.testi-card {
  background: white;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.testi-card.featured-testi {
  background: var(--sky);
  border-color: transparent;
}
.testi-card.featured-testi .testi-stars { color: rgba(255,255,255,.85); }
.testi-card.featured-testi blockquote { color: rgba(255,255,255,.92); }
.testi-card.featured-testi strong { color: white; }
.testi-card.featured-testi span { color: rgba(255,255,255,.7); }
.testi-card.featured-testi .testi-avatar { background: rgba(255,255,255,.25); color: white; }

.testi-stars { font-size: 0.95rem; color: #F59E0B; margin-bottom: 0.75rem; }
.testi-card blockquote {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--slate);
  font-style: italic;
  margin-bottom: 1.25rem;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.testi-avatar {
  width: 38px; height: 38px;
  background: var(--sky-pale);
  color: var(--sky-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; color: var(--navy); }
.testi-author span { font-size: 0.78rem; color: var(--gray); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.75rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.rating-stars { font-size: 1.3rem; color: #F59E0B; }
.rating-info strong { display: block; font-size: 1.1rem; color: white; }
.rating-info span { font-size: 0.82rem; color: rgba(255,255,255,.6); }

/* =============================================
   FAQ
   ============================================= */
#faq {
  padding: 5.5rem 0;
  background: white;
}
#faq h2 { margin-bottom: 0.35rem; }
#faq .section-sub { margin-bottom: 0; }

.faq-list {
  max-width: 780px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--gray-light);
}
.faq-item:first-child { border-top: 1px solid var(--gray-light); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--sky); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-q[aria-expanded="true"] { color: var(--sky); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-a.open {
  max-height: 300px;
  padding-bottom: 1.1rem;
}
.faq-a p { font-size: 0.93rem; line-height: 1.72; color: var(--slate); }

/* =============================================
   CONTACTO
   ============================================= */
#contacto {
  padding: 5.5rem 0;
  background: var(--sky-pale);
}
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contacto-info h2 { margin-bottom: 0.75rem; }
.contacto-info > p { margin-bottom: 1.75rem; font-size: 1.02rem; }

.contacto-data {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}
.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.ci-icon {
  width: 38px; height: 38px;
  background: rgba(14,165,233,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { stroke: var(--sky); }
.contacto-item strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 2px; }
.contacto-item span,
.contacto-item a { font-size: 0.9rem; color: var(--slate); }
.contacto-item a:hover { color: var(--sky); }

/* Form */
.contacto-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14,165,233,.1);
}
.contacto-form h3 { margin-bottom: 1.5rem; font-size: 1.15rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--gray-light);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  background: white;
  box-shadow: 0 0 0 3px rgba(14,165,233,.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; }

.form-note {
  font-size: 0.78rem;
  color: var(--gray);
  text-align: center;
  margin-top: 0.75rem;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sky-pale);
  border: 1px solid rgba(14,165,233,.25);
  color: var(--sky-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-top: 0.75rem;
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--navy);
  padding: 3.5rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .logo-name { color: white; }
.footer-brand .logo-sub { color: rgba(255,255,255,.4); }
.footer-brand > p {
  font-size: 0.88rem;
  color: rgba(255,255,255,.5);
  margin-top: 0.85rem;
  line-height: 1.65;
}
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col strong { font-size: 0.8rem; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.footer-col a,
.footer-col span { font-size: 0.88rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-col a:hover { color: var(--sky-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 1.25rem;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom span { font-size: 0.82rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.65); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 200;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-ring 2.5s ease infinite;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
  .equipo-inner { grid-template-columns: 1fr; }
  .equipo-visual { display: none; }
  .chatbot-wrap { grid-template-columns: 1fr; }
  .chatbot-right { display: flex; justify-content: center; }
  .contacto-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .proceso-steps { flex-direction: column; align-items: center; }
  .proceso-connector { width: 2px; height: 32px; background: linear-gradient(180deg, var(--sky-light), var(--sky)); margin: 0 auto; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 600px) {
  h1 { font-size: clamp(1.85rem, 8vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 6.5vw, 2rem); }

  #hero { padding: 5.5rem 1.25rem 3rem; min-height: auto; }
  .hero-stats { gap: 0.75rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: 100%; justify-content: center; }

  .servicios-grid { grid-template-columns: 1fr; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 0.75rem; }
  .trust-sep { display: none; }

  #servicios,
  #equipo,
  #proceso,
  #chatbot,
  #testimonios,
  #faq,
  #contacto { padding: 3.5rem 0; }

  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .proceso-steps { gap: 1.5rem; }
  .proceso-step { padding: 0; }
}
