/* ============================= */
/* BACKGROUND */
/* ============================= */

body {
  background: url(../media/10.svg);
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

/* ============================= */
/* MAIN SERVICIOS (DESKTOP) */
/* ============================= */

.main--svs{
  width: 100%;
  position: relative;
  min-height: 100vh;

  padding-top: clamp(240px, 22vh, 300px);
  padding-bottom: 120px;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(40px, 5vw, 80px);

  text-align: center;
  color: #d6cb8d;
}

/* TITLE */

.main--svs--title{
  width: 30%;
  display: flex;
  justify-content: center;
}

.main--svs--title h1{
  color: #d6cb8d;
  font-weight: 800;
  font-size: clamp(50px, 6vw, 85px);

  transform: scaleY(1.45);
  transform-origin: bottom;
  line-height: 0.9;
}

/* CONTENT WINDOW */
/* NO margin agregado */
/* NO padding externo */
/* NO width alterado agresivamente */

.main--svs--content{
  width: 70%;
  max-width: 950px;

  padding: clamp(40px, 4vw, 70px);

  background:
    linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
    url("https://grainy-gradients.vercel.app/noise.svg");

  background-size: cover;
  background-repeat: repeat;

  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}

/* SUBTITLE */

.main--svs--content h2{
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.6;
  padding: 0;
  margin: 0;
}

/* LIST */

.main--svs--content ul{
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 22px;
}

.main--svs--content ul li{
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.7;
  color: #bf9f34;
}

/* ============================= */
/* SECTION INFERIOR (DESKTOP) */
/* Se mantiene en COLUMN como tú lo diseñaste */
/* ============================= */

.section--svs{
  width: 100%;
  position: relative;
  min-height: 100vh;

  padding-top: 120px;
  padding-bottom: 150px;

  display: flex;
  flex-direction: column;  /* 🔥 SE RESPETA */
  align-items: center;

  text-align: center;
  color: #d6cb8d;
}

/* SECTORES */

.section--svs--sectores{
  padding: 30px;

  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.section--svs--sectores h3{
  font-size: clamp(28px, 2.5vw, 40px);
  transform: scaleY(1.4);
  transform-origin: bottom;
}

.section--svs--sectores h4{
  font-size: clamp(18px, 1.3vw, 22px);
  color: #bf9f34;
}

.section--svs--sectores ul{
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section--svs--sectores p{
  max-width: 700px;
  font-size: 15px;
}

/* BRANDING */

.section--svs--branding{
  padding: 60px 30px 0 30px;

  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.section--svs--branding h3{
  font-size: clamp(28px, 2.5vw, 40px);
  transform: scaleY(1.4);
  transform-origin: bottom;
}

.section--svs--branding h4{
  font-size: clamp(18px, 1.3vw, 22px);
  color: #bf9f34;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 992px){

  .main--svs{
    flex-direction: column;
    align-items: center;
    padding-top: 180px;
    gap: 40px;
  }

  .main--svs--title{
    width: 100%;
  }

  .main--svs--content{
    width: 100%;
    max-width: 100%;

    /* 🔥 Se elimina ventana flotante en móvil */
    background: none;
    border-radius: 0;
    padding: 0;
  }

  .section--svs{
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
  }

}