/* Base */
* {
  font-family: Arial, sans-serif !important;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --fondo-oscuro: #0d1b2a;
  --azul-medio: #1b263b;
  --azul-claro: #415a77;
  --dorado: #d4af37;
  --blanco: #ffffff;
  --gris-claro: #cbd5e1;
  --gris-texto: #e2e8f0;
  --link-azul: #60a5fa;
  --sombra: rgba(0, 0, 0, 0.3);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--fondo-oscuro);
  color: var(--blanco);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header */
header {
  background: var(--fondo-oscuro);
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px var(--sombra);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

nav a.active,
nav a:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--dorado);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--fondo-oscuro), var(--azul-medio));
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blanco);
  padding: 0 20px;
}

.hero-text {
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
}

.cta-button {
  background: var(--dorado);
  color: var(--fondo-oscuro);
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px var(--sombra);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #b8992f;
  transform: translateY(-3px);
}

/* Secciones generales */
.seccion {
  background: var(--fondo-oscuro);
  padding: 40px 20px 60px 20px; /* Menos espacio arriba */
}

.seccion h2 {
  font-size: 2.5rem; /* reducido desde 2.5rem */
  color: var(--dorado);
  margin-top: 60px; /* ↓ era 60px o 80px probablemente */
  margin-bottom: 20px; /* ↓ un poco más compacto */
  text-align: center;
  position: relative;
  scroll-margin-top: 20px;
}



.seccion h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--dorado);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Servicios */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.accordion-item {
  border-radius: 10px;
  overflow: hidden;
  background: var(--azul-medio);
  box-shadow: 0 6px 16px var(--sombra);
}

.accordion-header {
  background: var(--azul-claro);
  color: var(--blanco);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 22px 25px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: var(--dorado);
  color: var(--fondo-oscuro);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: transparent;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-item.open .accordion-content {
  padding: 15px 0;
  max-height: 1000px;
}

.servicio-contenido-overlay {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.servicio-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: brightness(0.4);
}

.servicio-overlay-texto {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--blanco);
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Contacto */
section.seccion.contacto {
  background: var(--fondo-oscuro);
}

.contact-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  flex: 0 0 280px;
  background: #f5f5f5;
  color: #1c1c1c;
  padding: 25px;
  border-left: 4px solid var(--dorado);
  border-radius: 12px;
  box-shadow: 0 10px 25px var(--sombra);
  text-align: left;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.contact-item strong {
  color: #1c1c1c;
  font-size: 1.2rem;
  margin-bottom: 8px;
  display: block;
}

.contact-item .cargo {
  font-style: italic;
  color: #444;
  margin-bottom: 8px;
}

.contact-item a {
  color: var(--link-azul);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--dorado);
  text-decoration: underline;
}

.contact-info {
  margin-top: 80px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--dorado);
  font-style: italic;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--azul-medio);
  color: var(--gris-claro);
  padding: 60px 20px 40px 20px;
  text-align: center;
  border-top: 3px solid var(--dorado);
}

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--dorado);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blanco);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Animación */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.servicio-horizontal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: rgba(13, 27, 42, 0.9);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.servicio-horizontal:hover {
  transform: translateY(-4px);
}

.servicio-horizontal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #ffffff; /* Fondo blanco para claridad */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.servicio-horizontal:hover {
  transform: translateY(-4px);
}

.servicio-imagen {
  flex: 1;
  min-width: 40%;
  max-width: 40%;
  overflow: hidden;
}

.servicio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.05);
}

.servicio-info {
  flex: 2;
  padding: 30px;
  color: #1a1a1a; /* Texto oscuro */
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.servicio-info h3 {
  font-size: 1.6rem;
  color: #1e3a8a; /* Azul profesional */
  margin-bottom: 10px;
}

.servicio-info p {
  color: #333333;
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .servicio-horizontal {
    flex-direction: column;
  }

  .servicio-imagen,
  .servicio-info {
    max-width: 100%;
  }

  .servicio-imagen {
    height: 200px;
  }
}

/* Fondo elegante para servicios */
.servicios-fondo {
  background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.8)),
              url('img/fondo_servicios.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.servicios-envuelto {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px; /* antes 40px */
}


/* Tarjetas de servicios claras con borde dorado */
.servicio-horizontal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #ffffff;
  border-left: 6px solid var(--dorado);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.servicio-imagen {
  flex: 1;
  min-width: 40%;
  max-width: 40%;
  overflow: hidden;
}

.servicio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.05);
}

.servicio-info {
  flex: 2;
  padding: 30px;
  background-color: #ffffff;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.servicio-info h3 {
  font-size: 1.6rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.servicio-info p {
  color: #333333;
  line-height: 1.6;
  font-size: 1rem;
}

/* Animación fade-in suave al hacer scroll */


.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .servicio-horizontal {
    flex-direction: column;
  }

  .servicio-imagen,
  .servicio-info {
    max-width: 100%;
  }

  .servicio-imagen {
    height: 200px;
  }
}


.acordeon-item {
  background: transparent;
  border-left: 4px solid var(--dorado);
  border-radius: 8px;
  margin-bottom: 3px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-left 0.3s ease;
}

.acordeon-titulo {
  padding: 12px 20px; /* menos alto */
  font-weight: 600;
  font-size: 1.05rem; /* ligeramente más compacto */
  color: #1e3a8a;
  background: #f1f5f9;
  transition: background 0.3s ease;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  cursor: pointer;
}

.acordeon-item {
  background: transparent;
  border-left: 4px solid var(--dorado);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-left 0.3s ease;
}

/* Borde dorado solo al abrir */
.acordeon-item.open {
  border-left: 6px solid #fcd34d;
}

.acordeon-titulo {
  padding: 14px 22px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e3a8a;
  background: #f1f5f9;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Cambio de fondo al estar abierto */
.acordeon-item.open .acordeon-titulo {
  background: #e2e8f0;
}

.acordeon-cuerpo {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, padding 0.4s ease, opacity 0.4s ease;
  padding: 0 22px;
}

/* Mostrar solo si está abierto */
.acordeon-item.open .acordeon-cuerpo {
  max-height: 1000px;
  padding: 18px 22px 26px;
  opacity: 1;
}

.contenido-servicio {
  display: flex;
  flex-direction: row;
  gap: 28px;
  background: url('img/fondo-servicio.jpg') no-repeat center/cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 6px solid #fbbf24;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  background-blend-mode: overlay;
  transition: all 0.3s ease;
}




.acordeon-item.open .contenido-servicio {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}


.servicio-img {
  flex: 1;
  max-width: 38%;
  border-radius: 8px;
  overflow: hidden;
}

.servicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}


.acordeon-item.open .servicio-img img {
  transform: scale(1.01);
}

.servicio-texto {
  flex: 2;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  font-family: Arial, sans-serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.servicio-texto p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}



/* Responsive */
@media (max-width: 768px) {
  .contenido-servicio {
    flex-direction: column;
    padding: 14px;
  }

  .servicio-img,
  .servicio-texto {
    max-width: 100%;
  }

  .servicio-img {
    height: 180px;
  }
}

.acordeon-item {
  position: relative;
}

.acordeon-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 22px;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--dorado), transparent);
  opacity: 0.4;
  pointer-events: none;
}

/* Opcional: ocultar la línea en la última tarjeta */
.acordeon-item:last-child::after {
  display: none;
}

.servicio-circular-wrapper {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto 60px auto; /* centrado horizontalmente */
  display: flex;
  justify-content: center;
  align-items: center;
}


.servicio-central {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  margin-left: -120px;
  margin-top: -120px;
  background: #ffffff15;
  border-radius: 50%;
  padding: 30px;
  color: var(--blanco);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  border: 2px solid var(--dorado);
}

.servicio-central h3 {
  font-size: 1.1rem;
  color: var(--dorado);
  margin-bottom: 10px;
}

.servicio-central p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.servicio-nodo {
  position: absolute;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.servicio-nodo a {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--dorado);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.servicio-nodo a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 18px var(--dorado);
}

.servicio-nodo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dorado);
  color: var(--fondo-oscuro);
  font-weight: bold;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.servicio-nodo a:hover .tooltip {
  opacity: 1;
}

.servicio-nodo {
  position: absolute;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  z-index: 10;
  overflow: visible;
}

.nodo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: visible;
  border: 3px solid #d4af37;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.nodo-inner:hover {
  transform: scale(1.1);
}

.nodo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.nodo-inner a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

/* El título debe ir antes de <img> y <a> en HTML */
.servicio-titulo {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: #f3c93f;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 6px 12px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.nodo-inner:hover .servicio-titulo {
  opacity: 1;
}

.acordeon-item {
  scroll-margin-top: 120px; /* Ajusta según el alto de tu header */
}

.equipo-intro {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url("img/equipo-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 40px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.equipo-texto {
  max-width: 60%;
}

.equipo-texto h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #f5c518;
  margin-bottom: 20px;
}

.equipo-texto h2 span {
  display: block;
}

.equipo-texto p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin: 0;
}

.equipo-boton {
  background-color: #f5c518;
  color: #0d1b2a;
  font-weight: bold;
  padding: 18px 30px;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.equipo-boton:hover {
  background-color: #d4a017;
  transform: scale(1.05);
}

@media (max-width: 960px) {
  .equipo-intro {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .equipo-texto {
    max-width: 100%;
  }
}

/* ================================
   NUESTRO EQUIPO - SECCIÓN ESTILO
   ================================ */

.equipo-intro {
  position: relative;
  z-index: 0;
  background: url("img/equipo-bg.jpg") center/cover no-repeat;
  padding: 100px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  color: #ffffff;
  overflow: hidden;
}

.equipo-intro::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.75));
  z-index: 1;
  pointer-events: none;
}

.equipo-texto {
  flex: 1;
  max-width: 750px;
  z-index: 2;
  position: relative;
}

.equipo-texto h2 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #f5c518;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.equipo-texto h2 span {
  display: block;
}

.equipo-texto p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #f2f2f2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  max-width: 90%;
}

.equipo-boton {
  background-color: #f5c518;
  color: #0d1b2a;
  font-weight: 600;
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  z-index: 2;
  position: relative;
}

.equipo-boton:hover {
  background-color: #e4ae00;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 980px) {
  .equipo-intro {
    flex-direction: column;
    text-align: center;
    padding: 80px 30px;
  }

  .equipo-boton {
    margin-top: 30px;
  }

  .equipo-texto h2 {
    font-size: 2.5rem;
  }

  .equipo-texto p {
    font-size: 1.1rem;
  }
}
/* ========================
   SECCIÓN: HERO (Inicio)
   ======================== */
#inicio {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/inicio-bg.jpg') center/cover no-repeat;
  background-size: cover;
  padding: 100px 20px;
}

.hero-text h1 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-text p {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* ==========================
   SECCIÓN: QUIÉNES SOMOS
   ========================== */
#quienes-inicio {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('img/quienes-bg.jpg') center/cover no-repeat;
  background-size: cover;
  padding: 100px 20px;
  color: white;
  margin-bottom: 0; /* Eliminar espacio debajo de la sección */
}

#quienes-inicio h2 {
  color: #f5c518;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

#quienes-inicio p {
  color: #f2f2f2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
/* ==========================
   SECCIÓN: QUIÉNES SOMOS
   ========================== */
#quienes-inicio {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('img/quienes-bg.jpg') center/cover no-repeat;
  background-size: cover;
  padding: 100px 20px;
  color: white;
  margin-bottom: 0; /* Eliminar espacio debajo de la sección */
}

#quienes-inicio h2 {
  color: #f5c518;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

#quienes-inicio p {
  color: #f2f2f2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* ==========================
   SECCIÓN: SERVICIOS
   ========================== */
#servicios-circulares {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/servicios-bg.jpg') center/cover no-repeat;
  background-size: cover;
  padding: 100px 20px;
  margin-top: 0; /* Eliminar espacio arriba de la sección */
}

#servicios-circulares h2 {
  color: #f5c518;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

#servicios-circulares .servicio-central h3 {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

#servicios-circulares .servicio-central p {
  color: #f2f2f2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* ===========================
   ELIMINAMOS EL SEPARADOR HR
   =========================== */
hr {
  display: none; /* Elimina el espacio creado por el <hr> */
}

/* ========================
   Efecto Fade-In para secciones de la página
   ======================== */

/* ========================
   Ajuste de espacio y relleno
   ======================== */
.seccion {
  padding: 80px 20px; /* Ajuste del relleno para evitar espacio vacío */
}

/* ========================
   Tarjetas del equipo - Fondo semitransparente
   ======================== */
#equipo .container > div {
  background: rgba(12, 3, 63, 0.9); /* Fondo blanco semitransparente */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-left: 6px solid #fbbf24; /* Borde dorado */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#equipo .container > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

#equipo .container > div img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #fbbf24;
}

#equipo .container > div h3 {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: Arial, sans-serif;
}

#equipo .container > div p {
  font-size: 0.95rem;
  color: #e0e0e0;
  line-height: 1.6;
  font-family: Arial, sans-serif;
  margin-bottom: 10px;
}


#equipo .container > div p:nth-of-type(2) {
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  margin-bottom: 12px;

}

/* CARTA FORMULARIO*/

.formulario-box {
  max-width: 600px;
  margin: 80px auto 0 auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid #fbbf24;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}

.formulario-box label {
  display: block;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #f3f3f3;
  font-weight: bold;
}

.formulario-box input,
.formulario-box textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #ffffff;
  color: #000;
}

.formulario-box textarea {
  resize: vertical;
  min-height: 120px;
}

.formulario-box button {
  margin-top: 30px;
  width: 100%;
  padding: 14px;
  background-color: #fbbf24;
  color: #0d1b2a;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-box button:hover {
  background-color: #e0a800;
}

@media (max-width: 768px) {
  .hero-text {
    padding-top: 160px;
  }
}

/* CIRCULOS SERVICIO INICIO PARA CEL */

@media (max-width: 768px) {
  .servicio-circular-wrapper {
    left: 50% !important;
    transform: translateX(-50%) !important; /* mueve un poco más a la izquierda */
  }
}

/* TAMAÑO PARA BOTONES DE ARRIBA-- INICIO */

@media (max-width: 768px) {
  nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 12px;
    justify-items: center;
    text-align: center;
  }

  nav ul li:nth-child(n+4) {
    grid-column: span 1;
  }

  nav ul li:nth-child(4),
  nav ul li:nth-child(5) {
    grid-column: span 1;
  }

  nav ul li:last-child {
    grid-column: span 2;
    justify-self: center;
  }

  nav a {
    padding: 10px 12px;
    font-size: 0.85rem;
    min-width: 90px;
    display: inline-block;
  }
}



