
/* --------------------- BODY --------------------- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    text-align: center;
    scroll-behavior: smooth;
}

/* --------------------- BANNER --------------------- */
.banner {
    background-image: url('img/PortadaAmexacacia.png');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
    color: #FFD700;
    animation: fadeInUp 1.5s ease-out;
}

.banner-content h1 {
    font-size: 3.5em;
    margin: 0 0 10px 0;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.85);
}

.banner-content p {
    font-size: 1.3em;
    margin: 5px 0 15px 0;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.btn-banner:hover {
    background-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --------------------- LOGO ENTRE SECCIONES --------------------- */
.logo-perfil {
    position: relative;
    margin: -100px auto 40px auto;
    text-align: center;
    z-index: 2;
    animation: fadeIn 1.2s ease-out;
}

.logo-perfil img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 5px solid #faf9f4;
    background-color: #111;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-perfil img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.7);
}

.logo-perfil h2 {
    margin: 10px 0 5px;
    font-size: 1.8em;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.logo-perfil p {
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --------------------- INTRO & SECCIONES --------------------- */
.intro, .services, .ubicacion {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.intro h2, .services h2, .ubicacion h2 {
    color: #FFD700;
    font-size: 2em;
    margin-bottom: 10px;
}

.intro p, .services p, .ubicacion p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #f5f5f5;
    margin-bottom: 10px;
}

/* Misión y Visión lado a lado */
/* --- Misión y Visión con estilo de tarjeta --- */
.mision-vision {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
    text-align: center;
}

.mision, .vision {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 15px;
    padding: 25px;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.mision:hover, .vision:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.mision h3, .vision h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.mision p, .vision p {
    color: #e0e0e0;
    font-size: 1.05em;
    line-height: 1.6;
}

/* Lista de servicios */
/* --------------------- SERVICIOS EN FILA --------------------- */
/* --------------------- SERVICIOS EN FILA --------------------- */
.services {
    text-align: center;
    padding: 60px 20px;
    background: transparent;
}

.services h2 {
    color: #FFD700;
    font-size: 2em;
    margin-bottom: 40px;
}

/* Contenedor de servicios */
.services-list {
    display: flex;
    justify-content: center;  /* centra horizontalmente */
    align-items: stretch;     /* iguala la altura de las tarjetas */
    gap: 30px;                /* espacio entre tarjetas */
    flex-wrap: nowrap;        /* 🔥 mantiene una sola fila */
    max-width: 1200px;
    margin: 0 auto;
}

/* Cada tarjeta de servicio */
.services-list > div {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

/* Efecto al pasar el mouse */
.services-list > div:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Títulos */
.services-list h3 {
    color: #FFD700;
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* Texto */
.services-list p {
    color: #eaeaea;
    font-size: 1.05em;
    line-height: 1.6;
}

/* Responsivo */
@media (max-width: 900px) {
    .services-list {
        flex-wrap: wrap; /* 🔁 en pantallas pequeñas, baja en dos filas */
    }
}

/* Botón WhatsApp */
.contact-btn-container {
    margin-top: 20px;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #d39925; 
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
}

/* --------------------- CARRUSEL --------------------- */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.slides {
    display: flex;
    transition: transform 0.7s ease-in-out;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.slide img:hover {
    transform: scale(1.05);
}

/* Botones del carrusel */
.btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 2;
}

.btn:hover {
    background-color: rgba(255, 215, 0, 0.9);
}

#prev { left: 20px; }
#next { right: 20px; }

/* Sección de ubicación */
.ubicacion-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  background-color: #6e6c6c48; /* Fondo suave */
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin: 40px auto;
  max-width: 1100px;
}

/* Cuadro del mapa */
.mapa {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

/* Cuadro de la información */
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-color: rgb(12, 12, 12);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info p {
  font-size: 18px;
  margin: 10px 0;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .ubicacion-container {
    flex-direction: column;
  }
}

/* Footer */
footer {
    background-color: #111;
    color: #FFD700;
    padding: 20px 0;
    text-align: center;
    font-weight: bold;
}

/* --------------------- RESPONSIVO --------------------- */
@media (max-width: 900px) {
    .mision, .vision, .tramites, .logistica, .asesoria {
        width: 90%;
    }

    .banner-content h1 { font-size: 2.5em; }
    .slide img { height: 40vh; }
}

@media (max-width: 600px) {
    .banner-content h1 { font-size: 2em; }
    .logo-perfil img { width: 150px; height: 150px; }
}
