:root {
  --blue-900: #004a8f;
  --blue-800: #004a8f;
  --blue-700: #004a8f;
  --blue-100: #004a8f;
  --gray-50: #f7f7f7;
  --text-dark: #0f1b33;
  --accent: #f4b300;
  --radius: 18px;
  --font-main: "Schibsted Grotesk", sans-serif;
}

.bg-blue-900 {
  background-color: var(--blue-900) !important;
}

.color-blue-900 {
  color: var(--blue-900) !important;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
}

.btn-pill {
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  background: #fff;
  color: var(--blue-900);
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-pill:hover {
  background: var(--blue-100);
  color: var(--blue-900);
}

/* Hero */
.hero {
  background: url("../images/family.png") center/cover;
  background-position: center;
  color: #fff;
  height: 100dvh;
}

.img-quote {
  width: 100px;
}

.plyr {
  height: 100% !important;
  width: 100% !important;
}

/* Color de fondo de los controles */
.plyr--video .plyr__controls {
  background-color: #9e9e9e;
  color: #fff;
}

.plyr__poster {
  height: 100% !important;
  background-size: cover !important;
}

.plyr__control--overlaid {
  background-color: #fcfcfc74 !important;
  /* color del fondo */
}

/* Color de los botones */
.plyr__control {
  color: #fff;
}

/* Color de fondo al pasar el ratón (hover) */
.plyr__control:hover {
  background-color: #303030;
}


.img-placeholder {
  cursor: pointer;
}

.text-custom {
  letter-spacing: 1px;
}

/* Info band */
.info-band {
  background-image: url("../images/bg-cappac.png");
  background-size: cover;
  background-position: center;
}

.icon-box {
  background: var(--blue-900);
  color: #fff;
  padding: 24px;
  border-radius: 14px;
  text-align: center;
  font-size: 40px;
}

/* Ganamos */
.ganamos {
  background: linear-gradient(135deg, var(--blue-900), #0d5dac);
  color: #fff;
  padding: 72px 0 90px;
}

.ganamos h2 {
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.swiper {
  padding: 12px 0 36px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 220px;
}

.testimonial-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-900);
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
  opacity: 1;
}

/* Contact */
.contact-section {
  padding: 70px 0;
  background: #fff;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  padding: 28px;
}

.contact-card input,
.contact-card textarea {
  border-radius: 12px;
  border: 1px solid #dfe5f0;
  padding: 12px 14px;
  font-size: 15px;
}

.contact-card textarea {
  min-height: 120px;
}

/* FAQ */
.faq {
  background: linear-gradient(135deg, var(--blue-900), #0d5dac);
  color: #fff;
  padding: 70px 0;
}

.faq .accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
}

.faq .accordion-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq .accordion-button:not(.collapsed) {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.08);
}

.faq .accordion-body {
  background: rgba(255, 255, 255, 0.05);
  color: #e9f1ff;
}

/* Gracias */
.thanks {
  background: #fff;
  padding: 60px 0 80px;
}

.thanks-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.16);
  padding: 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.footer {
  background: var(--blue-900);
  color: #fff;
  padding: 22px 0;
  font-size: 14px;
}

.social a {
  color: #fff;
  margin-right: 14px;
  font-size: 18px;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .testimonial-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 18px 0 60px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .icon-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

.section-ganamos {
  background-image: url("../images/bg-testimonios.png");
  color: white;
  background-size: cover;
  background-position: center;
}

.titulo-ganamos {
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 40px;
}

.swiper {
  padding-bottom: 40px;
}

.card-testimonio {
  /* background:#0c3f73; */
  /* border:2px solid rgba(255,255,255,0.2); */
  /* border-radius:4px; */
  overflow: hidden;
  display: flex;
  width: 80%;
}

.swiper-backface-hidden .swiper-slide {
  display: flex;
  justify-content: center;
}

.img-placeholder {
  width: 65%;
  aspect-ratio: 1/1;
  min-width: 140px;
  /* background:#d9d9d9; */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0 !important;
}

.h-cappac {
  height: 100%;
  align-items: center;
}

.play-btn {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn:after {
  content: "";
  border-left: 12px solid #0e4c86;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

.card-content {
  flex: 1;
  position: relative;
  padding: 10px;
}

.card-border {
  height: 100%;
  width: 100%;
  border: 1px solid white !important;
}

.quote {
  font-size: 40px;
  opacity: 0.4;
  position: absolute;
  top: 5px;
  right: 10px;
}

.caso {
  font-size: 12px;
  opacity: 0.8;
}

.nombre {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
}

.descripcion {
  font-size: 13px;
  line-height: 1.3;
}

.swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 768px) {
  .card-testimonio {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  .img-placeholder {
    width: 100% !important;
    aspect-ratio: 1/1;
  }
}

.plyr.plyr--stopped .plyr__controls {
  display: none;
}

.ganamos-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 15px;
}

.ganamos-prev,
.ganamos-next {
  color: white;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

.swiper-pagination {
  position: relative !important;
  width: auto !important;
  bottom: auto !important;
  top: auto !important;
}

.swiper-pagination-bullet {
  width: 15px !important;
  height: 15px !important;
  border: 2px solid white;
  background: white !important;
}

.swiper-pagination-bullet-active {
  background: white;
}

/* CONTACTO */

.contacto-section {
  background-image: url("../images/bg-cappac.png");
  background-size: cover;
  background-position: center;
}

.contacto-title {
  font-weight: 700;
  margin-bottom: 15px;
  color: #0e4c86;
}

.contacto-input {
  border-radius: 20px;
  margin-bottom: 10px;
  padding: 15px 25px;
}

.contacto-textarea {
  resize: none;
}

.btn-contacto {
  background: #0e4c86;
  color: white;
  border-radius: 20px;
  padding: 6px 18px;
  text-decoration: none;
}

/* FAQ */

.faq-section {
  background: url("../images/bglib.png") center/cover;
  background-position: center;
  color: white;
  padding: 60px 0;
}

.faq-left {
  padding-right: 40px;
}

.faq-icon {
  margin-bottom: 20px;
}

.faq-title {
  margin-bottom: 15px;
}

.faq-highlight {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

.faq-highlight.bold {
  font-weight: 800;
}

/* LISTA FAQ */

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: white;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.5rem;
}

.faq-arrow {
  /* width:8px; */
  /* height:8px; */
  /* border-right:2px solid white; */
  /* border-top:2px solid white; */
  transform: rotate(0deg);
  transition: transform 0.25s ease;
  margin-left: 10px;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(135deg);
}

.faq-answer {
  padding-bottom: 15px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.bg-gracias {
  background: url("../images/bg-gracias.png") center/cover;
  background-position: center;
  color: #fff;
}