/*******************************************************
 * SECCIÓN "SERVICIOS" - ENCABEZADO GENERAL
 *******************************************************/
 .servicios-hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #f5f5f5; /* Un gris claro, ajústalo a tu gusto */
  }
  
  .servicios-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .servicios-hero p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
  }
  
  /*******************************************************
   * SECCIÓN DETALLADA DE SERVICIO (MARÍTIMO)
   *******************************************************/
  .service-info {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
  }
  
  .service-info h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .service-info p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
  }
  
  /* Contenedor para texto (bullets) e imagen en dos columnas */
  .service-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
  }
  
  /* Columna de bullets */
  .service-details {
    flex: 2;
  }
  
  /* Estilo de la lista de bullets */
  .service-details ul {
    list-style: none; /* Quita el punto default */
    padding-left: 0;
  }
  
  .service-details li {
    margin-bottom: 15px;
    line-height: 1.5;
    position: relative; /* Para ícono si deseas */
  }
  
  /* Título breve dentro del bullet */
  .service-details li strong {
    display: block;
    font-size: 16px;
    color: #007acc; /* Un azul que resalte, ajústalo */
    margin-bottom: 4px;
    font-weight: bold;
  }
  
  /* Texto dentro del bullet */
  .service-details li p {
    margin: 0;
    color: #555;
    font-size: 14px;
  }
  
  /* Columna de imagen */
  .service-image {
    flex: 1;
    max-width: 400px; /* Ajusta a tu gusto */
  }
  
  .service-image img {
    width: 100%;
    border-radius: 6px; /* Bordes ligeramente redondeados */
  }
  
  /*******************************************************
   * RESPONSIVE
   *******************************************************/
  @media (max-width: 768px) {
    .service-container {
      flex-direction: column;
    }
    .service-image {
      max-width: 100%;
      margin-top: 20px;
    }
  /* ─── TARJETAS DE SERVICIO ───────────────────────────── */
.service-info {
  background-color: #ffffff; /* Fondo blanco tipo tarjeta */
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Sombra sutil */
  padding: 40px 30px;
  margin: 60px auto;
  max-width: 1200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Hover más marcado */
}

/* Encabezado de cada sección */
.service-info h2 {
  font-size: 32px;
  color: #003366;
  margin-bottom: 20px;
  border-left: 6px solid #007acc;
  padding-left: 15px;
}

/* Contenido interior */
.service-details ul {
  padding-left: 0;
}

.service-details li {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.03);
}

/* Íconos o énfasis en bullet principal */
.service-details li strong {
  color: #007acc;
  font-size: 18px;
}
}
 body {
  background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
}
.service-info h2 {
  border-left: 6px solid #007acc;
  padding-left: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.service-info {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
 .service-info {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ─── ZIG-ZAG LAYOUT ───────────────────────────── */
.service-info .service-container {
  flex-direction: row;              /* texto – imagen */
}

.service-info.reverse .service-container {
  flex-direction: row-reverse;      /* imagen – texto */
}

/* Ajustes finos de márgenes para que encaje bien */
.service-info.reverse .service-image {
  margin-left: 0;
  margin-right: 30px;
}
.service-info.reverse .service-details {
  margin-right: 0;
  margin-left: 30px;
}

/* Asegúrate de que en móvil siga apilado */
@media (max-width: 768px) {
  .service-info.reverse .service-container {
    flex-direction: column;
  }
}
/* ────────────────────────────────────────────── */
/*  VARIABLES GLOBALES & TIPOGRAFÍA             */
/* ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary:  #007acc;
  --color-secondary:#003366;
  --color-bg-light: #f7f9fb;
  --color-card-bg:  #ffffff;
  --color-text:     #333333;
  --color-gray:     #555555;
  --shadow-light:   rgba(0, 0, 0, 0.05);
  --shadow-dark:    rgba(0, 0, 0, 0.10);
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--color-bg-light);
  color: var(--color-text);
  line-height: 1.6;
}

/* ────────────────────────────────────────────── */
/*  HERO SECTION CON IMAGEN DE FONDO            */
/* ────────────────────────────────────────────── */
.servicios-hero {
  position: relative;
  text-align: center;
  padding: 100px 20px;
  background: 
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url('images/hero-bg.jpg') center/cover no-repeat;
  color: #ffffff;
}

.servicios-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.servicios-hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ────────────────────────────────────────────── */
/*  TARJETAS DE SERVICIO REFINADAS              */
/* ────────────────────────────────────────────── */
.service-info {
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow-light);
  padding: 50px 30px;
  margin: 80px auto;
  max-width: 1200px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.service-info:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px var(--shadow-dark);
}

/* TITULOS */
.service-info h2 {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  position: relative;
}

.service-info h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  margin-top: 8px;
}

.service-info h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: var(--color-primary);
}

/* CONTENIDO FLEX */
.service-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* BULLETS COMO ICONOS */
.service-details ul {
  list-style: none;
  padding: 0;
}

.service-details li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 20px;
}

.service-details li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.service-details li strong {
  display: block;
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.service-details li p {
  margin: 0;
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* IMÁGENES CON EFECTO hover */
.service-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.service-image img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ────────────────────────────────────────────── */
/*  ZIG-ZAG YA IMPLEMENTADO                    */
/* ────────────────────────────────────────────── */
.service-info.reverse .service-container {
  flex-direction: row-reverse;
}

/* ────────────────────────────────────────────── */
/*  RESPONSIVE                                  */
/* ────────────────────────────────────────────── */
@media (max-width: 992px) {
  .service-container {
    flex-direction: column;
  }
  .service-info {
    padding: 30px 20px;
  }
  .servicios-hero {
    padding: 60px 10px;
  }
}
/* ─── HERO SERVICIOS ─────────────────── */
.servicios-hero {
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('../images/pexels-alshreef-33218940.jpg') center/cover no-repeat;
}


.servicios-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.servicios-hero .hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.servicios-hero .hero-title {
  display: inline-block;
  background: rgba(0, 0, 0, 0.7);
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.servicios-hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.4;
}
/* ────────────────────────────────────────────── */
/*  NUEVA PALETA PARA SERVICIOS                  */
/* ────────────────────────────────────────────── */
:root {
  /* tonos oscuros para fondo de las cards */
  --service-bg-dark:   #1B2A47; /* azul muy oscuro */
  --service-card-bg:   #273554; /* azul intermedio */
  --service-text:      #F5F5F5; /* casi blanco */
  --service-accent:    #FFBA08; /* amarillo cálido */
}

/* ────────────────────────────────────────────── */
/*  HERO: texto secundario más brillante        */
/* ────────────────────────────────────────────── */
.servicios-hero p {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* ────────────────────────────────────────────── */
/* ────────────────────────────────────────────── */
/*  NUEVA PALETA OSCURA / TEAL                  */
/* ────────────────────────────────────────────── */
:root {
  --svc-bg-page:        #101217;  /* fondo general muy oscuro */
  --svc-bg-card:        #1E1F28;  /* fondo de cada tarjeta */
  --svc-text-primary:   #F2F2F5;  /* texto principal casi blanco */
  --svc-text-secondary: #B0B0B5;  /* texto secundario gris claro */
  --svc-accent:         #3BC1C8;  /* teal vibrante para títulos y acentos */
  --svc-shadow:         rgba(0, 0, 0, 0.4);
}

body {
  background: var(--svc-bg-page);
}

.service-info {
  background: var(--svc-bg-card);
  color: var(--svc-text-primary);
  box-shadow: 0 4px 20px var(--svc-shadow);
}

.service-info h2 {
  color: var(--svc-accent);
}
.service-info h2::after {
  background: var(--svc-accent);
}

.service-info h3 {
  color: var(--svc-accent);
}

.service-info p {
  color: var(--svc-text-secondary);
}

.service-details li {
  background: rgba(255,255,255,0.03);
}
.service-details li::before {
  color: var(--svc-accent);
}
.service-details li strong {
  color: var(--svc-text-primary);
}
.service-details li p {
  color: var(--svc-text-secondary);
}

.service-image img {
  filter: brightness(0.8) contrast(1.1);
}

.service-info:hover {
  box-shadow: 0 12px 30px var(--svc-shadow);
  transform: translateY(-6px);
}







/* ===== Servicios: imágenes grandes en móvil (quirúrgico) ===== */

/* Base segura (afecta a todos los breakpoints) */
.service-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Desktop/tablet: si usas flex, mantén dos columnas */
.service-container{
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: center;
}

/* ---- Sólo móvil ---- */
@media (max-width: 768px){

  /* Pasa a 1 columna; texto y luego imagen (o al revés, como prefieras) */
  .service-container{
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Asegura que la imagen no sea miniatura: ocupa el ancho y recorta bonito */
  .service-image img{
    height: clamp(180px, 42vw, 260px); /* altura fluida y razonable */
    object-fit: cover;
    width: 100%;
    max-width: 100%;
  }

  /* Opcional: imagen debajo del texto (quita si la quieres arriba) */
  .service-details{ order: 1; }
  .service-image{ order: 2; }

  /* Evita que bullets empujen el layout */
  .service-details ul{ margin: 0; padding-left: 1rem; }
}
