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

.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: #374463;
  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: #374463;
  margin-bottom: 10px;
}

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

.btn-descarga {
  background: #374463;
  color: #fff;
  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: #374463;
  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 */
.francia-ventajas {
  background: #374463;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.francia-ventajas h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.francia-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: #fff;
  color: #333;
  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: #374463;
  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: #fff;
  color: #374463;
  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: #374463;
}

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

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

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

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

.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: #0055A4;
  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-francia {
  background: #374463;
  color: #fff;
  padding: 40px 20px;
}

.footer__content a {
  color: #fff;
}

.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;
  }
  .francia-ventajas h2,
  .francia-profesiones h2 {
    font-size: 2em;
  }
  
}

@media (max-width: 768px) {
  .francia-ventajas .container {
    position: relative;
    padding-top: 50px; /* <- espacio para que el botón no quede solapado */
  }
  .francia-ventajas .guia-btn {
    position: fixed;
    top: 90px; /* puedes ajustar esta altura */
    right: 15px;
    background-color: #ffccd5;
    color: #c21e4c;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
  }
}




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

.francia-ventajas h2 {
  position: relative;
  display: inline-block;
  color: white;
}

.francia-ventajas .guia-btn {
  position: absolute;
  top: 0;
  right: 30px; /* <- AJUSTADO */
  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;
}


.francia-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: #374463 !important; /* Marrón Suiza */
  color: #fff !important;               /* Texto blanco */
  padding: 12px 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.footer__img a i {
  color: #fff !important;
}

.footer__img a:hover {
  background-color: #6F94A5 !important; /* Más oscuro al pasar */
}

.footer__content input[type="submit"] {
  background-color: #374463 !important;  /* Marrón característico Suiza */
  color: #fff !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: #374463 !important; /* Versión más oscura al pasar el ratón */
}


