/* Wrapper */
.cf7-cleaning-wrapper{
  max-width: 760px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
  font-family: inherit;
}

.cf7-cleaning-wrapper h3{
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

.cf7-field{
  margin: 12px 0;
}

.cf7-field label{
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.cf7-help{
  display: block;
  margin-top: 6px;
  font-size: 12px;
  opacity: .75;
}

.req{ color:#d11; }

/* Grid rows */
.cf7-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
/* ===============================
   ABOUT – AWARDS SLIDER (PREMIUM)
   =============================== */

.toc-about-premium .toc-awards {
  width: 100%;
  padding-bottom: 12px;
}

.toc-about-premium .toc-awards .swiper-wrapper {
  align-items: stretch;
}

.toc-about-premium .toc-award-card {
  margin: 0;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 24px 48px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: zoom-in;
}

@media (min-width: 1024px) {
  .toc-about-premium .toc-award-card { height: 300px; }
}

.toc-about-premium .toc-award-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none !important;
  opacity: 1 !important;
}

.toc-about-premium .swiper-slide:hover .toc-award-card {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px rgba(0,0,0,.14);
}

.toc-about-premium .toc-awards-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  opacity: .35;
  background: currentColor;
}

.toc-about-premium .toc-awards-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}
/* ===============================
   LIGHTBOX – AWARDS (1:1 + NAV)
   =============================== */

.toc-lightbox{
  position: fixed;
  inset: 0;
  z-index: 999999; /* más alto que header sticky */
  display: none;
}

.toc-lightbox.is-open{ display: block; }

.toc-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(6px);
}

/* stage: caja scrollable para ver tamaño original */
.toc-lightbox-stage{
  position: relative;
  z-index: 1;
  width: min(96vw, 1400px);
  height: min(92vh, 900px);
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 50px 140px rgba(0,0,0,.65);
  overflow: auto;          
  -webkit-overflow-scrolling: touch;
}

#toc-lightbox-img{
  display: block;
  max-width: none;         
  max-height: none;        
  width: auto;             
  height: auto;             
  margin: 0;
}

/* Botones */
.toc-lightbox-close{
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.toc-lightbox-nav{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.toc-lightbox-prev{ left: 18px; }
.toc-lightbox-next{ right: 18px; }

.toc-lightbox-close:hover,
.toc-lightbox-nav:hover{
  background: rgba(0,0,0,.55);
}

/* cursor zoom */
.toc-about-premium .toc-award-card{ cursor: zoom-in; }


/* Inputs */
.cf7-input,
.cf7-select,
.cf7-textarea{
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(0,0,0,.02);
  outline: none;
  transition: .2s ease;
}
.pi-page .pi-swiper,
.pi-page .pi-swiper .swiper-wrapper,
.pi-page .pi-swiper .swiper-slide {
  height: 100%;
}

.pi-page .pi-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pagination bullets premium */
.pi-page .pi-swiper-pagination .swiper-pagination-bullet {
  opacity: .5;
}
.pi-page .pi-swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.cf7-textarea{ resize: vertical; min-height: 120px; }

.cf7-input:focus,
.cf7-select:focus,
.cf7-textarea:focus{
  border-color: rgba(0,0,0,.35);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

/* File input */
.cf7-file{
  width: 100%;
}

/* Note */
.cf7-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.03);
  font-size: 13px;
}

/* CAPTCHA layout */
.cf7-captcha{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
  margin-top: 12px;
}

.cf7-captcha img{
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  padding: 8px;
}

/* Submit */
.cf7-submit{
  margin-top: 18px;
}

.cf7-button{
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  cursor: pointer;
  background: #111;
  color: #fff;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

.cf7-button:hover{
  transform: translateY(-1px);
}

.cf7-button:active{
  transform: translateY(0px);
  opacity: .92;
}

/* CF7 validation */
.wpcf7-not-valid-tip{
  font-size: 12px;
  margin-top: 6px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output{
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 640px){
  .cf7-row{ grid-template-columns: 1fr; }
  .cf7-captcha{ grid-template-columns: 1fr; }
  .cf7-cleaning-wrapper{ padding: 16px; border-radius: 16px; }
}
