#vapi-btn-container > [id^="vapi-btn"], #vapi-btn-container > #vapi-chat-btn {
  position: static !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  top: auto !important;
  margin: 0 !important;
  float: none !important;
  display: flex !important;
  z-index: 1 !important;
}
:root{
  --bg:#0b0f19;
  --card:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.12);
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.75);
  --accent:#22d3ee;
  --purple:#7c5cff;
  --warn:#ffb400;
  --danger:#ff3232;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background: var(--bg);
  padding-top: 70px;
  position: relative;
}
.wrap{
  position: relative;
  z-index: 2;
}

a{color:inherit;text-decoration:none}
.wrap{max-width:1100px;margin:0 auto;padding:22px}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Top bar */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(11,15,25,.92), rgba(11,15,25,.55));
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  max-width:1100px; margin:0 auto;
  padding:14px 22px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:900}
.brand__logoBtn{
  text-decoration: none;
}
.brand__logo{
  width:36px; height:36px; border-radius:12px;
  background: linear-gradient(135deg, var(--purple), var(--accent));
  box-shadow: var(--shadow);
}
.brand__name{letter-spacing:.2px; color: var(--accent);}

/* Banner Hero */
.bannerHero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 10px 22px 50px;
  margin: 0 auto;
  max-width: 1100px;
}

.bannerHero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bannerHero__title {
  margin: 0;
  font-size: 52px;
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 900;
  color: var(--text);
}

.bannerHero__title .highlight {
  color: var(--accent);
  font-weight: 700;
}

.bannerHero__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bannerHero__brand {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.bannerHero__tagline {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}

.bannerHero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.bannerHero__cta .btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
}

.bannerHero__image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bannerHero__image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(34, 211, 238, 0.2));
}

@media (max-width: 900px) {
  .bannerHero {
    grid-template-columns: 1fr;
    padding: 10px 22px 50px;
    gap: 30px;
  }
  
  .bannerHero__image {
    order: -1;
  }
  
  .bannerHero__content {
    text-align: center;
    align-items: center;
  }
  
  .bannerHero__title {
    font-size: 40px;
  }
  
  .bannerHero__tagline {
    font-size: 15px;
  }
  
  .bannerHero__cta {
    justify-content: center;
  }
  
  .brand__name {
    font-size: 15px;
  }

  /* Mejoras topbar en móvil */
  .topbar__inner {
    padding: 0 12px;
    gap: 12px;
  }

  .topbar__actions {
    gap: 6px;
  }

  .topbar__actions .btn {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  
  .topbar__actions .btn--primary {
    min-width: 120px;
  }
}

@media (max-width: 600px) {
  .bannerHero {
    padding: 30px 16px;
    gap: 20px;
  }
  
  .bannerHero__title {
    font-size: 32px;
  }
  
  .bannerHero__brand {
    font-size: 16px;
  }
  
  .bannerHero__tagline {
    font-size: 14px;
  }

  /* Ajustes adicionales para móviles pequeños */
  .brand__name {
    display: none;
  }

  .topbar__actions .btn {
    padding: 6px 8px;
    font-size: 11px;
  }
  
  .topbar__actions .btn--primary {
    min-width: 100px;
  }

  #langBtn {
    min-width: 36px;
    padding: 6px;
  }
    font-size: 14px;
  }
}

.nav{display:flex; gap:16px; align-items:center; flex-wrap:wrap}
.nav a{
  color:var(--muted); 
  font-size:14px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all .25s ease;
  position: relative;
}
.nav a:hover{
  color:var(--text);
  background: rgba(34,211,238,.12);
  box-shadow: 0 0 16px rgba(34,211,238,.3);
  transform: translateY(-2px);
}
.nav a::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: transform .25s ease;
}
.nav a:hover::after{
  transform: translateX(-50%) scaleX(1);
}
@media (max-width: 900px){ .nav{display:none} }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:900; font-size:14px;
  cursor:pointer;
  transition: all .2s ease;
}
.btn:hover{
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(34,211,238,.4);
}
.btn--primary{
  border-color: rgba(34,211,238,.45);
  background: rgba(34,211,238,.15);
  min-width: 140px;
  white-space: nowrap;
  text-align: center;
}
.btn--primary:hover{
  background: rgba(34,211,238,.25);
  box-shadow: 0 0 20px rgba(34,211,238,.5);
}
.btn--ghost{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 20px rgba(255,255,255,.3);
}
.btn--purple{
  border-color: rgba(124,92,255,.45);
  background: rgba(124,92,255,.12);
}
.btn--purple:hover{
  background: rgba(124,92,255,.25);
  box-shadow: 0 0 20px rgba(124,92,255,.5);
}
.btn--tacos{
  border-color: rgba(255,180,0,.55);
  background: rgba(255,180,0,.12);
}
.btn--tacos:hover{
  background: rgba(255,180,0,.25);
  box-shadow: 0 0 20px rgba(255,180,0,.5);
}
.btn--danger{
  border-color: rgba(255,50,50,.45);
  background: rgba(255,50,50,.10);
}
.btn--danger:hover{
  background: rgba(255,50,50,.25);
  box-shadow: 0 0 20px rgba(255,50,50,.5);
}

/* Hero */
.hero{
  padding:62px 0 18px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr; padding-top:42px}
  .hero__left{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cta{
    justify-content: center;
  }
  .mini{
    text-align: center;
  }
  .brand__name{
    display: none;
  }
}
.hero__left{padding:26px}
.hero__right{padding:18px}

.kicker{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 12px; border-radius:999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size:13px;
}
.dot{
  width:8px;height:8px;border-radius:999px;background:var(--accent);
  box-shadow: 0 0 18px rgba(34,211,238,.55);
}
h1{
  margin:14px 0 10px;
  font-size:46px; line-height:1.05;
  letter-spacing:-.7px;
}
@media (max-width: 520px){ h1{font-size:38px} }
.lead{color:var(--muted); font-size:16px; line-height:1.65; max-width:62ch}
.cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.mini{margin-top:12px; color:rgba(234,240,255,.6); font-size:13px}

.panelTitle{font-weight:900; margin:6px 0 10px}
.list{display:grid; gap:10px}
.pill{
  padding:12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  transition: all .25s ease;
  cursor: pointer;
}
.pill:hover{
  transform: translateX(4px);
  border-color: rgba(34,211,238,.35);
  background: rgba(255,255,255,.08);
  box-shadow: 0 4px 16px rgba(34,211,238,.15);
}
.pill b{display:block}
.pill span{color:var(--muted); font-size:13px; line-height:1.35}

/* Sections */
.section{padding:22px 0}
.section h2{margin:0 0 10px; font-size:22px}
.section p{margin:0; color:var(--muted); line-height:1.6}

.grid3{
  display:grid; gap:14px;
  grid-template-columns: repeat(3, 1fr);
  margin:14px 0;
}
@media (max-width: 900px){ .grid3{grid-template-columns:1fr} }

.feature{padding:16px; transition: all .3s ease; cursor: pointer;}
.feature:hover{
  transform: translateY(-6px);
  border-color: rgba(34,211,238,.45);
  box-shadow: 0 12px 40px rgba(0,0,0,.45), 0 0 25px rgba(34,211,238,.25);
}
.feature h3{margin:0 0 8px; font-size:16px}
.feature p{margin:0; color:var(--muted); font-size:14px; line-height:1.55}

/* Pricing */
.pricing{
  display:grid; gap:28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top:28px;
}
@media (max-width: 900px){ 
  .pricing{grid-template-columns:1fr}
  .price{
    text-align: left;
    align-items: stretch;
  }
  .price__features{
    align-items: flex-start;
  }
}
.price{
  padding:18px; 
  display: flex; 
  flex-direction: column; 
  min-height: 100%;
  transition: all .3s ease;
  cursor: pointer;
}

.price__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.price:hover{
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(34,211,238,.55);
  box-shadow: 0 12px 40px rgba(0,0,0,.45), 0 0 30px rgba(34,211,238,.3);
}
.price--featured{
  border-color: rgba(124,92,255,.55);
  transform: scale(1.06);
  animation: glow-pro 3s ease-in-out infinite;
}
.price--featured:hover{
  border-color: rgba(124,92,255,.75);
  box-shadow: 0 12px 40px rgba(0,0,0,.45), 0 0 30px rgba(124,92,255,.4);
  transform: scale(1.06) translateY(-8px);
}
@keyframes glow-pro {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255,148,0,.35), inset 0 0 18px rgba(255,70,160,.08);
  }
  50% {
    box-shadow: 0 0 36px rgba(255,112,0,.55), inset 0 0 24px rgba(255,70,160,.12);
  }
}
.tag{
  display:inline-block;
  font-size:12px; font-weight:900;
  padding:6px 10px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--muted);
}
.amount{font-size:30px; font-weight:900; margin:0}
.per{font-size:14px; font-weight:900; color:var(--muted)}

.priceCta{
  margin-bottom: 16px;
  padding: 0;
  display:flex;
  justify-content: center;
}

.price__features{
  margin: 0;
  padding: 0;
  color: var(--text);
  line-height: 1.8;
  list-style-type: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price__features li{
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-icon{
  color: var(--accent);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}

.included-plan {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.included-plan .feature-icon {
  color: var(--muted);
}

/* Contact section */
.section--contact{
  position: relative;
  overflow: visible;
  z-index: 1;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.contact__bg{
  display: none;
}
.section--contact > h2,
.section--contact > p,
.section--contact > .form{
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (max-width: 900px){
  .section--contact{
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .contact__bg{
    top: 12px;
    right: 50%;
    transform: translateX(50%);
    width: 300px;
    height: 300px;
    opacity: 0.08;
    filter: brightness(0.8) blur(1px);
  }
  .section--contact > h2,
  .section--contact > p{
    text-shadow: 0 2px 8px rgba(11, 15, 25, 0.8);
  }
}

/* Contact form */
.form{display:grid; gap:10px; margin-top:12px}
.row{display:grid; gap:10px; grid-template-columns: 1fr 1fr}
@media (max-width: 700px){ .row{grid-template-columns:1fr} }
.input2, .textarea2{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  color: rgba(234,240,255,.95);
  outline:none;
}
.textarea2{min-height:110px; resize:vertical}
.input2::placeholder, .textarea2::placeholder{color: rgba(234,240,255,.45)}
.note{font-size:12px; opacity:.7}

/* Personalization */
.personalize{
  margin-top:18px;
  display:grid;
  gap:12px;
  width: 100%;
  z-index: 2;
}
.personalize__cta{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:16px;
  width:100%;
  box-shadow: 0 0 30px rgba(34,211,238,.4), inset 0 0 30px rgba(34,211,238,.1);
  animation: glow 3s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(34,211,238,.4), inset 0 0 30px rgba(34,211,238,.1);
  }
  50% {
    box-shadow: 0 0 50px rgba(34,211,238,.6), inset 0 0 40px rgba(34,211,238,.2);
  }
}
.personalize__copy h3{margin:0 0 6px; font-size:18px}
.personalize__copy p{margin:0; color:var(--muted)}

.personalize__action{display:flex; align-items:center; gap:10px}
.btn--icon{
  width:42px; height:42px; padding:0;
  border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center;
  border-color: rgba(34,211,238,.45);
  background: rgba(34,211,238,.12);
  transition: all .2s ease;
}
.btn--icon:hover{
  background: rgba(34,211,238,.25);
  box-shadow: 0 0 20px rgba(34,211,238,.4);
  transform: scale(1.08);
}
.btn--icon img{width:24px; height:24px; object-fit:cover}

.personalize__panel{
  display:grid; gap:14px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
  max-height:0; opacity:0; overflow:hidden;
  transition: max-height .35s ease, opacity .25s ease;
}
.personalize__panel.is-open{max-height:none; opacity:1}

.personalize__panel.ai-mode{
  grid-template-columns: 1fr;
}

.personalize__panel.ai-mode .form--compact{
  display: none;
}

.personalize__hero{
  position:relative;
  min-height:auto;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  order: 2;
  display: flex;
  align-items: flex-end;
}
.personalize__hero img{
  width:100%; height:100%; object-fit:contain; display:block;
  filter: brightness(0.9) contrast(1.05);
  position: absolute;
  top: 0;
  left: 0;
}
.personalize__heroContent{
  position: relative;
  z-index: 2;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  width: 100%;
}
.personalize__heroTitle{
  margin: 0 0 6px 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--accent);
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.personalize__heroSubtitle{
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(234,240,255,.85);
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.form--compact{margin-top:0; order: 1}
.personalize__panel .form--compact{display: flex; flex-direction: column; gap: 10px}

@media (max-width: 700px){
  .personalize__cta{flex-direction:column; align-items:flex-start}
  .personalize__panel{grid-template-columns: 1fr}
  .personalize__hero{order: 1; min-height: 300px}
  .form--compact{order: 2}
}

/* Footer */
.footer{
  margin-top: 16px;
  padding: 16px 4px 32px;
  opacity:.65;
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.footer-content{
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.footer-links{
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a{
  color: var(--muted);
  transition: all .2s ease;
}
.footer-links a:hover{
  color: var(--accent);
  text-decoration: underline;
}
.footer-separator{
  color: var(--muted);
  opacity: 0.5;
}
@media (min-width: 600px){
  .footer-content{
    flex-direction: row;
    justify-content: space-between;
  }
}

.brand__logoImg{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
}

/* Ensure Vapi widget button stays above page layers - minimal interference */

/* Solo el contenedor de botones debe ser fixed, los botones hijos no */
#vapi-btn-container {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0px;
  z-index: 10001 !important;
}
[id^="vapi-btn"], #vapi-chat-btn {
  position: static !important;
  z-index: 1;
  margin-left: 0;
  margin-right: 0;
  border-radius: 50%;
}

[id^="vapi-btn"], #vapi-chat-btn {
  position: static !important;
  z-index: 1;
}

/* Fix Vapi button image only */
[id*="vapi"] img,
[class*="vapi"] img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

/* Remove rotation, add scale effect instead */
button[class*="vapi"]:active {
  transform: scale(0.95) !important;
  animation: none !important;
}

button[class*="vapi"]:hover {
  transform: scale(1.05) !important;
}

/* Active state - pulsing animation WITHOUT scale */
button[class*="vapi"].active {
  animation: pulse-active 1.5s ease-in-out infinite !important;
}

@keyframes pulse-active {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6), 0 0 40px rgba(0, 255, 136, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.8), 0 0 60px rgba(0, 255, 136, 0.5);
  }
}

/* Mobile label for Vapi button */
@media (max-width: 768px) {
  button[class*="vapi"]::after {
    content: "Habla con Like";
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: var(--bg);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
    pointer-events: none;
  }
  
  /* Change label when active */
  button[class*="vapi"].active::after {
    content: "En llamada";
    background: #00ff88;
  }
}

/* Custom Vapi buttons - fully controlled */
#custom-vapi-container {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  z-index: 10001 !important;
}

#custom-call-btn:hover,
#custom-chat-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 32px rgba(34, 211, 238, 0.5) !important;
}

#custom-call-btn:active,
#custom-chat-btn:active {
  transform: scale(0.95);
}

/* Ocultar el botón original de Vapi si aparece */
[id^="vapi-btn"],
button[class*="vapi"] {
  display: none !important;
}

/* Website section - responsive grid for mobile */
@media (max-width: 768px) {
  #websitePanel > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* Website + E-commerce section - unique glow */
.personalize__cta.website-ecommerce {
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 12px 40px rgba(124, 92, 255, 0.25), 0 0 0 1px rgba(124, 92, 255, 0.3);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.08) 0%, rgba(34, 211, 238, 0.06) 100%);
}

.personalize__cta.website-ecommerce:hover {
  box-shadow: 0 16px 50px rgba(124, 92, 255, 0.35), 0 0 0 1px rgba(124, 92, 255, 0.5);
  border-color: rgba(124, 92, 255, 0.7);
}
