/* ============================================================
   SECTIONS.CSS — Todas las secciones del cuerpo de la página
   ============================================================ */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROPUESTA DE VALOR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.valor {
  background: url(/assets/img/fondo/1.png);
  background-size: cover;
  padding: var(--section-py) var(--section-px);
  width: 100%;
}
.valor-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.valor-img {
  position: relative;

}
.valor-img img {
  margin: 0 auto;
  width: 70%;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}


@media (max-width: 1024px) {
  .valor-inner {
    grid-template-columns: 1fr;
  }
  .valor-img img {
  width: 90%;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LÍNEAS DE NEGOCIO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.lineas {
  background: url(/assets/img/fondo/2.png);
  background-size: cover;
  padding: var(--section-py) var(--section-px);
}
.lineas-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.lineas-header {
  text-align: center;
  margin-bottom: 60px;
}
.lineas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Tarjeta de línea de negocio */
.linea-card {
  padding: 20px 40px;
  width: 100%;
  height: 400px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.linea-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.linea-card:hover {
  border-color: rgba(200, 154, 46, 0.5);
  transform: translateY(-4px);
}
.linea-card:hover::before {
  transform: scaleX(1);
}
.linea-icon {
  margin: 0 auto;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}
.linea-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-top: 50px;
  margin-bottom: 12px;
  text-align: center;
}
.linea-card p {
  font-size: 17px;
  text-align: center;
  line-height: 1.7;
  color: var(--white);
}

@media (max-width: 1024px) {
  .lineas-grid {
    grid-template-columns: 1fr;
  }
  .linea-card{
    margin: auto;
  }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  BANNERS (imagen + texto, alternados)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.banner {
  padding: 80px var(--section-px);
  background: var(--white);
}
.banner--cream {
  background: var(--cream);
  padding-top: 0;
}
.banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--cream);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}
/* Variante invertida (imagen a la izquierda) */
.banner-inner--reverse {
  direction: rtl;
}
.banner-inner--reverse > * {
  direction: ltr;
}

.banner-text {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.banner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.banner-text h2 span {
  color: var(--gold);
}
.banner-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 28px;
}

.banner-img {
  min-height: 340px;
  overflow: hidden;
  position: relative;
}
.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.banner-inner:hover .banner-img img {
  transform: scale(1.04);
}
.banner-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 154, 46, 0.15) 0%, transparent 60%);
}

@media (max-width: 1024px) {
  .banner-inner,
  .banner-inner--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .banner-inner--reverse > * {
    direction: ltr;
  }
  .banner-img {
    min-height: 240px;
  }
  .banner-text {
    padding: 40px 32px;
  }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FORMULARIO DE CONTACTO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.formulario {
  background: url(/assets/img/fondo/3.png);
  background-size: cover;
  position:relative;
  padding: 25px var(--section-px);
}
/* Orbe decorativo */

.formulario::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200, 154, 46, 0.12), transparent 70%);
  pointer-events: none;
}
.formulario-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.formulario-header {
  text-align: center;
  margin-bottom: 56px;
}

/* Tags de presencia regional */
.presence-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.presence-tag {
  background: rgba(200, 154, 46, 0.12);
  border: 1px solid rgba(200, 154, 46, 0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.3px;
}

/* Campos del formulario */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.form-field input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(222, 161, 21, 0.6);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}

.form-field select{
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(222, 161, 21, 0.6);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}
.form-field input::placeholder {
  color: rgba(1);
}
.form-field select option{
  color: rgba(1);
}

.form-field input:focus {
  border-color: var(--gold);
}

/* Radio buttons personalizados */
.form-question {
  margin-bottom: 20px;
}
.form-question > label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(29, 28, 28);
  margin-bottom: 12px;
}
.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.radio-option {
  position: relative;
}
.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(222, 161, 21, 0.6);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 600;
  color: rgb(48, 45, 45);
  letter-spacing: 0.3px;
}
.radio-option input:checked + label {
  border-color: var(--gold);
  background: rgba(200, 154, 46, 0.12);
  color: var(--gold-light);
}
.radio-option label:hover {
  border-color: rgba(200, 154, 46, 0.4);
  color: var(--gold);
}
.radio-icon {
  font-size: 18px;
}

@media (max-width: 1024px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .radio-group {
    grid-template-columns: 1fr;
  }
  .formulario{
    background: rgba(206, 205, 202, 0.12);
  }
  .formulario::before {
    display: none;
  }
}

@media (max-width: 1368px) {
  .formulario::before{
    display: none;
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
    .formulario{
    background: rgba(206, 205, 202, 0.12);
  }
  .formulario::before {
    display: none;
  }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STRIP DE WHATSAPP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.wa-strip {
  background: #f1c109;
  padding: 23px var(--section-px);
}
.wa-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.wa-strip-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wa-icon {
  width: 100px;
  height: 100px;
  background: url(/assets/img/imagenes\ png/Sintítulo-3-37.svg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  flex-shrink: 0;
}
.wa-text h4 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.3px;
}
.wa-text p {
  font-size: 18px;
  color: rgba(26, 26, 26, 0.7);
  font-weight: 500;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROVEEDORES Y MARCAS ALIADAS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.proveedores {
  background: url(/assets/img/fondo/4.png);
  background-size: cover;
  padding: 120px var(--section-px);
}
.proveedores-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.proveedores-header {
  text-align: center;
  margin-bottom: 48px;
}

.proveedores-title{
  font-size: 40px;
  font-weight: 600;
  color: var(--gold);
}

/* Grid de logos de proveedores */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.logo-pill {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  transition: all var(--transition);
  /* NOTA: reemplazar contenido de texto por <img> del logo real */
}
.logo-pill:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 154, 46, 0.15);
}

@media (max-width: 1024px) {
  .logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
}

/* Sección de marcas aliadas */

.brand-header {
  text-align: center;
  margin-bottom: 48px;
}

.brand-title{
  font-size: 40px;
  color: var(--gold);
}

.marcas {
  background: var(--white);
  background-size: cover;
  padding: 120px 0;
  margin: 0 auto;
  overflow: hidden;
}
.trusted-section {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.trusted-viewport {
    width: 100%;
    overflow: hidden;
}

.trusted-section {
  margin-top: 56px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.trusted-grid {
  display: flex;
  width: max-content;
  gap: 80px;
  animation: scroll 20s linear infinite;
}

.trusted-grid img {
    height: 65px;
    object-fit: contain;
    opacity: 0.7;
    transition: .3s;
}

.trusted-grid img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}



@media (max-width: 1024px) {

}
@media (max-width: 768px) {
  .trusted-grid {
    gap: 30px;
  }

  .trusted-grid img {
    height: 40px;
  }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
footer {
  background: var(--dark);
  padding: 60px var(--section-px) 32px;
  border-top: 1px solid rgba(200, 154, 46, 0.15);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
