:root{--purple:#5441f9;--purple-dark:#4130dc;--ink:#202236;--muted:#74798c;--line:#e7e8ef;--soft:#f7f7fc;--green:#17835d;--shadow:0 18px 60px rgba(36,33,77,.09)}
.footer-total{display:flex;flex-direction:column;gap:3px}.footer-total small{font-size:10px;color:var(--muted)}.footer-total strong{font-size:17px;letter-spacing:-.02em}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}.site-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,6vw,96px);border-bottom:1px solid #f0f0f4}.brand{display:inline-flex;align-items:center}.brand img{display:block;width:148px;height:auto;max-height:52px;object-fit:contain}.status-link,.back-link{border:0;background:none;color:#4e42d7;font:600 14px inherit;cursor:pointer}.status-link{font-size:14px;font-weight:650}.status-link:hover,.back-link:hover{color:var(--purple-dark)}main{min-height:calc(100vh - 136px)}.hero{max-width:1160px;min-height:620px;margin:0 auto;padding:100px 30px 80px;display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:60px}.hero-copy{max-width:600px}.eyebrow{display:inline-block;color:var(--purple);font-size:12px;font-weight:750;letter-spacing:.11em;text-transform:uppercase}.hero h1,.order-heading h1,.status-panel h1{font-size:clamp(38px,5vw,62px);line-height:1.06;letter-spacing:-.045em;margin:17px 0 18px;font-weight:740}.hero-copy p,.order-heading>p,.status-panel>p{max-width:490px;color:var(--muted);font-size:17px;line-height:1.65;margin:0 0 30px}.button{min-height:50px;padding:0 22px;border:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:14px;font-size:15px;font-weight:700;cursor:pointer;transition:transform .16s,background .16s,box-shadow .16s}.button-primary{background:var(--purple);color:white;box-shadow:0 8px 18px rgba(84,65,249,.18)}.button-primary:hover:not(:disabled){background:var(--purple-dark);transform:translateY(-1px);box-shadow:0 10px 22px rgba(84,65,249,.24)}.button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none}.hero-art{height:370px;position:relative;display:grid;place-items:center}.art-orbit{position:absolute;border-radius:50%;border:1px solid #e7e3ff}.orbit-one{width:325px;height:325px}.orbit-two{width:250px;height:250px;border-style:dashed}.art-card{width:190px;height:220px;border-radius:30px;background:linear-gradient(145deg,#6654ff,#4b38ed);box-shadow:0 30px 55px rgba(84,65,249,.27);transform:rotate(-7deg);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;color:#fff}.art-home{font-size:91px;font-weight:300;line-height:1}.art-spark{position:absolute;top:24px;right:25px;font-size:28px;color:#ffc86a}.art-check{position:absolute;bottom:23px;right:-17px;background:#fff;color:var(--green);font-size:28px;font-weight:800;width:56px;height:56px;border-radius:18px;display:grid;place-items:center;box-shadow:0 8px 18px #342b8430}.art-dot{position:absolute;border-radius:50%;background:#ffc86a}.dot-one{width:17px;height:17px;top:47px;left:66px}.dot-two{width:10px;height:10px;bottom:55px;right:48px;background:#8ee0c2}.site-footer{min-height:60px;border-top:1px solid #f0f0f4;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,6vw,96px);font-size:12px;color:#9093a0}.site-footer a{color:#6a668c;text-decoration:none}.site-footer a:hover{text-decoration:underline}
.order-shell{max-width:1000px;margin:0 auto;padding:38px 24px 48px}.hidden{display:none!important}.order-heading-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.back-link{font-size:14px;display:inline-flex;gap:8px;align-items:center;padding:8px 0}.step-indicator{display:flex;gap:7px}.step-indicator i{width:24px;height:5px;border-radius:9px;background:#e6e5ef}.step-indicator i:first-child{background:var(--purple)}.order-heading{margin-bottom:28px}.order-heading h1{font-size:36px;margin:9px 0}.order-heading>p{font-size:15px;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-section{border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff;min-width:0}.section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:20px}.step-number{width:30px;height:30px;border-radius:10px;background:#f0edff;color:var(--purple);display:grid;place-items:center;font-weight:750;font-size:14px;flex:0 0 auto}.step-number.optional{background:#f2f2f6;color:#73778a}.section-title h2{font-size:16px;margin:2px 0 5px;letter-spacing:-.01em}.section-title p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.field-label{display:block;font-size:12px;font-weight:650;color:#55596b;margin:0 0 8px}.input-control{width:100%;min-height:46px;border:1px solid #dfe1e9;background:#fff;border-radius:10px;padding:11px 13px;color:var(--ink);font:inherit;font-size:14px;outline:none;transition:border .15s,box-shadow .15s}.input-control:focus{border-color:#8f83ff;box-shadow:0 0 0 3px #5441f91a}.field-note{color:#85899a;font-size:11px;line-height:1.5;margin:9px 0 0}.search-wrap{position:relative}.search-wrap .input-control{padding-left:42px}.search-icon{position:absolute;left:14px;top:8px;color:#9295a4;font-size:23px;z-index:1}.search-spinner{position:absolute;right:13px;top:14px;width:18px;height:18px;border:2px solid #dedbf9;border-top-color:var(--purple);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.suggestions{position:absolute;z-index:5;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);margin-top:5px;width:calc(50% - 44px);max-height:280px;overflow:auto}.suggestion{border:0;border-bottom:1px solid #f0f0f4;background:#fff;width:100%;text-align:left;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;color:var(--ink)}.suggestion:last-child{border-bottom:0}.suggestion:hover,.suggestion:focus{background:#f8f7ff;outline:0}.suggestion strong{display:block;font-size:13px}.suggestion small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.suggestion .plus{color:var(--purple);font-size:19px}.selected-services{margin-top:10px;display:grid;gap:8px}.selected-service{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e7e3ff;background:#faf9ff;border-radius:10px;padding:10px 12px}.selected-service strong{display:block;font-size:12px}.selected-service small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.selected-service button{border:0;background:transparent;color:#9496a4;font-size:18px;cursor:pointer;padding:3px 6px}.schedule-fields{display:grid;grid-template-columns:.75fr 1fr;gap:12px}.schedule-fields label{min-width:0}.optional-label{font-size:10px;color:#9295a4;font-weight:500;margin-left:4px}.details-section textarea{resize:vertical;min-height:88px}.upload-control{display:flex;align-items:center;gap:11px;border:1px dashed #d7d8e2;border-radius:10px;margin-top:12px;padding:10px 12px;cursor:pointer}.upload-control:hover{border-color:#a9a1ff;background:#fbfaff}.upload-icon{width:32px;height:32px;border-radius:9px;background:#f0edff;color:var(--purple);display:grid;place-items:center;font-size:20px}.upload-control strong,.upload-control small{display:block}.upload-control strong{font-size:12px}.upload-control small{font-size:10px;color:var(--muted);margin-top:3px}.upload-control input{margin-left:auto;max-width:180px;font-size:10px}.order-footer{position:sticky;bottom:0;z-index:3;margin:18px -24px -48px;padding:15px 24px max(15px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#ffffffed;backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;gap:15px}.footer-safe{font-size:12px;color:#777b8d}.footer-safe span{color:var(--green);font-size:10px;margin-right:6px}.notice{border-radius:12px;padding:13px 15px;font-size:13px;margin-top:16px}.notice-warning{background:#fff7e9;color:#805b1e}.status-panel{width:min(100% - 36px,490px);margin:44px auto 80px;padding:28px;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.status-panel .back-link{margin-bottom:25px}.status-icon{width:46px;height:46px;border-radius:14px;background:#f0edff;color:var(--purple);display:grid;place-items:center;font-size:30px;margin-bottom:20px}.status-panel h1{font-size:34px;margin:8px 0 12px}.status-panel>p{font-size:14px;margin-bottom:25px}.button-wide{width:100%;margin-top:14px}.status-help{font-size:11px!important;margin:12px 0 0!important;text-align:center}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:10;padding:12px 16px;background:#25253a;color:#fff;border-radius:11px;box-shadow:var(--shadow);font-size:13px;max-width:min(90vw,480px)}
@media(max-width:720px){.site-header{height:64px;padding:0 18px}.brand img{width:126px}.status-link{font-size:12px}.hero{min-height:calc(100vh - 124px);grid-template-columns:1fr;padding:68px 25px 50px;gap:15px;text-align:center}.hero-copy{margin:auto}.hero h1{font-size:43px}.hero-copy p{font-size:15px;margin:0 auto 24px}.hero-art{height:220px;order:-1}.orbit-one{width:205px;height:205px}.orbit-two{width:160px;height:160px}.art-card{width:119px;height:138px;border-radius:22px}.art-home{font-size:60px}.art-spark{font-size:20px;top:14px;right:15px}.art-check{width:42px;height:42px;border-radius:14px;font-size:22px;bottom:13px;right:-14px}.dot-one{top:20px;left:calc(50% - 105px)}.dot-two{bottom:24px;right:calc(50% - 106px)}.site-footer{padding:0 18px}.order-shell{padding:22px 16px 40px}.order-heading-row{margin-bottom:22px}.order-heading h1{font-size:29px}.form-grid{grid-template-columns:1fr;gap:12px}.form-section{padding:18px 16px}.section-title{margin-bottom:16px}.suggestions{width:calc(100% - 32px)}.schedule-fields{grid-template-columns:1fr 1fr;gap:9px}.input-control{font-size:13px}.order-footer{margin:14px -16px -40px;padding:12px 16px max(12px,env(safe-area-inset-bottom))}.footer-safe{font-size:10px;max-width:145px;line-height:1.4}.order-footer .button{min-width:142px;min-height:47px}.upload-control input{width:112px}.status-panel{margin:22px auto 48px;padding:22px;border-radius:16px}}

/* Web abre directamente en solicitud; su UI es independiente del landing B2B. */
body{background:#fbfbfe}.site-header{height:92px;display:grid;grid-template-columns:1fr auto 1fr;justify-items:center;padding:0 clamp(16px,5vw,48px);border-bottom:1px solid #efeff5;background:#fff;position:relative}.brand{grid-column:2;grid-row:1;height:76px;width:180px;overflow:hidden;align-self:center}.brand img{width:180px;height:180px;max-height:none;object-fit:cover;object-position:center bottom}.status-link{grid-column:3;grid-row:1;justify-self:end}.order-shell{max-width:760px;margin:0 auto;padding:24px 24px 48px}.order-heading-row,.order-heading{display:none}.form-grid{display:flex;flex-direction:column;gap:16px}.form-section{border:0;border-radius:0;padding:0;background:transparent}.location-section{display:flex;align-items:center;gap:8px;margin:3px 0 0}.location-label{font-size:14px;font-weight:700;white-space:nowrap}.location-section .input-control{width:auto;min-height:36px;border:0;background:transparent;color:var(--purple);font-size:14px;font-weight:650;padding:4px 23px 4px 2px;box-shadow:none}.service-section{text-align:center;position:relative;padding:4px 0 3px}.service-prompt{font-size:clamp(26px,4vw,34px);letter-spacing:-.035em;margin:0 auto 16px;color:var(--ink)}.search-wrap{max-width:590px;margin:0 auto}.search-wrap .input-control{height:66px;border:1px solid #ececf2;border-radius:20px;padding:0 60px 0 22px;font-size:15px;box-shadow:0 5px 18px rgba(32,34,54,.055)}.search-icon{left:auto;right:18px;top:16px;color:var(--purple);font-size:28px}.search-spinner{right:23px;top:24px}.suggestions{width:min(590px,calc(100% - 24px));left:50%;transform:translateX(-50%);text-align:left}.service-section .field-note{margin-top:10px}.schedule-section,.details-section{border:1px solid var(--line);border-radius:16px;padding:20px;background:#fff;box-shadow:0 6px 20px rgba(34,34,65,.035)}.section-title{margin-bottom:15px}.section-title h2{font-size:17px}.section-title p{font-size:12px}.schedule-fields{grid-template-columns:1fr 1fr}.details-section textarea{min-height:76px}.order-footer{margin:18px -24px -48px;padding:14px 24px max(14px,env(safe-area-inset-bottom))}.status-panel{margin:28px auto 70px}
@media(max-width:720px){.site-header{height:100px;padding:0 14px}.brand{width:172px;height:78px}.brand img{width:172px;height:172px}.status-link{font-size:11px}.order-shell{padding:18px 16px 40px}.location-section{margin:2px 0 0}.location-label,.location-section .input-control{font-size:13px}.service-prompt{font-size:25px;margin-bottom:14px}.search-wrap .input-control{height:60px;border-radius:17px;padding-left:17px;font-size:14px}.search-icon{right:16px;top:13px}.search-spinner{top:21px}.form-grid{gap:13px}.schedule-section,.details-section{padding:17px 15px;border-radius:14px}.section-title{margin-bottom:13px}.schedule-fields{gap:9px}.order-footer{margin:16px -16px -40px;padding:12px 16px max(12px,env(safe-area-inset-bottom))}.order-footer .button{min-width:142px}.site-footer{padding:0 16px}}
.brand{height:42px}.brand img{object-position:center 83%}.schedule-fields{grid-template-columns:1fr 1fr;align-items:end}.schedule-fields label{width:100%;display:block}.schedule-fields .input-control{width:100%;height:48px;min-height:48px}.schedule-fields select.input-control{padding-right:34px}
@media(max-width:720px){.brand{height:40px}.schedule-fields{grid-template-columns:1fr 1fr;gap:9px}.schedule-fields .input-control{height:48px;min-height:48px}}

/* Barra de ubicación y cuenta; tarjetas amplias en escritorio. */
.site-header{grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);column-gap:18px}
.header-location{grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;gap:8px;min-width:0}
.header-location .input-control{width:auto;max-width:230px;min-height:38px;border:0;background:transparent;color:var(--purple);font-size:15px;font-weight:650;padding:4px 20px 4px 2px;box-shadow:none}
.header-address{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:min(32vw,330px);border:0;background:transparent;color:var(--purple);font:650 15px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;text-align:left;padding:7px 2px}
.header-address span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-address span:last-child{flex:none}
.header-address:hover{text-decoration:underline}
.location-label{font-size:15px}
.header-actions{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;justify-content:flex-end;gap:16px;min-width:0}
.identity-link,.header-actions .status-link{font:650 15px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap;cursor:pointer}
.identity-link{border:1px solid #d9d4ff;border-radius:10px;background:#f8f7ff;color:var(--purple);padding:10px 14px}
.identity-link:hover{background:#efedff}
.header-actions .status-link{grid-column:auto;grid-row:auto;justify-self:auto;padding:8px 0}
.header-actions .status-link{display:inline-flex;align-items:center;gap:7px}
.calendar-icon{width:19px;height:19px;flex:none}
.emergency-option{display:inline-flex;align-items:center;gap:9px;margin:0 0 13px;font-size:14px;font-weight:650;cursor:pointer}
.emergency-option input{width:21px;height:21px;margin:0;accent-color:var(--purple);cursor:pointer}
.emergency-note{margin:0 0 13px;color:#a83f33;font-size:12px}
.schedule-fields .input-control:disabled{background:#f1f2f5;border-color:#e2e3e9;color:#8a8e9c;-webkit-text-fill-color:#8a8e9c;opacity:1;cursor:not-allowed}
.identity-name{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;color:var(--ink)}
.mobile-label{display:none}
.order-shell{max-width:1280px;width:calc(100% - 48px);padding:28px 24px 52px}
/* En escritorio, alinear los extremos de la barra con los bordes de las tarjetas.
   El contenido de .order-shell mide como máximo 1280 - 48 = 1232 px. */
@media(min-width:950px){.site-header{padding-inline:max(48px, calc(50% - 616px))}}
.form-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);grid-template-areas:"service schedule" "service details";grid-template-rows:auto 1fr;gap:18px;align-items:stretch}
.form-grid .service-section{grid-area:service;min-height:465px;text-align:left;border:1px solid var(--line);border-radius:20px;padding:30px;background:#fff;box-shadow:0 6px 20px rgba(34,34,65,.035)}
.form-grid .schedule-section{grid-area:schedule}
.form-grid .details-section{grid-area:details}
.service-prompt{font-size:36px;margin:0 0 20px}
.search-wrap{max-width:none}
.search-wrap .input-control{font-size:17px}
.service-section .field-note{font-size:13px}
.service-section .suggestions{width:calc(100% - 60px)}
.schedule-section,.details-section{padding:26px}
.section-title h2{font-size:19px}
.section-title p,.field-label{font-size:14px}
.input-control{font-size:16px}
.selected-service strong{font-size:14px}
.selected-service small,.upload-control strong{font-size:13px}
.upload-control small{font-size:12px}
.upload-control{position:relative}
.upload-control input[type=file]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.upload-control:focus-within{outline:3px solid #5441f955;outline-offset:2px}
.order-footer{margin-bottom:-52px}
@media(max-width:949px){
  .site-header{height:auto;min-height:112px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:52px auto;gap:3px 10px;padding:10px 18px 12px}
  .brand{grid-column:1/-1;grid-row:1;justify-self:center}
  .header-location{grid-column:1;grid-row:2;max-width:100%;gap:4px}
  .header-location .input-control{max-width:150px;font-size:13px;padding-right:16px}
  .header-location .input-control{min-width:0;flex:1 1 auto}
  .header-address{max-width:calc(50vw - 90px);font-size:13px}
  .site-header.has-address{grid-template-rows:52px auto}
  .site-header.has-address .brand{grid-column:1;grid-row:1;justify-self:start}
  .site-header.has-address .brand img{width:120px}
  .site-header.has-address .header-actions{grid-column:2;grid-row:1}
  .site-header.has-address .header-location{grid-column:1/-1;grid-row:2;width:100%}
  .site-header.has-address .header-address{max-width:calc(100vw - 106px)}
  .location-label{font-size:13px}
  .header-actions{grid-column:2;grid-row:2;gap:9px}
  .identity-link,.header-actions .status-link,.identity-name{font-size:12px}
  .identity-link{padding:8px 9px;border-radius:8px}
  .desktop-label{display:none}
  .mobile-label{display:inline}
  .identity-name{max-width:80px}
  .order-shell{max-width:760px;width:100%;padding:20px 16px 42px}
  .form-grid{display:flex;flex-direction:column;gap:14px}
  .form-grid .service-section{min-height:0;text-align:center;border:0;border-radius:0;padding:4px 0 3px;background:transparent;box-shadow:none}
  .service-prompt{font-size:26px;margin-bottom:15px}
  .search-wrap .input-control{font-size:15px}
  .service-section .suggestions{width:min(590px,calc(100% - 12px))}
  .schedule-section,.details-section{padding:18px 16px}
  .section-title h2{font-size:18px}
  .section-title p,.field-label{font-size:13px}
  .order-footer{margin-bottom:-42px}
}

/* Acceso Web independiente: diálogo legible y fácil de usar con el pulgar. */
body.web-auth-open{overflow:hidden}
.web-auth-overlay{position:fixed;inset:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(27,26,49,.54)}
.web-auth-dialog{position:relative;width:min(100%,470px);max-height:calc(100dvh - 36px);overflow:auto;border-radius:20px;background:#fff;padding:30px;box-shadow:0 24px 70px rgba(19,18,47,.25)}
.web-auth-dialog h2{font-size:25px;letter-spacing:-.035em;margin:0 35px 10px 0}
.web-auth-dialog p{color:var(--muted);font-size:14px;line-height:1.55;margin:0 0 20px}
.web-auth-dialog .field-label{margin:0 0 7px}
.web-auth-dialog .input-control{min-height:52px;font-size:17px}
.web-auth-dialog .button-wide{margin-top:17px}
.web-auth-close{position:absolute;top:15px;right:17px;border:0;background:transparent;color:#626575;font-size:29px;line-height:1;cursor:pointer;padding:5px 9px}
.web-auth-code{letter-spacing:.3em;text-align:center;font-size:25px!important;font-weight:700}
.web-auth-text-button{display:block;margin:15px auto 0;padding:5px 8px;border:0;background:transparent;color:var(--purple);font:600 14px inherit;cursor:pointer}
.web-auth-text-button:disabled{color:#9698a5;cursor:default}
.web-auth-logout{width:100%;margin-top:26px;padding:16px 8px 4px;border-top:1px solid var(--line);color:#686c7d}
.web-auth-feedback{color:#a22b32!important;font-weight:600;margin:12px 0 0!important;min-height:1.3em}
.web-auth-profile-form{padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid var(--line)}
.web-auth-profile-form .field-label:not(:first-child){margin-top:14px}
.web-auth-profile-form .input-control{min-height:46px;font-size:15px}
.web-auth-profile-form .button-wide{min-height:44px;margin-top:16px}
.web-auth-address{display:flex;gap:12px;align-items:flex-start;margin:9px 0;padding:13px;border:1px solid var(--line);border-radius:12px;cursor:pointer}
.web-auth-address label{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1;cursor:pointer}
.web-auth-address label span{min-width:0}
.web-auth-address-edit{flex:none;border:0;background:#f2efff;border-radius:8px;color:var(--purple);font-family:inherit;font-size:12px;font-weight:650;cursor:pointer;padding:7px 9px}
.web-auth-address-edit:hover{background:#e5dfff}
.web-auth-address:has(input:checked){border-color:var(--purple);background:#f7f5ff}
.web-auth-address input{width:20px;height:20px;accent-color:var(--purple);flex:none}
.web-auth-address strong,.web-auth-address small{display:block}
.web-auth-address small{color:var(--muted);font-size:12px;line-height:1.4;margin-top:3px}
.web-auth-retention{font-size:12px!important;margin:17px 0 0!important}
@media(max-width:720px){.web-auth-overlay{align-items:flex-end;padding:0}.web-auth-dialog{width:100%;max-height:92dvh;border-radius:22px 22px 0 0;padding:28px 20px max(20px,env(safe-area-inset-bottom))}}
.web-auth-add-button{width:100%;min-height:44px;border:1px dashed #a99eff;border-radius:10px;background:#faf9ff;color:var(--purple);font:700 14px inherit;cursor:pointer;margin:10px 0 0}
.web-auth-add-button:hover,.web-auth-add-button:focus-visible{background:#f0edff}
.web-auth-address-form{margin-top:18px;padding:18px;border:1px solid #e7e3ff;border-radius:14px;background:#fbfaff}
.web-auth-address-form h3{font-size:17px;margin:0 0 6px;color:var(--ink)}
.web-auth-address-form p{font-size:12px;margin:0 0 16px}
.web-auth-address-form .field-label{margin:14px 0 7px}
.web-auth-address-form .input-control{font-size:15px;min-height:46px}
.web-auth-address-form .button-wide{margin-top:20px}
.web-auth-address-hint{display:block;color:var(--muted);font-size:11px;margin-top:5px}
.web-auth-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.web-auth-address-grid>div{min-width:0}
.web-auth-address-grid .input-control{display:block;width:100%;min-width:0;height:48px;min-height:48px;box-sizing:border-box;padding-block:0}
@media(max-width:420px){.web-auth-address-grid{grid-template-columns:1fr}}

/* El SVG de marca conserva su proporción; el recorte anterior era para un PNG. */
.site-header .brand{width:auto;height:auto;overflow:visible}
.site-header .brand img{width:180px;height:auto;max-height:34px;object-fit:contain;object-position:center}
@media(max-width:949px){.site-header .brand img{width:158px}}
@media(max-width:949px){.site-header.has-address .brand img{width:138px}}

/* Cantidad por servicio en la cesta. */
.suggestion-empty{padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow)}
.suggestion-empty>strong,.suggestion-empty>small{display:block}
.suggestion-empty>strong{font-size:13px;color:var(--ink)}
.suggestion-empty>small{font-size:12px;color:var(--muted);margin-top:4px}
.suggestion-whatsapp{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:11px;padding:8px 11px;border:1px solid #ccebd9;border-radius:10px;background:#f2fbf5;color:#147a48;text-decoration:none;font-size:12px;font-weight:700}
.suggestion-whatsapp:hover{background:#e7f7ed;color:#0e6239}
.suggestion-whatsapp svg{width:18px;height:18px;flex:0 0 auto;fill:currentColor}
.suggestion-whatsapp-phone{padding-left:7px;border-left:1px solid #ccebd9;white-space:nowrap}
.selected-service-info{flex:1 1 auto;min-width:0}
.selected-service-info strong{overflow-wrap:anywhere}
.selected-service-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.service-quantity{display:inline-flex;align-items:center;height:36px;border:1px solid #d8d4f5;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 1px 3px rgba(37,29,86,.06)}
.service-quantity button{width:34px;height:34px;display:grid;place-items:center;padding:0;border:0;border-radius:0;background:#f5f3ff;color:var(--purple);font-size:19px;font-weight:750;line-height:1}
.service-quantity button:hover{background:#eae6ff}
.service-quantity input{width:38px;height:32px;padding:0;border:0;border-inline:1px solid #ececf2;border-radius:0;text-align:center;color:var(--ink);font:600 13px inherit;appearance:textfield;-moz-appearance:textfield}
.service-quantity input::-webkit-inner-spin-button,.service-quantity input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}
@media(max-width:420px){.selected-service{gap:7px;padding:9px}.selected-service-actions{gap:3px}.service-quantity button{width:29px}.service-quantity input{width:34px}}

/* Checkout controls stay legible and aligned on both desktop and mobile. */
.order-footer{display:grid;grid-template-columns:minmax(280px,310px) minmax(220px,1fr) auto auto;align-items:center;gap:16px}
.web-payment-choice{min-width:0;margin:0;display:flex;align-items:center;gap:8px;white-space:nowrap}
.web-payment-label{flex:0 0 auto}
.web-payment-choice .input-control{width:auto;min-width:154px;max-width:190px;min-height:46px;flex:1;padding:10px 38px 10px 13px;border-radius:10px}
.web-terms-choice{min-width:0;justify-self:center;display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;line-height:1.4;color:var(--ink)}
.web-terms-choice span{min-width:0}
.web-terms-choice input{width:22px;height:22px;flex:0 0 auto;accent-color:var(--purple)}
.web-terms-choice a{color:var(--purple);text-decoration:underline}
.web-payment-info-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 0;min-width:0}
.web-payment-note{flex:1 1 auto;min-width:220px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.web-payment-logos{flex:0 1 360px;min-width:220px;display:flex;align-items:center;justify-content:flex-end}
.web-payment-logos img{display:block;width:100%;height:40px;max-height:none;object-fit:contain;object-position:right center}
.order-footer .footer-total{white-space:nowrap}
.order-list-tabs{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);margin:0 0 16px}
.order-list-tabs button{border:0;background:transparent;color:var(--muted);font:600 13px inherit;padding:11px 12px;cursor:pointer;border-bottom:2px solid transparent}
.order-list-tabs button[aria-selected="true"]{color:var(--purple);border-bottom-color:var(--purple)}
.order-list-tabs #orders-refresh{margin-left:auto;font-size:20px;border-bottom:0}
.web-order-card{border:1px solid var(--line);border-radius:13px;padding:16px;margin:10px 0;background:#fff}
.web-order-card-heading,.web-order-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.web-order-card .eyebrow{letter-spacing:.04em;font-size:10px}
.order-state{display:inline-flex;padding:5px 8px;border-radius:99px;background:#f0edff;color:var(--purple-dark);font-size:10px;font-weight:700}
.web-order-card h3{font-size:15px;line-height:1.4;margin:11px 0 5px}
.web-order-card p{font-size:12px;line-height:1.45;color:var(--muted);margin:5px 0}
.web-order-card .web-order-detail{padding-top:7px;border-top:1px solid #f0f0f4}
.web-order-meta{padding-top:11px;margin-top:11px;border-top:1px solid #f0f0f4;font-size:12px}
.web-order-meta strong{font-size:14px}
.web-order-meta span{color:var(--muted)}
.web-order-searching{display:flex;align-items:center;gap:10px;margin:12px 0;padding:12px 14px;border:1px solid #e6e2ff;border-radius:11px;background:#f8f7ff;color:#5142b8;font-size:12px;line-height:1.45}
.web-order-spinner{width:18px;height:18px;flex:0 0 18px;border:2px solid #d8d2ff;border-top-color:var(--purple);border-radius:50%;animation:web-order-spin .8s linear infinite}
@keyframes web-order-spin{to{transform:rotate(360deg)}}
.web-order-number{display:flex;flex-direction:column;gap:3px;color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.02em}
.web-order-number strong{color:var(--ink);font-size:15px;font-weight:800;letter-spacing:.035em}
.web-order-card.is-searching{border-color:#ddd8ff;box-shadow:0 8px 26px rgba(66,50,175,.07)}
.web-order-card.is-searching .web-order-card-heading{align-items:center}
.web-order-searching{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:16px;row-gap:11px;overflow:hidden;margin:15px 0 13px;padding:17px 18px;border:1px solid #ded9ff;border-radius:15px;background:radial-gradient(ellipse at 12% 0%,rgba(118,100,255,.14),transparent 48%),linear-gradient(135deg,#fbfaff 0%,#f5f3ff 100%);color:var(--ink)}
.web-connecting-brand{position:relative;display:grid;place-items:center;width:92px;height:92px;border-radius:24px;background:linear-gradient(145deg,#624cf6,#4530df);box-shadow:0 10px 23px rgba(84,65,249,.24);color:#fff}
.web-connecting-wordmark{display:flex;align-items:center;justify-content:center;gap:0;font-size:11px;font-weight:850;letter-spacing:-.045em}
.web-connecting-wordmark span{display:inline-block;animation:web-letter-connect 1.35s ease-in-out infinite;animation-delay:calc(var(--letter-index)*75ms)}
@keyframes web-letter-connect{0%,65%,100%{transform:translateY(0);opacity:.72}32%{transform:translateY(-5px);opacity:1}}
.web-connecting-orbit{position:absolute;left:50%;bottom:20px;display:flex;align-items:center;gap:5px;transform:translateX(-50%)}
.web-connecting-orbit i{width:5px;height:5px;border-radius:50%;background:#fff;opacity:.45;animation:web-orbit-dot 1.1s ease-in-out infinite}
.web-connecting-orbit i:nth-child(2){animation-delay:.16s}.web-connecting-orbit i:nth-child(3){animation-delay:.32s}
@keyframes web-orbit-dot{0%,70%,100%{transform:translateY(0);opacity:.4}35%{transform:translateY(-4px);opacity:1}}
.web-connecting-copy strong{display:block;color:#32277f;font-size:14px;line-height:1.35}
.web-connecting-copy p{margin:5px 0 0;color:#5e5a77;font-size:12px;line-height:1.5}
.web-connecting-progress{grid-column:1/-1;height:4px;overflow:hidden;border-radius:99px;background:#e5e1ff}
.web-connecting-progress span{display:block;width:42%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8375ff,#5441f9,#a59bff);animation:web-progress-glide 2.2s ease-in-out infinite}
@keyframes web-progress-glide{0%{transform:translateX(-110%)}100%{transform:translateX(260%)}}
.web-connecting-payment{grid-column:1/-1;margin:0!important;padding:9px 11px;border-radius:9px;background:rgba(255,255,255,.78);color:#5441a2!important;font-size:11px!important;line-height:1.45!important}
@media(prefers-reduced-motion:reduce){.web-connecting-wordmark span,.web-connecting-orbit i,.web-connecting-progress span{animation:none}.web-connecting-progress span{width:100%;opacity:.55}}
.web-order-accepted{margin:12px 0;padding:12px 14px;border-left:3px solid #4b9b68;border-radius:8px;background:#f2faf4;color:#254c32!important}
.web-order-payment-choice{margin-top:13px;padding:12px;border:1px solid #e5e1fb;border-radius:11px;background:#faf9ff}
.web-order-payment-actions{display:flex;flex-wrap:wrap;gap:9px}
.web-order-payment-actions .button-secondary{background:#fff;color:var(--purple);border:1px solid #d9d4ff;box-shadow:none}
.web-order-payment-note{margin:11px 0;padding:11px 12px;border-radius:9px;background:#fff2f0;color:#8c3328!important;font-size:12px;line-height:1.45}
.web-order-payment-note.is-pending{background:#fff7e8;color:#785500!important}
.web-transfer-panel{margin-top:13px;padding:14px;border:1px solid #dedaf8;border-radius:12px;background:#faf9ff}
.web-transfer-panel h4{margin:0 0 8px;font-size:13px;color:var(--ink)}
.web-transfer-panel p{margin:7px 0}
.web-transfer-panel dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.web-transfer-panel dl div{min-width:0;padding:9px 10px;border:1px solid #ebe9f5;border-radius:8px;background:#fff}
.web-transfer-panel dt{color:var(--muted);font-size:10px}
.web-transfer-panel dd{margin:3px 0 0;color:var(--ink);font-size:12px;font-weight:700;overflow-wrap:anywhere}
.web-transfer-warning{padding:9px 10px;border-radius:8px;background:#fff7e8;color:#785500!important}
.web-transfer-reminder{margin:10px 0 0!important;padding:9px 10px;border-left:2px solid #a59bff;border-radius:0 7px 7px 0;background:#f5f3ff;color:#595477!important;font-size:11px!important;line-height:1.5!important}
.web-transfer-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:12px}
.web-transfer-form .field-label{min-width:0;margin:0;font-size:11px}
.web-transfer-form .input-control{margin-top:5px;min-width:0;font-size:12px}
.web-transfer-received{margin-top:12px!important;padding:10px 12px;border-radius:9px;background:#edf8f0;color:#28613a!important}
.web-order-additionals{margin-top:14px;padding-top:13px;border-top:1px solid #eceaf5}
.web-order-additionals h4{margin:0 0 9px;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.web-order-additional{padding:12px;border:1px solid #e7e4f5;border-radius:10px;background:#faf9ff}
.web-order-additional+.web-order-additional{margin-top:8px}
.web-order-additional-heading,.web-order-additional-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.web-order-additional-heading>strong{font-size:12px}
.web-order-additional p{margin:8px 0;color:#414052;font-size:12px}
.web-order-additional-footer>strong{font-size:13px}
.web-order-additional .order-state{white-space:nowrap}
.web-order-additional .order-state.is-pending{background:#fff2d6;color:#795700}
.web-order-additional-help{margin-bottom:0!important;color:var(--muted)!important;font-size:11px!important}
.web-additional-payment-choice{margin-top:11px;padding:11px;border-radius:9px;background:#f8f7ff}
.web-additional-payment-choice p{margin:0 0 9px;color:var(--muted);font-size:11px;line-height:1.45}
.web-additional-payment-actions{display:flex;flex-wrap:wrap;gap:8px}
.web-additional-payment-actions .button-secondary{background:#fff;color:var(--purple);border:1px solid #d9d4ff;box-shadow:none}
.button-small{min-height:36px;padding:7px 12px;font-size:12px}
.empty-orders{padding:26px 12px;text-align:center;background:#faf9ff;border-radius:12px}
.empty-orders strong{font-size:14px}
.empty-orders p{font-size:12px;color:var(--muted);margin:7px 0 0}
@media(max-width:560px){.web-transfer-panel dl{grid-template-columns:1fr 1fr}.web-transfer-form{grid-template-columns:1fr}.web-transfer-form .button{width:100%}.web-order-payment-actions .button{flex:1 1 145px}.web-order-searching{grid-template-columns:1fr;text-align:center;padding:15px}.web-connecting-brand{width:80px;height:80px;margin:0 auto}.web-connecting-progress,.web-connecting-payment{text-align:left}}
@media(max-width:949px){.order-footer{grid-template-columns:minmax(0,1fr) auto;gap:8px 14px}.web-payment-choice{grid-column:1;grid-row:1}.web-payment-choice .input-control{min-width:145px}.order-footer .footer-total{grid-column:2;grid-row:1;justify-self:end}.web-terms-choice{grid-column:1;grid-row:2;justify-self:center;max-width:100%;font-size:11px;gap:8px}.order-footer .button{grid-column:2;grid-row:2;min-width:135px}}
@media(max-width:720px){.web-payment-info-row{flex-direction:column;align-items:flex-end;gap:10px}.web-payment-note{width:100%;min-width:0;align-self:stretch}.web-payment-logos{width:min(360px,100%);min-width:0;flex-basis:auto;justify-content:flex-end}.web-payment-logos img{height:36px}}
@media(max-width:420px){.order-footer{gap:8px}.web-payment-choice{font-size:11px;gap:6px}.web-payment-choice .input-control{min-width:145px;width:145px;flex:0 0 145px;padding-inline:8px}.web-terms-choice{font-size:11px;gap:7px}.order-footer .footer-total small{font-size:9px}.order-footer .footer-total strong{font-size:14px}.order-footer .button{min-width:120px;padding:0 12px;font-size:13px}}
@media(max-width:360px){.web-payment-label{display:none}.web-payment-choice .input-control{min-width:145px;width:min(100%,180px);flex:0 1 180px}}

/* Compactamos suavemente las franjas para dejar más área visible al formulario. */
.site-header{height:78px}
.order-footer{padding-top:10px;padding-bottom:max(10px,env(safe-area-inset-bottom))}
.web-payment-choice .input-control{min-height:42px}
.web-terms-choice{min-height:40px}
.order-footer .button{height:46px;min-height:46px}
@media(max-width:949px){.order-footer{padding-top:7px;padding-bottom:max(7px,env(safe-area-inset-bottom));gap:6px 12px}.web-payment-choice .input-control{min-height:42px}.web-terms-choice{min-height:40px}.order-footer .button{height:46px;min-height:46px}.web-payment-logos img{height:38px}}
@media(max-width:720px){.site-header{height:86px}.web-payment-info-row{margin-top:10px}.web-payment-logos img{height:36px}}

/* La cabecera móvil prioriza el selector de ubicación y el cierre alinea monto y acción. */
@media(max-width:720px){
  .location-label{display:none}
  .header-location{gap:0}
  .header-location .input-control{max-width:190px}
  .header-address{max-width:calc(50vw - 78px)}
  .order-footer{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;align-items:center;gap:7px 12px}
  .web-payment-choice{grid-column:1/-1;grid-row:1;justify-self:start}
  .web-payment-label{display:none}
  .web-payment-choice .input-control{max-width:210px}
  .web-terms-choice{grid-column:1/-1;grid-row:2;justify-self:start}
  .order-footer .footer-total{grid-column:1;grid-row:3;justify-self:start;align-self:center}
  .order-footer .button{grid-column:2;grid-row:3;justify-self:end;align-self:center;min-width:132px}
}

/* En móvil, selector/términos a la izquierda y total/botón a la derecha. */
@media(max-width:720px){
  .web-payment-info-row{align-items:center}
  .web-payment-note{text-align:center}
  .web-payment-logos{justify-content:center;margin-inline:auto}
  .web-payment-logos img{object-position:center}
  .order-footer{grid-template-columns:minmax(0,1.5fr) minmax(112px,1fr);grid-template-rows:42px 46px;align-items:center;gap:7px 12px}
  .web-terms-choice{grid-column:1;grid-row:1;justify-self:start;align-self:center;display:flex;align-items:center;gap:8px;width:100%;max-width:none;min-height:38px;font-size:11px;line-height:1.3}
  .web-terms-choice input{width:22px;height:22px;flex:0 0 22px}
  .web-terms-choice span{min-width:0}
  .web-payment-choice{grid-column:1;grid-row:2;justify-self:start;min-width:0;width:100%;margin:0}
  .web-payment-choice .input-control{width:100%;min-width:0;max-width:240px;flex:1 1 auto;height:42px;min-height:42px}
  .order-footer .footer-total{grid-column:2;grid-row:1;justify-self:end;align-self:center;text-align:right}
  .order-footer .button{grid-column:2;grid-row:2;justify-self:end;align-self:center;min-width:132px}
}
@media(max-width:420px){
  .order-footer{grid-template-columns:minmax(0,1.45fr) minmax(112px,1fr);gap:7px 9px}
  .web-terms-choice{font-size:10px;gap:7px}
  .web-payment-choice .input-control{width:100%;max-width:220px}
  .order-footer .button{min-width:120px}
}
@media(max-width:360px){
  .order-footer{grid-template-columns:minmax(0,1.35fr) minmax(108px,1fr);gap:7px 7px}
  .web-payment-choice .input-control{width:100%;max-width:210px}
  .web-terms-choice{font-size:9.5px;gap:6px}
  .order-footer .button{min-width:108px;padding-inline:8px}
}

/* Aprovechamos el ancho de escritorio sin apretar las órdenes en móvil/tablet. */
@media(min-width:950px){
  .status-panel{width:min(calc(100% - 80px),1180px)}
  #web-orders-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
  #web-orders-list .web-order-card{margin:0;min-width:0}
  #web-orders-list .empty-orders,#web-orders-list>.status-help{grid-column:1/-1}
}

/* En iPhone, fecha y horario comparten una fila con campos de igual altura. */
@media(max-width:720px){
  .schedule-fields{width:100%;max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}
  .schedule-fields>label{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;min-width:0;margin:0}
  .schedule-fields .field-label{margin:0;line-height:1.25}
  .schedule-fields .input-control{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:48px;min-height:48px;margin:0;padding:0 9px;font-size:16px;line-height:normal}
  .schedule-fields input[type=date]{text-align:left;overflow:hidden}
  .schedule-fields input[type=date]::-webkit-date-and-time-value{min-width:0;margin:0;text-align:left}
  .schedule-fields select.input-control{padding-right:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* Evita desbordamientos laterales y mantiene el diálogo dentro del viewport móvil. */
html{overflow-x:clip}
@supports not (overflow:clip){html{overflow-x:hidden}}
@media(max-width:720px){
  body{max-width:100%;overflow-x:clip}
  .site-header,main,.order-shell,.site-footer{min-width:0;max-width:100%}
  .web-auth-overlay{width:100%;max-width:100%;padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right));overflow-x:clip}
  .web-auth-dialog{align-self:flex-end;width:100%;min-width:0;max-width:100%;max-height:calc(100dvh - 12px);box-sizing:border-box;overflow-x:hidden;border-radius:20px 20px 0 0;padding:24px 16px max(20px,env(safe-area-inset-bottom))}
.web-auth-dialog input,.web-auth-dialog select,.web-auth-dialog textarea,.web-auth-dialog button{box-sizing:border-box;min-width:0;max-width:100%}
.web-auth-address-form{min-width:0;padding:14px}
}

/* Barra compacta para el perfil, con los datos guardados en modo lectura. */
.web-auth-modal-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-30px -30px 22px;padding:14px 20px;border-bottom:1px solid var(--line);background:#fff}
.web-auth-modal-header>span{font-size:18px;font-weight:750;letter-spacing:-.02em;color:var(--ink)}
.web-auth-close{position:static;flex:0 0 36px;width:36px;height:36px;padding:0;display:grid;place-items:center;border-radius:10px;font-family:inherit;font-size:27px;line-height:1}
.web-auth-close:hover,.web-auth-close:focus-visible{background:#f3f1ff;color:var(--purple);outline:0}
.web-auth-profile-summary{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fbfbfe}
.web-auth-profile-summary>div span,.web-auth-profile-summary>div strong{display:block;overflow-wrap:anywhere}
.web-auth-profile-summary>div span{margin-bottom:4px;color:var(--muted);font-size:12px}
.web-auth-profile-summary>div strong{font-size:15px;font-weight:650}
.web-auth-profile-edit{justify-self:start;margin-top:2px;padding:7px 11px;border:1px solid #dcd7ff;border-radius:9px;background:#fff;color:var(--purple);font:650 13px inherit;cursor:pointer}
.web-auth-profile-edit:hover,.web-auth-profile-edit:focus-visible{background:#f6f4ff;outline:0}
.web-auth-profile-cancel{margin-top:8px}
@media(max-width:720px){
  .web-auth-modal-header{top:0;margin:-24px -16px 18px;padding:12px 16px}
  .web-auth-modal-header>span{font-size:17px}
}

.status-heading-row{display:flex;align-items:center;gap:13px;margin:0 0 18px}
.status-heading-row .status-icon{flex:0 0 46px;margin:0}
.status-heading-row h1{margin:0;font-size:27px;line-height:1.2;letter-spacing:-.025em}
.status-panel .back-link{margin-bottom:18px}
.orders-followup-note{max-width:760px;margin:15px auto 0!important;color:#85899a!important;font-size:10px!important;line-height:1.45!important;text-align:center}
