/* Slightly wider main container – a bit less side padding */
.container {
  padding-left: 80px;
  padding-right: 80px;
}
@media (max-width: 991px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 479px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* CTA section – parallax background and block styles */
section#cta {
  position: relative;
  background-image: url(../../assets/img/ocean2.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (max-width: 991px) {
  section#cta {
    background-attachment: scroll;
  }
}

#cta .cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  padding: 96px 24px;
}
#cta .cta-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px 0;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  width: 100%;
}
#cta .cta-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 32px 0;
  width: 100%;
}
#cta .cta-btn {
  display: inline-block;
  padding: 16px 36px;
  min-width: 180px;
  max-width: 220px;
  width: max-content;
  box-sizing: border-box;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
  background: #c9a227;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  text-align: center;
  transform: none;
}
#cta .cta-btn:hover,
#cta .cta-btn:focus,
#cta .cta-btn:focus-visible,
#cta .cta-btn:active {
  transform: none;
}
#cta .cta-btn:hover {
  background: #b8921f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#cta .cta-btn:focus,
#cta .cta-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
  background: #c9a227;
  box-shadow: none;
}
#cta .cta-btn:focus:hover {
  background: #b8921f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* FAQ carousel */
.faq-carousel-w {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.faq-carousel {
  flex: 1;
  overflow: hidden;
}
.faq-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  width: 500%;
}
.faq-card {
  flex: 0 0 20%;
  padding: 24px 28px;
  padding-top: 24px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-radius: 20px;
  min-height: 240px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.faq-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.7) 0%, transparent 40%, rgba(255,255,255,0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.faq-carousel-w:hover .faq-card {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.6);
}
.faq-card h3.p5 {
  margin: 0 0 14px 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  line-height: 1.3;
}
.faq-card .p7 {
  margin: 0;
  line-height: 1.6;
  color: #333;
  font-size: 0.95rem;
}
.faq-carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, background 0.2s;
}
.faq-carousel-btn:hover { opacity: 0.8; background: rgba(0,0,0,0.05); }

@media (max-width: 767px) {
  .faq-carousel-w {
    gap: 12px;
    padding: 0 4px;
  }
  .faq-carousel {
    min-width: 0;
  }
  .faq-card {
    flex: 0 0 20%;
    min-width: 0;
    padding: 20px 16px;
    padding-top: 20px;
    min-height: 200px;
    border-radius: 16px;
  }
  .faq-card h3.p5 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    line-height: 1.3;
  }
  .faq-card .p7 {
    font-size: 0.875rem;
    line-height: 1.55;
  }
  .faq-carousel-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .faq-carousel-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 767px) {
  section#preguntas {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  #preguntas .benefits-s_content_title_label {
    font-size: 1.25rem;
  }
}

@media (max-width: 479px) {
  .faq-carousel-w {
    gap: 8px;
    padding: 0 2px;
  }
  .faq-card {
    padding: 16px 12px;
    padding-top: 16px;
    min-height: 180px;
    border-radius: 14px;
  }
  .faq-card h3.p5 { font-size: 0.9375rem; }
  .faq-card .p7 { font-size: 0.8125rem; }
  .faq-carousel-btn {
    width: 36px;
    height: 36px;
  }
  .faq-carousel-btn svg {
    width: 18px;
    height: 18px;
  }
  section#preguntas {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

#preguntas .faq-section .benefits-s_content_title_label { margin-bottom: 0; }

/* Testimonials – same height as CTA, rock.jpg with parallax */
section#testimonials.testimonials-section {
  position: relative;
  background-image: url(../../assets/img/rock.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-top: 96px;
  padding-bottom: 96px;
}
@media (max-width: 991px) {
  section#testimonials.testimonials-section {
    background-attachment: scroll;
  }
}
#testimonials .testimonials-w {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 24px;
}
#testimonials .testimonials-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  text-align: center;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(255,255,255,0.9);
}
#testimonials .testimonials-slider {
  overflow: hidden;
  border-radius: 16px;
}
#testimonials .testimonials-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}
#testimonials .testimonials-track .testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
}
#testimonials .testimonial-card {
  margin: 0;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
#testimonials .testimonial-card:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(201, 162, 39, 0.35);
}
#testimonials .testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}
#testimonials .testimonial-author {
  font-size: 0.85rem;
  color: #666;
  font-style: normal;
  margin: 0;
}
#testimonials .testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
#testimonials .testimonials-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
#testimonials .testimonials-btn:hover {
  background: #1a1a1a;
  color: #fff;
}
#testimonials .testimonials-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
#testimonials .testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
#testimonials .testimonials-dot:hover {
  background: rgba(0, 0, 0, 0.4);
}
#testimonials .testimonials-dot.is-active {
  background: #c9a227;
  transform: scale(1.2);
}

/* FAQ section – same vertical rhythm as CTA (Cuente con nosotros) */
section#preguntas {
  padding-top: 96px;
  padding-bottom: 96px;
  min-height: 0;
}
#preguntas .benefits-w {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}
/* Reduce spacer heights (the “pic” / padding) in FAQ – cards stay the same */
#preguntas .unit-96 {
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
#preguntas .unit-36 {
  height: 12px !important;
  min-height: 12px !important;
}
#preguntas .grid.fill > .unit-24.b-mobile,
#preguntas .grid.fill > .unit-24.b-desktop {
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
#preguntas .benefits-s {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
#preguntas .grid.fill { display: block; }
#preguntas .benefits-s_content { width: 100%; max-width: 100%; }
#preguntas .benefits-s_content_title { text-align: center; }
#preguntas .faq-carousel-w { margin-left: auto; margin-right: auto; }
#preguntas .line-h { display: none; }

/* Contact form pop-up (CTA) – layout and spacing */
.pop-up_cta .pop-up_cta_modal {
  max-width: 560px;
  width: 100%;
  padding: 32px 28px 28px;
  max-height: 90vh;
  overflow-y: auto;
}
.pop-up_cta .pop-up_cta_modal .grid.cta-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px 28px;
  align-items: start;
}
/* Desktop only: wider contact modal + more space between form items */
@media (min-width: 992px) {
  .pop-up_cta .pop-up_cta_modal {
    max-width: 680px;
    padding: 40px 36px 36px;
  }
  .pop-up_cta .pop-up_cta_modal .grid.cta-form-grid {
    gap: 36px 40px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .input_label {
    margin-bottom: 0;
    padding-bottom: 18px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-full .input_label {
    padding-bottom: 22px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-full .radio-item {
    margin-top: 22px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-full {
    margin-top: 20px;
    padding-top: 12px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .pop-up_cta_modal_btn {
    margin-top: 32px;
  }
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .pop-up_cta_modal_title {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  margin-top: 0;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .pop-up_cta_modal_title .h4 {
  margin: 0;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .input,
.pop-up_cta .pop-up_cta_modal .cta-form-grid .pop-up_cta_modal_btn {
  margin-bottom: 0;
  min-width: 0;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .input_field {
  width: 100%;
  margin-bottom: 0;
  margin-top: 0;
  padding: 12px 14px;
  min-height: 48px;
  box-sizing: border-box;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .input:not(.cta-form-full) .input_field {
  margin-top: 8px;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .input_label {
  margin-bottom: 0;
  padding-bottom: 14px;
  display: block;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-full .input_label {
  padding-bottom: 20px;
  margin-bottom: 0;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-full .radio-item {
  margin-top: 20px;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .input_hint {
  font-size: 0.85em;
  font-weight: 400;
  opacity: 0.75;
}
/* Date field: custom calendar icon, no overlap with year, consistent look */
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-date-wrap .input_label {
  position: static;
  display: block;
  padding-bottom: 8px;
  min-height: 0;
  line-height: 1.3;
  overflow: visible;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-date-wrap .cta-date-field {
  position: relative;
  margin-top: 0;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-date-wrap .cta-date-input {
  padding-right: 44px;
  width: 100%;
  color-scheme: light;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-date-wrap .cta-date-input::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-date-wrap .cta-date-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  z-index: 1;
  color: var(--_colors---base-1000--30);
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-date-wrap .cta-date-icon:hover {
  color: var(--_colors---base-1000--100);
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-date-wrap .cta-date-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
}
/* Full-width rows with extra top margin for visual sections */
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-full {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-full:first-of-type {
  margin-top: 4px;
  padding-top: 0;
  border-top: none;
}
/* Radio groups: visible options in a row with space */
.pop-up_cta .pop-up_cta_modal .cta-form-grid .radio-item {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 10px;
  margin-bottom: 0;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .radio-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .radio-item input[type="radio"],
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 1;
  position: relative;
  z-index: 1;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios .cta-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios .cta-radio-label span {
  display: inline;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .pop-up_cta_modal_btn {
  grid-column: 1 / -1;
  margin-top: 24px;
  margin-bottom: 0;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .pop-up_cta_modal_btn button {
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  min-height: 52px;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .pop-up_cta_modal_desc {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
/* Privacy checkbox: filled state when checked (circle fills) */
.pop-up_cta .pop-up_cta_modal_desc .w-checkbox-input.radio.w--redirected-checked {
  background-color: var(--_colors---base-1000--100);
  border-color: var(--_colors---base-1000--100);
  background-image: none;
}
.pop-up_cta .pop-up_cta_modal .cta-form-grid .unit-36 {
  grid-column: 1 / -1;
  height: 16px;
  margin: 0;
}
@media (max-width: 639px) {
  .pop-up_cta .pop-up_cta_modal .grid.cta-form-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .pop-up_cta .pop-up_cta_modal {
    padding: 24px 20px 24px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .input,
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .pop-up_cta_modal_btn {
    grid-column: 1 / -1;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .input_field {
    min-height: 48px;
    padding: 14px 16px;
    font-size: 16px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-date-wrap .cta-date-input {
    padding-right: 44px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-date-wrap .input_label {
    padding-bottom: 8px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios {
    gap: 12px 20px;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-full .radio-item {
    justify-content: flex-start;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios .cta-radio-label,
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios .cta-radio-label span {
    font-size: 1rem;
    font-weight: 500;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios .cta-radio-label {
    min-height: 44px;
    padding: 10px 12px 10px 0;
    align-items: center;
    gap: 12px;
    -webkit-tap-highlight-color: transparent;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios input[type="radio"] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-full {
    margin-top: 16px;
    padding-top: 12px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .pop-up_cta_modal_btn button {
    min-height: 52px;
    padding: 16px 24px;
  }
}
@media (max-width: 479px) {
  .pop-up_cta .pop-up_cta_modal .grid.cta-form-grid {
    gap: 18px;
  }
  .pop-up_cta .pop-up_cta_modal {
    padding: 20px 16px 20px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .input_label {
    margin-bottom: 0;
    padding-bottom: 12px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-full .input_label {
    padding-bottom: 18px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .input_field {
    min-height: 48px;
    padding: 12px 14px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios {
    justify-content: flex-start;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios .cta-radio-label,
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios .cta-radio-label span {
    font-size: 1rem;
    font-weight: 500;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .cta-form-radios .cta-radio-label {
    min-height: 44px;
    padding: 8px 0 8px 0;
    gap: 10px;
  }
  .pop-up_cta .pop-up_cta_modal .cta-form-grid .pop-up_cta_modal_title .h4 {
    font-size: 1.25rem;
  }
}

/* Data section footer: one line, centered (desktop and phone) */
#data .data-s_footer-line {
  margin: 24px 0 0 0;
  font-size: 0.9rem;
  color: inherit;
  text-align: center;
}
#data .data-s_credit-link {
  text-decoration: none;
  color: inherit;
}
#data .data-s_credit-link:hover {
  text-decoration: none;
}
