/* Muestra estilo Apple — solo aplica a <body class="apple"> */
.apple {
  --a-gris: #f5f5f7; --a-tinta: #1d1d1f; --a-sub: #6e6e73; --a-linea: #d2d2d7;
  --a-r: 28px; --a-r-s: 18px; --a-sombra: 0 2px 6px rgba(0,0,0,.04), 0 18px 48px rgba(0,0,0,.08);
  background: #fff; color: var(--a-tinta); -webkit-font-smoothing: antialiased;
}
.apple .barra-superior { background: var(--a-gris); color: var(--a-sub); border: 0; font-size: 12px; }
.apple .barra-superior a { color: var(--a-sub); }
.apple .cabecera { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.apple .menu a { font-size: 13px; font-weight: 400; color: var(--a-tinta); opacity: .8; }
.apple .menu a:hover { opacity: 1; }
.apple .cabecera__logo img { width: 150px; height: auto; }

/* Botones en píldora */
.apple .boton { border-radius: 980px; font-weight: 500; letter-spacing: 0; padding-inline: 22px; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.apple .boton:active { transform: scale(.97); }
.apple .boton--linea { border-color: transparent; background: transparent; color: var(--acento-700); text-decoration: none; }
.apple .boton--linea:hover { background: var(--acento-100); }
.apple .enlace-flecha { color: var(--acento-700); font-weight: 500; }

/* Tipografía amplia y centrada */
.apple .titular-xl { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.apple .titular-l { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.apple .titular-s { letter-spacing: -0.02em; }
.apple .entrada { font-size: clamp(1.125rem, 1.8vw, 1.5rem); color: var(--a-sub); line-height: 1.4; font-weight: 400; }
.apple .texto, .apple .texto-s { color: var(--a-sub); }
.apple .antetitulo { color: var(--acento-700); letter-spacing: 0; text-transform: none; font-size: 1.0625rem; font-weight: 600; }
.apple .antetitulo.tenue { color: var(--a-sub); }

/* Hero */
.apple .hero { padding: clamp(56px, 9vw, 120px) 0 0; border: 0; background: #fff; }
.apple .hero__rejilla { display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 6vw, 72px); }
.apple .hero__texto { max-width: 900px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.apple .hero__acciones { justify-content: center; }
.apple .cifras { justify-content: center; border: 0; gap: 40px; margin-top: 12px; }
.apple .cifras > div { border: 0; padding: 0; text-align: center; align-items: center; }
.apple .cifra { font-weight: 700; letter-spacing: -0.03em; }
.apple .hero__imagen { border: 0; width: 100%; max-width: 1280px; margin-inline: auto; position: relative; }
.apple .hero__escena, .apple .hero__edificio { border-radius: var(--a-r); overflow: hidden; border: 0; box-shadow: var(--a-sombra); }
.apple .hero__edificio img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.apple .hero__placa { position: absolute; left: 24px; bottom: 24px; max-width: 360px; border: 0; border-radius: var(--a-r-s); background: rgba(255,255,255,.78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 18px 20px; box-shadow: 0 8px 30px rgba(0,0,0,.12); }

.apple .hero__placa strong { color: var(--a-tinta); }
.apple .hero__placa .antetitulo { color: var(--a-sub); }

/* Franja de precios */
.apple .franja-precios { background: #fff; border: 0; padding: clamp(48px, 6vw, 80px) 0 0; }
.apple .franja-precios ul { gap: 12px; border: 0; }
.apple .franja-precios li { border: 0 !important; }
.apple .franja-precios li a { background: var(--a-gris); border-radius: var(--a-r-s); border: 0; padding: 22px; height: 100%; transition: transform 240ms var(--ease-out); }
.apple .franja-precios li a:hover { transform: translateY(-3px); background: var(--a-gris); }
.apple .franja-precios .antetitulo { color: var(--a-sub); font-size: 13px; font-weight: 500; }

/* Secciones */
.apple .seccion { padding: clamp(80px, 11vw, 150px) 0; border: 0; }
.apple .fondo-crema { background: var(--a-gris); }
.apple .fondo-negro { background: #000; }
.apple .fondo-negro .texto, .apple .fondo-negro .texto-s, .apple .fondo-negro .entrada { color: #a1a1a6; }
.apple .encabezado { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); gap: 16px; border: 0; padding: 0; }
.apple .encabezado__titulo { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.apple .encabezado .texto { font-size: 1.1875rem; line-height: 1.45; }

/* Servicios en tarjetas */
.apple #servicios .contenedor > div:last-child { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.apple .servicio { display: flex; flex-direction: column; gap: 14px; background: var(--a-gris); border: 0 !important; border-radius: var(--a-r); padding: 36px 32px; }
.apple .servicio__num { color: var(--a-sub); font-weight: 600; }
.apple .servicio__precio { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; padding: 0; }

/* Valores */
.apple .rejilla-4 { gap: 20px; }
.apple .bloque-valor { background: #1d1d1f; border: 0 !important; border-radius: var(--a-r); padding: 32px 28px; }

/* Planes */
.apple .planes { gap: 20px; border: 0; }
.apple .plan { border: 0 !important; border-radius: var(--a-r); background: var(--a-gris); padding: 36px 32px; }
.apple .plan--destacado { background: #000; color: #f5f5f7; box-shadow: var(--a-sombra); }
.apple .plan__precio, .apple .plan__lista li, .apple .plan__cabeza { border-color: rgba(0,0,0,.08) !important; }
.apple .plan--destacado .plan__precio, .apple .plan--destacado .plan__lista li { border-color: rgba(255,255,255,.14) !important; }
.apple .planes + .texto-xs { text-align: center; }

/* Tarjetas de clientes y ecosistema */
.apple .tarjetas-borde { gap: 20px; border: 0 !important; background: transparent !important; }
.apple .tarjetas-borde > article { border: 0 !important; border-radius: var(--a-r); background: #fff; padding: 32px; }
.apple #ecosistema .tarjetas-borde > article { background: var(--a-gris); }
.apple .etiqueta { border-radius: 980px; border: 0; background: var(--a-gris); }
.apple .fondo-crema .tarjetas-borde + p { text-align: center; }

/* Empresa */
.apple .fondo-crema .rejilla-4 li { border-top: 0 !important; background: #fff; border-radius: var(--a-r-s); padding: 20px !important; }

/* FAQ */
.apple .faq details { border: 0; border-bottom: 1px solid var(--a-linea); }
.apple .faq summary { font-weight: 600; letter-spacing: -0.01em; }

/* Cierre */
.apple .cierre { flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-block: clamp(80px, 10vw, 140px); }
.apple .cierre .pila { align-items: center; }
.apple .cierre__acciones { justify-content: center; }

/* Pie */
.apple .pie { background: var(--a-gris); color: var(--a-sub); }
.apple .pie a { color: var(--a-tinta); opacity: .8; }

.apple .whatsapp-flotante { border-radius: 980px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }

/* Aparición al hacer scroll */
.apple .revelar { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.apple .revelar.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apple .revelar { opacity: 1; transform: none; transition: none; } }

@media (max-width: 767px) {
  .apple .hero__placa { position: static; max-width: none; margin-top: 12px; background: var(--a-gris); box-shadow: none; }
  .apple .hero__edificio img { aspect-ratio: 4 / 3; }
  .apple .cifras { gap: 20px; flex-wrap: wrap; }
}

/* --- Resto del sitio ---------------------------------------------------- */
.apple .migas { padding-top: 16px; font-size: 13px; }
.apple .hero__rejilla > .ficha-sector { width: 100%; max-width: 720px; margin-inline: auto; }
.apple .ficha-sector { border: 0; border-radius: var(--a-r); background: var(--a-gris); box-shadow: none; }
.apple .ficha-sector li { border-color: var(--a-linea); }
.apple .clientes-hero .encabezado__titulo { align-items: flex-start; text-align: left; }
.apple .clientes-hero .hero__acciones { justify-content: flex-start; }
.apple .vitrina { border: 0; border-radius: var(--a-r); box-shadow: var(--a-sombra); }
.apple .mock { border: 0; border-radius: 12px; overflow: hidden; }
.apple .mock-movil { border-radius: 26px; }
.apple .filtro { border-radius: 980px; border-color: var(--a-linea); font-weight: 500; }
.apple .filtro[aria-pressed="true"] { background: var(--a-tinta); border-color: var(--a-tinta); color: #fff; }
.apple .clientes { gap: 16px; border: 0 !important; }
.apple .cliente { border: 0 !important; border-radius: var(--a-r-s); background: var(--a-gris); }
.apple .fondo-crema .cliente { background: #fff; }
.apple .caso { border-top: 0; background: var(--a-gris); border-radius: var(--a-r); padding: 36px 32px; margin-bottom: 20px; }
.apple .caso__cifra { border-left: 0; padding-left: 0; }
.apple .marca-hosting { border: 0; border-radius: var(--a-r); background: var(--a-gris); }
.apple .marca-hosting__logo img { mix-blend-mode: multiply; }
.apple .marca-hosting__datos li { border-color: var(--a-linea); }
.apple .tabla-envoltura { border-radius: var(--a-r); background: var(--a-gris); padding: 8px; }
.apple .tabla { border: 0; }
.apple .tabla th, .apple .tabla td { border-color: var(--a-linea); }
.apple .tabla .destacada { background: #fff; }
.apple .precio-entrada { border: 0; border-radius: var(--a-r); background: #1d1d1f; }
.apple .enlaces-sector__lista a, .apple .enlaces-sector__lista strong { border-radius: 980px; border-color: var(--a-linea); font-weight: 500; }
.apple .enlaces-sector__lista strong { background: var(--a-tinta); border-color: var(--a-tinta); }
.apple .encabezado .enlaces-sector, .apple .contenedor > .enlaces-sector { align-items: center; text-align: center; }
.apple .contenedor > .enlaces-sector .enlaces-sector__lista { justify-content: center; }
.apple .formulario { border-radius: var(--a-r); }
.apple .campo input, .apple .campo select, .apple .campo textarea { border-radius: 12px; border-color: var(--a-linea); }
.apple .campo input:focus, .apple .campo select:focus, .apple .campo textarea:focus { outline: 0; border-color: var(--acento-700); box-shadow: 0 0 0 4px var(--acento-100); }
.apple .fondo-negro:has(> .cierre) { border-top: 0; }
.apple .plan--destacado { border-top: 0; }
.apple .faq details, .apple .faq details:last-of-type { border-top: 0; border-bottom: 1px solid var(--a-linea); }
.apple .pie__sectores { border-color: var(--a-linea); }

/* Servicio destacado (chatbots) */
@media (min-width: 768px) {
  .apple #servicios .contenedor > div:last-child { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .apple #servicios .servicio { grid-column: span 2; }
}
@media (min-width: 1100px) {
  .apple #servicios .contenedor > div:last-child { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .apple #servicios .servicio { grid-column: span 2; }
  .apple #servicios .servicio:nth-child(4) { grid-column: span 3; }
  .apple #servicios .servicio--destacado { grid-column: span 3; }
}
.apple .servicio--destacado { background: #000; color: #f5f5f7; padding: clamp(36px, 4vw, 56px); box-shadow: var(--a-sombra); position: relative; overflow: hidden; }
.apple .servicio--destacado::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--acento) 0%, transparent 65%); opacity: .35; pointer-events: none; }
.apple .servicio--destacado > * { position: relative; }
.apple .servicio--destacado .titular-s { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.1; }
.apple .servicio--destacado .texto { color: #a1a1a6; font-size: 1.125rem; }
.apple .servicio--destacado .servicio__num { color: var(--acento); }
.apple .servicio--destacado .precio-s { color: var(--acento); font-size: 1.5rem; font-weight: 700; }
.apple .servicio--destacado .enlace-flecha { color: #fff; }

/* Captura de cliente (diseño web) */
.captura-sitio { border-radius: var(--a-r, 0); overflow: hidden; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 18px 48px rgba(0,0,0,.10); border: 1px solid rgba(0,0,0,.06); }
.captura-sitio .mock__barra { height: 34px; }
.captura-sitio img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

/* Captura estilizada: perspectiva + ondulado */
.captura-escena { perspective: 1800px; padding: clamp(16px, 4vw, 48px) 0; display: flex; justify-content: center; position: relative; }
.captura-escena::before { content: ""; position: absolute; inset: 12% 10%; background: radial-gradient(closest-side, var(--acento-200), transparent); filter: blur(30px); opacity: .8; z-index: 0; }
.captura-escena .captura-sitio {
  position: relative; z-index: 1; width: min(78%, 620px);
  transform: rotateY(-16deg) rotateX(8deg) rotateZ(1.5deg);
  transform-style: preserve-3d; filter: url(#ondulado);
  box-shadow: -30px 40px 80px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.06);
  animation: captura-flota 9s ease-in-out infinite;
  transition: transform 600ms var(--ease-out);
}
.captura-escena:hover .captura-sitio { transform: rotateY(-6deg) rotateX(3deg) rotateZ(0deg); }
@keyframes captura-flota { 50% { translate: 0 -10px; } }
.apple .hero__imagen .hero__placa { left: auto; right: 4%; bottom: 6%; }
@media (prefers-reduced-motion: reduce) { .captura-escena .captura-sitio { animation: none; filter: none; } }
@media (max-width: 767px) { .captura-escena .captura-sitio { width: 88%; transform: rotateY(-10deg) rotateX(5deg); } }

/* Para quién: sección de venta destacada */
.apple .dolores { background: #000; color: #f5f5f7; position: relative; overflow: hidden; }
.apple .dolores::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -420px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(180,227,27,.28), transparent); pointer-events: none; }
.apple .dolores .contenedor { position: relative; }
.apple .dolores .titular-l { color: #fff; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.apple .dolores .antetitulo { color: var(--acento); }
.apple .dolores .encabezado .texto { color: #d2d2d7; font-size: 1.25rem; }
.dolores__rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.apple .dolor { background: #1d1d1f; border-radius: var(--a-r); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; border: 1px solid #2c2c2e; transition: transform 300ms var(--ease-out), border-color 300ms ease, background-color 300ms ease; }
.apple .dolor:hover { transform: translateY(-6px); border-color: var(--acento); background: #232325; }
.dolor__num { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--acento); }
.dolor__titulo { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: #fff; }
.dolor__texto { font-size: 1.0625rem; line-height: 1.5; color: #d2d2d7; }
.dolor__solucion { margin-top: auto; padding-top: 14px; border-top: 1px solid #2c2c2e; font-size: 0.9375rem; font-weight: 600; color: var(--acento); line-height: 1.4; }
.dolores__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(32px, 5vw, 56px); }
.apple .dolores .boton--claro { background: var(--acento); border-color: var(--acento); color: #0a0a0a; }
.apple .dolores .boton--claro:hover { background: #fff; border-color: #fff; }

/* Planes: botones y contraste */
.apple .plan .boton--linea.boton--ancho { background: var(--a-tinta); color: #fff; justify-content: flex-start; }
.apple .plan .boton--linea.boton--ancho:hover { background: var(--acento); color: #0a0a0a; }
.apple .plan--destacado .boton--claro { background: var(--acento); border-color: var(--acento); color: #0a0a0a; }
.apple .plan--destacado .boton--claro:hover { background: #fff; border-color: #fff; }
.apple .plan .precio { color: var(--a-tinta); }
.apple .plan--destacado .precio, .apple .plan--destacado .titular-s { color: #fff; }
.apple .plan--destacado .antetitulo { color: var(--acento); }
.apple .plan--destacado .plan__lista li { color: #d2d2d7; }
.apple .plan__lista li { color: var(--a-sub); }
.apple .plan--destacado .texto-s, .apple .plan--destacado .texto-xs { color: #d2d2d7; }

/* Ficha "Incluye" / "Han confiado" — tarjeta destacada */
.apple .ficha-sector {
  position: relative; overflow: hidden; isolation: isolate;
  background: #000; color: #f5f5f7; border: 1px solid #2c2c2e; border-radius: var(--a-r);
  padding: clamp(28px, 4vw, 44px); gap: 20px; box-shadow: var(--a-sombra);
}
.apple .ficha-sector::before {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(180,227,27,.35), transparent);
}
.apple .ficha-sector .antetitulo, .apple .ficha-sector .antetitulo.tenue { color: var(--acento); font-size: 0.9375rem; letter-spacing: 0.02em; }
.apple .ficha-sector ul { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .apple .ficha-sector ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.apple .ficha-sector li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 0; border-radius: 16px;
  background: #1d1d1f; color: #fff; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
  transition: background-color 250ms ease, transform 250ms var(--ease-out);
}
.apple .ficha-sector li:hover { background: #2a2a2c; transform: translateY(-2px); }
.apple .ficha-sector li::before {
  content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--acento) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.apple .ficha-sector .texto-xs { color: #a1a1a6; padding-top: 4px; border-top: 1px solid #2c2c2e; padding-top: 16px; }

/* Pestañas hosting */
.pestanas { display: inline-flex; gap: 4px; padding: 4px; border-radius: 980px; background: #e8e8ed; margin-bottom: 24px; flex-wrap: wrap; }
.pestana { font: inherit; font-size: 0.9375rem; font-weight: 600; border: 0; border-radius: 980px; padding: 10px 20px; background: transparent; color: #1d1d1f; cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.pestana:hover { background: rgba(255,255,255,.6); }
.pestana[aria-selected="true"] { background: #000; color: #fff; }
.pestana:focus-visible { outline: 2px solid var(--acento-700); outline-offset: 2px; }
.panel-vps { display: grid; gap: 28px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: #f5f5f7; }
@media (min-width: 1100px) { .panel-vps { grid-template-columns: 5fr 4fr; align-items: start; } .panel-vps .cierre__acciones { grid-column: 1 / -1; } }
.panel-vps__lista { display: grid; gap: 12px; }
.panel-vps__lista li { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 18px; background: #fff; }
.panel-vps__lista strong { font-size: 1.125rem; letter-spacing: -0.01em; }

.panel-vps__lista { grid-template-columns: 1fr; }
@media (min-width: 640px) { .panel-vps__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panel-vps__lista li:not(.vps-plan) { grid-column: 1 / -1; } }
.panel-vps__lista .vps-plan { gap: 12px; padding: 24px; }
.vps-plan .antetitulo { color: var(--acento-700); }
.vps-plan__specs { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid #e5e5ea; border-bottom: 1px solid #e5e5ea; font-size: 0.9375rem; font-weight: 600; color: #1d1d1f; }
.vps-plan .boton { justify-content: flex-start; margin-top: 4px; }

.panel-vps { grid-template-columns: 1fr !important; }
@media (min-width: 900px) { .panel-vps__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel-vps__lista .vps-grupo { grid-column: 1 / -1; background: transparent; padding: 12px 0 0; }
.panel-vps__lista .vps-grupo strong { font-size: 1.375rem; letter-spacing: -0.02em; }
