/* =========================================
   servicios.css - ESTILOS CON TAMAÑOS AJUSTADOS
   ========================================= */

/* 1. ENCABEZADO */
.page-header {
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: #f5a623;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* 2. CAJA DE TEXTO (GLASSMORPHISM) */
.service-text-box {
  background: rgba(12, 45, 72, 0.9);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.service-text-box:hover {
  transform: translateY(-5px);
  border-color: #f5a623;
}

.service-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0;
  color: white;
}

.service-icon-header {
  color: #f5a623;
  margin-right: 15px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
}

.service-list li i {
  color: #f5a623;
  margin-right: 10px;
  font-size: 1.1rem;
}

/* 3. IMÁGENES FLOTANTES Y TAMAÑOS */

/* Contenedor Base */
.service-img-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.2);
  animation: flotarVertical 4s ease-in-out infinite;
  /* Altura base por defecto si no se especifica tamaño */
  height: 400px;
}

/* --- MODIFICADORES DE TAMAÑO (NUEVO) --- */

/* Imagen PEQUEÑA (Para la primera) */
.service-img-wrapper.img-small {
  height: 500px; /* Altura reducida */
  max-width: 90%; /* Un poco menos ancha para que no se vea estirada */
  margin: 0 auto; /* Centrada en su columna */
}

/* Imagen GRANDE (Para las otras dos) */
.service-img-wrapper.img-large {
  height: 500px; /* Altura aumentada considerablemente */
}

/* La imagen interna */
.service-img {
  width: 100%;
  height: 100%; /* Llena el contenedor wrapper */
  object-fit: cover; /* Recorta para llenar sin deformar */
  transition: transform 0.5s ease;
}

.service-img-wrapper:hover .service-img {
  transform: scale(1.1);
}
