.vol-intro {
  padding: 2.2rem 0 1.4rem;
}
.vol-intro-text {
  font-size: 19px;
  line-height: 1.15;
  text-align: justify;
  text-align-last: left;
}

.vol-actividades {
  padding: 1.2rem 0 1.6rem;
}
.vol-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 1rem 0 1rem;
}
.vol-title-wrap::before,
.vol-title-wrap::after {
  content: "";
  flex: 1;
  height: 3px;
  background: #41a7d3;
  max-width: 420px;
}
.vol-title {
  margin: 0;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: #0d87c3;
  text-transform: uppercase;
}

.vol-photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #e9f6fb;
}
.vol-photo--wide {
  max-width: 320px;
  aspect-ratio: 4 / 3;
}
.vol-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-vol-galeria {
  display: inline-block;
  text-decoration: none;
  width: 250px;
  height: auto;
}

.cta-apoyo {
  padding: 0;
  width: 100%;
}
.cta-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.vol-registro{
  padding: 3.5rem 1rem;
  display:flex;
  justify-content:center;
}

.vol-frame{
  width: min(820px, 96vw);
  aspect-ratio: 1 / 1;
  background: url("../img/recursos/PAGINA%207/FORMULARIO.png") center/contain no-repeat;
  position: relative;
  --panel-x: 14px;  
  --panel-y: 0px;  
}

.vol-panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + var(--panel-x)), calc(-50% + var(--panel-y)));

  width: min(420px, 58%);
  height: 70%;
  border-radius: 18px;
  padding: clamp(18px, 2.2vw, 28px) clamp(20px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.vol-title{
  margin: 0 0 18px;
  text-align:center;
  font-weight: 800;
  letter-spacing: 3px;
  color: #2b9fc7; 
  font-size: clamp(22px, 3vw, 34px);
}

.vol-field{
  position: relative;
  margin-bottom: 22px;
}

.vol-input{
  width: 100%;
  border: 0;
  border-bottom: 2px solid #2ad0b8;
  background: transparent;
  outline: none;
  padding: 26px 0 10px;  
  font-size: 16px;
  color: #2b2b2b;
}

.vol-label{
  position: absolute;
  left: 0;
  top: 26px;              
  line-height: 1;
  color: #6f6f6f;
  font-size: 16px;
  pointer-events: none;
  transition: 150ms ease;
}

.vol-input:focus + .vol-label,
.vol-input:not(:placeholder-shown) + .vol-label{
  top: 6px;
  font-size: 12px;
  color: #1e8fb6;
}

.req{
  color: #000;
  margin-right: 6px;
  font-weight: 700;
}

.vol-error{
  display: none;
  margin-top: 8px;
  font-size: 12px;
  color: #d11a2a;
}

.vol-input.is-invalid{
  border-bottom-color: #d11a2a;
}

.vol-input.is-invalid ~ .vol-error{
  display: block;
}

.vol-error-check{
  margin-top: 8px;
}
.vol-check.is-invalid + .vol-error-check{
  display: block;
}

.vol-check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin: 10px 0 18px;
  font-size: 12px;
  color:#6d6d6d;
}

.vol-check input{
  margin-top: 3px;
  width: 14px;
  height: 14px;
  accent-color: #2b9fc7;
}

.vol-check input[type="checkbox"] {
  border-color: #0064e9;
  transform: scale(1.2);
  cursor: pointer;
}

.vol-actions{
  margin-top: auto;
  display:flex;
  justify-content:center;
}

.vol-btn{
  width: min(360px, 85%);
  background: linear-gradient(90deg, #2eaad4, #2b86b6);
  color:#fff;
  border:none;
  border-radius: 6px;
  padding: 14px 18px;
  font-weight: 700;
  letter-spacing: 3px;
  box-shadow: 0 10px 22px rgba(43,134,182,0.25);
  cursor:pointer;
}

.vol-btn:hover{
  filter: brightness(1.03);
}

@media (max-width: 520px){
  .vol-panel{
    width: 86%;
    height: 82%;
    border-radius: 14px;
  }
  .vol-field{ margin-bottom: 16px; }
}

@media (max-width: 992px) {
  .vol-title-wrap::before,
  .vol-title-wrap::after {
    max-width: 220px;
  }
  .vol-photo {
    max-width: 320px;
  }
}
@media (max-width: 576px) {
  .vol-card {
    padding: 1.6rem 1.2rem 1.8rem;
  }
  .vol-card-title {
    letter-spacing: 0.22em;
  }
  .vol-btn {
    min-width: 100%;
  }
}
