body {
  font-family: "Open Sans", sans-serif;
  color: #1f2937;
  font-size: 13px;
  margin: 0;
  padding: 0;
  background: #fff url("assets/fondo.jpg?v=1.1") no-repeat center top;
  background-size: cover;
}

/* ------------------------------
   1. Reset y configuración base
------------------------------ */

/* ------------------------------
   2. Estilos generales / utilidades
------------------------------ */
.highlight-title {
  color: #00a1e0;
  font-weight: 900;
}
.highlight-sub {
  color: #e30613;
  font-weight: 900;
}
.text-small {
  font-size: 14px;
  margin: 5px auto 0;
  max-width: 500px;
  line-height: 1.4;
}
.text-blue {
  color: #007ac9;
  font-weight: 600;
}

/* ------------------------------
   3. Layout principal
------------------------------ */
.landing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 70px 20px;
  gap: 30px;
}

.container {
  width: 80vw;
  margin: 40px auto 0 auto;
}

/* ------------------------------
   4. Sección izquierda (info-left)
------------------------------ */
/* Izquierda */
.info-left {
  text-align: center;
  width: 58%;
  max-width: 720px;
  margin-top: -20px; /* Added rule */
}
.title {
  width: 75%;
  margin: auto 0 0 82px;
}
.sub-title {
  max-width: 480px;
  margin: 0 auto 15px;
}
.banner-text-up {
  max-width: 440px;
  margin: auto;
  display: block;
}
.banner-text-down {
  max-width: 330px;
  margin: auto;
  display: block;
}
.participa-banner {
  background: #259fda;
  color: #ffffff;
  font-size: 0.95rem;
  padding: 3px 13px;
  font-weight: bold;
  display: block;
  margin: 5px auto;
  border-radius: 12px;
  max-width: 500px;
}

/* ------------------------------
   5. Sección derecha (formulario)
------------------------------ */
.form-container {
  background-color: #f2f2f2;
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.form-right {
  width: 100%;
  max-width: 492px;
  margin: auto;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.form-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin: 3rem 0;
  color:#777;
}
.form-mock {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .form-row {
  display: contents;
}
.form-grid .form-rut-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  grid-column: 2 / 3;
}
.form-grid input[name="email"] {
  grid-column: 2 / 3;
}
.form-grid select {
  grid-column: 1 / 3;
}
.form-row {
  display: flex;
  gap: 10px;
}

.form-dv-separator {
  font-weight: bold;
  font-size: 1.2rem;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  margin-top: 10px;
}

/* Ajuste de los inputs y select */
.form-input,
select {
  border-radius: 25px;
  padding: 0.6rem 1rem;
  border: 2px solid #d9d9d9;
  font-size: 0.95rem;
  background-color: white;
}

.form-grid .form-rut-group input[name="dv"] {
  width: 10px;
  min-width: 10px;
}

.form-button {
  background-color: #e30613;
  color: white;
  font-weight: bold;
  padding: 0.7rem 2rem;
  border-radius: 25px;
  transition: background-color 0.3s;
  font-size: 1rem;
  display: block;
  border:0px;
  margin: 0 auto;
}
.form-button:hover {
  background-color: #c10010;
}
.form-note {
  font-size: 12px;
  text-align: center;
  color: #777;
  margin-top: 12px;
}

.form-success {
  color: #239dd8;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-top: 2rem;
}

.form-error {
  color: #e30613;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  margin-top: 2rem;
}

.input-error {
  border: 2px solid #e30613 !important;
  background-color: #ffeaea;
}

.form-error-message {
  color: #e30613;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  padding-left: 0.5rem;
}

.hidden {
  display: none;
}

select.form-input {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}


/* ------------------------------
   6. Carrusel
------------------------------ */
.carousel-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 10px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height:220px;
}

.swiper {
  width: 840px; /* 3 tarjetas de 280px */
  max-width: 100%;
  padding: 0;
  overflow: hidden;
}

.swiper-slide {
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1;
}

.swiper-slide-active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 22;
}

.swiper-slide-active .razon-card {
  background: linear-gradient(180deg, #1e6ca5 0%, #3c9dcf 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
  height: 200px;
  width: 300px;
}

.swiper-slide:not(.swiper-slide-active) .razon-card {
  pointer-events: none;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  left: 50% !important;
  margin-top: 0 !important;
  transform: translate(-50%, -50%);
  color: #ffffff !important;
}

.swiper-button-prev {
  left: 0;
}
.swiper-button-next {
  right: 0;
}

/* ------------------------------
   7. Otros elementos / componentes (banners, logos, etc.)
------------------------------ */
.razon-card {
  transition: all 0.3s ease;
  border-radius: 16px;
  background: linear-gradient(180deg, #2f8dc9 0%, #7db9da 100%);
  color: white;
  min-height: 180px;
  padding: 6px 12px;
  text-align: center;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 160px;
}
.razon-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.razon-card p {
  font-size: 0.85rem;
  font-weight: 500;
}
.razon-card p {
  margin-top: 8px;
}
.logo-gascontigo img {
  height: 28px;
}
.titulo-contacto {
  position: relative;
  display: inline-block;
  color: #4da5dd;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 16px;
  margin: 10px auto 10px;
  text-align: center;
}

.titulo-contacto::before,
.titulo-contacto::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background-color: #4da5dd;
}

.titulo-contacto::before {
  right: 100%;
  margin-right: 12px;
}

.titulo-contacto::after {
  left: 100%;
  margin-left: 12px;
}

.logos-contacto {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}

.logos-contacto-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #4da5dd;
  white-space: nowrap;
  position: relative;
}

.logos-contacto-item:not(:last-child)::after {
  content: "";
  display: inline-block;
  height: 20px;
  width: 2px;
  background-color: #4da5dd;
  margin-left: 10px;
}

.small-select{
  font-size:10px;
}

.logos-contacto img {
  height: 18px;
}
select.form-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: bold;
  color: #929292;
  padding-right: 2.5rem;
  background-color: white;
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px 6px;
}

select.form-input:focus {
  outline: none;
  border: 2px solid #e30613;
}

select.form-input option {
  font-weight: 600;
  font-size: 15px;
  padding: 10px;
}

select.form-input option:checked {
  background-color: #fff;
  color: #e30613;
  font-weight: bold;
  border: 2px solid #e30613;
  outline: none;
}

select.form-input option {
  color: #333;
  font-weight: 600;
  padding: 12px;
  background-color: #f9f9f9;
}

select.form-input {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.5rem; /* espacio para flecha */
  width:100%;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
  font-size: 1rem;
}




/* ------------------------------
   8. Carrusel en superposición
------------------------------ */
.carousel-overlay {
  position: absolute;
  bottom: 100px;
  left: 0;
  width: 100%;
  z-index: 20;
  background-color: #3178d1;
  padding: 60px 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.arrow-button {
  background-color: rgba(255, 255, 255, 0.3);
  color: #007ac9;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.arrow-button:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.razon-card {
  width: 280px;
  height: 160px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.carousel-arrow-container {
  width: 280px;
  height: 176px;
  background: linear-gradient(180deg, #2f8dc9 0%, #7db9da 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 !important;
}

.swiper-slide:not(.swiper-slide-active) .razon-card h3,
.swiper-slide:not(.swiper-slide-active) .razon-card p {
  filter: blur(2px);
  opacity: 0.5;
}

.top-img {
  display: none;
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 1390px) and (min-width: 1200px) {
  .info-left {
    text-align: center;
    width: 60%;
    max-width: 650px !important;
    margin-top: -20px;
}

}


@media (max-width: 450px) {

  .swiper-slide-next,.swiper-slide-prev{
opacity:0;
  }
  body {
    background: none !important;
  }

  .landing-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0px;
  }

  footer.landing-container{
    margin-top:60px!important
  }

  .info-left,
  .form-right {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .form-title {
    margin: 1.5rem 0;
    font-size: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .form-grid input[name="nombre"] {
    grid-column: 1 / -1;
    width: 100%;
  }

  .form-grid .form-rut-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
  }

  .form-grid input[name="nombre"],
  .form-grid input[name="telefono"],
  .form-grid input[name="email"],
  .form-grid select {
    grid-column: 3 / 1 !important;
    width: 100% !important;
  }

  .form-grid .form-rut-group {
    grid-column: 1 / 3 !important;
  }

  .form-grid input[name="rut"] {
    grid-column: 1 / 2;
  }

  .form-grid .form-rut-group {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
  }

  .form-mock,
  .form-row,
  .form-input,
  .form-grid input,
  .form-grid select {
    width: 100%;
    box-sizing: border-box;
  }

  .form-grid .form-rut-group input,
  .form-grid .form-rut-group .form-dv-separator {
    flex: 1;
  }

  .form-grid .form-rut-group input[name="dv"] {
    margin-left: 0.25rem;
  }

  .swiper {
    width: 100%;
  }

  .carousel-section {
    padding: 20px 0;
  }

  .carousel-arrow-container {
    width: 60px;
    height: 160px;
  }

  .razon-card {
    width: 240px;
    height: 140px;
    font-size: 0.9rem;
  }

  div.swiper-slide {
    display: flex;
    width: 100% !important;
    max-width: 100%;
    min-width: 100%;
}
.swiper-slide-active .razon-card {
  width: 280px;
  height: 160px;
  width: 100%;
  max-width: 100%;
}

  .arrow-button {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .banner-text-up {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .title {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .banner-text-up,
  .banner-text-down {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .sub-title {
    max-width: 100%;
    margin: 0 auto 15px;
    padding: 0 10px;
  }

  .participa-banner {
    max-width: 100%;
    padding: 6px 15px;
    font-size: 0.9rem;
    box-sizing: border-box;
  }

  .logos-contacto {
    flex-wrap: wrap;
    gap: 12px;
  }

  .logos-contacto-item {
    font-size: 13px;
    white-space: normal;
  }

  .titulo-contacto {
    margin: 1rem 0;
  }
  
  .logos-contacto img {
    height: 22px;
}

.logos-contacto-item:not(:last-child)::after {
  display: none;

}

  .text-small {
    font-size: 13px;
    margin: 1rem 0;
  }

  .top-img {
    display: block;
    width: 100%;
    height: auto;
  }

  .top-img img {
    width: 100%;
  }

  .form-right {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 100%;
  }
  .form-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url("assets/fondo-form.png") no-repeat center center; */
    background-size: cover;
    z-index: -1;
  }

  .fondo-derecha {
    display: block;
    position: absolute;
    z-index: -4;
  }
}

.fondo-derecha {
  display: none;
}

footer{
  background-color:#00A3E0;
  color:#fff;
  padding:50px!important;
  margin-top:50px;
  gap:0px!important

}

footer p.form-note{
  color:#fff;
  text-align:center;
}

footer a{
  color:#fff;
}

footer img{
  width:197px;
}

.scroll-indicator {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.arrow {
  width: 16px;
  height: 16px;
  border-left: 4px solid #e30613;
  border-bottom: 4px solid #e30613;
  transform: rotate(-45deg);
  margin: 4px 0;
  animation: bounce 1.5s infinite;
  opacity: 0.8;
}

.arrow:nth-child(2) {
  animation-delay: 0.2s;
}
.arrow:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateY(8px) rotate(-45deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.scroll-indicator.hidden {
  display: none;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 480px) {
  .arrow {
    width: 12px;
    height: 12px;
    margin: 3px 0;
    
  }

  .razon-card p {
    font-size: 0.7rem;
    font-weight: 500;
}

  .scroll-indicator {
    bottom: 15px;
  }
}

