body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  background: #fff;
  color: #D3966C;
}

.container {
  max-width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  top: 50%;
  transform: translateY(-50%);

}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  margin-bottom: 10px;

}

.hero-content h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.hero-content p {
  max-width: 600px;
  margin: 0 auto 20px auto;
}

.btn-hero {
  display: inline-block;
  background: #D3966C;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
}

/* GUÍA */
.guia {
  background: #fef6f6;
  padding: 80px 20px;
}

.guia-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.guia-texto {
  flex: 1 1 100%;
  text-align: center;
  margin-bottom: 30px;
}

.guia-texto h2 {
  font-size: 2em;
  color: #D3966C;
  margin-bottom: 10px;
}

.guia-texto p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.btn-descarga {
  background: #D3966C;
  color: #222;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
}

.guia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guia-card {
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  padding-top: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.guia-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid #ccc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
}

.card-front {
  font-weight: bold;
}

.card-back {
  background: #D3966C;
  color: #fff;
  transform: rotateY(180deg);
}

.guia-imagen {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guia-imagen img {
  max-width: 100%;
  border-radius: 8px;
}

/* VENTAJAS */
.belgica-ventajas {
  background: #fef6f6;
  color: #D3966C;
  padding: 80px 20px;
  text-align: center;
}

.belgica-ventajas h2 {
  font-size: 2.5em;
  color: #D3966C;
  margin-bottom: 10px;
}

.belgica-ventajas p {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.ventaja-card {
  background: #D3966C;
  color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ventaja-card i {
  font-size: 2em;
  color: #fff;
  margin-bottom: 10px;
}

.ventaja-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.ventaja-card p {
  font-size: 1em;
}

.ventaja-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}


.btn-contacto {
  display: inline-block;
  background: #D3966C;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-contacto:hover {
  background: #ddd;
  color: #D3966C;
}

/* PROFESIONES */
.belgica-profesiones {
  background: #f5f7fa;
  padding: 80px 20px;
  text-align: center;
}

.belgica-profesiones h2 {
  font-size: 2.5em;
  color: #D3966C;
  margin-bottom: 10px;
}

.belgica-profesiones p {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

.profesiones-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}


.profesion-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.profesion-card i {
  font-size: 2em;
  color: #D3966C;
  margin-bottom: 10px;
}

.profesion-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.profesion-card p {
  font-size: 1em;
}

.profesion-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

/* FOOTER */
.footer-belgica {
  background: #D3966C;
  color: #fff;
  padding: 40px 20px;
}

.footer__content a {
  color: #D3966C;
}

.footer__content a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .ventajas-grid,
  .guia-grid,
  .profesiones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ventajas-grid,
  .guia-grid,
  .profesiones-grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 20px;
  }
  .hero-content h1 {
    font-size: 2em;
  }
  .hero-content h2 {
    font-size: 1.2em;
  }
  .btn-hero {
    font-size: 1em;
    padding: 10px 20px;
  }
  .belgica-ventajas h2,
  .belgica-profesiones h2 {
    font-size: 2em;
  }
}

.belgica-ventajas .container {
  position: relative;
}

.belgica-ventajas h2 {
  position: relative;
  display: inline-block;
  color: #D3966C;
}

.belgica-ventajas .guia-btn {
  position: absolute;
  top: 0;
  right: 30px;
  transform: translateY(0%);
  background-color: #ffccd5;
  color: #c21e4c;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
  z-index: 2;
}

.belgica-ventajas .guia-btn:hover {
  background-color: #f9a8b3;
  transform: scale(1.05);
}

/* Pulsación animada */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(194, 30, 76, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(194, 30, 76, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(194, 30, 76, 0);
  }
}

.footer__img a {
  background-color: #D3966C !important;  /* Color Bélgica */
  color: white !important;
  border: none !important;
  padding: 12px 20px !important;
  border-radius: 30px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}

.footer__img a:hover {
  background-color: #e58b98 !important;  /* Versión más oscura al hacer hover */
}

.footer__content input[type="submit"] {
  background-color: #D3966C !important;
  color: white !important;
  border: none !important;
  padding: 12px 20px !important;
  border-radius: 30px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
}

.footer__content input[type="submit"]:hover {
  background-color: #D3966C !important;
}


/* ======================================================= */
/* ====== INICIO DEL CÓDIGO RESPONSIVE PARA BÉLGICA ====== */
/* ======================================================= */

@media (max-width: 800px) {

    /* --- 1. SOLUCIÓN PARA EL HEADER FIJO --- */
    /* Mismo arreglo que en la página de inicio para evitar el hueco */
    
    body {
        /* Nueva altura total: 40px (social-bar) + 70px (nav) = 110px */
        padding-top: 110px; 
    }

    header .social-bar-belgica {
        min-height: 40px;
        height: auto;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    nav.nav.belgica {
        top: 40px; /* Sincronizamos la barra de nav con la social bar */
    }


    /* --- 2. AJUSTE DEL HERO CON VIDEO --- */
    .hero {
        /* Hacemos que la sección no ocupe toda la pantalla, sino que se ajuste */
        height: auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 0;
    }

    .hero-content {
        position: static; /* Quitamos el posicionamiento absoluto */
        transform: none; /* Reseteamos la transformación */
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem; /* Reducimos el tamaño del título */
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }


    /* --- 3. SECCIÓN DE VENTAJAS --- */
    .belgica-ventajas {
        padding: 60px 20px; /* Ajustamos el padding de la sección */
    }
    
    .belgica-ventajas h2 {
        font-size: 2rem; /* Títulos más pequeños */
    }
    
    .ventajas-grid {
        /* Apilamos las tarjetas en una sola columna */
        grid-template-columns: 1fr;
        gap: 20px; /* Reducimos el espacio entre tarjetas */
    }


    /* --- 4. SECCIÓN DE PROFESIONES --- */
    .belgica-profesiones {
        padding: 60px 20px;
    }

    .belgica-profesiones h2 {
        font-size: 2rem;
    }

    .profesiones-grid {
        /* No necesita cambios, ya que flex-wrap hace el trabajo, pero lo dejamos por claridad */
        flex-direction: column;
        gap: 20px;
    }


    /* --- 5. SECCIÓN DE GUÍA (FLIP CARDS) --- */
    .guia {
        padding: 60px 20px;
    }

    .guia-texto h2 {
        font-size: 2rem;
    }
    
    .guia-grid {
        /* Apilamos las tarjetas interactivas en una sola columna */
        grid-template-columns: 1fr;
    }

    /* DENTRO DE @media (max-width: 800px) en belgica.css */

/* --- 6. AJUSTE DE LA BARRA SOCIAL PARA MÓVIL --- */

/* DENTRO DE @media (max-width: 800px) en belgica.css */

/* --- 6. AJUSTE DE LA BARRA SOCIAL (VERSIÓN CENTRADA - CORREGIDA) --- */

/* A la barra principal le quitamos el 'justify-content' */
header .social-bar-belgica {
    flex-wrap: nowrap;
    /* Ya no necesita 'justify-content' aquí */
}

/* Ocultamos el elemento de la izquierda */
header .social-bar-belgica .left {
    display: none;
}

/* Ocultamos el email */
header .social-bar-belgica .right a[href^="mailto"] {
    display: none;
}

/* AL CONTENEDOR DE LOS ICONOS (.right) le damos las instrucciones de centrado */
header .social-bar-belgica .right {
    width: 100%;             /* Hacemos que ocupe todo el ancho disponible */
    justify-content: center; /* Y AHORA SÍ, centramos los iconos que tiene dentro */
    gap: 1.2rem;
}

/* DENTRO DE @media (max-width: 768px) en belgica.css */

/* --- AJUSTE BOTÓN GUÍA Y TÍTULO DE VENTAJAS --- */

/* 1. Convertimos el contenedor en una columna flexible */
.belgica-ventajas .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centramos todo el contenido */
}

/* 2. Reseteamos el posicionamiento del botón y lo reordenamos */
.belgica-ventajas .guia-btn {
    position: static;      /* Quitamos el posicionamiento absoluto para que entre en el flujo */
    transform: none;       /* Reseteamos cualquier transformación */
    order: -1;             /* <-- La clave: Lo movemos a la primera posición visual */
    margin-bottom: 25px;   /* Creamos espacio entre el botón y el título de abajo */
}

/* 3. Nos aseguramos de que el título no tenga un posicionamiento que interfiera */
.belgica-ventajas h2 {
    position: static; /* Aseguramos que se mantenga en el flujo normal */
}

}

/* Un ajuste extra para pantallas muy pequeñas */
@media (max-width: 500px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
}