:root {
  --ink: #221F1A;
  --paper: #FFFFFF;
  --cream: #FFF8F3;
  --orange: #FF5A1F;
  --orange-2: #FF7A3D;
  --orange-soft: #FFE9DC;
  --gray: #7A7A72;
  --line: #F0E7DE;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--paper); color: var(--ink); overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
a { color: inherit; }
img { max-width: 100%; display: block; }

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

/* ---------- PROMO BAR ---------- */
.promo-bar {
  background: var(--orange); color: #fff; text-align: center;
  padding: 10px 6vw; font-size: 0.85rem; font-weight: 700;
  position: relative; overflow: hidden; height: 40px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(34, 20, 10, 0.15);
}
.promo-bar .promo-msg {
  position: absolute; opacity: 0; transform: translateY(100%);
  transition: opacity .4s ease, transform .4s ease;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.promo-bar .promo-msg.active { opacity: 1; transform: translateY(0); }
.promo-bar .promo-msg.leaving { opacity: 0; transform: translateY(-100%); }

/* Redes sociales dentro de la franja naranja: estáticas, las 3 visibles */
.promo-social {
  position: absolute; top: 50%; right: 6vw; transform: translateY(-50%);
  display: flex; align-items: center; gap: 18px;
  background: transparent; border: 0; box-shadow: none; padding: 0;
  z-index: 1;
}
.promo-social .social-slide {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 0; box-shadow: none; border-radius: 0;
  color: #fff; text-decoration: none; font-size: 12px; font-weight: 600;
  opacity: 0.9; transition: opacity .25s ease, transform .25s ease;
}
.promo-social .social-slide .social-icon {
  display: inline-flex; width: auto; height: auto; padding: 0; margin: 0;
  background: transparent; border: 0; box-shadow: none; color: inherit;
  font-size: 16px; line-height: 1;
}
.promo-social .social-slide:hover { opacity: 1; transform: translateY(-1px); }
.promo-social .social-slide::before,
.promo-social .social-slide::after,
.promo-social .social-slide .social-icon::before,
.promo-social .social-slide .social-icon::after {
  content: none !important; display: none !important;
}
@media (max-width: 760px) {
  .promo-social .social-slide span:last-child { display: none; }
}
@media (max-width: 480px) {
  .promo-social { display: none; }
}

/* ---------- CATEGORÍAS ---------- */
.categorias-row {
  display: flex; align-items: center; gap: 26px; padding: 14px 6vw;
  border-bottom: 1px solid var(--line); overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.categorias-row::-webkit-scrollbar { display: none; }
.categorias-row .todas {
  display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.88rem;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 4px; flex-shrink: 0;
}
.categorias-row a.cat-link {
  font-size: 0.85rem; font-weight: 500; color: var(--gray); text-decoration: none;
  flex-shrink: 0; transition: color .2s ease;
}
.categorias-row a.cat-link:hover { color: var(--orange); }

/* ---------- NAV ---------- */
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 6vw; position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.logo-mark {
  width: 38px; height: 38px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 1.15rem;
}
.logo span { color: var(--orange); }
nav ul { list-style: none; display: flex; gap: 20px; margin: 0 !important; }
nav ul a {
  text-decoration: none; font-weight: 600; font-size: 0.86rem; white-space: nowrap; position: relative;
  display: inline-block; transition: color .25s ease, transform .25s ease;
}
nav ul a::after {
  content: ''; position: absolute; left: 50%; bottom: -6px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  transition: width .3s cubic-bezier(.2,.8,.2,1); transform: translateX(-50%);
  border-radius: 2px;
}
nav ul a:hover::after { width: 100%; }
nav ul a:hover { color: var(--orange); transform: translateY(-2px); }

/* Mover menú principal levemente a la derecha en escritorio */
@media (min-width: 901px) {
  nav > ul { transform: translateX(40px); }
}

/* Menú móvil toggle */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 70;
}
.menu-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 30px;
  overflow-y: auto; padding: 145px 20px 40px;
  transform: translateY(-100%); transition: transform .35s ease;
}
.mobile-menu-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(900px circle at 15% -10%, rgba(255,90,31,0.22), transparent 55%),
    radial-gradient(700px circle at 100% 100%, rgba(255,122,61,0.18), transparent 50%),
    var(--cream);
  transition: transform .05s linear;
}
.mobile-menu-glow::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(500px circle at 30% 25%, rgba(255,90,31,0.16), transparent 55%),
    radial-gradient(450px circle at 75% 80%, rgba(255,122,61,0.14), transparent 55%);
  animation: menuGlowDrift 14s ease-in-out infinite;
}
@keyframes menuGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -30px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-glow::before { animation: none; }
}
.mobile-menu > *:not(.mobile-menu-glow) { position: relative; z-index: 1; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { text-decoration: none; font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.mobile-menu a.wm-operadora { color: #fff; font-size: 13px; }
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .cta-nav { margin-top: 10px; }

@media (max-width: 900px) {
  nav ul { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- HERO ---------- */
.hero { background: var(--cream); padding: 70px 6vw 90px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-blob-wrap { position: absolute; inset: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; }
@media (max-width: 700px) {
  .hero-blob { opacity: 0.22; }
}
.hero-blob-1 {
  width: 480px; height: 480px; top: -180px; left: -140px;
  background: var(--orange);
  animation: heroDrift1 22s ease-in-out infinite alternate;
}
.hero-blob-2 {
  width: 380px; height: 380px; bottom: -160px; right: -100px;
  background: var(--orange-2);
  animation: heroDrift2 26s ease-in-out infinite alternate;
}
.hero-blob-3 {
  width: 280px; height: 280px; top: 25%; right: 18%;
  background: #FFC9A6;
  animation: heroDrift3 18s ease-in-out infinite alternate;
}
@keyframes heroDrift1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(60px, 50px) scale(1.15); } }
@keyframes heroDrift2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-55px,-35px) scale(1.1); } }
@keyframes heroDrift3 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-45px,55px) scale(0.9); } }
.hero-inner { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 0.9fr; gap: 60px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-soft); color: var(--orange); font-weight: 700;
  font-size: 0.8rem; padding: 9px 18px; border-radius: var(--radius); margin-bottom: 22px;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; }
h1 em { font-style: normal; color: var(--orange); }
.hero-sub { margin-top: 22px; max-width: 460px; font-size: 1.02rem; color: var(--gray); line-height: 1.7; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: #fff; font-weight: 700; font-size: 0.92rem;
  padding: 17px 32px; border-radius: var(--radius); text-decoration: none;
  box-shadow: 0 10px 24px rgba(255,90,31,0.3); transition: transform .15s ease, box-shadow .2s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(255,90,31,0.4); }
.btn-outline {
  border: 2px solid var(--ink); color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 0.92rem; padding: 15px 30px; border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s ease, color .2s ease, transform .15s ease;
}
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

/* ---------- PALABRA ROTATIVA DEL TITULAR ---------- */
.word-rotator {
  display: inline-block;
  position: relative;
  color: var(--orange);
  vertical-align: bottom;
  overflow: hidden;
  transition: width .4s cubic-bezier(.2,.8,.2,1);
  height: 1.18em;
}
.word-rotator .wr-item {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}
.word-rotator .wr-item.active { opacity: 1; transform: translateY(0); }
.word-rotator .wr-item.leaving { opacity: 0; transform: translateY(-18px); }

.hero-visual { position: relative; }
.browser-card {
  background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(34,31,26,0.15);
  overflow: hidden; border: 1px solid var(--line);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.browser-bar { background: #F3EEE7; padding: 12px 16px; display: flex; gap: 6px; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #DCD4C9; }
.browser-content { padding: 26px; background: linear-gradient(160deg, var(--orange-soft), #fff 60%); }
.browser-content .mini-h { height: 14px; width: 60%; background: var(--ink); border-radius: 4px; margin-bottom: 10px; opacity: 0.85; }
.browser-content .mini-p { height: 8px; width: 85%; background: #D8D2C8; border-radius: 4px; margin-bottom: 8px; }
.mini-chat { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.mini-chat-bubble {
  max-width: 76%; padding: 12px 15px; border-radius: 16px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 6px 14px rgba(34,31,26,0.07);
}
.mini-chat-bubble span { display: block; height: 8px; width: 110px; border-radius: 4px; }
.mini-chat-bubble.in {
  align-self: flex-start; background: #fff; border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.mini-chat-bubble.in span { background: #D8D2C8; }
.mini-chat-bubble.out {
  align-self: flex-end; background-color: #FF5A1F;
  border-bottom-right-radius: 4px;
}
.mini-chat-bubble.out span { width: 70px; background-color: #ffffff; opacity: 0.75; }
.browser-content .mini-cards { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.browser-content .mini-cards .mini-chart {
  height: 60px; background: #fff; border-radius: 10px; border: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding: 10px 0 8px;
}
.browser-content .mini-chart span {
  width: 7px; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--orange), var(--orange-2));
}
.browser-content .mini-chart span:nth-child(1) { height: 40%; opacity: 0.55; }
.browser-content .mini-chart span:nth-child(2) { height: 100%; }
.browser-content .mini-chart span:nth-child(3) { height: 65%; opacity: 0.8; }

.float-badge {
  position: absolute;
  background: #fff; border-radius: var(--radius); padding: 16px 20px;
  box-shadow: 0 15px 30px rgba(34,31,26,0.14); display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: scale(0.8);
  animation: popIn 0.6s ease forwards, float 5s ease-in-out infinite;
}
.float-badge .icon-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display:flex; align-items:center; justify-content:center; font-size: 1.1rem; flex-shrink: 0; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #2BC97A; box-shadow: 0 0 0 4px rgba(43,201,122,0.25); }
.ic-svg { flex-shrink: 0; }
/* Iconos de línea: un poco más gruesos y con más presencia */
svg[stroke="currentColor"] { stroke-width: 2.3; }
.badge svg, .promo-msg svg, .scroll-progress-icon svg { width: 17px; height: 17px; }
.float-badge div > b { display: block; font-size: 0.95rem; font-weight: 500; color: var(--ink); line-height: 1.35; max-width: 170px; }
.float-badge b .contador { color: var(--orange); font-weight: 800; }
.badge-num { color: var(--orange); font-weight: 800; }

.fb-1 { bottom: -18px; left: -18px; animation-delay: 0.1s, 0s; }
.fb-2 { top: -18px; right: -18px; animation-delay: 0.35s, 0.6s; }
.fb-3 { top: 42%; right: -48px; animation-delay: 0.6s, 1.2s; }

@keyframes popIn {
  from { opacity: 0; transform: scale(0.8) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 10px; }

  .float-badge {
    padding: 10px 14px; gap: 8px; border-radius: 10px;
    box-shadow: 0 10px 20px rgba(34,31,26,0.16);
  }
  .float-badge .icon-circle { width: 30px; height: 30px; font-size: 0.9rem; }
  .float-badge div > b { font-size: 0.78rem; max-width: 130px; }

  .fb-1 { top: -14px; left: 10px; bottom: auto; }
  .fb-2 { bottom: -14px; right: 10px; top: auto; }
  .fb-3 { display: flex; top: 40%; right: 10px; left: auto; transform: translateY(-50%); }
}

/* ---------- SLIDER DE TECNOLOGÍAS ---------- */
.tech-marquee-wrap {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.tech-marquee-wrap::before,
.tech-marquee-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.tech-marquee-wrap::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.tech-marquee-wrap::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }

.tech-marquee-track {
  display: flex; width: max-content;
  animation: techMarqueeRight 26s linear infinite;
}
.tech-marquee-wrap:hover .tech-marquee-track { animation-play-state: paused; }
@keyframes techMarqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0%); }
}

.tech-marquee-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; flex-shrink: 0; }

.tech-chip {
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gray); white-space: nowrap; transition: color .25s ease;
}
.tech-marquee-wrap:hover .tech-chip:hover { color: var(--orange); }
.tech-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); flex-shrink: 0; }

/* ---------- BENEFICIOS ---------- */
.beneficios { max-width: 1400px; margin: 40px auto 0; padding: 0 6vw; position: relative; z-index: 2; }
.beneficios-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.beneficio {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: #fff; border-radius: 18px; padding: 30px 22px 24px;
  border: 1px solid rgba(34,31,26,0.06);
  box-shadow: 0 10px 26px rgba(34,31,26,0.05);
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.beneficio::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s ease;
}
.beneficio:hover::before { transform: scaleX(1); }
.beneficio:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(34,31,26,0.09);
  border-color: rgba(34,31,26,0.1);
}
.beneficio .ic {
  width: 46px; height: 46px; margin-bottom: 12px; flex-shrink: 0;
  border-radius: 50%; background: var(--orange-soft); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s cubic-bezier(.34,1.4,.64,1), background .4s ease;
}
.beneficio:hover .ic { transform: rotate(-8deg) scale(1.08); background: var(--orange); color: #fff; }
.beneficio b { display: block; font-size: 0.98rem; margin-bottom: 3px; }
.beneficio span { font-size: 0.8rem; color: var(--gray); }
@media (max-width: 900px) { .beneficios-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .beneficios-inner { grid-template-columns: 1fr; counter-reset: beneficio; }
  .beneficio { counter-increment: beneficio; padding: 26px 24px; }
  .beneficio::after {
    content: counter(beneficio, decimal-leading-zero);
    position: absolute; top: 8px; right: 18px; z-index: 0;
    font-size: 4.2rem; font-weight: 800; line-height: 1;
    color: rgba(255,90,31,0.14);
  }
  .beneficio .ic, .beneficio b, .beneficio span { position: relative; z-index: 1; }
}

/* ---------- SECTION HEAD ---------- */
section { padding: 100px 6vw; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head .badge { margin-bottom: 16px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h2 em { font-style: normal; color: var(--orange); }

/* ---------- SERVICIOS ---------- */
.servicios-split {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.3fr; gap: 60px; align-items: start;
}
.servicios-intro .eyebrow {
  display: block; font-family: 'Poppins', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px;
}
.servicios-intro h2 { font-family: 'Poppins', sans-serif; margin-bottom: 18px; }
.servicios-intro p {
  font-family: 'Poppins', sans-serif; font-style: italic; color: var(--gray);
  font-size: 0.95rem; line-height: 1.45; margin-bottom: 24px; max-width: 380px;
}

.servicios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 30px; }
.servicio-card { text-align: center; }
.servicio-card:nth-child(2n) { margin-top: 50px; }
.servicio-titulo {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.05rem;
  color: var(--orange); margin-bottom: 10px; line-height: 1.3;
}
.servicio-card p { font-family: 'Poppins', sans-serif; font-size: 0.87rem; color: var(--gray); line-height: 1.6; margin-bottom: 20px; }

@media (max-width: 1100px) {
  .servicios-split { grid-template-columns: 1fr; gap: 40px; }
  .servicios-intro { text-align: center; }
  .servicios-intro p { max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .servicios-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .servicio-card:nth-child(2n) { margin-top: 0; }
}

/* ---------- SOBRE MÍ ---------- */
.sobremi-split {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center;
}
.sobremi-visual { position: relative; }
.sobremi-visual::before {
  content: ''; position: absolute; top: -36px; left: -36px;
  width: 260px; height: 260px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  opacity: 0.14; z-index: 0;
}
.sobremi-photo-wrap {
  position: relative; z-index: 1; border-radius: 26px; overflow: hidden;
  aspect-ratio: 1 / 1.08; border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(34,31,26,0.18);
}
.sobremi-photo { width: 100%; height: 100%; object-fit: cover; }
.sobremi-badge-1 { bottom: -20px; left: -24px; z-index: 2; }
.sobremi-badge-2 { top: 26px; right: -28px; z-index: 2; }

.sobremi-intro .eyebrow,
.iaportal-intro .eyebrow {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.sobremi-intro h2 { margin-bottom: 20px; }
.sobremi-lead { font-size: 1.05rem; font-weight: 600; line-height: 1.6; margin-bottom: 14px; }
.sobremi-intro > p:not(.sobremi-lead) {
  color: var(--gray); line-height: 1.75; font-size: 0.98rem; margin-bottom: 28px; max-width: 520px;
}
.sobremi-casos { display: flex; flex-direction: column; gap: 16px; margin-bottom: 34px; }
.sobremi-caso { display: flex; align-items: flex-start; gap: 14px; font-size: 0.93rem; line-height: 1.55; }
.sobremi-caso .ic {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: var(--orange-soft); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.sobremi-caso b { color: var(--orange); font-weight: 700; }

@media (max-width: 1100px) {
  .sobremi-split { grid-template-columns: 1fr; gap: 60px; }
  .sobremi-visual { max-width: 360px; margin: 0 auto; }
  .sobremi-intro { text-align: center; }
  .sobremi-intro > p:not(.sobremi-lead) { margin-left: auto; margin-right: auto; }
  .sobremi-caso { text-align: left; }
  .sobremi-casos { max-width: 460px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
  .sobremi-visual::before { display: none; }
  .sobremi-badges {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 12px; margin-top: 16px;
  }
  .sobremi-badges .float-badge {
    position: static; flex: 1 1 150px; max-width: 200px;
    opacity: 1; transform: none; animation: none;
  }
  .sobremi-badges .float-badge div > b { max-width: none; }
}

/* ---------- PORTAL IA ---------- */
.iaportal-split {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center;
}
.iaportal-intro h2 { margin-bottom: 20px; }
.iaportal-visual { position: relative; }
.iaportal-shot img { width: 100%; display: block; }
.iaportal-badge-1 { bottom: -18px; right: -20px; z-index: 2; }
.iaportal-thumb {
  position: absolute; top: -30px; right: -34px; z-index: 3;
  width: 230px; border-radius: 14px; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 20px 40px rgba(34,31,26,0.22);
  opacity: 0; transform: scale(0.85);
  animation: popIn 0.6s ease 0.3s forwards, float 5.5s ease-in-out 0.3s infinite;
}
.iaportal-thumb img { width: 100%; display: block; }

@media (max-width: 1100px) {
  .iaportal-split { grid-template-columns: 1fr; gap: 56px; }
  .iaportal-intro { text-align: center; order: 2; }
  .iaportal-intro > p:not(.sobremi-lead), .iaportal-intro .sobremi-lead { margin-left: auto; margin-right: auto; }
  .iaportal-caso, .iaportal-intro .sobremi-caso { text-align: left; }
  .iaportal-intro .sobremi-casos { max-width: 460px; margin-left: auto; margin-right: auto; }
  .iaportal-visual { order: 1; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 700px) {
  .iaportal-thumb { width: 150px; top: -18px; right: -14px; }
}
@media (max-width: 480px) {
  .iaportal-badge-1 { position: static; margin: 14px auto 0; max-width: 220px; }
  .iaportal-thumb { width: 130px; top: -14px; right: -8px; border-width: 2px; }
}

/* Tarjeta: elevación al pasar el cursor */
.servicio-card { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.servicio-card:hover { transform: translateY(-8px); }

/* Imágenes de servicios */
.servicio-imagen {
  position: relative;
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  border: 1px solid var(--line); border-radius: 16px;
  background: #fff;
}
.servicio-imagen img {
  width: 74px; height: 74px;
  object-fit: contain;
  display: block;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}
.servicio-card:hover .servicio-imagen img {
  transform: scale(1.14) rotate(-4deg);
  filter: drop-shadow(0 12px 18px rgba(255,90,31,.25));
}

/* Título: leve rebote al pasar el cursor */
.servicio-titulo { transition: transform .3s cubic-bezier(.34,1.56,.64,1); display: inline-block; }
.servicio-card:hover .servicio-titulo { transform: scale(1.06); }

/* Redes sociales dentro de la tarjeta de servicio */
.servicio-social { display: flex; align-items: center; justify-content: center; gap: 10px; }
.servicio-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
}
.servicio-social a:hover { background: var(--orange); color: #fff; }
.servicio-card:hover .servicio-social a { transform: translateY(-5px) scale(1.12); }
.servicio-card:hover .servicio-social a:nth-child(1) { transition-delay: .03s; }
.servicio-card:hover .servicio-social a:nth-child(2) { transition-delay: .1s; }
.servicio-card:hover .servicio-social a:nth-child(3) { transition-delay: .17s; }

/* ---------- CÓMO TRABAJAMOS ---------- */
.proceso-timeline {
  max-width: 1400px; margin: 0 auto; position: relative;
  display: flex; justify-content: space-between; gap: 20px;
}
.proceso-timeline::before {
  content: ''; position: absolute; top: 24px; left: 40px; right: 40px; height: 2px;
  background: var(--line); z-index: 0;
}
.proceso-paso { position: relative; z-index: 1; flex: 1; text-align: center; padding: 0 8px; }
.proceso-num {
  width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(255,90,31,0.3);
  cursor: pointer; transition: transform .25s ease, background .3s ease, box-shadow .3s ease;
}
.proceso-num:hover { transform: scale(1.1); }
.proceso-num:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 3px; }
.proceso-paso.is-active .proceso-num { background: var(--ink); transform: scale(1.12); }
.proceso-paso h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; transition: color .25s ease; }
.proceso-paso.is-active h3 { color: var(--orange); }
.proceso-paso p { font-size: 0.82rem; color: var(--gray); line-height: 1.5; }

.proceso-progress {
  position: absolute; top: 24px; left: 40px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  z-index: 0; transition: width .6s cubic-bezier(.2,.8,.2,1);
}
.proceso-rocket {
  position: absolute; top: 0; left: 40px; font-size: 1.35rem; z-index: 2;
  color: #fff;
  transform: translate(-50%, 0) rotate(-10deg);
  transition: left .6s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 2px 3px rgba(34,20,10,.55));
  pointer-events: none;
}
.proceso-rocket svg { width: 26px; height: 26px; }
.proceso-rocket.is-flying { animation: procesoThrust .6s ease; }
@keyframes procesoThrust {
  0%, 100% { transform: translate(-50%, 0) rotate(-10deg); }
  50% { transform: translate(-50%, -10px) rotate(-10deg) scale(1.1); }
}

.proceso-hint {
  text-align: center; font-size: 0.8rem; color: var(--gray); margin-top: 22px;
}

@media (max-width: 900px) {
  .proceso-timeline { flex-direction: column; gap: 30px; padding-left: 4px; }

  /* Línea, barra de progreso y cohete pasan a orientación vertical */
  .proceso-timeline::before {
    top: 24px; left: 24px; right: auto; bottom: 24px;
    width: 2px; height: auto;
  }
  .proceso-progress {
    top: 24px; left: 24px; width: 2px; height: 0;
    background: linear-gradient(180deg, var(--orange), var(--orange-2));
    transition: height .6s cubic-bezier(.2,.8,.2,1);
  }
  .proceso-rocket {
    top: 0; left: 24px;
    transform: translate(-50%, -50%) rotate(-10deg);
    transition: top .6s cubic-bezier(.2,.8,.2,1);
  }
  .proceso-rocket.is-flying { animation: procesoThrustV .6s ease; }

  .proceso-paso { display: flex; align-items: flex-start; gap: 16px; text-align: left; padding: 0; }
  .proceso-num { margin: 0; flex-shrink: 0; }
  .proceso-texto { flex: 1; min-width: 0; }
  .proceso-paso h3 { margin-bottom: 4px; }
}

@keyframes procesoThrustV {
  0%, 100% { transform: translate(-50%, -50%) rotate(-10deg); }
  50% { transform: translate(-50%, -50%) translateX(6px) rotate(-10deg) scale(1.1); }
}

/* ---------- PREGUNTAS FRECUENTES ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--cream); border-radius: 14px; padding: 6px 24px;
  transition: background .2s ease;
}
.faq-item[open] { background: #fff; box-shadow: 0 15px 35px rgba(34,31,26,0.08); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; padding-bottom: 20px; }

/* ---------- SOFTWARE POS ON-CLICK ---------- */
.pos-onclick {
  position: relative;
  background-color: var(--paper);
  background-image: radial-gradient(var(--orange-soft) 2px, transparent 2px);
  background-size: 32px 32px;
}
.pos-grid {
  max-width: 1400px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: stretch;
}
.pos-mock {
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(34,31,26,0.1);
}
.pos-mock-content { padding: 34px 30px; background: linear-gradient(160deg, var(--orange-soft), #fff 55%); }
.pos-mock-content h3 { font-size: 1.3rem; font-weight: 800; margin: 14px 0 10px; line-height: 1.25; }
.pos-mock-content p { color: var(--gray); margin-bottom: 22px; line-height: 1.5; }
.pos-mock-content .btn-primary { padding: 13px 26px; font-size: 0.85rem; box-shadow: none; }
.pos-mini-features {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  align-items: start;
}
.pos-mini-features .ic {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-bottom: 8px;
  border-radius: 9px; background: var(--orange-soft); color: var(--orange);
}
.pos-mini-features b { display: block; font-size: 0.83rem; margin-bottom: 2px; line-height: 1.15; }
.pos-mini-features span { display: block; font-size: 0.72rem; color: var(--gray); line-height: 1.05; }
@media (max-width: 700px) { .pos-mini-features { grid-template-columns: 1fr; } }

.pos-steps {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-radius: 18px; padding: 34px 30px; color: #fff;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 50px rgba(255,90,31,0.25);
}
.pos-steps::before {
  content: '';
  position: absolute;
  right: -60px; bottom: -70px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  pointer-events: none;
}
.pos-steps::after {
  content: '';
  position: absolute;
  left: -50px; top: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}
.pos-steps h3, .pos-steps ol, .pos-steps .btn-white { position: relative; z-index: 1; }
.pos-steps h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 22px; }
.pos-steps ol { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.pos-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.92rem; }
.pos-step-num {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; flex-shrink: 0;
}
.pos-steps .btn-white {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--orange); font-weight: 700; font-size: 0.85rem;
  text-decoration: none; padding: 13px 24px; border-radius: var(--radius);
  white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform .15s ease, box-shadow .2s ease;
}
.pos-steps .btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,0.2); }

@media (max-width: 900px) {
  .pos-grid { grid-template-columns: 1fr; }
}

/* ---------- PORTAFOLIO ---------- */
.portafolio { background: var(--cream); }

.portafolio-filtros {
  max-width: 1400px; margin: 0 auto 36px; display: flex; justify-content: center;
  flex-wrap: wrap; gap: 12px;
}
.portafolio-filtro-btn {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.85rem;
  padding: 12px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--orange); color: #fff;
  transition: background .25s ease, transform .2s ease;
}
.portafolio-filtro-btn:hover { transform: translateY(-2px); }
.portafolio-filtro-btn.active { background: var(--ink); }

@media (max-width: 640px) {
  .portafolio-filtros {
    justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto;
    margin: 0 -6vw 28px; padding: 4px 6vw 10px; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .portafolio-filtros::-webkit-scrollbar { display: none; }
  .portafolio-filtro-btn { flex-shrink: 0; white-space: nowrap; }
}

.portafolio-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proyecto-card[hidden] { display: none; }
.portafolio-vacio {
  max-width: 1400px; margin: 0 auto; text-align: center; color: var(--gray);
  font-size: 0.95rem; padding: 30px 0 0;
}
.proyecto-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none;
  border: 1px solid rgba(34,31,26,0.07);
  box-shadow: 0 10px 24px rgba(34,31,26,0.06);
  transition: box-shadow .7s ease;
}
.proyecto-card:hover {
  box-shadow: 0 14px 26px rgba(34,31,26,0.08);
}

/* Primer proyecto: tarjeta destacada, más ancha y alta */
.proyecto-card:nth-child(1) { grid-column: span 2; }
.proyecto-card:nth-child(1) .proyecto-thumb { height: 220px; }
.proyecto-card:nth-child(1) .proyecto-body h3 { font-size: 1.1rem; }

/* Casos a la medida: tarjeta ancha con captura completa del sistema */
.proyecto-caso { grid-column: span 2; }
.caso-thumb { height: auto; aspect-ratio: 1280 / 580; background: #fff; }
.caso-thumb img { object-fit: cover; }
.caso-thumb::after { display: none; }
@media (max-width: 700px) {
  .proyecto-caso { grid-column: 1 / -1; }
}

.proyecto-thumb { height: 150px; position: relative; overflow: hidden; background: #fff; }
.proyecto-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease;
}
.proyecto-card:hover .proyecto-thumb img { transform: scale(1.02); }

.proyecto-thumb.no-img {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange-soft), #FFF3EA);
}
.proyecto-thumb.no-img .name-fallback {
  font-size: 1.15rem; font-weight: 800; color: var(--ink); opacity: 0.75;
  transition: color .3s ease, transform .3s ease, opacity .3s ease;
  text-align: center; padding: 0 16px;
}
.proyecto-card:hover .proyecto-thumb.no-img .name-fallback { color: var(--orange); transform: scale(1.06); opacity: 1; }

/* Logos de cliente: mostrar completos, sin recortar */
.proyecto-thumb.logo-thumb { background: #fff; display: flex; align-items: center; justify-content: center; padding: 18px; }
.proyecto-thumb.logo-thumb img { width: 100%; height: 100%; object-fit: contain; }
.proyecto-card:hover .proyecto-thumb.logo-thumb img { transform: scale(1.015); }

/* Tarjeta destacada (primera de la lista): fondo suave en vez de blanco */
.proyecto-card:nth-child(1) .proyecto-thumb.logo-thumb { background: var(--orange-soft); }

/* Botón flotante "visitar" que aparece al pasar el cursor */
.proyecto-thumb::after {
  content: '↗';
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700;
  box-shadow: 0 4px 10px rgba(34,31,26,0.1);
  opacity: 0.55;
  transition: opacity .7s ease;
}
.proyecto-card:hover .proyecto-thumb::after { opacity: 1; }

.proyecto-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.proyecto-body .tag {
  align-self: flex-start;
  font-size: 0.62rem; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--orange-soft); padding: 4px 10px; border-radius: 999px;
}
.proyecto-body h3 { font-size: 0.95rem; font-weight: 800; margin: 10px 0 3px; }
.proyecto-body .link { font-size: 0.75rem; color: var(--gray); margin-top: auto; padding-top: 4px; }
@media (max-width: 1100px) {
  .portafolio-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .portafolio-grid { grid-template-columns: 1fr 1fr; }
  .proyecto-card:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .portafolio-grid { grid-template-columns: 1fr; }
  .proyecto-card:nth-child(1) { grid-column: span 1; }
  .proyecto-card:nth-child(1) .proyecto-thumb { height: 170px; }
}

/* ---------- PLANES ---------- */
.planes-sub { margin-top: 14px; font-size: 0.92rem; color: var(--gray); line-height: 1.6; }
.planes-sub b { color: var(--ink); }
.planes-sub a { color: var(--orange); font-weight: 700; text-decoration: none; }
.planes-sub a:hover { text-decoration: underline; }

.planes-grid {
  max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start;
}
.plan-card {
  position: relative;
  background: #fff; border-radius: 22px; padding: 36px 30px 32px;
  border: 1px solid rgba(34,31,26,0.07);
  box-shadow: 0 12px 30px rgba(34,31,26,0.06);
  display: flex; flex-direction: column;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px rgba(34,31,26,0.1); }

.plan-destacado {
  background: var(--ink); color: #fff;
  border-color: var(--ink);
  transform: scale(1.04);
  box-shadow: 0 26px 50px rgba(34,31,26,0.22);
}
.plan-destacado:hover { transform: scale(1.04) translateY(-6px); }
.plan-destacado .plan-pregunta,
.plan-destacado .plan-lista li { color: rgba(255,255,255,0.75); }
.plan-destacado .plan-lista li::before { color: var(--orange); }
.plan-destacado .plan-nombre { color: #fff; }

.plan-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--orange), var(--orange-2)); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255,90,31,0.35);
}

.plan-nombre { font-size: 1.15rem; font-weight: 800; }
.plan-pregunta { font-size: 0.85rem; color: var(--orange); font-weight: 700; margin: 4px 0 22px; }

.plan-lista { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.plan-lista li {
  position: relative; padding-left: 26px; margin-bottom: 13px;
  font-size: 0.88rem; color: var(--gray); line-height: 1.4;
}
.plan-lista li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--orange); font-weight: 800;
}

.plan-btn { text-align: center; width: 100%; box-shadow: none; }

@media (max-width: 1000px) {
  .planes-grid { grid-template-columns: 1fr; max-width: 480px; }
  .plan-destacado { transform: none; }
  .plan-destacado:hover { transform: translateY(-6px); }
}

/* ---------- TESTIMONIOS ---------- */
.testimonios-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.testimonio-card { background: var(--cream); border-radius: 16px; padding: 32px; transition: transform .2s ease; }
.testimonio-card:hover { transform: translateY(-6px); }
.testimonio-card p { font-size: 0.98rem; line-height: 1.7; margin-bottom: 20px; }
.testimonio-card .author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-role { font-size: 0.78rem; color: var(--gray); }
@media (max-width: 700px) { .testimonios-grid { grid-template-columns: 1fr; } }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  max-width: 1400px; margin: 0 auto; background: linear-gradient(120deg, var(--orange), var(--orange-2));
  border-radius: 20px; padding: 44px 44px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 20px; color: #fff; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px;
  border-radius: 50%; background: rgba(255,255,255,0.12); animation: pulse-slow 4s ease-in-out infinite;
}
@keyframes pulse-slow { 0%,100% { transform: scale(1); opacity: .12; } 50% { transform: scale(1.15); opacity: .2; } }
.cta-banner-text { position: relative; z-index: 1; }
.cta-banner-text h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.cta-banner-text p { font-size: 0.9rem; opacity: 0.9; }
.cta-banner .btn-white {
  background: #fff; color: var(--orange); font-weight: 700; text-decoration: none;
  padding: 15px 30px; border-radius: var(--radius); position: relative; z-index: 1; white-space: nowrap;
  transition: transform .15s ease;
}
.cta-banner .btn-white:hover { transform: translateY(-3px); }

/* ---------- FOOTER ---------- */
footer {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px circle at 8% 0%, rgba(255,90,31,0.16), transparent 55%),
    radial-gradient(500px circle at 100% 100%, rgba(255,122,61,0.10), transparent 55%),
    var(--ink);
  color: #fff; padding: 68px 6vw 26px;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
}
.footer-top {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  max-width: 1400px; margin: 0 auto 46px;
}
.footer-brand .logo { color: #fff; margin-bottom: 10px; }
.footer-brand .logo img { width: 130px; }
.footer-brand p { font-size: 0.85rem; color: #A8A49C; line-height: 1.6; margin-bottom: 22px; max-width: 320px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.footer-contact-list a,
.footer-contact-list .footer-contact-static {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 600; color: #fff; text-decoration: none;
  transition: color .2s ease;
}
.footer-contact-list a:hover { color: var(--orange); }
.footer-contact-ic {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,90,31,0.16); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--orange); transform: translateY(-3px); }

.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #7A766E; margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 0.85rem; color: #fff; opacity: 0.8; text-decoration: none;
  margin-bottom: 12px; transition: color .2s ease, opacity .2s ease;
}
.footer-col a:hover { color: var(--orange); opacity: 1; }

.footer-cta-text { font-size: 0.85rem; color: #A8A49C; line-height: 1.6; margin-bottom: 18px; max-width: 220px; }
.footer-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 12px 20px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 24px rgba(255,90,31,0.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.footer-col a.footer-cta-btn:hover {
  color: #fff; opacity: 1;
  transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255,90,31,0.4);
}

.footer-bottom {
  position: relative; z-index: 1;
  max-width: 1400px; margin: 0 auto; padding-top: 24px; border-top: 1px solid #3A362F;
  font-size: 0.8rem; color: #A8A49C; display: flex; justify-content: space-between; flex-wrap: wrap;
  align-items: center; gap: 14px;
}
.footer-top-link { color: #A8A49C; text-decoration: none; font-weight: 600; transition: color .2s ease; }
.footer-top-link:hover { color: var(--orange); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =========================================
   BOTÓN HABLEMOS PREMIUM
========================================= */
.cta-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 125px;
  height: 46px;
  padding: 0 26px;
  background: #ff5a1f;
  color: #ffffff !important;
  border: 0;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.25);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .35s ease;
}
.cta-nav::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 18px;
  border: 1px solid rgba(255, 90, 31, .45);
  opacity: 0;
  transform: scale(.92);
  z-index: -1;
  transition: opacity .35s ease, transform .35s ease;
}
.cta-nav::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -80%;
  width: 45%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), rgba(255,255,255,.65), rgba(255,255,255,.15), transparent);
  transform: skewX(-20deg);
  animation: brilloHablemos 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes brilloHablemos {
  0% { left: -80%; }
  45%, 100% { left: 140%; }
}
.cta-nav:hover {
  background: #ff4b0b;
  transform: translateY(-5px) scale(1.045);
  box-shadow: 0 16px 35px rgba(255, 90, 31, .38), 0 5px 12px rgba(255, 90, 31, .18);
}
.cta-nav:hover::after { opacity: 1; transform: scale(1.08); }
.cta-nav:active {
  transform: translateY(-1px) scale(.97);
  box-shadow: 0 6px 14px rgba(255, 90, 31, .25);
}
.cta-nav-label { position: relative; z-index: 3; }

/* =========================================
   LOGO WEBMASTERA — HEADER
========================================= */
.logo img {
  width: 170px; height: auto; display: block;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), filter 0.35s ease;
}
.logo:hover img {
  transform: scale(1.06) translateY(-2px);
  filter: drop-shadow(0 8px 14px rgba(255, 90, 31, 0.20));
}

/* =========================================
   AJUSTE ALTURA HEADER
========================================= */
nav {
  min-height: 0 !important;
  height: 90px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
nav .logo { height: 90px !important; display: flex !important; align-items: center !important; }
nav .logo img { width: auto !important; height: 60px !important; object-fit: contain !important; }

/* =====================================================
   BUSCADOR HEADER WEBMASTERA
===================================================== */
.wm-header-search {
  position: relative;
  margin-left: auto;
  margin-right: 35px;
  z-index: 9999;
}
.wm-search-trigger {
  -webkit-appearance: none;
  appearance: none;
  height: 44px;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid #ffd8c8;
  border-radius: 999px;
  background: #fffaf7;
  color: #777;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease, box-shadow .3s ease;
}
.wm-search-trigger:hover {
  border-color: #ff4d00;
  color: #ff4d00;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 77, 0, .15);
}
.wm-search-icon { font-size: 22px; color: #ff4d00; line-height: 1; }

.wm-search-panel {
  position: absolute;
  top: 58px;
  right: 0;
  width: 430px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #ffe0d3;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(40, 20, 10, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.97);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.wm-header-search.active .wm-search-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wm-search-input-wrap {
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 14px;
  background: #fff8f4;
  border: 2px solid transparent;
  border-radius: 14px;
  transition: .25s ease;
}
.wm-search-input-wrap:focus-within {
  background: #fff;
  border-color: #ff4d00;
  box-shadow: 0 0 0 4px rgba(255, 77, 0, .08);
}
.wm-search-input-wrap > span { font-size: 25px; color: #ff4d00; margin-right: 10px; }
.wm-search-input {
  width: 100%;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  font-family: inherit;
  font-size: 14px;
  color: #222;
}
.wm-search-input::placeholder { color: #999; }
.wm-search-close { -webkit-appearance: none; appearance: none; border: 0; background: transparent; font-size: 24px; color: #999; cursor: pointer; padding: 5px; }
.wm-search-close:hover { color: #ff4d00; }

.wm-search-results {
  margin-top: 12px;
  max-height: 320px;
  overflow-y: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.wm-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid #ffd8c8;
  border-radius: 14px;
  text-decoration: none;
  color: #222;
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wm-search-result:hover {
  transform: translateY(-2px);
  border-color: #ff4f0b;
  box-shadow: 0 10px 25px rgba(255, 79, 11, .15);
}
.wm-search-result div { display: flex; flex-direction: column; gap: 4px; }
.wm-search-result strong { font-size: 16px; color: #222; }
.wm-search-result span { font-size: 13px; color: #777; }
.wm-search-result > b { color: #ff4f0b; font-size: 20px; }

.wm-search-empty {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #ffd8c8;
  border-radius: 14px;
  text-align: center;
}
.wm-search-empty strong { color: #222; font-size: 16px; }
.wm-search-empty span { color: #777; font-size: 13px; }

@media (max-width: 991px) {
  .wm-header-search { margin-left: 10px; margin-right: 10px; }
  .wm-search-trigger { min-width: 44px; width: 44px; padding: 0; justify-content: center; }
  .wm-search-text { display: none; }
  .wm-search-panel { position: fixed; top: 85px; left: 15px; right: 15px; width: auto; }
}

/* Buscador reubicado dentro del menú móvil (hamburguesa) */
.mobile-menu .wm-header-search {
  position: relative;
  z-index: 5;
  margin: 10px 0 26px;
  width: 88%;
  max-width: 340px;
}
.mobile-menu .wm-search-trigger {
  width: 100%; min-width: 0; padding: 0 18px; justify-content: center;
  background: #fff; border-color: rgba(255,90,31,0.3);
  box-shadow: 0 10px 25px rgba(34,31,26,0.1);
}
.mobile-menu .wm-search-text { display: inline; }
.mobile-menu .wm-search-panel {
  position: absolute; top: 54px; left: 0; right: 0; width: auto;
}

/* ---------- BARRA DE PROGRESO CON COHETE ---------- */
.scroll-progress-track {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 90, 31, 0.3);
  overflow: visible;
  z-index: 5;
}
.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  box-shadow: 0 0 12px rgba(255,90,31,0.5);
  transition: width .08s linear;
}
.scroll-progress-icon {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--orange);
  box-shadow: 0 3px 10px rgba(34,31,26,0.25), 0 0 0 4px rgba(255,90,31,0.4);
  transition: left .08s linear;
  animation: scrollIconPulse 1.6s ease-in-out infinite;
}
@keyframes scrollIconPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}

/* ================================
   ASISTENTE WEBMASTERA — BOTÓN
================================ */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wm-operadora {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255,90,31,.3);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wm-operadora:hover {
  background: var(--orange-2);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255,90,31,.4);
}
.wm-operadora-icon { font-size: 16px; line-height: 1; }
.wm-operadora-text { white-space: nowrap; }

@media (max-width: 480px) {
  .wm-operadora { padding: 0 14px; font-size: 12px; height: 40px; }
}
