/* =========================================================
   MULTI24 - ESTILO SERIO / AMIGABLE
   Paleta inspirada en flyer: azul noche + rojo + blanco
========================================================= */

:root{
  --azul-noche:#071b3a;
  --azul:#0b2d5c;
  --azul-2:#123f7a;
  --rojo:#e11f2a;
  --rojo-oscuro:#b9151c;
  --gris-fondo:#f3f6fb;
  --gris-card:#ffffff;
  --gris-suave:#eef3f9;
  --texto:#172033;
  --muted:#6b768a;
  --borde:rgba(7,27,58,.12);
  --sombra:0 18px 45px rgba(7,27,58,.13);
  --sombra-suave:0 10px 26px rgba(7,27,58,.08);
  --verde-wpp:#25d366;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(225,31,42,.10), transparent 28%),
    radial-gradient(circle at top right, rgba(11,45,92,.10), transparent 30%),
    var(--gris-fondo);
  color:var(--texto);
  font-family:Arial, Helvetica, sans-serif;
}

body.modal-open{
  overflow:hidden;
}

button,
input,
select,
textarea{
  font-family:inherit;
}

button{
  cursor:pointer;
}

a{
  color:inherit;
}

.hidden{
  display:none !important;
}

/* =========================================================
   TOPBAR
========================================================= */

.ms-topbar{
  position:sticky;
  top:0;
  z-index:80;
  height:74px;
  padding:10px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--borde);
}

.ms-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width:0;
}

.ms-brand-icon{
  width:48px;
  height:48px;
  border-radius:17px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:22px;
  background:
    linear-gradient(135deg,var(--azul-noche),var(--azul-2));
  box-shadow:0 10px 22px rgba(7,27,58,.22);
}

.ms-brand-text{
  display:grid;
  gap:2px;
  line-height:1;
}

.ms-brand-text strong{
  font-size:24px;
  letter-spacing:.5px;
  color:var(--azul-noche);
}

.ms-brand-text strong span{
  color:var(--rojo);
}

.ms-brand-text small{
  color:var(--muted);
  font-size:12px;
}

.ms-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  flex:1;
}

.ms-nav a{
  text-decoration:none;
  color:var(--azul);
  font-weight:800;
  font-size:14px;
  padding:10px 12px;
  border-radius:999px;
}

.ms-nav a:hover{
  background:var(--gris-suave);
}

.ms-nav a.active{
  background:var(--azul-noche);
  color:#fff;
}

.ms-menu-btn{
  display:none;
  border:none;
  width:42px;
  height:42px;
  border-radius:14px;
  background:var(--gris-suave);
  color:var(--azul-noche);
  font-size:18px;
}

/* =========================================================
   BOTONES
========================================================= */

.ms-btn{
  border:none;
  border-radius:999px;
  padding:12px 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:15px;
  font-weight:900;
  text-decoration:none;
  transition:.2s ease;
  min-height:44px;
}

.ms-btn:hover{
  transform:translateY(-1px);
}

.ms-btn-primary{
  background:linear-gradient(135deg,var(--rojo),var(--rojo-oscuro));
  color:#fff;
  box-shadow:0 12px 24px rgba(225,31,42,.24);
}

.ms-btn-outline{
  background:#fff;
  color:var(--azul-noche);
  border:1px solid var(--borde);
  box-shadow:var(--sombra-suave);
}

.ms-btn-light{
  background:#fff;
  color:var(--azul-noche);
  border:1px solid var(--borde);
}

.ms-btn-light:hover,
.ms-btn-outline:hover{
  background:#f7faff;
}

.ms-btn:disabled{
  opacity:.6;
  cursor:not-allowed;
  transform:none;
}

/* =========================================================
   HERO
========================================================= */

main{
  width:min(1500px,calc(100% - 32px));
  margin:0 auto;
  padding:18px 0 90px;
}

.ms-home-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:18px;
  align-items:stretch;
}

.ms-home-right{
  display:grid;
  grid-template-rows:auto auto;
  gap:14px;
  min-width:0;
}

.ms-hero{
  min-height:520px;
  border-radius:38px;
  padding:42px;
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:28px;
  align-items:center;
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(241,247,255,.92));
  box-shadow:var(--sombra);
  border:1px solid rgba(255,255,255,.8);
}

.ms-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(var(--azul-noche) 1.2px, transparent 1.2px);
  background-size:24px 24px;
  opacity:.06;
  pointer-events:none;
}

.ms-hero-bg-detail{
  position:absolute;
  border-radius:999px;
  pointer-events:none;
}

.detail-red{
  width:270px;
  height:270px;
  right:-115px;
  bottom:-110px;
  background:var(--rojo);
  opacity:.10;
}

.detail-blue{
  width:230px;
  height:230px;
  left:-95px;
  top:-92px;
  background:#d9e8f7;
  opacity:.55;
}

.ms-hero-content{
  position:relative;
  z-index:2;
}

.ms-hero-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.ms-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(225,31,42,.10);
  color:var(--rojo-oscuro);
  font-weight:900;
  font-size:13px;
  margin-bottom:0;
}

.ms-hero h1{
  margin:0;
  font-size:54px;
  line-height:1.02;
  letter-spacing:-1.7px;
  color:var(--azul-noche);
}

.ms-hero h1 span{
  display:inline-block;
  color:#fff;
  background:linear-gradient(90deg,var(--rojo),var(--rojo-oscuro));
  padding:4px 14px 8px;
  border-radius:18px;
  margin-top:8px;
}

.ms-hero p{
  margin:18px 0 0;
  max-width:640px;
  color:var(--muted);
  font-size:18px;
  line-height:1.55;
}

.ms-online-pill{
  margin-top:18px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  color:var(--azul-noche);
  border:1px solid var(--borde);
  font-weight:900;
  box-shadow:var(--sombra-suave);
}

.ms-online-pill i{
  color:var(--rojo);
}

.ms-hero-actions{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(2,max-content);
  justify-content:start;
  align-items:center;
  gap:10px;
}

.ms-hero-actions .ms-btn{
  min-width:210px;
}

.ms-hero-actions #btnInstalarApp{
  grid-column:1 / -1;
  justify-self:center;
}

.ms-badge-red{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  font-size:13px;
  background:var(--rojo);
  color:#fff;
  white-space:nowrap;
}

.ms-hero-card{
  position:relative;
  z-index:2;
  background:#fff;
  border:1px solid var(--borde);
  border-radius:34px;
  padding:24px;
  box-shadow:0 20px 50px rgba(7,27,58,.14);
  animation:msFloat 4.8s ease-in-out infinite;
}

.ms-phone-big{
  width:100%;
  border:none;
  background:linear-gradient(135deg,var(--azul-noche),var(--azul-2));
  color:#fff;
  border-radius:26px;
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:30px;
  font-weight:1000;
  letter-spacing:.5px;
  box-shadow:0 14px 28px rgba(7,27,58,.24);
  cursor:pointer;
}

.ms-phone-big i{
  color:#fff;
}

.ms-hero-card-actions{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

.ms-hero-card-actions .ms-btn{
  width:100%;
}

.ms-hero-card-points{
  margin-top:14px;
  display:flex;
  flex-wrap:nowrap;
  justify-content:center;
  gap:7px;
}

.ms-hero-card-points span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:var(--azul-noche);
  font-weight:900;
  background:#fff;
  border:1px solid var(--borde);
  border-radius:999px;
  padding:8px 10px;
  white-space:nowrap;
}

.ms-hero-card-points i{
  color:var(--rojo);
}

.ms-home-services{
  margin-top:14px;
}

.ms-contact-between{
  display:grid;
  gap:12px;
  margin:0;
}

.ms-home-prestador-card{
  width:100%;
  min-height:96px;
  background:#fff;
  border:1px solid var(--borde);
  border-radius:26px;
  padding:16px 20px;
  box-shadow:var(--sombra-suave);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
}

.ms-prestador-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.ms-worker-icon{
  width:38px;
  height:38px;
  border-radius:15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(7,27,58,.08);
  color:var(--azul-noche);
  font-size:18px;
  flex:0 0 auto;
}

.ms-prestador-left strong{
  color:var(--azul-noche);
  font-size:24px;
  font-weight:1000;
  white-space:nowrap;
}

.ms-prestador-text{
  margin:0;
  text-align:center;
  color:#5a6475;
  font-size:15px;
  line-height:1.35;
  font-weight:800;
}

.ms-home-prestador-card .ms-btn{
  min-width:280px;
  color:var(--azul-noche);
  font-weight:1000;
}

.ms-home-prestador-card .ms-btn i{
  color:var(--azul-noche);
}

.ms-zonas-card{
  background:#fff;
  border:1px solid var(--borde);
  border-radius:34px;
  padding:22px;
  box-shadow:var(--sombra);
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
}

.ms-zonas-head{
  text-align:left;
}

.ms-zonas-head h3{
  margin:12px 0 0;
  color:var(--azul-noche);
  font-size:30px;
  line-height:1.05;
}

.ms-zonas-mapa-pro{
  position:relative;
  flex:1;
  min-height:450px;
  margin-top:18px;
  border-radius:28px;
  border:1px solid var(--borde);
  background:
    linear-gradient(135deg,rgba(255,255,255,.78),rgba(255,255,255,.42)),
    radial-gradient(circle at 28% 20%, rgba(7,27,58,.10), transparent 22%),
    radial-gradient(circle at 74% 72%, rgba(225,31,42,.09), transparent 25%),
    linear-gradient(135deg,#eaf2fb,#d9e8f7);
  overflow:hidden;
}

.ms-zonas-mapa-pro::before{
  content:"";
  position:absolute;
  inset:24px;
  border-radius:42px;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(7,27,58,.10) 46% 48%, transparent 48% 100%),
    linear-gradient(35deg, transparent 0 43%, rgba(7,27,58,.08) 43% 45%, transparent 45% 100%),
    radial-gradient(circle at 50% 44%, rgba(225,31,42,.12) 0 8%, transparent 9%),
    linear-gradient(135deg,#f8fbff,#dce9f7);
  border:1px solid rgba(7,27,58,.10);
  box-shadow:inset 0 0 0 8px rgba(255,255,255,.30);
}

.ms-zonas-mapa-pro::after{
  content:"";
  position:absolute;
  left:42px;
  right:42px;
  top:58px;
  bottom:48px;
  border-radius:44% 56% 48% 52% / 35% 44% 56% 65%;
  border:2px dashed rgba(7,27,58,.16);
  pointer-events:none;
}

.ms-mapa-fondo{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 44%, rgba(225,31,42,.13), transparent 9%),
    radial-gradient(circle at 72% 22%, rgba(11,45,92,.12), transparent 16%),
    radial-gradient(circle at 24% 55%, rgba(11,45,92,.10), transparent 18%),
    radial-gradient(circle at 64% 78%, rgba(11,45,92,.11), transparent 18%);
  pointer-events:none;
}

.ms-zona-area{
  position:absolute;
  z-index:2;
  width:118px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-align:center;
  border-radius:999px;
  background:#fff;
  color:var(--azul-noche);
  border:1px solid var(--borde);
  font-weight:900;
  font-size:13px;
  box-shadow:0 14px 28px rgba(7,27,58,.14);
}

.ms-zona-area i{
  color:var(--rojo);
  font-size:14px;
}

.area-norte{
  top:68px;
  left:50%;
  transform:translateX(-50%);
}

.area-oeste{
  top:178px;
  left:20px;
}

.area-caba{
  top:236px;
  right:20px;
  background:linear-gradient(135deg,var(--rojo),var(--rojo-oscuro));
  color:#fff;
  border:none;
}

.area-caba i{
  color:#fff;
}

.area-sur{
  bottom:72px;
  left:50%;
  transform:translateX(-50%);
}

.ms-zonas-frase{
  margin:16px 0 0;
  color:var(--azul-noche);
  font-size:15px;
  line-height:1.45;
  font-weight:800;
}

#btnCompartirApp{
  background:linear-gradient(135deg,var(--azul-noche),var(--azul-2));
  color:#fff;
  border:none;
  box-shadow:0 12px 24px rgba(7,27,58,.22);
}

#btnCompartirApp i{
  color:#fff;
}

.ms-emphasis-red{
  color:var(--rojo-oscuro);
}

@keyframes msFloat{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-8px); }
}

/* =========================================================
   SECCIONES
========================================================= */

.ms-section{
  margin-top:34px;
  background:#fff;
  border:1px solid var(--borde);
  box-shadow:var(--sombra-suave);
  border-radius:34px;
  padding:30px;
}

.ms-section-soft{
  background:
    radial-gradient(circle at top right, rgba(225,31,42,.08), transparent 26%),
    linear-gradient(135deg,#fff,#f7faff);
}

.ms-section-head{
  margin-bottom:22px;
}

.ms-section-head h2{
  margin:0;
  color:var(--azul-noche);
  font-size:34px;
  letter-spacing:-.7px;
}

.ms-section-head p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  max-width:760px;
}

/* =========================================================
   SERVICIOS
========================================================= */

.ms-services-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
}

.ms-service-card{
  border:1px solid rgba(7,27,58,.10);
  background:#fff;
  border-radius:16px;
  padding:6px 8px;
  min-height:40px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  text-align:left;
  transition:.2s ease;
  position:relative;
  overflow:hidden;
  cursor:pointer;
}

.ms-service-card::after{
  content:none;
}

.ms-service-card:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(7,27,58,.08);
}

.ms-service-icon{
  width:26px;
  height:26px;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--azul-noche);
  background:var(--gris-suave);
  font-size:14px;
  flex:0 0 auto;
}

.ms-service-card h3{
  margin:0;
  color:var(--azul-noche);
  font-size:12.5px;
  line-height:1.1;
}

.ms-service-card:hover .ms-service-icon{
  background:rgba(225,31,42,.10);
  color:var(--rojo);
}

/* =========================================================
   STEPS
========================================================= */

.ms-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.ms-steps article{
  border:1px solid var(--borde);
  border-radius:26px;
  padding:20px;
  background:#fff;
}

.ms-steps span{
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--azul-noche);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:1000;
  margin-bottom:12px;
}

.ms-steps h3{
  margin:0;
  color:var(--azul-noche);
  font-size:18px;
}

.ms-steps p{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.45;
}

.ms-aclaracion{
  display:inline;
  color:var(--muted);
  font-style:normal;
  font-weight:700;
}

.ms-discount-box{
  margin-top:18px;
  border-radius:28px;
  border:1px solid rgba(7,27,58,.12);
  background:
    radial-gradient(circle at top right, rgba(225,31,42,.10), transparent 28%),
    linear-gradient(135deg,#fff,#f7faff);
  box-shadow:var(--sombra-suave);
  padding:20px;
  display:flex;
  align-items:center;
  gap:16px;
}

.ms-discount-icon{
  width:54px;
  height:54px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--rojo),var(--rojo-oscuro));
  color:#fff;
  font-size:22px;
  flex:0 0 auto;
}

.ms-discount-box h3{
  margin:0;
  color:var(--azul-noche);
  font-size:22px;
}

.ms-discount-box p{
  margin:6px 0 0;
  color:var(--muted);
  font-weight:700;
  line-height:1.45;
}

/* =========================================================
   PANELES
========================================================= */

.ms-empty-box,
.ms-panel{
  background:#fff;
  border:1px solid var(--borde);
  border-radius:28px;
  padding:24px;
  box-shadow:var(--sombra-suave);
}

.ms-empty-box{
  text-align:center;
}

.ms-empty-box > i{
  font-size:42px;
  color:var(--rojo);
  margin-bottom:10px;
}

.ms-empty-box h3{
  margin:0;
  color:var(--azul-noche);
}

.ms-empty-box p{
  color:var(--muted);
}

.ms-panel{
  margin-top:16px;
}

.ms-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.ms-panel-head h2{
  margin:0;
  color:var(--azul-noche);
}

.ms-panel-head p{
  margin:4px 0 0;
  color:var(--muted);
}

.ms-panel-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.ms-panel-card{
  background:#f9fbfe;
  border:1px solid var(--borde);
  border-radius:24px;
  padding:18px;
}

.ms-panel-card h3{
  margin:0 0 12px;
  color:var(--azul-noche);
}

.ms-muted{
  color:var(--muted);
  line-height:1.45;
}

.ms-list{
  display:grid;
  gap:12px;
}

.ms-item{
  background:#fff;
  border:1px solid var(--borde);
  border-radius:20px;
  padding:14px;
}

.ms-item h4{
  margin:0 0 8px;
  color:var(--azul-noche);
}

.ms-item p{
  margin:4px 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.4;
}

.ms-item-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.ms-mini-btn{
  border:none;
  border-radius:999px;
  padding:8px 11px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--gris-suave);
  color:var(--azul-noche);
  font-weight:900;
}

.ms-mini-btn.red{
  background:rgba(225,31,42,.10);
  color:var(--rojo-oscuro);
}

.ms-status{
  display:inline-flex;
  align-items:center;
  width:max-content;
  border-radius:999px;
  padding:5px 9px;
  font-size:12px;
  font-weight:1000;
  color:var(--azul-noche);
  background:var(--gris-suave);
}

.ms-status.red{
  color:var(--rojo-oscuro);
  background:rgba(225,31,42,.10);
}

.ms-counter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(225,31,42,.10);
  color:var(--rojo-oscuro);
  border-radius:999px;
  padding:8px 12px;
  font-weight:1000;
}

.ms-prestador-status{
  margin-top:12px;
}

/* =========================================================
   FORMULARIOS / MODALES
========================================================= */

.ms-modal{
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(7,27,58,.62);
  backdrop-filter:blur(6px);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ms-modal-card{
  width:min(460px,100%);
  max-height:min(88vh,760px);
  overflow:auto;
  background:#fff;
  border-radius:30px;
  padding:24px;
  box-shadow:0 26px 80px rgba(0,0,0,.25);
  position:relative;
  border:1px solid rgba(255,255,255,.8);
}

.ms-modal-wide{
  width:min(720px,100%);
}

.ms-modal-card h2{
  margin:0;
  color:var(--azul-noche);
  font-size:28px;
}

.ms-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  border:none;
  border-radius:50%;
  background:var(--gris-suave);
  color:var(--azul-noche);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
}

.ms-form{
  display:grid;
  gap:14px;
  margin-top:16px;
}

.ms-form-two{
  grid-template-columns:1fr 1fr;
}

.ms-full{
  grid-column:1 / -1;
}

.ms-form label{
  display:grid;
  gap:6px;
  color:var(--azul-noche);
  font-weight:900;
  font-size:14px;
}

.ms-label-title{
  display:block;
  color:var(--azul-noche);
  font-size:14px;
  margin-bottom:8px;
}

.ms-form-note{
  margin:0 0 8px;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
}

.ms-file-box{
  border:1px dashed rgba(7,27,58,.22);
  border-radius:22px;
  padding:14px;
  background:#f8fbff;
}

.ms-file-input-row{
  margin-top:10px;
  min-height:54px;
  border:1px solid var(--borde);
  border-radius:18px;
  background:#fff;
  color:var(--azul-noche);
  font-weight:1000;
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  text-align:center;
}

.ms-file-input-row i{
  color:var(--rojo);
  font-size:18px;
}

.ms-file-input-row input{
  display:none;
}

.ms-file-note{
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
  font-weight:700;
}

.ms-file-summary{
  margin:10px 0 0;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--borde);
  color:var(--azul-noche);
  padding:10px 12px;
  font-size:13px;
  line-height:1.4;
  font-weight:800;
}

.ms-form input,
.ms-form select,
.ms-form textarea{
  width:100%;
  border:1px solid var(--borde);
  border-radius:16px;
  padding:13px 14px;
  background:#fff;
  color:var(--texto);
  font-size:16px;
  outline:none;
}

.ms-form textarea{
  resize:vertical;
}

.ms-form input:focus,
.ms-form select:focus,
.ms-form textarea:focus{
  border-color:var(--azul-2);
  box-shadow:0 0 0 4px rgba(18,63,122,.10);
}

.ms-check{
  display:flex !important;
  grid-template-columns:auto 1fr !important;
  align-items:center;
  gap:10px !important;
  padding:13px 14px;
  border:1px solid var(--borde);
  border-radius:16px;
  background:#fff;
}

.ms-check input{
  width:18px;
  height:18px;
}

.ms-check-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px;
}

.ms-check-option{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px;
  border-radius:14px;
  border:1px solid var(--borde);
  color:var(--azul-noche);
  font-weight:800;
  background:#fff;
}

.ms-check-option input{
  width:17px;
  height:17px;
}

.ms-role-pill{
  display:inline-flex;
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(225,31,42,.10);
  color:var(--rojo-oscuro);
  font-weight:1000;
}

/* =========================================================
   WHATSAPP / TOAST
========================================================= */

.ms-whatsapp-float{
  position:fixed;
  z-index:120;
  right:18px;
  bottom:18px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:var(--verde-wpp);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:31px;
  box-shadow:0 16px 34px rgba(37,211,102,.35);
  transition:.2s ease;
}

.ms-whatsapp-float:hover{
  transform:scale(1.04);
}

.ms-up-btn{
  position:fixed;
  z-index:119;
  right:18px;
  bottom:88px;
  width:46px;
  height:46px;
  border:none;
  border-radius:50%;
  background:#fff;
  color:var(--azul-noche);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  box-shadow:0 12px 28px rgba(7,27,58,.18);
  border:1px solid var(--borde);
  transition:.2s ease;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
}

.ms-up-btn.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.ms-up-btn.is-visible:hover{
  transform:translateY(-2px);
  background:var(--gris-suave);
}

.ms-up-btn:hover{
  transform:translateY(-2px);
  background:var(--gris-suave);
}

.ms-toast{
  position:fixed;
  z-index:300;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  background:var(--azul-noche);
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  box-shadow:0 16px 34px rgba(7,27,58,.24);
  max-width:calc(100% - 32px);
  text-align:center;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:900px){

  .ms-home-shell{
    display:grid;
    grid-template-columns:1fr;
  }

  .ms-home-right{
    order:1;
  }

  .ms-zonas-card{
    order:2;
    min-height:auto;
    text-align:center;
  }

  .ms-zonas-head{
    text-align:center;
  }

  .ms-zonas-head .ms-kicker{
    margin:0 auto;
  }

  .ms-zonas-mapa-pro{
    min-height:340px;
  }

  .ms-zona-area{
    width:118px;
    height:52px;
    font-size:13px;
  }

  .area-norte{
    top:46px;
    left:50%;
    transform:translateX(-50%);
  }

  .area-oeste{
    top:136px;
    left:18px;
    transform:none;
  }

  .area-caba{
    top:136px;
    right:18px;
    left:auto;
    transform:none;
  }

  .area-sur{
    bottom:46px;
    left:50%;
    transform:translateX(-50%);
  }

  .ms-zonas-frase{
    text-align:center;
  }

.ms-hero-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
}

.ms-hero-actions .ms-btn{
  min-width:min(260px,100%);
}

.ms-home-prestador-card{
  grid-template-columns:1fr;
  text-align:center;
}

.ms-prestador-left{
  justify-content:center;
}

.ms-prestador-text{
  text-align:center;
}

.ms-home-prestador-card .ms-btn{
  justify-self:center;
  min-width:min(320px,100%);
}

  .ms-menu-btn{
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .ms-topbar{
    height:68px;
    padding:9px 12px;
  }

  .ms-brand-icon{
    width:44px;
    height:44px;
    border-radius:15px;
  }

  .ms-brand-text strong{
    font-size:20px;
  }

  .ms-brand-text small{
    display:none;
  }

  .ms-nav{
    position:fixed;
    top:68px;
    left:12px;
    right:12px;
    display:none;
    flex-direction:column;
    background:#fff;
    border:1px solid var(--borde);
    border-radius:22px;
    padding:10px;
    box-shadow:var(--sombra);
  }

  .ms-nav.open{
    display:flex;
  }

  .ms-nav a{
    width:100%;
    text-align:center;
  }

  #btnCuenta{
    padding:10px 13px;
    font-size:0;
  }

  #btnCuenta i{
    font-size:18px;
  }

  main{
    padding:14px 10px 92px;
  }

  .ms-hero{
    grid-template-columns:1fr;
    min-height:auto;
    border-radius:28px;
    padding:20px 16px;
    gap:18px;
  }

  .ms-hero-topline{
    margin-bottom:12px;
  }

  .ms-hero h1{
    font-size:35px;
    letter-spacing:-1px;
  }

  .ms-hero h1 span{
    border-radius:14px;
    padding:4px 10px 7px;
  }

  .ms-hero p{
    font-size:16px;
  }

  .ms-online-pill{
    width:100%;
    justify-content:center;
  }

  .ms-hero-card{
    padding:16px;
    border-radius:28px;
  }

  .ms-phone-big{
    font-size:25px;
    padding:16px;
    border-radius:22px;
  }

  .ms-hero-card-actions{
    gap:9px;
  }

  .ms-hero-card-points{
    gap:5px;
  }

  .ms-hero-card-points span{
    font-size:12px;
    padding:7px 8px;
    gap:5px;
  }

  .ms-services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }

  .ms-service-card{
    min-height:38px;
    padding:5px 7px;
    border-radius:14px;
    gap:6px;
  }

  .ms-service-icon{
    width:24px;
    height:24px;
    border-radius:8px;
    font-size:13px;
  }

  .ms-service-card h3{
    font-size:11.5px;
  }

  .ms-section{
    border-radius:28px;
    padding:20px 16px;
  }

  .ms-section-head h2{
    font-size:28px;
  }

  .ms-steps{
    grid-template-columns:1fr;
  }

  .ms-panel-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .ms-panel-grid{
    grid-template-columns:1fr;
  }

  .ms-form-two{
    grid-template-columns:1fr;
  }

  .ms-check-grid{
    grid-template-columns:1fr;
  }

  .ms-modal{
    align-items:flex-end;
    padding:10px;
  }

  .ms-modal-card{
    border-radius:26px;
    max-height:90vh;
  }

  .ms-whatsapp-float{
    width:58px;
    height:58px;
    right:14px;
    bottom:14px;
  }

  .ms-up-btn{
    right:14px;
    bottom:84px;
  }

   .ms-discount-box{
  align-items:flex-start;
  flex-direction:column;
  text-align:left;
}

.ms-discount-icon{
  width:48px;
  height:48px;
}

}

@media (max-width:420px){

  .ms-hero h1{
    font-size:33px;
  }

  .ms-phone-big{
    font-size:23px;
  }

  .ms-hero-card-points span{
    font-size:11.5px;
    padding:7px 7px;
  }

  .ms-service-card h3{
    font-size:11px;
  }
}

/* =========================================================
   AJUSTES V2 - EMERGENCIA / ROLES / ADMIN
========================================================= */

.ms-emergency-note{
  grid-column:1 / -1;
  margin:0;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(225,31,42,.09);
  border:1px solid rgba(225,31,42,.20);
  color:var(--rojo-oscuro);
  font-weight:800;
  line-height:1.45;
}

.ms-panel-card.ms-full-panel{
  grid-column:1 / -1;
}

.ms-role-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.ms-service-card{
  cursor:pointer;
}

.ms-service-card:hover .ms-service-icon{
  background:rgba(225,31,42,.10);
  color:var(--rojo);
}

.ms-solicitud-archivos{
  margin:8px 0;
}

.ms-solicitud-archivos p{
  margin:4px 0 6px;
}

.ms-file-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.ms-file-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:8px 10px;
  background:var(--gris-suave);
  color:var(--azul-noche);
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  border:1px solid var(--borde);
}

.ms-file-link i{
  color:var(--rojo);
}

/* =========================================================
   SUGERENCIAS / AUDIO SOLICITUD
========================================================= */

.ms-autocomplete-wrap{
  position:relative;
}

.ms-suggest-box{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:260;
  margin-top:6px;
  background:#fff;
  border:1px solid var(--borde);
  border-radius:18px;
  box-shadow:0 18px 42px rgba(7,27,58,.18);
  overflow:hidden;
  max-height:230px;
  overflow-y:auto;
}

.ms-suggest-item{
  width:100%;
  border:none;
  background:#fff;
  color:var(--azul-noche);
  padding:12px 14px;
  display:flex;
  align-items:center;
  gap:9px;
  text-align:left;
  font-weight:900;
  border-bottom:1px solid rgba(7,27,58,.08);
}

.ms-suggest-item:last-child{
  border-bottom:none;
}

.ms-suggest-item:hover{
  background:#f7faff;
}

.ms-suggest-item i{
  color:var(--rojo);
}

.ms-audio-box{
  border:1px dashed rgba(7,27,58,.22);
  border-radius:22px;
  padding:14px;
  background:#f8fbff;
}

.ms-audio-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.ms-audio-actions .ms-btn{
  min-width:170px;
}

.ms-audio-preview{
  width:100%;
  margin-top:12px;
}

@media (max-width:900px){
  .ms-audio-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .ms-audio-actions .ms-btn{
    width:100%;
  }
}
