/*******************************************************
 * SECCIÓN "SERVICIOS" - ENCABEZADO GENERAL
 *******************************************************/
.servicios-hero {
  text-align: center;
  padding: 60px 20px;
  background-color: #101217; /* Fondo principal oscuro */
}

  
  .servicios-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
.servicios-hero p {
  font-size: 18px;
  color: #B0B0B5; /* Texto secundario gris claro */
  max-width: 800px;
  margin: 0 auto;
}

  
  /*******************************************************
   * SECCIÓN DETALLADA DE SERVICIO (MARÍTIMO)
   *******************************************************/
  .service-info {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: var(--color-bg-card); /* fondo de tarjeta estilo SwiftUI */
  border-radius: 24px;
  box-shadow: 0 12px 28px var(--color-shadow-dark);
  transition: all 0.3s ease;
}

.service-info h2 {
  font-size: 28px;
  color: var(--color-accent-teal); /* Acento teal */
  margin-bottom: 10px;
  font-weight: 600;
}

.service-info p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-secondary); /* Texto secundario gris claro */
  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: var(--color-accent-teal); /* Acento teal para énfasis */
  margin-bottom: 4px;
  font-weight: bold;
}

/* Texto dentro del bullet */
.service-details li p {
  margin: 0;
  color: var(--color-text-secondary); /* Texto secundario gris claro */
  font-size: 14px;
}

/* Columna de imagen */
.service-image {
  flex: 1;
  max-width: 400px; /* Ajusta a tu gusto */
  border-radius: 12px; /* Más suave tipo SwiftUI */
  overflow: hidden;
}

.service-image img {
  width: 100%;
  border-radius: 12px; /* Bordes más suaves */
  transition: transform 0.5s ease, filter 0.5s ease;
}

.service-image img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

  
  /*******************************************************
   * 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: var(--color-bg-card); /* Fondo oscuro para tarjeta */
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--color-shadow-dark); /* Sombra suave */
  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 var(--color-shadow-dark); /* Sombra hover */
}

/* Encabezado de cada sección */
.service-info h2 {
  font-size: 32px;
  color: var(--color-accent-teal); /* Acento teal para el texto */
  margin-bottom: 20px;
  border-left: 6px solid var(--color-accent-warm); /* Acento amarillo cálido para el borde */
  padding-left: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Contenido interior */
.service-details ul {
  padding-left: 0;
}

.service-details li {
  background-color: rgba(255, 255, 255, 0.03); /* fondo translúcido suave */
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: inset 0 0 6px var(--color-shadow-dark); /* Sombra interior sutil */
  transition: background 0.3s ease;
}

.service-details li:hover {
  background-color: rgba(255, 255, 255, 0.06); /* efecto hover sutil tipo SwiftUI */
}



/* Íconos o énfasis en bullet principal */
.service-details li strong {
  color: var(--color-accent-warm); /* Acento amarillo cálido para destacar */
  font-size: 18px;
}

body {
  background: var(--color-bg-dark); /* Azul oscuro sólido como fondo principal */
  color: var(--color-text-primary); /* Asegura contraste de texto general */
}

.service-info h2 {
  border-left: 6px solid var(--color-accent-teal); /* Teal vibrante */
  padding-left: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}


.service-info {
  background: var(--color-bg-card);           /* Fondo azul intermedio */
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 30px var(--color-shadow-dark); /* Sombra marcada */
  border-radius: 24px;                        /* Bordes suaves estilo SwiftUI */

  /* Animación de aparición */
  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-accent-teal:     #3BC1C8;   /* Acento teal */
  --color-accent-warm:     #FFBA08;   /* Acento amarillo cálido */
  --color-bg-dark:         #101217;   /* Fondo principal oscuro */
  --color-bg-card:         #1E1F28;   /* Fondo de tarjetas o contenedores */
  --color-text-primary:    #F2F2F5;   /* Texto principal blanco hueso */
  --color-text-secondary:  #B0B0B5;   /* Texto gris claro */
  --color-shadow-light:    rgba(0, 0, 0, 0.2);   /* Sombra ligera */
  --color-shadow-dark:     rgba(0, 0, 0, 0.4);   /* Sombra más intensa */
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--color-bg-dark);
  color: var(--color-text-primary);
  line-height: 1.6;
}

/* ────────────────────────────────────────────── */
/*  HERO SECTION CON IMAGEN DE FONDO            */
/* ────────────────────────────────────────────── */
.servicios-hero {
  position: relative;
  text-align: center;
  padding: 100px 20px;
  background:
    linear-gradient(rgba(16, 18, 23, 0.6), rgba(16, 18, 23, 0.6)), /* Azul oscuro translúcido */
    url('images/hero-bg.jpg') center/cover no-repeat;
  color: var(--color-text-primary); /* Blanco hueso */
}


.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-bg-card);
  border-radius: 24px; /* Más suave estilo SwiftUI */
  box-shadow: 0 4px 20px var(--color-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(--color-shadow-dark);
}

/* TITULOS */
.service-info h2 {
  font-size: 2rem;
  color: var(--color-accent-warm); /* Acento amarillo cálido */
  margin-bottom: 1rem;
  position: relative;
}

.service-info h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-accent-teal); /* Línea decorativa teal */
  margin-top: 8px;
}

.service-info h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: var(--color-accent-teal); /* Subtítulo estilo SwiftUI */
}


/* 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;
  color: var(--color-text-secondary); /* Asegura consistencia en el texto */
}


.service-details li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 1.5rem;
  color: var(--color-accent-teal); /* Puntos decorativos */
}

.service-details li strong {
  display: block;
  font-size: 1.125rem;
  color: var(--color-accent-teal); /* Títulos dentro del bullet */
  margin-bottom: 4px;
}

.service-details li p {
  margin: 0;
  color: var(--color-text-secondary); /* Descripción en bullet */
  font-size: 0.95rem;
}


/* IMÁGENES CON EFECTO hover */
.service-image {
  flex: 1;
  border-radius: 12px; /* Bordes suaves tipo SwiftUI */
  overflow: hidden;
}

.service-image img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.9) contrast(1.05); /* Tono más neutral desde el inicio */
}

.service-image img:hover {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1); /* Ligeramente más intenso al hover */
}


/* ────────────────────────────────────────────── */
/*  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(16, 18, 23, 0.5), rgba(16, 18, 23, 0.5)), /* Fondo azul oscuro translúcido */
    url('../images/pololo.jpg') center/cover no-repeat;
  position: relative;
}

.servicios-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 23, 0.5); /* Overlay oscuro para contraste */
}

.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: var(--color-text-primary); /* Blanco hueso */
  padding: 0 20px;
}

.servicios-hero .hero-title {
  display: inline-block;
  background: rgba(16, 18, 23, 0.7); /* Azul oscuro translúcido */
  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 {
  --color-bg-dark:        #ffffff;   /* Fondo general muy oscuro */
  --color-bg-card:        #ffffff;   /* Fondo de tarjetas o secciones */
  --color-text-primary:   #F2F2F5;   /* Blanco hueso (texto principal) */
  --color-text-secondary: #B0B0B5;   /* Gris claro (texto secundario) */
  --color-accent-teal:    #3BC1C8;   /* Acento interactivo teal */
  --color-accent-warm:    #FFBA08;   /* Acento amarillo cálido */
  --color-shadow-light:   rgba(0, 0, 0, 0.2); /* Sombra suave */
  --color-shadow-dark:    rgba(0, 0, 0, 0.4); /* Sombra marcada */
}


/* ────────────────────────────────────────────── */
/*  HERO: texto secundario más brillante        */
/* ────────────────────────────────────────────── */
.servicios-hero p {
  color: var(--color-text-primary) !important; /* Blanco hueso para texto */
}

/* ────────────────────────────────────────────── */
/*  PALETA GLOBAL SWIFTUI DARK STYLE             */
:root {
  --color-bg-dark:        #0e0e0e;   /* Fondo general muy oscuro */
  --color-bg-card:        #1E1F28;   /* Fondo de tarjetas o secciones */
  --color-text-primary:   #f7f7f7;   /* Blanco hueso (texto principal) */
  --color-text-secondary: #B0B0B5;   /* Gris claro (texto secundario) */
  --color-accent-teal:    #3BC1C8;   /* Acento interactivo teal */
  --color-accent-warm:    #FFBA08;   /* Acento amarillo cálido */
  --color-shadow-light:   rgba(0, 0, 0, 0.2);   /* Sombra ligera */
  --color-shadow-dark:    rgba(0, 0, 0, 0.4);   /* Sombra intensa */
}


body {
  background: var(--color-bg-dark);
}

.service-info {
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  box-shadow: 0 4px 20px var(--color-shadow-dark);
}

.service-info h2 {
  color: var(--color-accent-teal);
}

.service-info h2::after {
  background: var(--color-accent-teal);
}

.service-info h3 {
  color: var(--color-accent-teal);
}

.service-info p {
  color: var(--color-text-secondary);
}

.service-details li {
  background: rgba(242, 242, 245, 0.03); /* Fondo suave translúcido */
}

.service-details li::before {
  color: var(--color-accent-teal);
}

.service-details li strong {
  color: var(--color-text-primary);
}

.service-details li p {
  color: var(--color-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);
}
