/* Axoryn Digital Studio — refinamiento visual y responsive (noviembre 2026) */
:root {
  --surface-raised: #171326;
  --surface-soft: rgba(25, 20, 39, .82);
  --line-soft: rgba(167, 146, 205, .18);
  --accent-glow: rgba(245, 158, 11, .13);
}

/* Ritmo y jerarquía */
main { isolation: isolate; }
section[id], #servicios, #proyectos { scroll-margin-top: 104px; }
.label { font-weight: 750; }
h2 { text-wrap: balance; }
p { text-wrap: pretty; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:focus-visible, .live:focus-visible, .topbar a:focus-visible {
  outline: 2px solid #FBBF24;
  outline-offset: 4px;
}

/* Portada: más profundidad sin competir con el contenido */
.hero { isolation: isolate; }
.hero:before { opacity: .75; }
.hero-copy { max-width: 680px; }
.hero h1 { text-wrap: balance; }
.hero-lead { text-wrap: pretty; }
.hero .btn-primary { box-shadow: 0 10px 32px rgba(245, 158, 11, .2); }
.hero .btn-primary:hover { transform: translateY(-2px); }
.app-window { transform-origin: center; }
.app-window:hover { box-shadow: 0 34px 100px rgba(0,0,0,.52), 0 0 65px rgba(99,66,143,.2); }
.float-chip { box-shadow: 0 12px 35px rgba(0,0,0,.28); }

/* Tecnologías: chips más consistentes y con lectura clara */
.stack { row-gap: 10px; }
.stack span { white-space: nowrap; }

/* Secciones y tarjetas */
.layout { gap: clamp(52px, 7vw, 82px); }
#proyectos, #servicios { min-width: 0; }
.projects { align-items: stretch; }
.project.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 14px;
  border-radius: 15px;
  background: linear-gradient(155deg, rgba(28, 23, 42, .98), rgba(15, 12, 25, .98));
}
.project.card:focus-visible, #servicios .card:focus-visible {
  outline: 2px solid #FBBF24;
  outline-offset: 4px;
}
.project .shot {
  order: -1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: #0c0914;
  margin: 0 0 3px;
  transition: transform .3s ease, border-color .3s ease;
}
.project.card:hover .shot { border-color: rgba(245,158,11,.38); }
.project .tag { margin: 0 4px; }
.project h3 { padding: 0 4px; line-height: 1.3; }
.project p, .project ul { padding: 0 4px; }
.project .live { margin: 0 4px; align-self: flex-start; }
.project li { line-height: 1.55; }
.services .card {
  position: relative;
  min-height: 220px;
  padding-bottom: 56px;
  cursor: pointer;
}
.services .card:after {
  content: "Ver detalles ↗";
  position: absolute;
  left: 26px;
  bottom: 21px;
  color: #F5BE55;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .015em;
  opacity: .86;
  transition: transform .2s ease, opacity .2s ease;
}
.services .card:hover:after { transform: translateX(4px); opacity: 1; }

/* Proceso y opiniones */
.step.card { height: 100%; }
.reviews { align-items: stretch; }
.review.card { height: 100%; }
#opiniones .invite { line-height: 1.7; }
#form-resena { margin-top: 0; }
#form-resena .privacy-check { line-height: 1.5; }
#form-resena .privacy-check input { flex: 0 0 auto; }

/* Contacto: claridad de campos y estados */
.contact-box { overflow: hidden; }
.contact-form input, .contact-form select, .contact-form textarea {
  min-height: 48px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form textarea { min-height: 116px; resize: vertical; }
.contact-form button { min-height: 48px; }
.contact-form .hint { max-width: 48ch; margin-inline: auto; line-height: 1.55; }
.contact-form [aria-invalid="true"] { border-color: #ff8a65; }
.privacy-check a { text-underline-offset: 3px; }

/* Ventanas de proyecto: que sigan siendo cómodas en móvil */
.pmodal { overscroll-behavior: contain; }
.pbox { max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.gallery .shot { aspect-ratio: 16 / 10; }

/* Responsive */
@media (max-width: 1050px) {
  .project.card { padding: 12px; }
  .services .card { min-height: 205px; }
}
@media (max-width: 820px) {
  .hero .head { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { width: min(100%, 620px); }
  .project .shot { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .hero .btn-row { gap: 10px; }
  .hero .btn-row .btn { width: 100%; }
  .hero-visual { padding-inline: 0; }
  .orbit-one { width: min(420px, 112vw); height: min(420px, 112vw); }
  .orbit-two { width: min(500px, 130vw); height: min(500px, 130vw); }
  .project.card { gap: 11px; }
  .project .shot { aspect-ratio: 16 / 10; }
  .services .card { min-height: 0; padding-bottom: 54px; }
  .services .card:after { left: 20px; bottom: 19px; }
  .step.card { min-height: 0; }
  #opiniones .invite { margin-bottom: 22px; }
  .contact-box { border-radius: 15px; }
  .pmodal { padding: 12px 8px; align-items: flex-start; }
  .pbox { width: 100%; max-height: calc(100dvh - 24px); padding: 25px 16px; border-radius: 16px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .shot { aspect-ratio: 16 / 10; }
  .wa-float { z-index: 60; }
}
@media (max-width: 380px) {
  .container { padding-left: 15px; padding-right: 15px; }
  .hero h1 { font-size: clamp(2.45rem, 11.5vw, 3.25rem); }
  .app-body { min-width: 0; }
  .app-main { min-width: 0; }
  .app-heading { gap: 6px; }
  .today-pill { white-space: nowrap; }
}
@media (hover: none) {
  .project.card:hover, .services .card:hover, .step.card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .project .shot, .services .card:after { transition: none; }
  .app-window:hover { box-shadow: 0 30px 90px rgba(0,0,0,.48), 0 0 55px rgba(99,66,143,.16); }
}


/* Axoryn Digital Studio — pulido móvil y microinteracciones v3 */
:where(.project.card,.services .card,.step.card,.faq-item,.stack span,.btn,.live,.wa-float) {
  -webkit-tap-highlight-color: transparent;
}
.project.card,
.services .card,
.step.card,
.faq-item,
.btn,
.live,
.wa-float {
  transition-timing-function: cubic-bezier(.2,.7,.2,1);
}
.project.card:active,
.services .card:active,
.step.card:active {
  transform: scale(.99);
}
.project.card .shot {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s ease, filter .25s ease;
}
@media (hover:hover) and (pointer:fine) {
  .project.card:hover .shot { transform: scale(1.015); filter: saturate(1.06); }
  .stack span:hover { transform: translateY(-2px); }
  .services .card:hover { transform: translateY(-3px); }
}
.btn:active,
.live:active { transform: translateY(1px) scale(.985); }
.btn:focus-visible,
.project.card:focus-visible,
.services .card:focus-visible,
.live:focus-visible,
.menu-btn:focus-visible,
.wa-float:focus-visible {
  outline: 2px solid #FBBF24;
  outline-offset: 4px;
}

/* La demo del producto conserva su contenido, pero gana legibilidad en móvil */
.app-window { min-width: 0; }
.app-top { min-width: 0; }
.app-brand, .app-user { min-width: 0; }
.app-user { white-space: nowrap; }
.app-main, .app-body { min-width: 0; }
.agenda-row > span { min-width: 0; }
.agenda-row b, .agenda-row small { overflow-wrap: anywhere; }
.float-chip { max-width: min(74%, 230px); white-space: nowrap; }
.hero-visual { min-width: 0; }
.project.card { -webkit-touch-callout: none; }

/* Diálogos y galerías: área táctil y lectura cómoda */
.pclose, .close-privacy {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.pbox .pcontent { min-width: 0; }
.pbox .pcontent img,
.gallery img { max-width: 100%; height: auto; }
.gallery a:focus-visible { outline: 2px solid #FBBF24; outline-offset: 4px; }

/* Botón flotante: respeta la zona segura del iPhone */
.wa-float {
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  touch-action: manipulation;
}

@media (max-width: 640px) {
  .hero { padding-top: 42px; padding-bottom: 38px; }
  .hero-copy { min-width: 0; }
  .hero .btn-row { margin-top: 25px; gap: 11px; }
  .hero .btn-row .btn { min-height: 52px; }
  .hero-note { margin-top: 26px; }
  .hero-visual { padding: 18px 0 24px; }
  .app-window {
    border-radius: 14px;
    transform: none;
    box-shadow: 0 18px 48px rgba(0,0,0,.38), 0 0 34px rgba(99,66,143,.12);
  }
  .app-body { min-height: 0; }
  .app-main { padding: 14px 9px 10px; }
  .app-heading { align-items: center; }
  .app-heading h2 { font-size: clamp(.94rem, 4vw, 1.08rem); }
  .app-heading p { line-height: 1.4; }
  .today-pill { flex: 0 0 auto; }
  .app-stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .stat-card { min-width: 0; }
  .stat-card strong { overflow-wrap: anywhere; }
  .agenda-card { min-width: 0; }
  .agenda-head { gap: 8px; align-items: center; }
  .agenda-row { grid-template-columns: 31px 3px minmax(0,1fr) auto; gap: 6px; }
  .agenda-row em { white-space: nowrap; }
  .app-foot { flex-wrap: wrap; line-height: 1.5; }
  .float-chip { font-size: .58rem; }
  .chip-top { top: 0; right: 0; }
  .chip-bottom { bottom: 0; left: 0; }
  .orbit-one { width: min(390px, 100vw); height: min(390px, 100vw); }
  .orbit-two { width: min(470px, 120vw); height: min(470px, 120vw); }
  .stack { gap: 8px; }
  .stack span { padding: 7px 10px; font-size: .75rem; }
  .projects { gap: 14px; }
  .project.card { padding: 13px; gap: 11px; border-radius: 14px; }
  .project .shot { aspect-ratio: 16 / 9; object-position: center top; }
  .project h3 { font-size: 1.08rem; }
  .project p, .project ul { font-size: .88rem; line-height: 1.65; }
  .project .live { min-height: 40px; display: inline-flex; align-items: center; }
  .services { gap: 12px; }
  .services .card { padding: 21px 20px 52px; min-height: 0; }
  .services .card:after { left: 20px; bottom: 18px; }
  .steps { gap: 12px; }
  .step.card { min-height: 0; }
  .pmodal { padding: max(10px, env(safe-area-inset-top)) 8px max(10px, env(safe-area-inset-bottom)); }
  .pbox { width: 100%; max-height: calc(100dvh - 20px); padding: 56px 16px 22px; }
  .pclose { top: 8px; right: 8px; }
  .gallery { gap: 12px; }
  .contact-form { gap: 13px; }
  .contact-form input:not([type="checkbox"]),
  .contact-form select,
  .contact-form textarea { min-height: 50px; font-size: 16px; }
  .contact-form textarea { min-height: 125px; }
  .wa-float { width: 54px; height: 54px; }
}
@media (max-width: 390px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .brand { gap: 8px; }
  .brand small { letter-spacing: .09em; }
  .app-top { padding-inline: 8px; }
  .app-brand { gap: 6px; font-size: .68rem; }
  .app-user { gap: 4px; font-size: .58rem; }
  .app-sidebar { width: 33px; }
  .app-main { padding-inline: 7px; }
  .app-heading { gap: 5px; }
  .today-pill { padding: 5px 6px; }
  .agenda-row { grid-template-columns: 28px 3px minmax(0,1fr) auto; gap: 4px; }
  .agenda-row em { font-size: .4rem; }
  .float-chip { max-width: 70%; font-size: .54rem; padding: 7px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .project.card, .project.card .shot, .services .card, .step.card,
  .stack span, .btn, .live, .wa-float { transition: none !important; }
  .project.card:active, .services .card:active, .step.card:active { transform: none; }
}


/* REDISEÑO MÓVIL VISIBLE — v3 */
@media (max-width: 640px) {
  .hero {
    padding: 38px 0 34px;
    background:
      radial-gradient(ellipse at 82% 8%, rgba(116,72,168,.20), transparent 62%),
      linear-gradient(180deg, rgba(20,14,32,.55), rgba(9,7,17,0));
  }
  .hero-copy { max-width: 100%; }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border-radius: 999px;
    padding: 9px 12px;
    font-size: .56rem;
    letter-spacing: .095em;
    line-height: 1.5;
    margin-bottom: 23px;
  }
  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.85rem, 11.6vw, 3.65rem);
    line-height: .99;
    letter-spacing: -.072em;
    margin-bottom: 0;
  }
  .hero-lead {
    max-width: 34ch;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-top: 21px;
    color: #D0C9DA;
  }
  .hero .zona {
    max-width: 34ch;
    margin-top: 18px;
    padding-left: 12px;
    border-left: 2px solid rgba(245,158,11,.65);
    font-size: .88rem;
    line-height: 1.65;
  }
  .hero .btn-row { margin-top: 26px; gap: 10px; }
  .hero .btn-row .btn {
    min-height: 54px;
    border-radius: 12px;
    font-size: .94rem;
  }
  .hero .btn-primary {
    box-shadow: 0 12px 30px rgba(245,158,11,.22), inset 0 1px 0 rgba(255,255,255,.18);
  }
  .hero .btn-ghost {
    background: rgba(24,18,37,.58);
    border-color: rgba(180,157,216,.28);
  }
  .hero-note { margin-top: 25px; font-size: .75rem; }
  .hero-visual { padding: 22px 0 26px; }
  .app-window {
    border: 1px solid rgba(190,164,230,.34);
    border-radius: 16px;
    background: linear-gradient(145deg,#191428,#100d1b 72%);
    box-shadow: 0 24px 60px rgba(0,0,0,.48), 0 0 0 5px rgba(143,102,191,.045), 0 0 38px rgba(111,73,158,.18);
  }
  .app-top { background: rgba(34,26,49,.92); }
  .app-sidebar { background: rgba(12,9,20,.78); }
  .app-stats .stat-card {
    background: linear-gradient(145deg,rgba(43,34,61,.96),rgba(25,20,38,.96));
    border-color: rgba(176,151,213,.2);
    border-radius: 11px;
  }
  .agenda-card {
    background: rgba(27,21,41,.96);
    border-color: rgba(176,151,213,.2);
    border-radius: 11px;
  }
  .float-chip {
    border-color: rgba(245,158,11,.3);
    background: rgba(29,22,43,.97);
    box-shadow: 0 10px 28px rgba(0,0,0,.36);
  }
  .stack {
    margin-top: 10px;
    padding: 23px 0;
    gap: 9px;
  }
  .stack:before {
    margin-bottom: 5px;
    color: #F5BE55;
    font-size: .66rem;
  }
  .stack span {
    padding: 9px 12px;
    border-radius: 9px;
    background: rgba(29,23,43,.82);
    border-color: rgba(172,149,208,.22);
    color: #D1C9DD;
    font-size: .78rem;
  }
  .layout {
    padding-top: 56px;
    padding-bottom: 56px;
    gap: 58px;
  }
  #proyectos, #servicios { scroll-margin-top: 82px; }
  #proyectos > .label, #servicios > .label {
    display: inline-block;
    margin-bottom: 10px;
    color: #FBBF24;
    letter-spacing: .2em;
  }
  #proyectos > h2, #servicios > h2 {
    font-size: clamp(2.25rem, 9vw, 2.8rem);
    line-height: 1.04;
    margin-bottom: 23px;
  }
  .projects { gap: 17px; }
  .project.card {
    padding: 14px;
    gap: 12px;
    border-radius: 17px;
    background: linear-gradient(150deg,rgba(35,27,51,.98),rgba(16,12,27,.99));
    border: 1px solid rgba(176,151,213,.23);
    box-shadow: 0 13px 34px rgba(0,0,0,.22);
  }
  .project.card:before {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    order: -2;
    border-radius: 9px;
    background: linear-gradient(90deg,#FBBF24,rgba(245,158,11,.08));
  }
  .project .shot {
    aspect-ratio: 16 / 9;
    border-radius: 11px;
    border-color: rgba(176,151,213,.22);
    margin-top: 0;
    object-position: center top;
  }
  .project .tag {
    margin: 0 3px;
    padding: 6px 11px;
    font-size: .66rem;
  }
  .project h3 { font-size: 1.18rem; padding: 0 3px; }
  .project p, .project ul {
    padding: 0 3px;
    font-size: .91rem;
    line-height: 1.7;
  }
  .project .live {
    margin: 2px 3px 1px;
    padding: 9px 14px;
    border-radius: 10px;
    background: rgba(245,158,11,.07);
  }
  .services { gap: 13px; }
  .services .card {
    min-height: 0;
    padding: 22px 20px 55px;
    border-radius: 15px;
    background: linear-gradient(145deg,rgba(31,24,46,.96),rgba(16,12,27,.98));
    border-color: rgba(176,151,213,.2);
  }
  .services .icon {
    width: 46px; height: 46px;
    background: rgba(245,158,11,.13);
    border: 1px solid rgba(245,158,11,.16);
  }
  .process { background: linear-gradient(180deg,rgba(25,18,39,.48),transparent); }
  .step.card { border-radius: 15px; }
  .contact-box, .cta-box {
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0,0,0,.28), 0 0 35px rgba(104,72,150,.13);
  }
}
@media (max-width: 390px) {
  .hero h1 { font-size: clamp(2.65rem, 11.5vw, 3.3rem); }
  .eyebrow { letter-spacing: .075em; }
  .app-main { padding-inline: 8px; }
  .app-user { font-size: .57rem; }
  .float-chip { font-size: .53rem; }
}


/* AJUSTE VISIBLE DE CABECERA Y HERO — escritorio + móvil */
.topbar-in {
  min-height: 66px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}
.topbar .logo {
  width: 39px !important;
  height: 39px !important;
}
.topbar .nav-links {
  gap: 25px !important;
}
.hero {
  padding-top: 48px !important;
  padding-bottom: 46px !important;
}
.hero .head {
  gap: clamp(28px, 3.2vw, 46px) !important;
}
.hero .eyebrow {
  margin-bottom: 16px !important;
}
.hero h1 {
  line-height: 1.01 !important;
}
.hero .hero-lead {
  margin-top: 15px !important;
  line-height: 1.62 !important;
}
.hero .zona {
  margin-top: 12px !important;
}
.hero .btn-row {
  margin-top: 21px !important;
  gap: 12px !important;
}
.hero .hero-note {
  margin-top: 23px !important;
}
/* Explorar proyectos: segundo CTA, con acento propio y respuesta clara al clic */
.hero .btn-row a.btn[href="#proyectos"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255,176,32,.72) !important;
  color: #FFE2A3 !important;
  background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(116,72,168,.16)) !important;
  box-shadow: 0 7px 22px rgba(245,158,11,.13), inset 0 1px 0 rgba(255,255,255,.07) !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease !important;
}
.hero .btn-row a.btn[href="#proyectos"]:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,190,75,.22) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .45s ease;
}
.hero .btn-row a.btn[href="#proyectos"]:hover {
  transform: translateY(-3px) !important;
  border-color: #FFC04D !important;
  background: linear-gradient(135deg, rgba(245,158,11,.26), rgba(116,72,168,.22)) !important;
  box-shadow: 0 12px 30px rgba(245,158,11,.24), 0 0 0 3px rgba(245,158,11,.08) !important;
}
.hero .btn-row a.btn[href="#proyectos"]:hover:before {
  transform: translateX(120%);
}
.hero .btn-row a.btn[href="#proyectos"]:active {
  transform: translateY(1px) scale(.95) !important;
  border-color: #FFD27A !important;
  background: rgba(245,158,11,.32) !important;
  box-shadow: 0 0 0 5px rgba(245,158,11,.16), 0 3px 10px rgba(245,158,11,.2) !important;
}
.hero .btn-row a.btn[href="#proyectos"]:focus-visible {
  outline: 3px solid rgba(255,190,75,.75);
  outline-offset: 4px;
}
@media (max-width: 820px) {
  .hero { padding-top: 38px !important; padding-bottom: 34px !important; }
  .hero .head { gap: 24px !important; }
  .hero .hero-visual { padding-top: 14px !important; }
}
@media (max-width: 640px) {
  .topbar-in { min-height: 62px !important; }
  .topbar .logo { width: 36px !important; height: 36px !important; }
  .hero { padding-top: 30px !important; padding-bottom: 28px !important; }
  .hero .eyebrow { margin-bottom: 13px !important; }
  .hero h1 { line-height: .99 !important; }
  .hero .hero-lead { margin-top: 12px !important; line-height: 1.55 !important; }
  .hero .zona { margin-top: 10px !important; line-height: 1.5 !important; }
  .hero .btn-row { margin-top: 17px !important; gap: 9px !important; }
  .hero .btn-row a.btn { min-height: 49px !important; }
  .hero .hero-note { margin-top: 17px !important; }
  .hero .hero-visual { padding: 14px 0 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .btn-row a.btn[href="#proyectos"],
  .hero .btn-row a.btn[href="#proyectos"]:before { transition: none !important; }
}


/* PORTADA A ANCHO COMPLETO — propuesta de rediseño */
.topbar-in {
  width: 100%;
  max-width: none !important;
  padding-inline: clamp(22px, 5.2vw, 88px) !important;
  display: flex;
  justify-content: space-between;
}
.topbar .nav-links {
  flex: 1;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px) !important;
}
.topbar .nav-links .nav-contact { margin-left: clamp(10px, 2vw, 30px); }
.hero {
  width: 100%;
  min-height: min(790px, calc(100svh - 66px));
  display: flex;
  align-items: center;
  padding-block: clamp(56px, 7vh, 92px) !important;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 47%, rgba(91, 59, 137, .22), transparent 42%),
    radial-gradient(ellipse at 16% 0%, rgba(245, 158, 11, .07), transparent 44%),
    linear-gradient(115deg, #090711 0%, #100c1b 56%, #0b0812 100%);
}
.hero > .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(22px, 5.2vw, 88px);
}
.hero .head {
  width: 100%;
  max-width: 1760px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(500px, 1.14fr);
  align-items: center;
  gap: clamp(36px, 5vw, 96px) !important;
}
.hero-copy { max-width: 720px; }
.hero h1 { max-width: 720px; font-size: clamp(3.5rem, 6.1vw, 6.25rem); }
.hero-lead { max-width: 600px; font-size: clamp(1.05rem, 1.22vw, 1.22rem); }
.hero-visual {
  width: 100%;
  max-width: 850px;
  justify-self: end;
  padding: 50px 24px;
}
.app-window { transform: perspective(1500px) rotateY(-3deg) rotateX(1deg); }
.orbit-one { width: min(620px, 52vw); height: min(620px, 52vw); }
.orbit-two { width: min(760px, 64vw); height: min(760px, 64vw); }
.chip-top { right: 1%; }
.chip-bottom { left: 1%; }
.stack-wrap, body > .container:not(.hero .container) { max-width: 1440px; }
.project-video {
  align-self: flex-start;
  margin: 0 5px 2px;
  padding: 9px 14px;
  border-color: rgba(245, 158, 11, .42);
  color: #F6C66F;
}
@media (max-width: 1100px) and (min-width: 821px) {
  .hero .head { grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr); }
  .hero h1 { font-size: clamp(3.25rem, 5.2vw, 4.8rem); }
  .hero .hero-visual { padding-inline: 0; }
}
@media (max-width: 820px) {
  .topbar-in { padding-inline: 22px !important; }
  .hero { min-height: 0; padding-block: 54px !important; }
  .hero > .container { padding-inline: clamp(22px, 6vw, 56px); }
  .hero .head {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    gap: 30px !important;
  }
  .hero-copy { max-width: 700px; }
  .hero h1 { max-width: 13ch; font-size: clamp(3.1rem, 8vw, 5rem); }
  .hero-visual { width: min(100%, 720px); justify-self: center; padding: 28px 18px; }
  .orbit-one { width: min(540px, 88vw); height: min(540px, 88vw); }
  .orbit-two { width: min(650px, 105vw); height: min(650px, 105vw); }
}
@media (max-width: 640px) {
  .topbar-in { padding-inline: 18px !important; }
  .hero { padding-block: 38px !important; }
  .hero > .container { padding-inline: 20px; }
  .hero .head { gap: 22px !important; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-visual { padding: 20px 3px 25px; }
  .app-window { transform: none; }
  .chip-top { right: 0; }
  .chip-bottom { left: 0; }
  .project-video { min-height: 44px; }
}
@media (max-width: 390px) {
  .hero > .container { padding-inline: 16px; }
  .hero h1 { font-size: clamp(2.55rem, 11.5vw, 3.15rem); }
}
@media (prefers-reduced-motion: reduce) {
  .app-window { transform: none; }
}


/* HERO IMPACTANTE — conserva la interfaz de gestión existente como protagonista */
.hero {
  position: relative;
  min-height: min(820px, calc(100svh - 66px));
  background:
    radial-gradient(ellipse at 76% 42%, rgba(112, 72, 166, .30), transparent 39%),
    radial-gradient(ellipse at 91% 78%, rgba(245, 158, 11, .13), transparent 29%),
    linear-gradient(112deg, #090711 4%, #110b1d 59%, #0a0711 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .42;
  background:
    radial-gradient(circle at 74% 48%, transparent 0 240px, rgba(177,139,225,.18) 241px, transparent 243px),
    radial-gradient(circle at 74% 48%, transparent 0 315px, rgba(177,139,225,.09) 316px, transparent 318px),
    linear-gradient(120deg, transparent 48%, rgba(255,255,255,.022) 48.1%, transparent 48.3%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(160,123,204,.4) 48%, rgba(245,158,11,.7) 76%, transparent 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero .head {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(38px, 5vw, 92px) !important;
}
.hero-copy { max-width: 710px; }
.hero .eyebrow {
  padding: 10px 15px;
  border-color: rgba(245,158,11,.42);
  background: rgba(17,12,29,.75);
  box-shadow: 0 0 28px rgba(245,158,11,.13), inset 0 1px 0 rgba(255,255,255,.06);
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(3.7rem, 6.5vw, 6.5rem);
  line-height: .97 !important;
  letter-spacing: -.075em;
}
.hero h1 .gradient {
  background-image: linear-gradient(100deg, #FFE19A 0%, #FFAB28 44%, #F27616 100%);
  filter: drop-shadow(0 0 22px rgba(245,158,11,.17));
}
.hero-lead { color: #D2CBDE; }
.hero .btn-primary {
  background: linear-gradient(135deg, #FFC044, #F28B11 75%, #E46B12);
  color: #1B1005;
  box-shadow: 0 12px 36px rgba(245,158,11,.27), inset 0 1px 0 rgba(255,255,255,.32);
}
.hero .btn-primary:hover {
  background: linear-gradient(135deg, #FFD16B, #FF9D21);
  box-shadow: 0 16px 44px rgba(245,158,11,.36);
}
.hero .btn-ghost {
  background: rgba(21,15,33,.74);
  border-color: rgba(191,165,225,.38);
}
.hero-visual {
  isolation: isolate;
  padding: 58px 28px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(114,71,171,.34), rgba(245,158,11,.08) 43%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 2%;
  border: 1px solid rgba(168,133,211,.17);
  border-radius: 44% 56% 58% 42% / 42% 46% 54% 58%;
  transform: rotate(-8deg);
  box-shadow: 0 0 0 18px rgba(153,116,197,.025), 0 0 0 42px rgba(153,116,197,.018);
  pointer-events: none;
}
.hero-visual .app-window {
  transform: perspective(1600px) rotateY(-3deg) rotateX(1deg) scale(1.045);
  border-color: rgba(196,166,235,.42);
  box-shadow:
    0 38px 105px rgba(0,0,0,.58),
    0 0 0 1px rgba(255,255,255,.045),
    0 0 62px rgba(113,72,169,.27),
    0 0 105px rgba(245,158,11,.08);
}
.hero-visual .app-top {
  background: linear-gradient(90deg, #211832, #171326 68%, #20182D);
}
.hero-visual .float-chip {
  border-color: rgba(245,158,11,.44);
  background: rgba(25,19,39,.97);
  box-shadow: 0 14px 36px rgba(0,0,0,.4), 0 0 23px rgba(245,158,11,.10);
}
.hero-visual .chip-top { top: 3%; right: 0; }
.hero-visual .chip-bottom { bottom: 3%; left: 0; }
@media (min-width: 821px) {
  .hero .head { min-height: min(700px, calc(100svh - 170px)); }
  .hero-visual { max-width: 900px; }
}
@media (max-width: 1100px) and (min-width: 821px) {
  .hero h1 { font-size: clamp(3.4rem, 5.4vw, 5.1rem); }
  .hero-visual { padding-inline: 8px; }
  .hero-visual .app-window { transform: perspective(1400px) rotateY(-2deg) scale(1.015); }
}
@media (max-width: 820px) {
  .hero { min-height: 0; }
  .hero .head { grid-template-columns: minmax(0,1fr); gap: 26px !important; }
  .hero h1 { font-size: clamp(3.3rem, 9vw, 5.2rem); }
  .hero-visual { width: min(100%, 740px); padding: 34px 18px; }
  .hero-visual .app-window { transform: none; }
  .hero-visual::before { inset: 12% 4%; }
}
@media (max-width: 640px) {
  .hero { padding-block: 40px !important; }
  .hero .head { gap: 18px !important; }
  .hero .eyebrow { margin-bottom: 17px !important; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.85rem, 12vw, 4rem); line-height: .99 !important; }
  .hero-lead { margin-top: 17px; font-size: 1rem; line-height: 1.68; }
  .hero .zona { margin-top: 13px; }
  .hero .btn-row { margin-top: 22px; }
  .hero-visual { padding: 22px 4px 27px; }
  .hero-visual::after { inset: 8% -1%; }
  .hero-visual .app-window { transform: none; }
  .hero-visual .chip-top { top: 0; right: 0; }
  .hero-visual .chip-bottom { bottom: 0; left: 0; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: clamp(2.65rem, 11.5vw, 3.25rem); }
  .hero-visual .app-main { padding-inline: 7px; }
  .hero-visual .app-user { font-size: .56rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .app-window { transform: none; }
}


/* ═══════════════════════════════════════════════════════════════════════
   HERO VIVO — el panel de la app se mueve: gira con el ratón, flota y
   recibe reservas en directo. Luces y órbitas animadas detrás.
   El movimiento lo pone el JS (variables --mx/--my y la agenda); sin JS
   o con «reducir movimiento» se queda quieto y se ve igual de bien.
   ═══════════════════════════════════════════════════════════════════════ */
.hero-vivo { --mx: 0; --my: 0; flex-direction: column; justify-content: center; }
.hero-vivo > .container { display: flex; flex-direction: column; }

/* Luces de fondo que se mueven despacio (morado y ámbar de la marca) */
.hero-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-aurora .au { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.au-1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -8vw; top: -14vw;
  background: radial-gradient(circle, rgba(124,77,190,.55), transparent 65%); animation: auMove1 22s ease-in-out infinite alternate; }
.au-2 { width: 34vw; height: 34vw; max-width: 540px; max-height: 540px; right: 6vw; bottom: -16vw;
  background: radial-gradient(circle, rgba(245,140,11,.38), transparent 65%); animation: auMove2 26s ease-in-out infinite alternate; }
.au-3 { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; left: -10vw; top: 10%;
  background: radial-gradient(circle, rgba(92,55,150,.35), transparent 65%); animation: auMove3 30s ease-in-out infinite alternate; }
@keyframes auMove1 { to { transform: translate(-9vw, 7vw) scale(1.15); } }
@keyframes auMove2 { to { transform: translate(-12vw, -6vw) scale(.9); } }
@keyframes auMove3 { to { transform: translate(8vw, -5vw) scale(1.2); } }

/* Un foco de luz que sigue al ratón */
.hero-spot { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--sx, 72%) var(--sy, 45%), rgba(245,158,11,.075), transparent 60%);
  transition: background .2s; }

/* Entrada escalonada de los textos */
.hero-vivo .hv-in { animation: hvIn .9s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
@keyframes hvIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Etiqueta con </> como en la referencia */
.hero-vivo .eyebrow { display: inline-flex; align-items: center; gap: 11px; border-radius: 999px; padding: 10px 18px 10px 14px;
  font-size: .8rem; letter-spacing: .01em; font-weight: 600; text-transform: none; color: #EDE7F6;
  border-color: rgba(167,146,205,.28); background: rgba(19,14,32,.72); }
.eyebrow-code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em;
  background: linear-gradient(90deg, #A47BE6, #F59E0B); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Titular más contenido (como la referencia: 2-3 líneas) para que se vea también la fila de tecnologías */
.hero.hero-vivo h1 { max-width: 760px; font-size: clamp(3rem, 4.9vw, 5.3rem); line-height: 1.02 !important; letter-spacing: -.05em; }
.hero.hero-vivo .hero-lead { font-size: clamp(1.02rem, 1.15vw, 1.16rem); }
@media (min-width: 821px) { .hero.hero-vivo .head { min-height: 0; } }

/* El naranja del titular «respira» con un brillo que lo recorre */
.hero-vivo h1 .gradient { background-size: 220% 100%; animation: hvShine 7s ease-in-out infinite; }
@keyframes hvShine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Botones en píldora: el principal con degradado morado → ámbar */
.hero-vivo .btn-row .btn { border-radius: 999px !important; padding: 15px 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.hero-vivo .btn-vivo { position: relative; overflow: hidden; isolation: isolate; color: #fff !important;
  background: linear-gradient(100deg, #7C3AED 0%, #A855F7 30%, #F59E0B 100%) !important;
  box-shadow: 0 12px 38px rgba(168,85,247,.32), 0 6px 26px rgba(245,158,11,.22), inset 0 1px 0 rgba(255,255,255,.25) !important; }
.hero-vivo .btn-vivo svg { width: 20px; height: 20px; flex: none; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.hero-vivo .btn-vivo::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.28) 50%, transparent 75%); transform: translateX(-120%);
  animation: hvSweep 4.5s ease-in-out 2.2s infinite; }
@keyframes hvSweep { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.hero-vivo .btn-vivo:hover { transform: translateY(-2px); box-shadow: 0 16px 46px rgba(168,85,247,.42), 0 8px 30px rgba(245,158,11,.3) !important; }
.hero-vivo .btn-vivo:hover svg { transform: translate(3px, -3px) rotate(-8deg); }
.btn-flecha { font-size: 1.35rem; line-height: 1; margin-left: 2px; transition: transform .25s; }
.hero-vivo .btn-vivo:hover .btn-flecha { transform: translateX(4px); }

/* ── El panel: entrada, flotación y giro 3D con el ratón ── */
.hero-vivo .hero-visual { perspective: 1600px; }
.app-stage { position: relative; z-index: 1; animation: hvRise 1.3s cubic-bezier(.16,.8,.2,1) .35s both; }
@keyframes hvRise {
  from { opacity: 0; transform: translateY(60px) scale(.9) rotateX(18deg); }
  to   { opacity: 1; transform: none; }
}
.app-float { animation: hvFloat 7s ease-in-out 1.7s infinite; }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-vivo .hero-visual .app-window {
  transform: perspective(1600px) rotateY(calc(-4deg + var(--mx) * 16deg)) rotateX(calc(2deg - var(--my) * 12deg)) scale(1.04);
  transition: box-shadow .3s; will-change: transform; }
/* Reflejo de luz que se desliza por la pantalla al mover el ratón */
.hero-vivo .app-window::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5; border-radius: inherit;
  background: radial-gradient(circle at calc(50% + var(--mx) * 120%) calc(25% + var(--my) * 120%), rgba(255,255,255,.11), transparent 42%); }
/* Borde que se ilumina dando la vuelta */
.hero-vivo .app-window::before { content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(245,158,11,.9) 80%, rgba(168,85,247,.9) 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hvBorde 6s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes hvBorde { to { --ang: 360deg; } }

/* Los chips flotan a otra profundidad (se mueven más que el panel) */
.hero-vivo .float-chip { translate: calc(var(--mx) * -34px) calc(var(--my) * -24px); z-index: 7; }
.hero-vivo .chip-top { animation: hvChip 6s ease-in-out 1.8s infinite, hvAparece .8s ease 1.2s both; }
.hero-vivo .chip-bottom { animation: hvChip 6.8s ease-in-out 2.4s infinite reverse, hvAparece .8s ease 1.45s both; }
@keyframes hvChip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes hvAparece { from { opacity: 0; } to { opacity: 1; } }

/* Órbitas que giran con puntos de luz */
.hero-vivo .visual-orbit { translate: calc(var(--mx) * 18px) calc(var(--my) * 14px); }
.hero-vivo .orbit-one { animation: hvOrbit 38s linear infinite; }
.hero-vivo .orbit-two { animation: hvOrbit 58s linear infinite reverse; }
@keyframes hvOrbit { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.visual-orbit .sat { position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%;
  background: #FBBF24; box-shadow: 0 0 12px 3px rgba(245,158,11,.75), 0 0 34px 8px rgba(245,158,11,.25); }
.orbit-two .sat { background: #C4A1F5; box-shadow: 0 0 12px 3px rgba(168,85,247,.7), 0 0 30px 8px rgba(168,85,247,.22); }
.orbit-two .sat-b { top: auto; bottom: -4px; width: 7px; height: 7px; left: calc(30% - 3px);
  background: #FBBF24; box-shadow: 0 0 10px 2px rgba(245,158,11,.7); }
.hero-vivo .hero-visual::after { animation: hvBlob 16s ease-in-out infinite alternate; }
@keyframes hvBlob {
  from { border-radius: 44% 56% 58% 42% / 42% 46% 54% 58%; transform: rotate(-8deg); }
  to   { border-radius: 58% 42% 45% 55% / 52% 58% 42% 48%; transform: rotate(6deg); }
}

/* ── Dentro del panel: la agenda «en directo» ── */
.agenda-list { position: relative; overflow: hidden; }
.hero-vivo .agenda-row { max-height: 60px; transition: max-height .55s ease, min-height .55s ease, opacity .45s ease, border-color .45s; }
.hero-vivo .agenda-list > .agenda-row { animation: hvRow .6s cubic-bezier(.2,.75,.2,1) both; }
.hero-vivo .agenda-list > .agenda-row:nth-child(1) { animation-delay: 1.25s; }
.hero-vivo .agenda-list > .agenda-row:nth-child(2) { animation-delay: 1.4s; }
.hero-vivo .agenda-list > .agenda-row:nth-child(3) { animation-delay: 1.55s; }
.hero-vivo .agenda-list > .agenda-row.nueva { animation: hvRowNueva 2.4s cubic-bezier(.2,.75,.2,1) both; }
@keyframes hvRow { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes hvRowNueva {
  0%   { transform: translateY(14px) scale(.97); background: rgba(245,158,11,.22); }
  25%  { transform: none; background: rgba(245,158,11,.16); }
  100% { background: transparent; }
}
.hero-vivo .agenda-row.sale { max-height: 0; min-height: 0; opacity: 0; border-top-color: transparent; }
.agenda-row em.pend { color: #F0C46E !important; }
.hero-vivo .agenda-row:last-child em:not(.pend) { color: #9BD7AE; }
.bar-d { background: #E879F9; }
.stat-card strong { transition: color .3s; display: inline-block; }
.stat-card strong.sube { animation: hvSube .7s cubic-bezier(.2,.8,.2,1); color: #FBBF24; }
@keyframes hvSube { 0% { transform: translateY(8px) scale(.8); opacity: .2; } 60% { transform: translateY(-3px) scale(1.15); opacity: 1; } 100% { transform: none; } }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #83D6A0; margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(131,214,160,.6); animation: hvPulso 2s ease-out infinite; }
@keyframes hvPulso { to { box-shadow: 0 0 0 8px rgba(131,214,160,0); } }
.app-foot i { animation: hvPulso 2s ease-out infinite; }

/* Aviso de «Nueva reserva online» que entra en el panel */
.app-toast { position: absolute; z-index: 8; top: 34%; right: 16px; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 11px; background: rgba(34,26,52,.97); border: 1px solid rgba(245,158,11,.5);
  box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 26px rgba(245,158,11,.18); font-size: .64rem; color: #EDE7F6;
  opacity: 0; transform: translateY(-12px) scale(.96); pointer-events: none; transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.app-toast.ver { opacity: 1; transform: none; }
.app-toast span:last-child { display: grid; gap: 2px; }
.app-toast small { color: #B7AEC6; font-size: .58rem; }
.toast-ico { color: #FBBF24; font-size: .7rem; animation: hvPulsoTxt 1s ease-in-out infinite alternate; }
@keyframes hvPulsoTxt { from { opacity: .45; } to { opacity: 1; } }

/* ── Fila de tecnologías con iconos (como la referencia) ── */
.hero-tech { list-style: none; margin: clamp(34px, 5vh, 58px) auto 0; padding: 0; width: 100%; max-width: 1180px;
  display: flex; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-tech li { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 6px clamp(14px, 2.2vw, 34px);
  color: #C9C2D6; font-size: .84rem; font-weight: 500; position: relative;
  animation: hvIn .7s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(1.5s + var(--i) * 80ms); }
.hero-tech li + li::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(167,146,205,.3), transparent); }
.tech-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px;
  background: linear-gradient(160deg, rgba(36,28,56,.9), rgba(20,15,32,.9)); border: 1px solid rgba(167,146,205,.2);
  color: #F5B544; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.tech-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tech-txt { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-weight: 800; font-size: .86rem; letter-spacing: -.03em;
  background: linear-gradient(135deg, #C4A1F5, #F59E0B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tech li:nth-child(even) .tech-ico:not(.tech-txt) { color: #B892F0; }
.hero-tech li:hover .tech-ico { transform: translateY(-5px); border-color: rgba(245,158,11,.55); box-shadow: 0 10px 26px rgba(245,158,11,.18); }

/* «Descubre más» con ratoncito */
.hero-scroll { margin: clamp(26px, 4vh, 44px) auto 0; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #BDB5CB; font-size: .82rem; text-decoration: none; position: relative; z-index: 1;
  animation: hvIn .8s ease 2.3s both; transition: color .2s; }
.hero-scroll:hover { color: #FBBF24; }
.hero-scroll .mouse { width: 24px; height: 38px; border: 1.6px solid currentColor; border-radius: 13px; display: flex; justify-content: center; padding-top: 7px; opacity: .85; }
.hero-scroll .mouse i { width: 3px; height: 7px; border-radius: 3px; background: #FBBF24; animation: hvRueda 1.8s ease-in-out infinite; }
@keyframes hvRueda { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ── Pantallas medianas y móvil ── */
@media (max-width: 820px) {
  .hero-tech li { padding: 6px 14px; font-size: .78rem; }
  .hero-tech li + li::before { display: none; }
  .hero-scroll { display: none; }
}
@media (max-width: 640px) {
  .hero-vivo .eyebrow { font-size: .72rem; padding: 8px 14px 8px 12px; }
  .hero-vivo .btn-row .btn { width: 100%; }
  .hero-tech { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; margin-top: 26px; }
  .hero-tech li { padding: 2px; font-size: .68rem; text-align: center; }
  .tech-ico { width: 40px; height: 40px; border-radius: 11px; }
  .app-toast { top: 30%; right: 6px; font-size: .56rem; padding: 7px 10px; }
  .app-toast small { font-size: .5rem; }
  .hero-vivo .float-chip { translate: none; }
}
@media (hover: none), (pointer: coarse) {
  .hero-vivo .hero-visual .app-window { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
}
@media (max-width: 820px) {
  .hero-vivo .hero-visual .app-window { transform: none; }
}

/* Con «reducir movimiento» activado en el sistema: todo quieto */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora .au, .app-float, .hero-vivo .float-chip, .hero-vivo .visual-orbit, .hero-vivo .hero-visual::after,
  .hero-vivo .app-window::before, .hero-vivo h1 .gradient, .hero-vivo .btn-vivo::after, .live-dot, .app-foot i,
  .hero-scroll .mouse i, .toast-ico { animation: none !important; }
  .hero-vivo .hero-visual .app-window { transform: none; }
  .hero-vivo .app-window::before { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════════
   PROYECTOS DESTACADOS — la app a todo el ancho como proyecto estrella y
   las dos webs debajo. Capturas en marco de ventana, número grande,
   tecnologías, brillo que sigue al ratón y borde de luz.
   ═══════════════════════════════════════════════════════════════════════ */
#proyectos .projects-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

#proyectos .projects-bento .project {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  padding: 0 !important; gap: 0 !important; border-radius: 22px;
  background: linear-gradient(160deg, rgba(31,24,48,.96), rgba(14,11,24,.98));
  border: 1px solid rgba(167,146,205,.16);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .45s;
}
#proyectos .projects-bento .project:hover {
  transform: translateY(-6px);
  border-color: rgba(245,158,11,.38);
  box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 50px rgba(124,77,190,.18);
}
/* Brillo que sigue al ratón */
#proyectos .projects-bento .project::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--px, 50%) var(--py, 30%), rgba(245,158,11,.11), transparent 60%);
}
#proyectos .projects-bento .project:hover::after { opacity: 1; }
/* Borde de luz: siempre girando en el destacado, al pasar el ratón en los demás */
#proyectos .projects-bento .project::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 68%, rgba(245,158,11,.95) 80%, rgba(168,85,247,.95) 89%, transparent 97%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s; animation: hvBorde 7s linear infinite;
}
#proyectos .projects-bento .project:hover::before, #proyectos .projects-bento .project-star::before { opacity: 1; }

/* Texto */
.projects-bento .p-info { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 36px); flex: 1; }
.projects-bento .p-top { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; min-width: 0; }
.projects-bento .p-top > * { flex: none; }
#proyectos .projects-bento .tag { margin: 0; align-self: center; }
.p-destacado { font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: #1B1204; padding: 5px 11px; border-radius: 999px;
  background: linear-gradient(135deg, #FFD16B, #F59E0B); box-shadow: 0 6px 18px rgba(245,158,11,.25); }
.p-num { margin-left: auto; font-size: clamp(2.4rem, 3.4vw, 3.2rem); font-weight: 850;
  line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.2px rgba(245,158,11,.38); pointer-events: none;
  transition: -webkit-text-stroke-color .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.project:hover .p-num { -webkit-text-stroke-color: rgba(251,191,36,.8); transform: translateY(-3px); }
#proyectos .projects-bento .project h3 { padding: 0; font-size: clamp(1.18rem, 1.6vw, 1.45rem); letter-spacing: -.03em; color: #F7F3FC; }
#proyectos .projects-bento .project p, #proyectos .projects-bento .project ul { padding: 0; margin: 0; font-size: .9rem; line-height: 1.65; }
#proyectos .projects-bento .project ul { display: grid; gap: 6px; }
.p-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.p-stack span { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .7rem; color: #CDBCEB; padding: 5px 10px;
  border-radius: 7px; background: rgba(124,77,190,.12); border: 1px solid rgba(167,146,205,.2); }
.p-acciones { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: auto; padding-top: 6px; }
#proyectos .projects-bento .project .live { margin: 0; border-radius: 999px; padding: 10px 18px; }
.p-ver { display: inline-flex; align-items: center; gap: 7px; color: #FBC45E; font-size: .82rem; font-weight: 650; cursor: pointer; }
.p-ver span { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.project:hover .p-ver span { transform: translateX(5px); }

/* Captura en marco de ventana */
.projects-bento .p-media { position: relative; padding: clamp(18px, 2.2vw, 28px) clamp(18px, 2.2vw, 28px) 0; }
.projects-bento .p-media::before { content: ""; position: absolute; z-index: -1; inset: 10% 8% -10%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(124,77,190,.38), rgba(245,158,11,.10) 50%, transparent 72%); filter: blur(26px); opacity: .75; transition: opacity .4s; }
.project:hover .p-media::before { opacity: 1; }
.p-frame { border-radius: 13px; overflow: hidden; background: #0D0A16; border: 1px solid rgba(190,165,230,.22);
  box-shadow: 0 22px 50px rgba(0,0,0,.45); transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.p-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: linear-gradient(90deg, #211832, #181325);
  border-bottom: 1px solid rgba(167,146,205,.14); }
.p-bar i { width: 8px; height: 8px; border-radius: 50%; background: #F87171; opacity: .85; }
.p-bar i:nth-child(2) { background: #FBBF24; }
.p-bar i:nth-child(3) { background: #4ADE80; }
.p-bar span { margin-left: 8px; font-size: .62rem; color: #9C93AE; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#proyectos .projects-bento .p-frame .shot { display: block; width: 100%; margin: 0; border: 0; border-radius: 0; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: top left; transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.project:hover .p-frame .shot { transform: scale(1.045); }
.projects-bento .project:not(.project-star) .p-frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

/* El destacado: a todo el ancho, texto a la izquierda y captura grande inclinada a la derecha */
#proyectos .projects-bento .project-star { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center;
  background: radial-gradient(ellipse at 85% 50%, rgba(124,77,190,.22), transparent 55%), linear-gradient(150deg, rgba(34,26,52,.97), rgba(14,11,24,.99)); }
.project-star .p-info { padding: clamp(28px, 3.4vw, 52px); gap: 16px; }
#proyectos .projects-bento .project-star h3 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); line-height: 1.1; }
#proyectos .projects-bento .project-star p { font-size: 1rem; }
.project-star .p-num { font-size: clamp(3rem, 4.4vw, 4.2rem); }
.project-star .p-media { padding: clamp(28px, 3vw, 46px) clamp(28px, 3vw, 46px) clamp(28px, 3vw, 46px) 0; }
.project-star .p-frame { transform: perspective(1500px) rotateY(-7deg) rotateX(2deg) scale(.98); transform-origin: left center;
  box-shadow: 30px 34px 70px rgba(0,0,0,.5), 0 0 60px rgba(124,77,190,.22); }
.project-star:hover .p-frame { transform: perspective(1500px) rotateY(0deg) rotateX(0deg) scale(1); box-shadow: 0 34px 80px rgba(0,0,0,.5), 0 0 70px rgba(245,158,11,.16); }

/* Tablet y móvil */
@media (max-width: 980px) {
  #proyectos .projects-bento .project-star { grid-template-columns: minmax(0, 1fr); }
  .project-star .p-media { order: -1; padding: clamp(20px, 4vw, 34px) clamp(20px, 4vw, 34px) 0; }
  .project-star .p-frame { transform: none; }
  .projects-bento .project-star .p-frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
}
@media (max-width: 760px) {
  #proyectos .projects-bento { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .p-num { font-size: 2.3rem; }
  .project-star .p-num { font-size: 2.6rem; }
  #proyectos .projects-bento .project:hover { transform: none; }
}
@media (max-width: 380px) {
  .projects-bento .p-top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  #proyectos .projects-bento .project::before { animation: none; }
  #proyectos .projects-bento .project, .p-frame, .p-frame .shot { transition: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   SECCIONES NUEVAS — servicios, proceso, sobre mí + preguntas, franja,
   contacto y pie, con la estructura de la propuesta de diseño.
   ═══════════════════════════════════════════════════════════════════════ */

/* Títulos centrados con la parte final en naranja */
.sx-titulo { text-align: center; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.045em; line-height: 1.1; margin: 0 auto clamp(26px, 3.4vw, 42px); max-width: 22ch; }
.sx-titulo span, .sx-sub span, .contacto-texto h2 span, .cta-franja h2 span, .px-soporte strong span {
  background: linear-gradient(100deg, #FFD36C, #F59E0B 55%, #EA7A12); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-intro { text-align: center; color: #A9A1B8; max-width: 62ch; margin: -18px auto clamp(28px, 3.4vw, 44px); line-height: 1.7; }
.sx-sub { font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.04em; line-height: 1.1; margin-bottom: 18px; }

/* Orden: primero servicios y luego proyectos */
.layout > #servicios { order: 0; }
.layout > #proyectos { order: 1; }

/* ── Servicios ── */
.sx-servicios { position: relative; }
.sx-curva { position: absolute; z-index: -1; left: -6vw; top: -30px; width: min(620px, 55vw); height: 360px; pointer-events: none; overflow: visible; }
.sx-curva path { fill: none; stroke: #F59E0B; stroke-width: 2; opacity: .45; filter: drop-shadow(0 0 6px rgba(245,158,11,.8)) drop-shadow(0 0 18px rgba(245,158,11,.45)); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 24px 24px 22px; border-radius: 18px; cursor: pointer;
  background: linear-gradient(160deg, rgba(31,24,48,.92), rgba(15,12,25,.96)); border: 1px solid rgba(245,158,11,.22);
  box-shadow: 0 16px 44px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s; }
.svc:hover, .svc:focus-visible { transform: translateY(-5px); border-color: rgba(245,158,11,.6); box-shadow: 0 22px 56px rgba(0,0,0,.35), 0 0 34px rgba(245,158,11,.12); }
.svc-ico { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: #FBB13C;
  background: radial-gradient(circle at 30% 25%, rgba(245,158,11,.22), rgba(245,158,11,.06)); border: 1px solid rgba(245,158,11,.28); }
.svc-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 1.08rem; letter-spacing: -.02em; margin-bottom: 6px; color: #F7F3FC; }
.svc p { font-size: .88rem; line-height: 1.6; color: #ABA3BA; margin: 0; }
.svc-mas { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 650; color: #FBC45E; opacity: .8; transition: opacity .25s, transform .3s; }
.svc:hover .svc-mas { opacity: 1; transform: translateX(4px); }

/* ── Proceso ── */
.sx-proceso { padding: clamp(64px, 8vw, 96px) 0; border-top: 1px solid rgba(167,146,205,.12);
  background: radial-gradient(ellipse at 50% 0%, rgba(124,77,190,.12), transparent 60%); }
.px-fila { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 22px; align-items: stretch; }
.px-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: paso; }
.px-paso { position: relative; padding: 0 20px 22px; border-radius: 16px; background: rgba(21,16,34,.85); border: 1px solid rgba(167,146,205,.16);
  display: flex; flex-direction: column; gap: 8px; transition: border-color .3s, transform .35s cubic-bezier(.2,.8,.2,1); }
.px-paso:hover { border-color: rgba(245,158,11,.45); transform: translateY(-4px); }
.px-paso + .px-paso::before { content: "›"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); color: #F59E0B; font-size: 1.9rem; line-height: 1; opacity: .85; }
.px-ico { width: 52px; height: 52px; margin: -20px 0 6px; display: grid; place-items: center; border-radius: 15px; color: #FBB13C;
  background: #1A1429; border: 1px solid rgba(245,158,11,.4); box-shadow: 0 0 22px rgba(245,158,11,.18); }
.px-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.px-paso h3 { font-size: 1rem; letter-spacing: -.02em; color: #F7F3FC; }
.px-paso h3 b { color: #FBBF24; }
.px-paso p { font-size: .86rem; line-height: 1.6; color: #A9A1B8; margin: 0; }
.px-paso .free { align-self: flex-start; margin-top: auto; font-size: .72rem; font-weight: 700; color: #F3C46C; background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.18); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.px-soporte { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px 20px;
  border-radius: 18px; border: 1px solid rgba(245,158,11,.45);
  background: radial-gradient(ellipse at 50% 0%, rgba(245,158,11,.16), transparent 70%), rgba(24,18,37,.9);
  box-shadow: 0 0 40px rgba(245,158,11,.12); }
.px-escudo { width: 58px; height: 58px; display: grid; place-items: center; color: #FBBF24; }
.px-escudo svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(245,158,11,.5)); }
.px-soporte strong { font-size: 1.32rem; line-height: 1.2; letter-spacing: -.03em; color: #F7F3FC; }
.px-soporte p { font-size: .78rem; line-height: 1.55; color: #A9A1B8; margin: 0; }

/* ── Sobre mí + preguntas frecuentes ── */
.sx-duo { padding: clamp(64px, 8vw, 96px) 0; border-top: 1px solid rgba(167,146,205,.12); }
.duo-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.duo-sobre { display: grid; grid-template-columns: minmax(170px, .62fr) minmax(0, 1.38fr); gap: 26px; align-items: start;
  padding: 26px; border-radius: 20px; background: linear-gradient(160deg, rgba(31,24,48,.9), rgba(15,12,25,.95)); border: 1px solid rgba(167,146,205,.16); }
.sobre-marca { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(circle at 50% 38%, rgba(245,158,11,.25), transparent 45%), radial-gradient(circle at 70% 90%, rgba(124,77,190,.4), transparent 55%), #120E1E;
  border: 1px solid rgba(245,158,11,.25); }
.sobre-marca img { width: 58%; border-radius: 22%; border: 1px solid rgba(245,158,11,.35); box-shadow: 0 0 34px rgba(245,158,11,.35), 0 12px 30px rgba(0,0,0,.45); }
.sobre-marca span { font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: #E9E3F1; }
.sobre-marca span b { color: #F59E0B; }
.sobre-texto p { color: #B1AABD; font-size: .93rem; line-height: 1.72; margin: 0 0 12px; }
.sobre-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.sobre-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #EDE7F6;
  background: rgba(245,158,11,.06); border: 1px solid rgba(245,158,11,.32); }
.sobre-chips svg { width: 16px; height: 16px; fill: none; stroke: #FBBF24; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.duo-faq .faq-list { max-width: none; gap: 10px; }
.duo-faq .faq-item { border-radius: 12px; }
.duo-faq .faq-item summary { font-size: .95rem; padding-top: 15px; padding-bottom: 15px; }
.duo-faq .faq-a { font-size: .9rem; }

/* ── Franja «libretas y Excel» ── */
.sx-cta { padding: 0 0 clamp(56px, 7vw, 84px); }
.cta-franja { display: grid; grid-template-columns: auto minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 44px); border-radius: 22px; border: 1px solid rgba(245,158,11,.4);
  background: radial-gradient(ellipse at 0% 50%, rgba(245,158,11,.14), transparent 45%), radial-gradient(ellipse at 100% 0%, rgba(124,77,190,.25), transparent 50%), #140F21;
  box-shadow: 0 24px 70px rgba(0,0,0,.3), 0 0 50px rgba(245,158,11,.08); }
.cta-ico svg { width: clamp(64px, 7vw, 92px); height: auto; fill: none; stroke: #F59E0B; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(245,158,11,.4)); }
.cta-ico .cta-x-bg { fill: #140F21; }
.cta-ico .cta-x { stroke: #FF6B4A; stroke-width: 2.6; }
.cta-franja h2 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); letter-spacing: -.04em; line-height: 1.15; margin: 0; }
.cta-lado { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-left: clamp(18px, 2.4vw, 32px); border-left: 1px solid rgba(167,146,205,.2); }
.cta-lado p { color: #B1AABD; font-size: .9rem; line-height: 1.6; margin: 0; }
.cta-btn, .form-enviar { display: inline-flex !important; align-items: center; gap: 9px; border-radius: 999px !important; }
.cta-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Contacto ── */
.sx-contacto { padding: clamp(56px, 7vw, 90px) 0; border-top: 1px solid rgba(167,146,205,.12); }
.contacto-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.contacto-texto h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -.045em; line-height: 1.1; margin-bottom: 16px; }
.contacto-texto > p { color: #C3BCCF; font-size: 1.05rem; line-height: 1.65; max-width: 40ch; margin: 0 0 26px; }
.canales { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 440px; }
.canal { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 999px; color: #F3EEF9; font-weight: 600; font-size: .9rem; text-decoration: none;
  background: rgba(24,18,37,.9); border: 1px solid rgba(167,146,205,.24); transition: border-color .25s, transform .25s, box-shadow .25s; }
.canal:hover { border-color: rgba(245,158,11,.6); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(245,158,11,.14); color: #fff; }
.canal svg { width: 20px; height: 20px; flex: none; }
.c-wa { fill: #25D366; }
.c-gh { fill: #F3EEF9; }
.c-linea { fill: none; stroke: #FBBF24; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-malt { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: #FC5757; color: #fff; font-size: .72rem; font-weight: 900; }
#contacto .contacto-form { max-width: none; margin: 0; display: grid; gap: 14px; padding: clamp(20px, 2.6vw, 30px); border-radius: 20px;
  background: linear-gradient(160deg, rgba(31,24,48,.92), rgba(15,12,25,.96)); border: 1px solid rgba(167,146,205,.2); box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.form-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-pie { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#contacto .form-enviar { justify-self: auto; padding: 13px 24px; }
.form-enviar::before { content: ""; width: 17px; height: 17px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4 20-7Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4 20-7Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center / contain no-repeat; }
#contacto .contacto-form .hint { margin: 0; text-align: left; max-width: none; }
#contacto .contacto-form .privacy-check { display: flex; align-items: flex-start; gap: 10px; flex: 1 1 260px; margin: 0; }
#contacto .contacto-form .privacy-check input { width: 18px !important; height: 18px; min-height: 0 !important; flex: none; margin: 2px 0 0; padding: 0; }

/* ── Pie ── */
footer.sx-pie { padding: 28px 0; text-align: left; border-top: 1px solid rgba(167,146,205,.14); }
.pie-fila { display: flex; align-items: center; gap: 18px 34px; flex-wrap: wrap; }
.pie-marca { display: inline-flex; align-items: center; gap: 12px; color: #F3EEF9; text-decoration: none; font-weight: 800; letter-spacing: .02em;
  padding-right: 34px; border-right: 1px solid rgba(167,146,205,.2); }
.pie-marca .footer-logo { width: 38px; height: 38px; margin: 0; }
.pie-marca b { color: #F59E0B; }
.pie-marca small { font-size: .62rem; letter-spacing: .17em; color: #A7A1B5; }
.pie-legal { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.pie-legal a { color: #B8B1C5; font-size: .84rem; text-decoration: none; }
.pie-legal a:hover { color: #FBBF24; }
.pie-copy { margin: 0 0 0 auto; color: #8F889D; font-size: .8rem; }

/* ── Tablet ── */
@media (max-width: 1100px) {
  .px-fila { grid-template-columns: minmax(0, 1fr); }
  .px-soporte { flex-direction: row; text-align: left; justify-content: flex-start; }
  .px-soporte p { max-width: 60ch; }
  .duo-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .px-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .px-paso + .px-paso::before { display: none; }
  .cta-franja { grid-template-columns: auto minmax(0, 1fr); }
  .cta-lado { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid rgba(167,146,205,.2); }
  .contacto-grid { grid-template-columns: minmax(0, 1fr); }
}
/* ── Móvil ── */
@media (max-width: 640px) {
  .sx-curva { display: none; }
  .svc { padding: 20px; gap: 14px; }
  .svc-ico { width: 46px; height: 46px; }
  .px-pasos { grid-template-columns: minmax(0, 1fr); }
  .px-soporte { flex-direction: column; text-align: center; align-items: center; }
  .duo-sobre { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .sobre-marca { aspect-ratio: 16 / 9; }
  .sobre-marca img { width: 30%; }
  .cta-franja { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .cta-ico svg { width: 60px; }
  .cta-lado .btn { width: 100%; justify-content: center; }
  .form-fila { grid-template-columns: minmax(0, 1fr); }
  .form-pie .btn { width: 100%; justify-content: center; }
  .pie-marca { border-right: 0; padding-right: 0; }
  .pie-copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .svc, .px-paso, .canal { transition: none; }
}
