/* ===== PCM Citas Front ===== */

.pcm-citas-wrap{
  max-width: 1120px;
  margin: 42px auto 64px;
  padding: 0 18px;
}

.pcm-citas-card{
  background: #ffffff;
  border: 1px solid #dbe4ea;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 18px 42px rgba(2, 21, 33, 0.08);
}

.pcm-citas-card--form{
  max-width: 980px;
  margin: 0 auto;
}

.pcm-citas-head{
  margin-bottom: 24px;
}

.pcm-citas-title{
  margin: 0 0 10px 0;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 800;
  color: #021521;
  letter-spacing: -0.03em;
}

.pcm-citas-muted{
  margin: 0;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.65;
  color: #597084;
}

.pcm-citas-stack{
  display: grid;
  gap: 18px;
}

.pcm-citas-panel{
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid #dbe4ea;
  background: #ffffff;
}

.pcm-citas-panel--warning{
  border-color: #efcf8c;
  background: linear-gradient(180deg, #fff8e8 0%, #fffdf7 100%);
}

.pcm-citas-panel--soft{
  background: #fbfdff;
}

.pcm-citas-panel--legal{
  margin-top: 6px;
  background: linear-gradient(180deg, #fbfdff 0%, #f8fbfd 100%);
}

.pcm-citas-panel__title{
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #021521;
  letter-spacing: -0.02em;
}

.pcm-citas-panel__text{
  margin: 0 0 12px 0;
  font-size: 15px;
  line-height: 1.65;
  color: #496072;
}

.pcm-citas-list{
  margin: 0;
  padding-left: 20px;
}

.pcm-citas-list li{
  margin: 0 0 8px 0;
  color: #41586b;
  line-height: 1.55;
}

.pcm-citas-list--errors li{
  color: inherit;
}

.pcm-citas-form{
  margin-top: 2px;
}

.pcm-citas-form-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.pcm-citas-form-grid__full{
  grid-column: 1 / -1;
}

.pcm-citas-wrap .form-group{
  margin: 0;
}

.pcm-citas-wrap label{
  display: block;
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 700;
  color: #021521;
  letter-spacing: 0.01em;
}

.pcm-citas-wrap input[type="text"],
.pcm-citas-wrap input[type="email"],
.pcm-citas-wrap input[type="tel"],
.pcm-citas-wrap input[type="date"],
.pcm-citas-wrap textarea,
.pcm-citas-wrap select{
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #cfdbe3;
  border-radius: 16px;
  background: #ffffff;
  color: #021521;
  font-size: 15px;
  line-height: 1.35;
  box-sizing: border-box;
  outline: none;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.pcm-citas-wrap textarea{
  min-height: 136px;
  resize: vertical;
}

.pcm-citas-wrap input[type="text"]:focus,
.pcm-citas-wrap input[type="email"]:focus,
.pcm-citas-wrap input[type="tel"]:focus,
.pcm-citas-wrap input[type="date"]:focus,
.pcm-citas-wrap textarea:focus,
.pcm-citas-wrap select:focus{
  border-color: #41b6c1;
  box-shadow: 0 0 0 4px rgba(65, 182, 193, 0.14);
}

.pcm-citas-inline-note{
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 14px;
  line-height: 1.6;
}

.pcm-citas-inline-note--warning{
  border: 1px solid #efcf8c;
  background: #fff8e8;
  color: #6f5713;
}

.pcm-citas-inline-note--info{
  border: 1px solid rgba(65, 182, 193, 0.25);
  background: rgba(65, 182, 193, 0.10);
  color: #124d56;
}

.pcm-citas-checkline{
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  font-weight: 400 !important;
  line-height: 1.6;
  color: #42586a !important;
}

.pcm-citas-checkline input[type="checkbox"]{
  margin: 4px 0 0 0;
  flex: 0 0 auto;
}

.pcm-citas-checkline--legal{
  margin-top: 8px !important;
  padding-top: 12px;
  border-top: 1px solid #e3ebf0;
}

.pcm-citas-legal-link{
  margin: 2px 0 6px 0;
}

.pcm-citas-legal-link a{
  color: #021521;
  font-weight: 800;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(65, 182, 193, 0.45);
}

.pcm-citas-legal-link a:hover{
  color: #41b6c1;
  border-bottom-color: #41b6c1;
}

.pcm-citas-actions{
  margin-top: 22px;
  display: flex;
  justify-content: flex-start;
}

.pcm-citas-wrap .btn,
.pcm-citas-wrap button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.pcm-citas-wrap .btn:hover,
.pcm-citas-wrap button:hover{
  transform: translateY(-1px);
}

.pcm-citas-wrap .btn.btn-primary,
.pcm-citas-wrap button.btn.btn-primary{
  background: linear-gradient(135deg, #41b6c1 0%, #67c7d0 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(65, 182, 193, 0.24);
}

.pcm-citas-wrap .btn.btn-primary:hover,
.pcm-citas-wrap button.btn.btn-primary:hover{
  background: linear-gradient(135deg, #35aab5 0%, #59c0ca 100%);
}

.pcm-citas-wrap .btn.btn-outline-danger{
  background: #ffffff;
  border: 1px solid rgba(220,53,69,.30);
  color: #c13a49;
}

.pcm-citas-wrap .btn.btn-outline-danger:hover{
  background: #fff4f5;
}

.pcm-citas-wrap a,
.pcm-citas-wrap a:visited{
  text-decoration: none !important;
}

.pcm-citas-wrap .alert{
  margin: 0 0 18px 0;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1.6;
}

.pcm-citas-wrap .alert ul{
  margin: 0;
  padding-left: 18px;
}

.pcm-citas-wrap .alert-success{
  background: rgba(65,182,193,.11);
  border-color: rgba(65,182,193,.28);
  color: #0c4b53;
}

.pcm-citas-wrap .alert-danger{
  background: rgba(220,53,69,.08);
  border-color: rgba(220,53,69,.22);
  color: #8d2632;
}

.pcm-citas-wrap .alert-warning{
  background: #fff8e8;
  border-color: #efcf8c;
  color: #6f5713;
}

.pcm-citas-wrap .alert-info{
  background: #eef7fb;
  border-color: #c8dfea;
  color: #254d66;
}

.pcm-citas-day-msg{
  margin: 0 !important;
}

.pcm-citas-success-title{
  margin-bottom: 6px;
  font-weight: 800;
  color: #021521;
}

.pcm-citas-success-actions{
  margin-top: 12px;
}

.pcm-citas-summary-card{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #dbe4ea;
  background: #fbfdff;
  box-shadow: 0 8px 22px rgba(2, 21, 33, 0.05);
}

.pcm-citas-summary-card > div{
  margin-bottom: 8px;
  color: #41586b;
  line-height: 1.55;
}

.pcm-citas-summary-card > div:last-child{
  margin-bottom: 0;
}

.pcm-citas-wrap .card{
  border-radius: 18px;
  border: 1px solid #dbe4ea;
}

.pcm-citas-kv{
  display: grid;
  gap: 12px;
}

.pcm-citas-kv > div{
  color: #41586b;
  line-height: 1.6;
}

.pcm-citas-progress{
  margin-bottom: 22px !important;
}

.pcm-citas-wrap h2{
  color: #021521;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pcm-citas-wrap strong{
  color: #021521;
}

@media (max-width: 820px){
  .pcm-citas-form-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px){
  .pcm-citas-wrap{
    margin: 24px auto 40px;
    padding: 0 12px;
  }

  .pcm-citas-card{
    padding: 22px 18px;
    border-radius: 18px;
  }

  .pcm-citas-title{
    font-size: 32px;
  }

  .pcm-citas-muted{
    font-size: 15px;
  }

  .pcm-citas-panel{
    padding: 16px;
    border-radius: 16px;
  }

  .pcm-citas-panel__title{
    font-size: 18px;
  }

  .pcm-citas-wrap .btn,
  .pcm-citas-wrap button{
    width: 100%;
  }

  .pcm-citas-actions{
    justify-content: stretch;
  }
}
/* ===== PCM Cita detalle ===== */

.pcm-citas-card--detail{
  max-width: 1240px;
  margin: 0 auto;
}

.pcm-citas-section{
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e3ebf0;
}

.pcm-citas-section--progress{
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
}

.pcm-citas-section__head{
  margin-bottom: 16px;
}

.pcm-citas-section__head h2{
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  color: #021521;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pcm-citas-status-box{
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #dbe4ea;
  background: #f8fbfd;
  color: #021521;
  font-size: 15px;
  font-weight: 700;
}

.pcm-citas-status-box--cancelled{
  border-color: rgba(220,53,69,.24);
  background: #fff5f5;
  color: #b02a37;
}

.pcm-citas-steps{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.pcm-citas-step{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 16px;
  background: #f3f6f8;
  color: #6c8091;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  border: 1px solid #dfe7ec;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.pcm-citas-step.is-active{
  background: linear-gradient(135deg, #41b6c1 0%, #67c7d0 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(65, 182, 193, 0.16);
}

.pcm-citas-step--dark.is-active{
  background: #021521;
  color: #ffffff;
}

@media (max-width: 1100px){
  .pcm-citas-steps{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .pcm-citas-steps{
    grid-template-columns: 1fr;
  }

  .pcm-citas-step{
    min-height: 48px;
  }
}
.pcm-citas-info-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pcm-citas-info-card{
  border: 1px solid #dbe4ea;
  border-radius: 20px;
  background: #fbfdff;
  padding: 22px;
  box-shadow: 0 8px 18px rgba(2, 21, 33, 0.04);
}

.pcm-citas-info-card__title{
  margin-bottom: 14px;
  font-size: 19px;
  line-height: 1.2;
  color: #021521;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pcm-citas-inline-actions{
  margin-top: 16px;
}

.pcm-citas-thread{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pcm-citas-msg{
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #dbe4ea;
  background: #ffffff;
}

.pcm-citas-msg--staff{
  border-color: #cfe2ff;
  background: #f4f8ff;
}

.pcm-citas-msg--customer{
  border-color: #dbe4ea;
  background: #ffffff;
}

.pcm-citas-msg__meta{
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #6a7f90;
}

.pcm-citas-msg__body{
  color: #243848;
  line-height: 1.65;
}

.pcm-citas-empty-box{
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px dashed #d7e1e7;
  background: #fbfcfd;
  color: #72879a;
  line-height: 1.6;
}

.pcm-citas-form--message{
  margin-top: 18px;
}

.pcm-citas-doc-card{
  border: 1px solid #dbe4ea;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 22px;
  box-shadow: 0 8px 18px rgba(2, 21, 33, 0.04);
}

.pcm-citas-doc-card__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.pcm-citas-doc-card__title{
  font-size: 20px;
  line-height: 1.2;
  color: #021521;
  font-weight: 800;
  margin-bottom: 8px;
}

.pcm-citas-doc-card__meta{
  color: #5c7285;
  line-height: 1.6;
}

.pcm-citas-doc-card__actions{
  margin-top: 16px;
}

.pcm-citas-doc-badge-wrap{
  flex: 0 0 auto;
}

.pcm-citas-doc-badge{
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d0d7de;
  background: #f1f3f5;
  color: #495057;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.pcm-citas-doc-badge--info{
  border-color: #41b6c1;
  background: #e8f7fa;
  color: #0b7285;
}

.pcm-citas-doc-badge--success{
  border-color: #40c057;
  background: #ebfbee;
  color: #2b8a3e;
}

.pcm-citas-doc-badge--danger{
  border-color: #fa5252;
  background: #fff5f5;
  color: #c92a2a;
}

@media (max-width: 920px){
  .pcm-citas-info-grid{
    grid-template-columns: 1fr;
  }

  .pcm-citas-doc-card__top{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px){
  .pcm-citas-section{
    margin-top: 22px;
    padding-top: 20px;
  }

  .pcm-citas-section__head h2{
    font-size: 26px;
  }

  .pcm-citas-info-card,
  .pcm-citas-doc-card{
    padding: 18px;
    border-radius: 18px;
  }

  .pcm-citas-step{
    width: 100%;
    justify-content: center;
  }
}
/* ===== Refinado visual cita ===== */
.pcm-citas-form-grid .pcm-citas-panel .pcm-citas-form-grid{
  margin-top: 14px;
}

#pcm_billing_wrap .pcm-citas-panel,
#pcm_device_details_wrap{
  margin-top: 2px;
}

#pcm_billing_wrap .pcm-citas-panel__title{
  margin-bottom: 12px;
}

#pcm_device_details_label{
  margin-bottom: 8px;
}

@media (max-width: 767px){
  #pcm_billing_wrap .pcm-citas-panel{
    padding: 16px;
  }
}
/* ===== Hero superior reserva cita ===== */

.pcm-citas-hero{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, #021521 0%, #073040 100%);
  overflow: hidden;
}

.pcm-citas-hero__content{
  min-width: 0;
}

.pcm-citas-hero__logo{
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.pcm-citas-hero .pcm-citas-title{
  color: #ffffff;
  margin-bottom: 12px;
}

.pcm-citas-hero .pcm-citas-muted{
  color: rgba(255,255,255,.82);
  max-width: 560px;
}

.pcm-citas-hero__image{
  height: 230px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0,0,0,.28);
}

.pcm-citas-hero__image img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 900px){
  .pcm-citas-hero{
    grid-template-columns: 1fr;
  }

  .pcm-citas-hero__image{
    height: 220px;
  }
}

@media (max-width: 767px){
  .pcm-citas-hero{
    padding: 20px;
    border-radius: 18px;
  }

  .pcm-citas-hero__logo{
    width: 180px;
    margin-bottom: 18px;
  }

  .pcm-citas-hero__image{
    height: 190px;
  }
}
/* ========================================================================== 
   PCM CITAS - REFINADO VISUAL CORPORATIVO 2026
   Solo presentacion. No modifica logica, campos ni comportamiento.
   ========================================================================== */

:root{
  --pcm-navy: #021521;
  --pcm-navy-2: #073040;
  --pcm-cyan: #41b6c1;
  --pcm-cyan-dark: #2799a5;
  --pcm-ink: #172b38;
  --pcm-text: #435d6d;
  --pcm-muted: #6b8190;
  --pcm-line: #dce6ec;
  --pcm-soft: #f5f8fa;
  --pcm-white: #ffffff;
  --pcm-warning: #a96808;
  --pcm-warning-bg: #fffaf0;
  --pcm-radius-lg: 22px;
  --pcm-radius-md: 15px;
  --pcm-shadow: 0 22px 55px rgba(2, 21, 33, .09);
}

.pcm-citas-wrap{
  max-width: 1140px;
  margin: 38px auto 72px;
  padding: 0 20px;
  color: var(--pcm-ink);
}

.pcm-citas-card{
  border: 1px solid rgba(174, 194, 205, .55);
  border-radius: 28px;
  padding: 28px;
  background: var(--pcm-white);
  box-shadow: var(--pcm-shadow);
}

.pcm-citas-card--form{
  max-width: 1040px;
}

.pcm-citas-hero{
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 38px;
  min-height: 280px;
  margin-bottom: 30px;
  padding: 34px 36px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 20%, rgba(65,182,193,.18), transparent 36%),
    linear-gradient(135deg, #021521 0%, #052735 58%, #073542 100%);
  box-shadow: 0 18px 40px rgba(2, 21, 33, .16);
}

.pcm-citas-hero::after{
  content: "";
  position: absolute;
  inset: auto auto -90px -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(65,182,193,.08);
  pointer-events: none;
}

.pcm-citas-hero__content{
  position: relative;
  z-index: 1;
}

.pcm-citas-hero__logo{
  width: 190px;
  margin-bottom: 28px;
}

.pcm-citas-hero .pcm-citas-title{
  max-width: 560px;
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.pcm-citas-hero .pcm-citas-muted{
  max-width: 570px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
}

.pcm-citas-hero__image{
  height: 218px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
}

.pcm-citas-hero__image img{
  transition: transform .45s ease;
}

.pcm-citas-hero:hover .pcm-citas-hero__image img{
  transform: scale(1.025);
}

.pcm-citas-stack{
  gap: 20px;
}

.pcm-citas-panel{
  position: relative;
  padding: 24px 26px;
  border: 1px solid var(--pcm-line);
  border-radius: 18px;
  background: var(--pcm-white);
  box-shadow: 0 7px 22px rgba(2,21,33,.035);
}

.pcm-citas-panel--soft{
  background: linear-gradient(180deg, #fbfdfe 0%, #f7fafc 100%);
}

.pcm-citas-panel--intro{
  border-left: 4px solid var(--pcm-cyan);
  background: #fff;
}

.pcm-citas-panel--warning{
  border-color: #ecd39e;
  border-left: 4px solid #dfa735;
  background: linear-gradient(135deg, #fffaf0 0%, #fffdf8 100%);
}

.pcm-citas-panel--legal{
  border-color: #cedfe7;
  background: linear-gradient(180deg, #fbfdfe 0%, #f5f9fb 100%);
}

.pcm-citas-panel__title{
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -.018em;
}

.pcm-citas-panel__text{
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--pcm-text);
}

.pcm-citas-list{
  padding-left: 0;
  list-style: none;
}

.pcm-citas-list li{
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  color: var(--pcm-text);
}

.pcm-citas-list li::before{
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 8px;
  height: 8px;
  border: 3px solid rgba(65,182,193,.28);
  border-radius: 50%;
  background: var(--pcm-cyan);
  box-sizing: content-box;
}

.alert .pcm-citas-list li{
  padding-left: 22px;
}

.alert .pcm-citas-list li::before{
  width: 6px;
  height: 6px;
  border-width: 2px;
  background: currentColor;
}

.pcm-citas-form{
  margin-top: 4px;
}

.pcm-citas-form-grid{
  gap: 21px 22px;
}

.pcm-citas-wrap label{
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: .005em;
}

.pcm-citas-wrap input[type="text"],
.pcm-citas-wrap input[type="email"],
.pcm-citas-wrap input[type="tel"],
.pcm-citas-wrap input[type="date"],
.pcm-citas-wrap textarea,
.pcm-citas-wrap select{
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #cbd9e1;
  border-radius: 13px;
  background-color: #fff;
  font-size: 15px;
  color: var(--pcm-ink);
  box-shadow: 0 1px 2px rgba(2,21,33,.025);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pcm-citas-wrap input::placeholder,
.pcm-citas-wrap textarea::placeholder{
  color: #93a4af;
}

.pcm-citas-wrap input[type="text"]:hover,
.pcm-citas-wrap input[type="email"]:hover,
.pcm-citas-wrap input[type="tel"]:hover,
.pcm-citas-wrap input[type="date"]:hover,
.pcm-citas-wrap textarea:hover,
.pcm-citas-wrap select:hover{
  border-color: #aebfc9;
}

.pcm-citas-wrap input[type="text"]:focus,
.pcm-citas-wrap input[type="email"]:focus,
.pcm-citas-wrap input[type="tel"]:focus,
.pcm-citas-wrap input[type="date"]:focus,
.pcm-citas-wrap textarea:focus,
.pcm-citas-wrap select:focus{
  border-color: var(--pcm-cyan);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(65,182,193,.13), 0 7px 18px rgba(2,21,33,.05);
}

.pcm-citas-wrap textarea{
  min-height: 145px;
  line-height: 1.6;
}

.pcm-citas-inline-note{
  padding: 16px 18px;
  border-radius: 13px;
}

.pcm-citas-checkline{
  gap: 12px;
  color: var(--pcm-text) !important;
}

.pcm-citas-checkline input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--pcm-cyan-dark);
}

.pcm-citas-legal-link a{
  color: var(--pcm-navy);
  border-bottom: 1px solid rgba(65,182,193,.55);
}

.pcm-citas-actions{
  margin-top: 24px;
}

.pcm-citas-wrap .btn,
.pcm-citas-wrap button{
  min-height: 52px;
  padding: 0 24px;
  border-radius: 13px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .005em;
}

.pcm-citas-wrap .btn.btn-primary,
.pcm-citas-wrap button.btn.btn-primary{
  background: linear-gradient(135deg, #209ca8 0%, #41b6c1 100%);
  box-shadow: 0 10px 22px rgba(39,153,165,.24);
}

.pcm-citas-wrap .btn.btn-primary:hover,
.pcm-citas-wrap button.btn.btn-primary:hover{
  background: linear-gradient(135deg, #168c98 0%, #35aab5 100%);
  box-shadow: 0 13px 28px rgba(39,153,165,.29);
}

.pcm-citas-wrap .btn.btn-default,
.pcm-citas-wrap button.btn.btn-default{
  border: 1px solid #cdd9e0;
  background: #fff;
  color: var(--pcm-navy);
  box-shadow: 0 5px 14px rgba(2,21,33,.05);
}

.pcm-citas-wrap .btn.btn-default:hover,
.pcm-citas-wrap button.btn.btn-default:hover{
  border-color: var(--pcm-cyan);
  background: #f7fcfd;
  color: var(--pcm-navy);
}

.pcm-citas-wrap .alert{
  margin: 0 0 20px;
  padding: 18px 20px;
  border-radius: 15px;
  border-width: 1px;
  box-shadow: none;
}

.pcm-citas-wrap .alert-success{
  border-color: #a9d8c1;
  background: #f1faf5;
  color: #1c6643;
}

.pcm-citas-wrap .alert-danger{
  border-color: #efb7b7;
  background: #fff5f5;
  color: #8f2f2f;
}

.pcm-citas-success-title{
  margin-bottom: 7px;
  font-size: 20px;
  font-weight: 800;
  color: #155b3b;
}

.pcm-citas-summary-card{
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--pcm-line);
  border-radius: 17px;
  background: #fbfdfe;
  box-shadow: none;
}

.pcm-citas-summary-card > div{
  padding: 7px 0;
  border-bottom: 1px solid #e7eef2;
  line-height: 1.55;
}

.pcm-citas-summary-card > div:last-child{
  border-bottom: 0;
}

.pcm-citas-day-msg,
.help-block{
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pcm-muted);
}

@media (max-width: 900px){
  .pcm-citas-card{
    padding: 22px;
  }

  .pcm-citas-hero{
    gap: 24px;
    min-height: 0;
    padding: 28px;
  }
}

@media (max-width: 767px){
  .pcm-citas-wrap{
    margin: 18px auto 44px;
    padding: 0 12px;
  }

  .pcm-citas-card{
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(2,21,33,.08);
  }

  .pcm-citas-hero{
    padding: 23px 20px 20px;
    border-radius: 17px;
  }

  .pcm-citas-hero__logo{
    width: 165px;
    margin-bottom: 20px;
  }

  .pcm-citas-hero .pcm-citas-title{
    font-size: 34px;
  }

  .pcm-citas-hero__image{
    height: 180px;
    border-radius: 15px;
  }

  .pcm-citas-panel{
    padding: 20px 18px;
    border-radius: 15px;
  }

  .pcm-citas-form-grid{
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .pcm-citas-form-grid__full{
    grid-column: auto;
  }

  .pcm-citas-actions{
    display: block;
  }

  .pcm-citas-wrap .btn,
  .pcm-citas-wrap button{
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce){
  .pcm-citas-wrap *,
  .pcm-citas-wrap *::before,
  .pcm-citas-wrap *::after{
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   PCM Citas - selector visual de forma de entrega (v4)
   ========================================================= */
.pcm-citas-field-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:13px}.pcm-citas-field-heading label{margin:0!important}.pcm-citas-field-heading>span{color:#607481;font-size:13px;line-height:1.45;text-align:right}.pcm-citas-transport-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pcm-citas-transport-card{display:block;margin:0;cursor:pointer}.pcm-citas-transport-card>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.pcm-citas-transport-card__body{position:relative;display:flex;min-height:150px;flex-direction:column;align-items:flex-start;gap:15px;padding:21px 19px 18px;background:#fff;border:1px solid #d7e2e8;border-radius:16px;box-shadow:0 8px 24px rgba(2,21,33,.045);transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background-color .2s ease}.pcm-citas-transport-card:hover .pcm-citas-transport-card__body{border-color:#8fcfd5;box-shadow:0 13px 30px rgba(2,21,33,.085);transform:translateY(-2px)}.pcm-citas-transport-card__icon{display:grid;width:43px;height:43px;place-items:center;color:#087e89;background:#eaf8f9;border-radius:12px}.pcm-citas-transport-card__icon svg{width:24px;height:24px;fill:currentColor}.pcm-citas-transport-card__content{display:block;padding-right:20px}.pcm-citas-transport-card__content strong{display:block;margin-bottom:6px;color:#021521;font-size:15px;line-height:1.25}.pcm-citas-transport-card__content small{display:block;color:#607481;font-size:13px;font-weight:400;line-height:1.5}.pcm-citas-transport-card__check{position:absolute;top:18px;right:17px;width:21px;height:21px;background:#fff;border:1.5px solid #b8c8d0;border-radius:50%;transition:all .2s ease}.pcm-citas-transport-card__check:after{content:"";position:absolute;top:4px;left:7px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;opacity:0;transform:rotate(45deg)}.pcm-citas-transport-card>input:checked+.pcm-citas-transport-card__body{background:#f3fbfc;border-color:#41b6c1;box-shadow:0 13px 30px rgba(65,182,193,.14)}.pcm-citas-transport-card>input:checked+.pcm-citas-transport-card__body .pcm-citas-transport-card__icon{color:#fff;background:#087e89}.pcm-citas-transport-card>input:checked+.pcm-citas-transport-card__body .pcm-citas-transport-card__check{background:#087e89;border-color:#087e89}.pcm-citas-transport-card>input:checked+.pcm-citas-transport-card__body .pcm-citas-transport-card__check:after{opacity:1}.pcm-citas-transport-card>input:focus-visible+.pcm-citas-transport-card__body{outline:3px solid rgba(65,182,193,.25);outline-offset:2px}.pcm-citas-transport-native{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}@media(max-width:820px){.pcm-citas-transport-options{grid-template-columns:1fr}.pcm-citas-transport-card__body{min-height:0;flex-direction:row;align-items:center}.pcm-citas-field-heading{display:block}.pcm-citas-field-heading>span{display:block;margin-top:5px;text-align:left}}

/* =========================================================
   PCM Citas - vista "Tu cita" (v5)
   Mejora visual sin cambios de logica ni plantilla
   ========================================================= */
.pcm-citas-card--detail{
  max-width: 1120px;
  padding: 34px;
}

.pcm-citas-card--detail .pcm-citas-head{
  margin-bottom: 24px;
  padding: 4px 2px 22px;
  border-bottom: 1px solid #e3ebef;
}

.pcm-citas-card--detail .pcm-citas-title{
  margin: 0 0 8px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.pcm-citas-card--detail .pcm-citas-muted{
  max-width: 720px;
  margin: 0;
  color: #607481;
  font-size: 15px;
  line-height: 1.65;
}

.pcm-citas-section--progress{
  margin: 0 0 26px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e3ebef;
}

.pcm-citas-steps{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.pcm-citas-step{
  position: relative;
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #d8e3e9;
  border-radius: 13px;
  background: #f5f8fa;
  color: #6f818d;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.pcm-citas-step.is-active{
  border-color: #41b6c1;
  background: linear-gradient(135deg, #2ca5b0 0%, #54c1ca 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(45,160,171,.18);
}

.pcm-citas-step--dark.is-active{
  border-color: #0d3a49;
  background: linear-gradient(135deg, #021521 0%, #123847 100%);
}

.pcm-citas-status-box{
  padding: 18px 20px;
  border-radius: 14px;
  font-weight: 800;
}

.pcm-citas-status-box--cancelled{
  border: 1px solid #efb7b7;
  background: #fff5f5;
  color: #8f2f2f;
}

.pcm-citas-section--info{
  padding-bottom: 6px;
}

.pcm-citas-info-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pcm-citas-info-card{
  min-height: 100%;
  padding: 24px;
  border: 1px solid #dbe5ea;
  border-radius: 17px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  box-shadow: 0 9px 28px rgba(2,21,33,.045);
}

.pcm-citas-info-card__title{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0 0 13px;
  border-bottom: 1px solid #e5edf1;
  color: #021521;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.015em;
}

.pcm-citas-info-card__title::before{
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #41b6c1;
  box-shadow: 0 0 0 5px rgba(65,182,193,.12);
}

.pcm-citas-kv{
  display: grid;
  gap: 11px;
  color: #314956;
}

.pcm-citas-kv > div{
  padding-bottom: 11px;
  border-bottom: 1px solid #edf2f5;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.pcm-citas-kv > div:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.pcm-citas-kv strong{
  color: #0b2633;
  font-weight: 800;
}

.pcm-citas-inline-actions{
  margin-top: 20px;
}

.pcm-citas-inline-actions .alert{
  margin-bottom: 0;
}

.pcm-citas-card--detail > .pcm-citas-section:not(.pcm-citas-section--progress):not(.pcm-citas-section--info){
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid #e3ebef;
}

.pcm-citas-section__head{
  margin-bottom: 17px;
}

.pcm-citas-section__head h2{
  margin: 0;
  color: #021521;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.pcm-citas-thread{
  display: grid;
  gap: 13px;
}

.pcm-citas-msg{
  padding: 17px 19px;
  border: 1px solid #dce6eb;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(2,21,33,.035);
}

.pcm-citas-msg--staff{
  margin-left: 36px;
  border-color: #b9dde1;
  background: #f1fafb;
}

.pcm-citas-msg--customer{
  margin-right: 36px;
}

.pcm-citas-msg__meta{
  margin-bottom: 8px;
  color: #6c7e89;
  font-size: 12.5px;
  line-height: 1.45;
}

.pcm-citas-msg__meta strong{
  color: #0b2633;
}

.pcm-citas-msg__body{
  color: #263f4c;
  line-height: 1.65;
}

.pcm-citas-form--message{
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #dbe5ea;
  border-radius: 16px;
  background: #f8fbfc;
}

.pcm-citas-empty-box{
  padding: 20px;
  border: 1px dashed #c8d7de;
  border-radius: 15px;
  background: #f8fbfc;
  color: #617681;
  line-height: 1.6;
}

.pcm-citas-doc-card{
  padding: 22px;
  border: 1px solid #dbe5ea;
  border-radius: 17px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
  box-shadow: 0 9px 26px rgba(2,21,33,.04);
}

.pcm-citas-doc-card__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.pcm-citas-doc-card__title{
  margin-bottom: 6px;
  color: #021521;
  font-size: 18px;
  font-weight: 850;
}

.pcm-citas-doc-card__meta{
  color: #607481;
  line-height: 1.55;
}

.pcm-citas-doc-card__actions{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e6edf1;
}

.pcm-citas-doc-badge{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf3f6;
  color: #506874;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.pcm-citas-doc-badge--info{
  background: #eaf8f9;
  color: #087e89;
}

.pcm-citas-doc-badge--success{
  background: #edf9f1;
  color: #267147;
}

.pcm-citas-doc-badge--danger{
  background: #fff0f0;
  color: #9b3434;
}

@media (max-width: 900px){
  .pcm-citas-steps{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pcm-citas-info-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px){
  .pcm-citas-card--detail{
    padding: 18px;
  }

  .pcm-citas-card--detail .pcm-citas-head{
    padding-bottom: 18px;
  }

  .pcm-citas-card--detail .pcm-citas-title{
    font-size: 34px;
  }

  .pcm-citas-steps{
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pcm-citas-step{
    min-height: 46px;
    font-size: 12px;
  }

  .pcm-citas-info-card{
    padding: 19px;
  }

  .pcm-citas-msg--staff,
  .pcm-citas-msg--customer{
    margin-left: 0;
    margin-right: 0;
  }

  .pcm-citas-doc-card__top{
    display: block;
  }

  .pcm-citas-doc-badge-wrap{
    margin-top: 12px;
  }
}

/* =========================================================
   PCM Citas - ajuste de tarjetas secundarias (v6)
   ========================================================= */
.pcm-citas-info-grid--secondary > .pcm-citas-info-card:only-child{
  grid-column: 1 / -1;
}

/* =========================================================
   PCM Citas - acabado corporativo premium (v7)
   Solo presentacion. No modifica logica ni estructura.
   ========================================================= */

.pcm-citas-wrap{
  --pcm-ink: #071d29;
  --pcm-ink-soft: #173542;
  --pcm-muted: #667d88;
  --pcm-line: #d9e4e9;
  --pcm-line-strong: #c9d8df;
  --pcm-surface: #ffffff;
  --pcm-surface-soft: #f7fafb;
  --pcm-brand: #35aeb9;
  --pcm-brand-deep: #118b96;
  --pcm-brand-pale: #eaf8f9;
  --pcm-shadow-sm: 0 10px 28px rgba(2, 21, 33, .055);
  --pcm-shadow-md: 0 22px 58px rgba(2, 21, 33, .095);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--pcm-ink-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.pcm-citas-wrap,
.pcm-citas-wrap input,
.pcm-citas-wrap select,
.pcm-citas-wrap textarea,
.pcm-citas-wrap button{
  font-family: inherit;
}

.pcm-citas-card{
  border-color: var(--pcm-line);
  border-radius: 26px;
  box-shadow: var(--pcm-shadow-md);
}

.pcm-citas-card--form,
.pcm-citas-card--detail{
  background:
    radial-gradient(circle at 100% 0%, rgba(65,182,193,.055), transparent 24%),
    #fff;
}

.pcm-citas-head{
  position: relative;
}

.pcm-citas-head::after{
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pcm-brand), #78d0d7);
}

.pcm-citas-title{
  max-width: 780px;
  color: var(--pcm-ink);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.055em;
}

.pcm-citas-muted{
  color: var(--pcm-muted);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -.01em;
}

.pcm-citas-hero{
  min-height: 310px;
  padding: 44px 48px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 13% 100%, rgba(65,182,193,.14), transparent 27%),
    linear-gradient(135deg, #031722 0%, #062936 100%);
  box-shadow: 0 24px 52px rgba(2,21,33,.18);
}

.pcm-citas-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.055), transparent 35%);
}

.pcm-citas-hero__content{
  position: relative;
  z-index: 2;
}

.pcm-citas-hero__content h1,
.pcm-citas-hero__content .h1,
.pcm-citas-hero__content .pcm-citas-title{
  color: #fff;
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 720;
  letter-spacing: -.05em;
}

.pcm-citas-hero__content p{
  max-width: 520px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.7;
}

.pcm-citas-hero__logo{
  width: 205px;
  max-width: 46%;
}

.pcm-citas-hero__image{
  width: 43%;
  max-width: 440px;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  transform: translateZ(0);
}

.pcm-citas-panel,
.pcm-citas-info-card,
.pcm-citas-doc-card,
.pcm-citas-form--message{
  border-color: var(--pcm-line);
  border-radius: 18px;
  box-shadow: var(--pcm-shadow-sm);
}

.pcm-citas-panel{
  padding: 24px 26px;
}

.pcm-citas-panel--soft,
.pcm-citas-info-card,
.pcm-citas-form--message{
  background: linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
}

.pcm-citas-panel--intro{
  border-left: 4px solid var(--pcm-brand);
}

.pcm-citas-panel--warning{
  border-color: #edc46d;
  border-left: 4px solid #dea92e;
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf8 100%);
}

.pcm-citas-panel__title,
.pcm-citas-info-card__title,
.pcm-citas-doc-card__title,
.pcm-citas-section__head h2{
  color: var(--pcm-ink);
  font-weight: 740;
  letter-spacing: -.025em;
}

.pcm-citas-panel__title{
  font-size: 21px;
}

.pcm-citas-panel__text,
.pcm-citas-list li,
.pcm-citas-doc-card__meta,
.pcm-citas-msg__body{
  color: #526a75;
}

.pcm-citas-list{
  display: grid;
  gap: 11px;
  padding-left: 0;
  list-style: none;
}

.pcm-citas-list li{
  position: relative;
  margin: 0;
  padding-left: 24px;
}

.pcm-citas-list li::before{
  content: "";
  position: absolute;
  left: 2px;
  top: .64em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pcm-brand);
  box-shadow: 0 0 0 5px rgba(65,182,193,.10);
}

.pcm-citas-wrap label{
  margin-bottom: 9px;
  color: #17323f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .005em;
}

.pcm-citas-wrap input[type="text"],
.pcm-citas-wrap input[type="email"],
.pcm-citas-wrap input[type="tel"],
.pcm-citas-wrap input[type="date"],
.pcm-citas-wrap textarea,
.pcm-citas-wrap select{
  min-height: 56px;
  padding: 15px 17px;
  border-color: var(--pcm-line-strong);
  border-radius: 13px;
  background: #fff;
  color: var(--pcm-ink);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(2,21,33,.02);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pcm-citas-wrap input::placeholder,
.pcm-citas-wrap textarea::placeholder{
  color: #9aabb3;
}

.pcm-citas-wrap input[type="text"]:hover,
.pcm-citas-wrap input[type="email"]:hover,
.pcm-citas-wrap input[type="tel"]:hover,
.pcm-citas-wrap input[type="date"]:hover,
.pcm-citas-wrap textarea:hover,
.pcm-citas-wrap select:hover{
  border-color: #aec2cb;
}

.pcm-citas-wrap input[type="text"]:focus,
.pcm-citas-wrap input[type="email"]:focus,
.pcm-citas-wrap input[type="tel"]:focus,
.pcm-citas-wrap input[type="date"]:focus,
.pcm-citas-wrap textarea:focus,
.pcm-citas-wrap select:focus{
  border-color: var(--pcm-brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(53,174,185,.12), 0 8px 24px rgba(2,21,33,.06);
}

.pcm-citas-wrap textarea{
  min-height: 154px;
  line-height: 1.65;
}

.pcm-citas-form-grid{
  gap: 22px 22px;
}

.pcm-citas-field-heading{
  margin: 8px 0 4px;
  color: var(--pcm-ink);
  font-size: 17px;
  font-weight: 740;
  letter-spacing: -.02em;
}

.pcm-citas-transport-options{
  gap: 16px;
}

.pcm-citas-transport-card{
  min-height: 174px;
  padding: 22px;
  border: 1px solid var(--pcm-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
  box-shadow: 0 8px 26px rgba(2,21,33,.045);
  transition: transform .16s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pcm-citas-transport-card:hover{
  transform: translateY(-3px);
  border-color: #a8d7dc;
  box-shadow: 0 18px 38px rgba(2,21,33,.09);
}

.pcm-citas-transport-card:has(input:checked){
  border-color: var(--pcm-brand);
  background: linear-gradient(180deg, #f3fbfc 0%, #fff 100%);
  box-shadow: 0 0 0 3px rgba(53,174,185,.11), 0 18px 40px rgba(2,21,33,.08);
}

.pcm-citas-transport-card__icon{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--pcm-brand-pale);
  color: var(--pcm-brand-deep);
  box-shadow: inset 0 0 0 1px rgba(53,174,185,.12);
}

.pcm-citas-transport-card__content strong{
  display: block;
  margin-bottom: 6px;
  color: var(--pcm-ink);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.015em;
}

.pcm-citas-transport-card__content span{
  color: var(--pcm-muted);
  font-size: 14px;
  line-height: 1.55;
}

.pcm-citas-transport-card__check{
  border-color: #b8cbd3;
  background: #fff;
}

.pcm-citas-transport-card:has(input:checked) .pcm-citas-transport-card__check{
  border-color: var(--pcm-brand);
  background: var(--pcm-brand);
  box-shadow: 0 0 0 4px rgba(53,174,185,.12);
}

.pcm-citas-checkline{
  padding: 2px 0;
  color: #4e6671 !important;
  font-size: 14px;
}

.pcm-citas-checkline input[type="checkbox"]{
  width: 17px;
  height: 17px;
  accent-color: var(--pcm-brand-deep);
}

.pcm-citas-wrap .btn,
.pcm-citas-wrap button,
.pcm-citas-btn{
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.01em;
  box-shadow: none;
}

.pcm-citas-wrap .btn.btn-primary,
.pcm-citas-wrap button.btn.btn-primary,
.pcm-citas-btn:not(.btn-outline-danger):not(.btn-success){
  background: linear-gradient(135deg, #168f9a 0%, #3ab5bf 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(22,143,154,.22);
}

.pcm-citas-wrap .btn.btn-primary:hover,
.pcm-citas-wrap button.btn.btn-primary:hover,
.pcm-citas-btn:not(.btn-outline-danger):not(.btn-success):hover{
  background: linear-gradient(135deg, #0f7f89 0%, #2ca6b1 100%);
  box-shadow: 0 16px 32px rgba(22,143,154,.28);
  transform: translateY(-2px);
}

.pcm-citas-wrap .btn.btn-success{
  background: #2fbf64;
  box-shadow: 0 10px 24px rgba(47,191,100,.18);
}

.pcm-citas-wrap .btn.btn-outline-danger{
  border: 1px solid #efb5b8;
  background: #fff;
  color: #b53c43;
}

.pcm-citas-steps{
  gap: 10px;
}

.pcm-citas-step{
  min-height: 52px;
  border: 1px solid #d9e4e9;
  border-radius: 13px;
  background: #f6f9fa;
  color: #667b85;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .005em;
  box-shadow: none;
}

.pcm-citas-step--dark,
.pcm-citas-step.is-active,
.pcm-citas-step.active{
  border-color: transparent;
  background: linear-gradient(135deg, #1596a1 0%, #4abdc6 100%);
  color: #fff;
  box-shadow: 0 9px 22px rgba(21,150,161,.19);
}

.pcm-citas-info-grid{
  gap: 18px;
}

.pcm-citas-info-card{
  padding: 24px;
}

.pcm-citas-info-card__title{
  padding-bottom: 14px;
  border-bottom: 1px solid #e4ecef;
  font-size: 17px;
}

.pcm-citas-info-card__title::before{
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 5px rgba(53,174,185,.10);
}

.pcm-citas-kv > div{
  padding: 11px 0;
  border-bottom-color: #e8eef1;
  color: #526a75;
  line-height: 1.58;
}

.pcm-citas-kv strong{
  color: #122e3a;
  font-weight: 720;
}

.pcm-citas-section__head h2{
  font-size: 25px;
}

.pcm-citas-msg{
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(2,21,33,.04);
}

.pcm-citas-msg--staff{
  border-color: #b6dde1;
  background: linear-gradient(180deg, #effafb 0%, #f7fcfd 100%);
}

.pcm-citas-msg__meta{
  font-size: 12px;
  font-weight: 600;
}

.pcm-citas-doc-card{
  padding: 24px;
  background: linear-gradient(180deg, #fff 0%, #f9fcfd 100%);
}

.pcm-citas-doc-badge{
  min-height: 32px;
  padding: 6px 11px;
  font-weight: 750;
}

.pcm-citas-inline-note,
.pcm-citas-status-box,
.pcm-citas-empty-box{
  border-radius: 14px;
}

@media (max-width: 900px){
  .pcm-citas-hero{
    min-height: 280px;
    padding: 34px;
  }

  .pcm-citas-hero__image{
    width: 46%;
  }
}

@media (max-width: 767px){
  .pcm-citas-wrap{
    margin-top: 20px;
    padding: 0 10px;
  }

  .pcm-citas-card{
    border-radius: 20px;
    padding: 18px;
  }

  .pcm-citas-title{
    font-size: 36px;
  }

  .pcm-citas-hero{
    min-height: 0;
    padding: 28px 24px;
    border-radius: 19px;
  }

  .pcm-citas-hero__image{
    margin-top: 24px;
    width: 100%;
    max-width: none;
  }

  .pcm-citas-hero__logo{
    width: 175px;
  }

  .pcm-citas-panel,
  .pcm-citas-info-card,
  .pcm-citas-doc-card{
    padding: 20px;
  }

  .pcm-citas-transport-card{
    min-height: 0;
  }

  .pcm-citas-wrap .btn,
  .pcm-citas-wrap button,
  .pcm-citas-btn{
    width: 100%;
  }
}

/* ==========================================================
   PCMONTAJES · RESERVAS V8 · REDISEÑO CORPORATIVO
   ========================================================== */

:root {
  --pcm-ink: #071b27;
  --pcm-navy: #021521;
  --pcm-navy-2: #082b3a;
  --pcm-cyan: #31b8c4;
  --pcm-cyan-dark: #168c98;
  --pcm-surface: #ffffff;
  --pcm-surface-soft: #f5f8fa;
  --pcm-line: #dbe5ea;
  --pcm-muted: #5e7180;
  --pcm-warning: #b86b00;
  --pcm-radius-xl: 28px;
  --pcm-radius-lg: 20px;
  --pcm-radius-md: 14px;
  --pcm-shadow-lg: 0 28px 80px rgba(2, 21, 33, .12);
  --pcm-shadow-md: 0 14px 38px rgba(2, 21, 33, .08);
}

.pcm-citas-wrap,
.pcm-citas-wrap * {
  box-sizing: border-box;
}

.pcm-citas-wrap {
  max-width: 1180px !important;
  margin: 38px auto 80px !important;
  padding: 0 20px !important;
  color: var(--pcm-ink) !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.pcm-citas-card--form {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #d7e2e8 !important;
  border-radius: 30px !important;
  background: linear-gradient(180deg, #f9fbfc 0, #fff 320px) !important;
  box-shadow: var(--pcm-shadow-lg) !important;
}

.pcm-citas-hero {
  position: relative;
  min-height: 430px !important;
  margin: 0 !important;
  padding: 64px 68px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
  align-items: center !important;
  gap: 58px !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 110%, rgba(49,184,196,.18) 0 20%, transparent 20.5%),
    radial-gradient(circle at 88% 5%, rgba(49,184,196,.11), transparent 36%),
    linear-gradient(135deg, #021521 0%, #063445 100%) !important;
}

.pcm-citas-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.pcm-citas-hero__content,
.pcm-citas-hero__image { position: relative; z-index: 1; }

.pcm-citas-hero__eyebrow,
.pcm-citas-panel__kicker {
  display: block;
  margin: 0 0 16px;
  color: var(--pcm-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pcm-citas-hero__logo {
  width: 208px !important;
  max-height: none !important;
  margin: 0 0 34px !important;
}

.pcm-citas-title {
  max-width: 610px;
  margin: 0 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: clamp(46px, 5vw, 70px) !important;
  font-weight: 750 !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
}

.pcm-citas-hero .pcm-citas-muted {
  max-width: 610px;
  margin: 24px 0 0 !important;
  color: rgba(255,255,255,.76) !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
}

.pcm-citas-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 32px;
}

.pcm-citas-hero__trust span {
  position: relative;
  padding-left: 19px;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 650;
}

.pcm-citas-hero__trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pcm-cyan);
  box-shadow: 0 0 0 4px rgba(49,184,196,.14);
}

.pcm-citas-hero__image {
  align-self: stretch;
  min-height: 300px;
}

.pcm-citas-hero__image::before {
  content: "";
  position: absolute;
  inset: 18px -14px -18px 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  transform: rotate(2deg);
}

.pcm-citas-hero__image img {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  min-height: 300px;
  object-fit: cover !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 28px 58px rgba(0,0,0,.32) !important;
}

.pcm-citas-process {
  margin: 0;
  padding: 0 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-bottom: 1px solid var(--pcm-line);
}

.pcm-citas-process__item {
  position: relative;
  min-height: 126px;
  padding: 30px 30px 28px 60px;
  border-right: 1px solid var(--pcm-line);
}
.pcm-citas-process__item:last-child { border-right: 0; }
.pcm-citas-process__item > span {
  position: absolute;
  left: 0;
  top: 32px;
  color: var(--pcm-cyan-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}
.pcm-citas-process__item strong,
.pcm-citas-process__item small { display: block; }
.pcm-citas-process__item strong { margin-bottom: 5px; font-size: 16px; font-weight: 780; letter-spacing: -.015em; }
.pcm-citas-process__item small { color: var(--pcm-muted); font-size: 13px; line-height: 1.45; }

.pcm-citas-stack {
  padding: 52px 68px 68px !important;
  gap: 24px !important;
}

.pcm-citas-panel {
  border-radius: var(--pcm-radius-lg) !important;
}

.pcm-citas-panel--access {
  position: relative;
  padding: 34px 36px !important;
  border: 1px solid var(--pcm-line) !important;
  background: #fff !important;
  box-shadow: var(--pcm-shadow-md) !important;
}

.pcm-citas-panel--access::after {
  content: "ÁREA CLIENTE";
  position: absolute;
  right: 28px;
  top: 26px;
  color: #b3c0c7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.pcm-citas-panel--fee {
  padding: 28px 32px 28px 36px !important;
  border: 1px solid #f0d29f !important;
  border-left: 5px solid #dfa023 !important;
  background: linear-gradient(135deg, #fffaf0, #fff) !important;
}

.pcm-citas-panel--intro {
  padding: 30px 34px !important;
  border: 1px solid #bfe7eb !important;
  background: linear-gradient(135deg, #eefafb, #fff) !important;
}

.pcm-citas-panel--soft:not(.pcm-citas-panel--access) {
  border: 1px solid var(--pcm-line) !important;
  background: var(--pcm-surface-soft) !important;
}

.pcm-citas-panel__title {
  margin: 0 0 8px !important;
  color: var(--pcm-ink) !important;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 760 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}

.pcm-citas-panel__text { color: var(--pcm-muted) !important; font-size: 14px !important; line-height: 1.65 !important; }

.pcm-citas-list { margin: 18px 0 0 !important; padding: 0 !important; list-style: none !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.pcm-citas-list li { position: relative; padding-left: 28px !important; color: #344b59; }
.pcm-citas-list li::before { content: "✓" !important; position: absolute; left: 0; top: 0; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #dff5f6; color: #168c98; font-size: 11px; font-weight: 900; }

.pcm-citas-form {
  margin-top: 8px;
}

.pcm-citas-form > .pcm-citas-form-grid {
  padding: 0 !important;
  gap: 22px 24px !important;
}

.pcm-citas-section-heading {
  display: flex !important;
  align-items: center;
  gap: 18px;
  margin: 32px 0 2px;
  padding: 25px 0 18px;
  border-top: 1px solid var(--pcm-line);
}
.pcm-citas-section-heading:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.pcm-citas-section-heading__number {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--pcm-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  box-shadow: 0 8px 18px rgba(2,21,33,.15);
}
.pcm-citas-section-heading strong,
.pcm-citas-section-heading small { display: block; }
.pcm-citas-section-heading strong { color: var(--pcm-ink); font-size: 22px; line-height: 1.15; font-weight: 770; letter-spacing: -.025em; }
.pcm-citas-section-heading small { margin-top: 5px; color: var(--pcm-muted); font-size: 13px; }

.pcm-citas-form .form-group { margin: 0 !important; }
.pcm-citas-form label { display: block; margin: 0 0 8px !important; color: #243b48 !important; font-size: 12px !important; font-weight: 760 !important; letter-spacing: .012em; }
.pcm-citas-form .form-control {
  width: 100%;
  min-height: 56px !important;
  padding: 14px 16px !important;
  border: 1px solid #cbd9e1 !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  color: var(--pcm-ink) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  box-shadow: 0 1px 2px rgba(2,21,33,.02) !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
.pcm-citas-form textarea.form-control { min-height: 132px !important; resize: vertical; }
.pcm-citas-form .form-control:hover { border-color: #9fb4c0 !important; }
.pcm-citas-form .form-control:focus { border-color: var(--pcm-cyan-dark) !important; box-shadow: 0 0 0 4px rgba(49,184,196,.13) !important; outline: 0 !important; }

.pcm-citas-field-heading { margin-bottom: 15px !important; }
.pcm-citas-field-heading label { margin-bottom: 3px !important; color: var(--pcm-ink) !important; font-size: 15px !important; }
.pcm-citas-field-heading span { color: var(--pcm-muted) !important; font-size: 13px !important; }

.pcm-citas-transport-options { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
.pcm-citas-transport-card__body {
  min-height: 178px !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  border: 1px solid #d2dee4 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(2,21,33,.04) !important;
}
.pcm-citas-transport-card:hover .pcm-citas-transport-card__body { transform: translateY(-3px); border-color: #8fd6dc !important; box-shadow: 0 16px 34px rgba(2,21,33,.10) !important; }
.pcm-citas-transport-card input:checked + .pcm-citas-transport-card__body {
  border-color: var(--pcm-cyan-dark) !important;
  background: linear-gradient(145deg, #eefafb, #fff) !important;
  box-shadow: inset 0 0 0 1px var(--pcm-cyan-dark), 0 14px 30px rgba(49,184,196,.15) !important;
}
.pcm-citas-transport-card__icon { width: 46px !important; height: 46px !important; margin: 0 0 22px !important; border-radius: 13px !important; background: var(--pcm-navy) !important; color: #fff !important; }
.pcm-citas-transport-card__content strong { font-size: 16px !important; line-height: 1.25 !important; font-weight: 780 !important; letter-spacing: -.015em; }
.pcm-citas-transport-card__content small { margin-top: 7px !important; color: var(--pcm-muted) !important; font-size: 13px !important; line-height: 1.5 !important; }
.pcm-citas-transport-card__check { top: 20px !important; right: 20px !important; }

.pcm-citas-panel--legal {
  margin-top: 34px !important;
  padding: 34px 36px !important;
  border: 1px solid #cbd9e1 !important;
  background: linear-gradient(180deg, #f6f9fa, #fff) !important;
}
.pcm-citas-checkline--legal { margin-top: 18px !important; padding: 18px !important; border: 1px solid var(--pcm-line); border-radius: 13px; background: #fff; }
.pcm-citas-checkline input { width: 18px !important; height: 18px !important; accent-color: var(--pcm-cyan-dark); }
.pcm-citas-checkline span { color: #405664; font-size: 12px; line-height: 1.6; }

.pcm-citas-actions { margin-top: 26px !important; }
.pcm-citas-btn,
.pcm-citas-actions .btn {
  min-height: 54px !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--pcm-navy) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 780 !important;
  letter-spacing: .01em;
  text-decoration: none !important;
  box-shadow: 0 12px 24px rgba(2,21,33,.17) !important;
}
.pcm-citas-btn:hover,
.pcm-citas-actions .btn:hover { background: var(--pcm-navy-2) !important; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(2,21,33,.22) !important; }

.pcm-citas-inline-note,
.pcm-citas-day-msg { border-radius: 12px !important; }
.help-block { margin-top: 8px !important; color: var(--pcm-muted) !important; font-size: 12px !important; }

@media (max-width: 900px) {
  .pcm-citas-wrap { margin-top: 18px !important; padding: 0 12px !important; }
  .pcm-citas-card--form { border-radius: 22px !important; }
  .pcm-citas-hero { min-height: 0 !important; padding: 44px 30px !important; grid-template-columns: 1fr !important; gap: 34px !important; }
  .pcm-citas-hero__image { min-height: 240px; }
  .pcm-citas-hero__image img { min-height: 240px; }
  .pcm-citas-process { padding: 0 30px; grid-template-columns: 1fr; }
  .pcm-citas-process__item { min-height: auto; padding: 22px 0 22px 52px; border-right: 0; border-bottom: 1px solid var(--pcm-line); }
  .pcm-citas-process__item:last-child { border-bottom: 0; }
  .pcm-citas-process__item > span { top: 24px; }
  .pcm-citas-stack { padding: 36px 30px 48px !important; }
  .pcm-citas-transport-options { grid-template-columns: 1fr !important; }
  .pcm-citas-transport-card__body { min-height: 0 !important; }
  .pcm-citas-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .pcm-citas-hero { padding: 36px 22px !important; }
  .pcm-citas-title { font-size: 42px !important; }
  .pcm-citas-hero .pcm-citas-muted { font-size: 15px !important; }
  .pcm-citas-hero__trust { display: grid; }
  .pcm-citas-process { padding: 0 22px; }
  .pcm-citas-stack { padding: 28px 20px 40px !important; }
  .pcm-citas-panel--access,
  .pcm-citas-panel--legal { padding: 26px 22px !important; }
  .pcm-citas-panel--access::after { display: none; }
  .pcm-citas-section-heading strong { font-size: 19px; }
}

/* ===== PCM Citas V9 - orden, legibilidad y hero profesional ===== */

.pcm-citas-card--form {
  max-width: 1180px !important;
}

.pcm-citas-hero {
  min-height: 500px !important;
  padding: 72px 76px !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr) !important;
  gap: 72px !important;
}

.pcm-citas-hero__content {
  max-width: 610px;
}

.pcm-citas-hero__logo {
  width: 220px !important;
  margin-bottom: 36px !important;
}

.pcm-citas-title {
  font-size: clamp(54px, 5.3vw, 76px) !important;
  line-height: .96 !important;
  letter-spacing: -.06em !important;
}

.pcm-citas-hero .pcm-citas-muted {
  max-width: 560px;
  font-size: 19px !important;
  line-height: 1.62 !important;
}

.pcm-citas-hero__trust {
  margin-top: 34px;
  gap: 14px 24px;
}

.pcm-citas-hero__trust span {
  font-size: 13px;
  line-height: 1.4;
}

.pcm-citas-hero__image {
  align-self: center;
  min-height: 360px;
  aspect-ratio: 4 / 3;
}

.pcm-citas-hero__image::before {
  inset: 20px -18px -20px 28px;
  border-radius: 30px;
}

.pcm-citas-hero__image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 28px !important;
}

.pcm-citas-process {
  position: relative;
  padding: 34px 68px 38px;
  gap: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.pcm-citas-process::before {
  content: "";
  position: absolute;
  left: 92px;
  right: 92px;
  top: 59px;
  height: 2px;
  background: linear-gradient(90deg, rgba(49,184,196,.22), rgba(49,184,196,.7), rgba(49,184,196,.22));
}

.pcm-citas-process__item {
  min-height: 150px;
  padding: 64px 24px 24px;
  text-align: center;
  border: 1px solid #dce7ec !important;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(2,21,33,.055);
}

.pcm-citas-process__item:last-child {
  border-right: 1px solid #dce7ec !important;
}

.pcm-citas-process__item > span {
  left: 50%;
  top: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  color: #021521;
  background: #e7f8fa;
  border: 1px solid rgba(49,184,196,.35);
  box-shadow: 0 0 0 8px #fff;
  font-size: 12px;
  letter-spacing: .08em;
}

.pcm-citas-process__item strong {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
  color: #021521;
}

.pcm-citas-process__item small {
  max-width: 240px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.55;
}

.pcm-citas-stack {
  padding: 58px 68px 76px !important;
  gap: 28px !important;
}

.pcm-citas-panel--access,
.pcm-citas-panel--warning,
.pcm-citas-panel--intro,
.pcm-citas-panel--soft {
  padding: 38px 40px !important;
}

.pcm-citas-panel__title {
  font-size: 24px !important;
  line-height: 1.2 !important;
}

.pcm-citas-panel__text,
.pcm-citas-muted,
.pcm-citas-wrap p,
.pcm-citas-wrap li {
  font-size: 15px;
  line-height: 1.7;
}

.pcm-citas-wrap label {
  font-size: 13px;
  letter-spacing: .01em;
}

.pcm-citas-wrap input[type="text"],
.pcm-citas-wrap input[type="email"],
.pcm-citas-wrap input[type="tel"],
.pcm-citas-wrap input[type="date"],
.pcm-citas-wrap textarea,
.pcm-citas-wrap select {
  min-height: 56px;
  font-size: 16px;
  border-radius: 14px;
}

@media (max-width: 980px) {
  .pcm-citas-hero {
    padding: 56px 42px !important;
    grid-template-columns: 1fr !important;
    gap: 44px !important;
  }
  .pcm-citas-hero__content {
    max-width: none;
  }
  .pcm-citas-hero__image {
    width: 100%;
    min-height: 320px;
    aspect-ratio: 16 / 9;
  }
  .pcm-citas-hero__image img {
    aspect-ratio: 16 / 9;
  }
  .pcm-citas-process {
    padding: 30px 40px 38px;
    grid-template-columns: repeat(3, 1fr);
  }
  .pcm-citas-process::before {
    left: 70px;
    right: 70px;
    top: 55px;
  }
}

@media (max-width: 720px) {
  .pcm-citas-hero {
    padding: 40px 24px !important;
  }
  .pcm-citas-title {
    font-size: 46px !important;
  }
  .pcm-citas-hero .pcm-citas-muted {
    font-size: 16px !important;
  }
  .pcm-citas-hero__image {
    min-height: 230px;
  }
  .pcm-citas-process {
    padding: 26px 22px 30px;
    grid-template-columns: 1fr;
  }
  .pcm-citas-process::before {
    display: none;
  }
  .pcm-citas-process__item {
    min-height: auto;
    padding: 24px 24px 24px 80px;
    text-align: left;
  }
  .pcm-citas-process__item > span {
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: none;
  }
  .pcm-citas-process__item small {
    max-width: none;
    margin: 0;
  }
  .pcm-citas-stack {
    padding: 34px 22px 46px !important;
  }
  .pcm-citas-panel--access,
  .pcm-citas-panel--warning,
  .pcm-citas-panel--intro,
  .pcm-citas-panel--soft {
    padding: 28px 24px !important;
  }
}

/* ========================================================================== */
/* PCM CITAS - VISUAL V10: HERO ATMOSFERICO + CUERPO MAS VISUAL              */
/* ========================================================================== */

.pcm-citas-card--form {
  --pcm-ink: #071f2b;
  --pcm-navy: #021521;
  --pcm-navy-2: #062e3b;
  --pcm-cyan: #41b6c1;
  --pcm-cyan-dark: #178b98;
  --pcm-line: #d7e3e9;
  --pcm-soft: #f5f9fb;
  --pcm-muted: #5b6d78;
}

/* Hero: la fotografia pasa a ser ambiente, no una pieza vertical aislada */
.pcm-citas-card--form .pcm-citas-hero {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 72px 7%;
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(90deg, rgba(2,21,33,.99) 0%, rgba(2,21,33,.96) 42%, rgba(2,21,33,.76) 68%, rgba(2,21,33,.42) 100%),
    #021521;
}

.pcm-citas-card--form .pcm-citas-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url('/modules/pcm_citas/views/img/repair.jpg');
  background-repeat: no-repeat;
  background-position: right 42% center;
  background-size: cover;
  transform: scale(1.035);
  filter: saturate(.82) contrast(1.05);
}

.pcm-citas-card--form .pcm-citas-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -330px;
  border-radius: 50%;
  background: rgba(65,182,193,.13);
  box-shadow: 0 0 0 72px rgba(65,182,193,.045);
}

.pcm-citas-card--form .pcm-citas-hero__content {
  width: min(650px, 67%);
  max-width: none;
  position: relative;
  z-index: 2;
}

.pcm-citas-card--form .pcm-citas-hero__visual {
  display: none;
}

.pcm-citas-card--form .pcm-citas-hero__eyebrow {
  margin-bottom: 18px;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .18em;
  font-weight: 800;
  color: #65d1da;
}

.pcm-citas-card--form .pcm-citas-hero__logo {
  width: 205px;
  max-width: 46%;
  height: auto;
  margin: 0 0 32px;
}

.pcm-citas-card--form .pcm-citas-title {
  max-width: 620px;
  margin: 0 0 16px;
  font-size: clamp(46px, 5.1vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 800;
  color: #fff;
}

.pcm-citas-card--form .pcm-citas-hero .pcm-citas-muted {
  max-width: 590px;
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}

.pcm-citas-card--form .pcm-citas-hero__trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 26px;
  margin-top: 30px;
}

.pcm-citas-card--form .pcm-citas-hero__trust span {
  position: relative;
  padding-left: 19px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  color: #fff;
}

.pcm-citas-card--form .pcm-citas-hero__trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #49c7d2;
  box-shadow: 0 0 0 4px rgba(73,199,210,.14);
}

/* Proceso: conservar la estructura aprobada, mejorando lectura y presencia */
.pcm-citas-card--form .pcm-citas-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 36px 6% 42px;
  background: #f5f9fb;
  border-bottom: 1px solid var(--pcm-line);
}

.pcm-citas-card--form .pcm-citas-process::before {
  content: "";
  position: absolute;
  top: 69px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, rgba(65,182,193,.22), rgba(65,182,193,.75), rgba(65,182,193,.22));
}

.pcm-citas-card--form .pcm-citas-process__item {
  position: relative;
  z-index: 1;
  min-height: 148px;
  padding: 24px 22px 22px;
  border: 1px solid #d5e4ea;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 34px rgba(2,21,33,.055);
  text-align: center;
}

.pcm-citas-card--form .pcm-citas-process__item > span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -4px auto 12px;
  border: 1px solid #8bd7dd;
  border-radius: 50%;
  background: #eefafb;
  color: #086775;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.pcm-citas-card--form .pcm-citas-process__item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.25;
  color: var(--pcm-ink);
}

.pcm-citas-card--form .pcm-citas-process__item small {
  display: block;
  max-width: 230px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.55;
  color: var(--pcm-muted);
}

/* Cuerpo: lectura tipo producto digital, no formulario heredado */
.pcm-citas-card--form .pcm-citas-stack {
  gap: 22px;
  padding: 48px 6% 64px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
}

.pcm-citas-card--form .pcm-citas-panel {
  border-radius: 20px;
}

.pcm-citas-card--form .pcm-citas-panel--access {
  position: relative;
  padding: 34px 36px;
  border: 1px solid #cfe0e7;
  background: linear-gradient(135deg, #fff 0%, #f7fbfc 100%);
  box-shadow: 0 18px 46px rgba(2,21,33,.07);
}

.pcm-citas-card--form .pcm-citas-panel--access::after {
  content: "ÁREA CLIENTE";
  position: absolute;
  top: 28px;
  right: 32px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #91a4ae;
}

.pcm-citas-card--form .pcm-citas-panel__kicker {
  margin-bottom: 11px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .16em;
  color: #1194a2;
}

.pcm-citas-card--form .pcm-citas-panel__title {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--pcm-ink);
}

.pcm-citas-card--form .pcm-citas-panel__text {
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.7;
  color: #526873;
}

.pcm-citas-card--form .pcm-citas-panel--fee {
  position: relative;
  padding: 28px 32px 28px 36px;
  border: 1px solid #f2cf7d;
  border-left: 5px solid #e8a315;
  background: linear-gradient(100deg, #fffaf0 0%, #fff 82%);
  box-shadow: none;
}

.pcm-citas-card--form .pcm-citas-panel--intro {
  padding: 28px 32px;
  border: 1px solid #bfe5e9;
  border-left: 5px solid #41b6c1;
  background: linear-gradient(100deg, #f0fbfc 0%, #fff 82%);
}

/* Recomendaciones como checklist real */
.pcm-citas-card--form .pcm-citas-panel:has(> .pcm-citas-list) {
  padding: 30px 32px;
  border: 1px solid #d7e4e9;
  background: #f7fafb;
}

.pcm-citas-card--form .pcm-citas-list:not(.pcm-citas-list--errors) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.pcm-citas-card--form .pcm-citas-list:not(.pcm-citas-list--errors) li {
  position: relative;
  min-height: 52px;
  margin: 0;
  padding: 14px 14px 14px 46px;
  border: 1px solid #dce8ec;
  border-radius: 14px;
  background: #fff;
  color: #334f5b;
  font-size: 14px;
  line-height: 1.55;
}

.pcm-citas-card--form .pcm-citas-list:not(.pcm-citas-list--errors) li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f8fa;
  color: #118b99;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #bce7eb;
}

/* Formulario por secciones claramente diferenciadas */
.pcm-citas-card--form > .pcm-citas-stack > .pcm-citas-form,
.pcm-citas-card--form .pcm-citas-stack > form.pcm-citas-form {
  margin-top: 10px;
}

.pcm-citas-card--form .pcm-citas-form-grid {
  gap: 22px 24px;
}

.pcm-citas-card--form .pcm-citas-section-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 30px 0 2px;
  padding: 22px 24px;
  border: 1px solid #cfe2e8;
  border-radius: 18px;
  background: linear-gradient(105deg, #f0fafb 0%, #fff 72%);
  box-shadow: 0 10px 26px rgba(2,21,33,.045);
}

.pcm-citas-card--form .pcm-citas-section-heading:first-child {
  margin-top: 0;
}

.pcm-citas-card--form .pcm-citas-section-heading__number {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--pcm-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  box-shadow: 0 8px 18px rgba(2,21,33,.16);
}

.pcm-citas-card--form .pcm-citas-section-heading strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--pcm-ink);
}

.pcm-citas-card--form .pcm-citas-section-heading small {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: #687b84;
}

.pcm-citas-card--form .form-group label {
  margin-bottom: 9px;
  color: #17333f;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.pcm-citas-card--form .form-control {
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid #c8d9e0;
  border-radius: 13px;
  background: #fff;
  color: #102f3b;
  font-size: 15px;
  box-shadow: 0 1px 0 rgba(2,21,33,.02);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pcm-citas-card--form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.pcm-citas-card--form .form-control:focus {
  border-color: #41b6c1;
  box-shadow: 0 0 0 4px rgba(65,182,193,.13);
  outline: 0;
}

/* Tarjetas de entrega mas informativas y reconocibles */
.pcm-citas-card--form .pcm-citas-transport-options {
  gap: 16px;
}

.pcm-citas-card--form .pcm-citas-transport-card__body {
  min-height: 172px;
  padding: 24px 20px 20px;
  border: 1px solid #d2e0e6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(2,21,33,.045);
}

.pcm-citas-card--form .pcm-citas-transport-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #eef8f9;
  color: #087583;
}

.pcm-citas-card--form .pcm-citas-transport-card__content strong {
  font-size: 16px;
  color: #102f3b;
}

.pcm-citas-card--form .pcm-citas-transport-card__content small {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.5;
  color: #667b85;
}

.pcm-citas-card--form .pcm-citas-transport-card input:checked + .pcm-citas-transport-card__body {
  border-color: #2aa9b5;
  background: linear-gradient(145deg, #f4fcfd 0%, #fff 76%);
  box-shadow: 0 0 0 3px rgba(65,182,193,.13), 0 16px 34px rgba(2,21,33,.08);
  transform: translateY(-2px);
}

/* Boton principal */
.pcm-citas-card--form .pcm-citas-btn,
.pcm-citas-card--form button[type="submit"] {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.pcm-citas-card--form .pcm-citas-actions:last-child .pcm-citas-btn,
.pcm-citas-card--form .pcm-citas-form > .pcm-citas-actions .pcm-citas-btn {
  min-width: 180px;
  background: var(--pcm-navy);
  border-color: var(--pcm-navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(2,21,33,.17);
}

.pcm-citas-card--form .pcm-citas-actions:last-child .pcm-citas-btn:hover,
.pcm-citas-card--form .pcm-citas-form > .pcm-citas-actions .pcm-citas-btn:hover {
  background: #063142;
  border-color: #063142;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .pcm-citas-card--form .pcm-citas-hero {
    min-height: 420px;
    padding: 58px 7%;
    background: linear-gradient(90deg, rgba(2,21,33,.98) 0%, rgba(2,21,33,.92) 62%, rgba(2,21,33,.70) 100%);
  }

  .pcm-citas-card--form .pcm-citas-hero::before {
    background-position: 68% center;
  }

  .pcm-citas-card--form .pcm-citas-hero__content {
    width: 78%;
  }

  .pcm-citas-card--form .pcm-citas-process {
    gap: 12px;
    padding-left: 4%;
    padding-right: 4%;
  }

  .pcm-citas-card--form .pcm-citas-process__item {
    min-height: 156px;
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 700px) {
  .pcm-citas-card--form .pcm-citas-hero {
    min-height: 470px;
    align-items: flex-end;
    padding: 54px 26px 44px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(0deg, rgba(2,21,33,.99) 0%, rgba(2,21,33,.94) 52%, rgba(2,21,33,.62) 100%);
  }

  .pcm-citas-card--form .pcm-citas-hero::before {
    background-position: 62% center;
  }

  .pcm-citas-card--form .pcm-citas-hero__content {
    width: 100%;
  }

  .pcm-citas-card--form .pcm-citas-hero__logo {
    width: 170px;
    margin-bottom: 24px;
  }

  .pcm-citas-card--form .pcm-citas-title {
    font-size: clamp(42px, 13vw, 56px);
  }

  .pcm-citas-card--form .pcm-citas-hero .pcm-citas-muted {
    font-size: 16px;
    line-height: 1.55;
  }

  .pcm-citas-card--form .pcm-citas-hero__trust {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 24px;
  }

  .pcm-citas-card--form .pcm-citas-process {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 18px 28px;
  }

  .pcm-citas-card--form .pcm-citas-process::before {
    display: none;
  }

  .pcm-citas-card--form .pcm-citas-process__item {
    min-height: auto;
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    padding: 18px;
    text-align: left;
  }

  .pcm-citas-card--form .pcm-citas-process__item > span {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .pcm-citas-card--form .pcm-citas-process__item strong,
  .pcm-citas-card--form .pcm-citas-process__item small {
    max-width: none;
    margin: 0;
  }

  .pcm-citas-card--form .pcm-citas-stack {
    padding: 28px 18px 42px;
  }

  .pcm-citas-card--form .pcm-citas-panel--access,
  .pcm-citas-card--form .pcm-citas-panel--fee,
  .pcm-citas-card--form .pcm-citas-panel--intro,
  .pcm-citas-card--form .pcm-citas-panel:has(> .pcm-citas-list) {
    padding: 24px 20px;
  }

  .pcm-citas-card--form .pcm-citas-panel--access::after {
    display: none;
  }

  .pcm-citas-card--form .pcm-citas-list:not(.pcm-citas-list--errors) {
    grid-template-columns: 1fr;
  }

  .pcm-citas-card--form .pcm-citas-section-heading {
    padding: 18px;
  }
}

/* ========================================================================== */
/* PCM CITAS - VISUAL V11: CORRECCION HERO, PASOS Y CHECKLIST                */
/* ========================================================================== */

/* Hero: imagen ambiental real, texto siempre legible */
.pcm-citas-card--form .pcm-citas-hero {
  min-height: 400px !important;
  padding: 64px 7% !important;
  background: #021521 !important;
}

.pcm-citas-card--form .pcm-citas-hero::before {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: inherit !important;
  background: url('/modules/pcm_citas/views/img/repair.jpg') right 40% center / cover no-repeat !important;
  opacity: .30 !important;
  filter: saturate(.72) contrast(1.06) !important;
  transform: none !important;
  box-shadow: none !important;
}

.pcm-citas-card--form .pcm-citas-hero::after {
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #021521 0%, rgba(2,21,33,.98) 42%, rgba(2,21,33,.84) 68%, rgba(2,21,33,.50) 100%) !important;
  box-shadow: none !important;
}

.pcm-citas-card--form .pcm-citas-hero__content {
  position: relative !important;
  z-index: 2 !important;
  width: min(620px, 64%) !important;
}

.pcm-citas-card--form .pcm-citas-hero__eyebrow,
.pcm-citas-card--form .pcm-citas-hero__logo,
.pcm-citas-card--form .pcm-citas-hero .pcm-citas-title,
.pcm-citas-card--form .pcm-citas-hero .pcm-citas-muted,
.pcm-citas-card--form .pcm-citas-hero__trust {
  position: relative !important;
  z-index: 3 !important;
}

.pcm-citas-card--form .pcm-citas-hero .pcm-citas-title {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.24) !important;
}

.pcm-citas-card--form .pcm-citas-hero .pcm-citas-muted {
  color: rgba(255,255,255,.92) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.24) !important;
}

/* Pasos: reset completo para impedir solapes heredados */
.pcm-citas-card--form .pcm-citas-process {
  align-items: stretch !important;
}

.pcm-citas-card--form .pcm-citas-process__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  overflow: visible !important;
  text-align: center !important;
}

.pcm-citas-card--form .pcm-citas-process__item > span,
.pcm-citas-card--form .pcm-citas-process__item > strong,
.pcm-citas-card--form .pcm-citas-process__item > small {
  position: static !important;
  inset: auto !important;
  float: none !important;
  clear: both !important;
  transform: none !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  text-indent: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
}

.pcm-citas-card--form .pcm-citas-process__item > span {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: -4px auto 12px !important;
  display: grid !important;
}

.pcm-citas-card--form .pcm-citas-process__item > strong {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
}

.pcm-citas-card--form .pcm-citas-process__item > small {
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

/* Recomendaciones: icono separado del texto, sin letras ocultas */
.pcm-citas-card--form .pcm-citas-list:not(.pcm-citas-list--errors) li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  min-height: 56px !important;
  padding: 15px 16px !important;
  text-indent: 0 !important;
  overflow: visible !important;
}

.pcm-citas-card--form .pcm-citas-list:not(.pcm-citas-list--errors) li::before {
  position: static !important;
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .pcm-citas-card--form .pcm-citas-hero__content {
    width: min(620px, 74%) !important;
  }
}

@media (max-width: 700px) {
  .pcm-citas-card--form .pcm-citas-hero {
    min-height: 440px !important;
    padding: 46px 24px 40px !important;
  }

  .pcm-citas-card--form .pcm-citas-hero::before {
    background-position: 64% center !important;
    opacity: .24 !important;
  }

  .pcm-citas-card--form .pcm-citas-hero::after {
    background: linear-gradient(0deg, #021521 0%, rgba(2,21,33,.97) 58%, rgba(2,21,33,.66) 100%) !important;
  }

  .pcm-citas-card--form .pcm-citas-hero__content {
    width: 100% !important;
  }

  .pcm-citas-card--form .pcm-citas-process__item {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: center !important;
    text-align: left !important;
  }

  .pcm-citas-card--form .pcm-citas-process__item > span {
    grid-row: 1 / span 2 !important;
    margin: 0 !important;
  }

  .pcm-citas-card--form .pcm-citas-process__item > strong,
  .pcm-citas-card--form .pcm-citas-process__item > small {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .pcm-citas-card--form .pcm-citas-list:not(.pcm-citas-list--errors) {
    grid-template-columns: 1fr !important;
  }
}


/* ========================================================================== */
/* PCM CITAS - VISUAL V12: TU CITA, JERARQUIA Y ORDEN                        */
/* ========================================================================== */

.pcm-citas-card--detail,
.pcm-citas-card--detail input,
.pcm-citas-card--detail textarea,
.pcm-citas-card--detail select,
.pcm-citas-card--detail button {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.pcm-citas-card--detail {
  color: #102a38 !important;
  background: #f7fafc !important;
  border: 1px solid #d9e5eb !important;
  border-radius: 24px !important;
  box-shadow: 0 22px 60px rgba(2, 21, 33, .08) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.pcm-citas-card--detail .pcm-citas-head {
  position: relative !important;
  margin: 0 !important;
  padding: 38px 42px 30px !important;
  background: linear-gradient(135deg, #021521 0%, #073343 100%) !important;
  border: 0 !important;
}

.pcm-citas-card--detail .pcm-citas-head::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: 0;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: #41b6c1;
}

.pcm-citas-card--detail .pcm-citas-title {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
  font-weight: 760 !important;
}

.pcm-citas-card--detail .pcm-citas-muted {
  max-width: 700px !important;
  margin: 0 !important;
  color: rgba(255,255,255,.76) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.pcm-citas-card--detail .pcm-citas-section {
  margin: 0 !important;
  padding: 34px 42px !important;
  border: 0 !important;
  border-top: 1px solid #deeaef !important;
  background: transparent !important;
}

.pcm-citas-card--detail .pcm-citas-section--progress {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
  background: #fff !important;
}

.pcm-citas-card--detail .pcm-citas-steps {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pcm-citas-card--detail .pcm-citas-step {
  position: relative !important;
  display: flex !important;
  min-width: 0 !important;
  min-height: 74px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 14px 13px !important;
  color: #637783 !important;
  background: #f2f6f8 !important;
  border: 1px solid #d9e5ea !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  text-align: left !important;
  overflow: hidden !important;
}

.pcm-citas-card--detail .pcm-citas-step > span {
  display: grid !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #e4edf1 !important;
  color: #58707d !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.pcm-citas-card--detail .pcm-citas-step > strong {
  min-width: 0 !important;
  color: inherit !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.pcm-citas-card--detail .pcm-citas-step.is-active {
  color: #0b5962 !important;
  background: #edf9fa !important;
  border-color: #b9e5e9 !important;
}

.pcm-citas-card--detail .pcm-citas-step.is-active > span {
  color: #fff !important;
  background: #41b6c1 !important;
}

.pcm-citas-card--detail .pcm-citas-step.is-current {
  color: #fff !important;
  background: linear-gradient(135deg, #087887 0%, #32aebb 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 12px 26px rgba(22, 147, 159, .22) !important;
}

.pcm-citas-card--detail .pcm-citas-step.is-current > span {
  color: #087887 !important;
  background: #fff !important;
}

.pcm-citas-card--detail .pcm-citas-step.is-current > strong {
  color: #fff !important;
}

.pcm-citas-card--detail .pcm-citas-info-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: start !important;
}

.pcm-citas-card--detail .pcm-citas-info-grid--secondary {
  margin-top: 18px !important;
}

.pcm-citas-card--detail .pcm-citas-info-card {
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 24px !important;
  background: #fff !important;
  border: 1px solid #dbe7ec !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(2, 21, 33, .045) !important;
  overflow: hidden !important;
}

.pcm-citas-card--detail .pcm-citas-info-card__title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  padding: 0 0 14px !important;
  color: #082331 !important;
  border-bottom: 1px solid #e3edf1 !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 760 !important;
  letter-spacing: -.01em !important;
}

.pcm-citas-card--detail .pcm-citas-info-card__title::before {
  content: "" !important;
  position: static !important;
  flex: 0 0 9px !important;
  width: 9px !important;
  height: 9px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #41b6c1 !important;
  box-shadow: 0 0 0 5px rgba(65,182,193,.12) !important;
  transform: none !important;
}

.pcm-citas-card--detail .pcm-citas-kv {
  display: grid !important;
  gap: 0 !important;
}

.pcm-citas-card--detail .pcm-citas-kv > div {
  min-width: 0 !important;
  padding: 11px 0 !important;
  color: #47616f !important;
  border: 0 !important;
  border-bottom: 1px solid #edf2f4 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere !important;
}

.pcm-citas-card--detail .pcm-citas-kv > div:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.pcm-citas-card--detail .pcm-citas-kv strong {
  color: #0c2b39 !important;
  font-weight: 700 !important;
}

.pcm-citas-card--detail .pcm-citas-inline-actions {
  margin-top: 20px !important;
}

.pcm-citas-card--detail .alert {
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.pcm-citas-card--detail .pcm-citas-section__head {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
}

.pcm-citas-card--detail .pcm-citas-section__head h2 {
  margin: 0 !important;
  color: #082331 !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  font-weight: 760 !important;
  letter-spacing: -.025em !important;
}

.pcm-citas-card--detail .pcm-citas-thread {
  display: grid !important;
  gap: 12px !important;
}

.pcm-citas-card--detail .pcm-citas-msg {
  width: min(92%, 820px) !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid #dce8ed !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 22px rgba(2,21,33,.035) !important;
}

.pcm-citas-card--detail .pcm-citas-msg--customer {
  justify-self: start !important;
  background: #fff !important;
}

.pcm-citas-card--detail .pcm-citas-msg--staff {
  justify-self: end !important;
  background: #eef9fa !important;
  border-color: #bfe6e9 !important;
}

.pcm-citas-card--detail .pcm-citas-msg__meta {
  margin-bottom: 7px !important;
  color: #6c818c !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.pcm-citas-card--detail .pcm-citas-msg__body {
  color: #183846 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.pcm-citas-card--detail .pcm-citas-doc-card,
.pcm-citas-card--detail .pcm-citas-empty-box {
  padding: 22px !important;
  background: #fff !important;
  border: 1px solid #dbe7ec !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(2,21,33,.04) !important;
}

.pcm-citas-card--detail .pcm-citas-doc-card__top {
  gap: 18px !important;
  align-items: flex-start !important;
}

.pcm-citas-card--detail .pcm-citas-doc-card__title {
  color: #082331 !important;
  font-size: 17px !important;
  font-weight: 760 !important;
}

.pcm-citas-card--detail .pcm-citas-doc-card__meta,
.pcm-citas-card--detail .pcm-citas-empty-box {
  color: #647b87 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.pcm-citas-card--detail .pcm-citas-doc-card__actions {
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid #e5edf1 !important;
}

.pcm-citas-card--detail .pcm-citas-btn {
  min-height: 44px !important;
  padding: 11px 18px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
  text-decoration: none !important;
}

@media (max-width: 980px) {
  .pcm-citas-card--detail .pcm-citas-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .pcm-citas-card--detail {
    border-radius: 16px !important;
  }

  .pcm-citas-card--detail .pcm-citas-head,
  .pcm-citas-card--detail .pcm-citas-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .pcm-citas-card--detail .pcm-citas-head::after {
    left: 20px !important;
  }

  .pcm-citas-card--detail .pcm-citas-info-grid {
    grid-template-columns: 1fr !important;
  }

  .pcm-citas-card--detail .pcm-citas-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .pcm-citas-card--detail .pcm-citas-msg {
    width: 100% !important;
  }
}

@media (max-width: 470px) {
  .pcm-citas-card--detail .pcm-citas-steps {
    grid-template-columns: 1fr !important;
  }

  .pcm-citas-card--detail .pcm-citas-step {
    min-height: 58px !important;
  }
}
