* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Bloques principales */
.main-block {
    width: 100%;
    padding: 80px 40px;
}

.block-white {
    background: #ffffff;
}

.block-gray {
    background: #97928d;
}

/* Sección de contenido */
.content-section {
    max-width: 1200px;
    margin: 0 auto 100px auto;
    display: flex;
    gap: 60px;
    align-items: flex-end; /* Alinea al final (abajo) */
}

.content-section:last-child {
    margin-bottom: 0;
}

/* Texto e imágenes ocupan 50% cada uno */
.text-content,
.images-container {
    flex: 1;
}
.text-content p{
    text-align: justify;
}

/* Invertir orden para secciones con imágenes a la izquierda */
.content-section.reverse {
    
    align-items: flex-end;
    text-align: right;
}

/* Contenido de texto */
.text-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    color: #97928d;
    line-height: 1.2;
    margin-bottom: 10px;
}

/* Solo el primer título del bloque gris se expande */
.block-gray .content-section:first-child .section-title {
    width: 100%;
  margin-left: 0;
     
}

.block-gray .section-title {
    color: #ffffff;
}

.section-subtitle {
    font-family: 'League Spartan', sans-serif;
    font-size: 3rem; /* Término medio */
    font-weight: 600;
    color: #575656;
    margin-bottom: 8px;
    text-align: left;
    line-height: 1; /* Muy compacto */
    hyphens: auto; /* Permite partir palabras si es necesario */
}

.block-gray .section-subtitle {
    color: #f0f0f0;
}

.text-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 10px;
}

.block-gray .text-content p {
    color: #ffffff;
}

/* Botón de contacto */
.contact-btn {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    padding: 10px 28px;
    background: transparent;
    border: 2px solid #222;
    color: #222;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 10px;
    align-self: center;
}

.contact-btn:hover {
    background: #222;
    color: #fff;
}

.block-gray .contact-btn {
    border-color: #ffffff;
    color: #ffffff;
}

.block-gray .contact-btn:hover {
    background: #ffffff;
    color: #97928d;
}

/* Contenedor de imágenes */
.images-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.image-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.image-circle:hover {
    transform: scale(1.05);
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-section {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }

    /* En móvil siempre texto arriba, imágenes abajo */
    .content-section.reverse .text-content {
        align-items: flex-end !important;
        text-align: right !important;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .images-container {
        gap: 20px;
    }

    .image-circle {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 640px) {
    .main-block {
        padding: 60px 20px;
    }

    .content-section {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .text-content p {
        font-size: 0.9rem;
    }

    .images-container {
        gap: 15px;
    }

    .image-circle {
        width: 130px;
        height: 130px;
    }

    .contact-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

.menu-icon span {
    display: block;
    height: 5px;
    background: #727070;
    border-radius: 4px;
    opacity: 0.9;
    transition: all 0.3s ease;
}
.resultado{
    
    color: #575656;
    font-weight:bold;
}
.block-title{
  max-width: 1200px;
  margin: 0 auto 40px;
  font-family: 'League Spartan', sans-serif;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

/* Colores por bloque */
.block-gray .block-title{ color: #fff; }
.block-white .block-title{ color: #97928d; }

/* Responsive */
@media (max-width: 1100px){
  .block-title{
    white-space: normal;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
  }
}
/* ===== WAVES DECOR (3 por bloque) ===== */
.with-waves{
  position: relative;
  overflow: hidden;
}

/* base */
.wave{
  position: absolute;
  pointer-events: none;
  z-index: 0;

  width: clamp(650px, 70vw, 1400px); /* grande en desktop */
  opacity: 0.14;
  transform-origin: center;
}

/* contenido encima */
.with-waves > *:not(.wave){
  position: relative;
  z-index: 1;
}

/* posiciones tipo Canva (se “cortan” por los bordes) */
.wave-1{
  top: -5%;
  right: -5%;
  transform: rotate(12deg) scale(1.12);
}

.wave-2{
  top: 32%;
  left: -8%;
  transform: rotate(60deg) scale(1.18);
  opacity: 0.10;
}

/* WAVE 3: base / abajo-derecha */
.wave-3{
  bottom: 8%;
  right: -10%;
  transform: rotate(140deg) scaleX(-1) scale(1.25);
  opacity: 0.08;
}

/* tono por bloque */
.block-gray .wave{
  filter: none;
  opacity: 0.16;
}

.block-white .wave{
  filter: brightness(0.55); /* blanco -> gris */
  opacity: 0.08;
}

/* móvil: menos tamaño y menos presencia */
@media (max-width: 968px){
  .wave{ width: 900px; opacity: 0.06; }
  .block-gray .wave{ opacity: 0.10; }
  .wave-2{ left: -55%; }
  .wave-3{ right: -60%; }
}

