* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Hero-Bold', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #fff;
}

h1 {
    font-size: 4rem;
    font-family: "Schibsted Grotesk", serif;
}

h2 {
    font-size: 1.75em;
    font-family: "Schibsted Grotesk", serif;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
    font-family: "Schibsted Grotesk", serif;
}

p {
    font-size: 1.25rem;
    font-family: "Schibsted Grotesk", serif;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    font-size: 1.25rem;
    font-family: "Schibsted Grotesk", serif;
}

section {
    position: relative;
    /* Necesario para z-index */
    overflow: visible;
    /* Permite que el contenido salga */
    z-index: 1;
    /* Ajusta según sea necesario */
}


/* Inicialmente ocultos */
.container {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(10%);
    transition: all .5s;
}

/* Cuando entran en la vista (30% inferior), aparecen */
.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

header {
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    padding: 1rem 8%;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F3F5FB;
    border-bottom: 1px solid #000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    transition: top 0.1s ease-in-out;
}

/* Espacio reservado para evitar el salto */
.header-placeholder {
    height: 100%;
    /* Ajusta esto a la altura del navbar */
    display: none;
    /* Se activará cuando el header cambie */
}

header.scrolled {
    position: fixed;
    left: 0;
    border: 1px solid #000;
    margin: .5rem auto;
    width: 50%;
    height: 4.5rem;
    background: #fff;
    padding: 0.05rem 7%;
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
   
}
header.scrolled.visible {

    opacity: 1;
    /* Hace visible */
}

/* Cuando el navbar cambia a `fixed`, mostramos el espacio reservado */
header.scrolled+.header-placeholder {
    display: block;
}

header.scrolled .navlist a {
    color: #000;
}

/* Cuando el header tiene la clase scrolled */
header.scrolled .btn-content {
    border: 1px solid #000;
    background: #fff;
    color: #000000;
    box-shadow: none;
}

header.scrolled .btn-content:hover {

    transform: scale(1.1);
    color: #000000;
}

/* Ocultar back-btn cuando el header tiene la clase scrolled */
header.scrolled .back-btn {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.logo img {
    width: 10rem;
    height: auto;
}

header.scrolled .logo img {
    width: 7rem;
    height: auto;
}

header.scrolled .logo:hover {

    transform: scale(1.1);
    color: #000000;
}

.navlist {
    display: flex;
}

.navlist a {
    display: inline-block;
    margin: 0 35px;
    color: #1b1b1e;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    /* Necesario para el pseudo-elemento */
    text-decoration: none;
    /* Eliminamos el subrayado por defecto */
}

/* Subrayado animado */
.navlist a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    /* Ajusta esta posición según tu diseño */
    width: 0;
    height: 2px;
    /* Grosor del subrayado */
    background-color: currentColor;
    /* Hereda el color del texto */
    transition: width 0.3s ease;
}

.navlist a:hover::after {
    width: 100%;
    /* Ancho completo al hacer hover */
}

.navlist a:hover {
    color: #f39c12;
}

header.scrolled a:hover {
    color: #f39c12;
}

/* Right Section (Button & Icon) */
.nav-right {
    display: flex;
    align-items: center;
}

.button-container {
    position: relative;
    width: 10rem;
    /* Ancho del botón */
    height: 3rem;
    /* Alto del botón */
    margin: 5px;
}

#blog-button{
    visibility: hidden;
}

/* Efecto hover en el contenedor */
.button-container:hover .btn-content {
    background-color: #fff;
    color: #000000;
    /* Desplaza el botón hacia arriba y la izquierda */
}

.button-container:hover .back-btn {
    transform: translate(5px, 5px);
    /* Desplaza el fondo hacia abajo y la derecha */
}

/* Estilo del botón */
.btn-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #031A6B;
    /* Fondo blanco */
    color: #ffffff;
    /* Texto negro */
    border: none;
    border-radius: 20px;
    /* Bordes redondeados */
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Sombra */
}

/* Fondo del botón */
.back-btn {
    position: absolute;
    top: 5px;
    /* Desplazamiento inicial */
    left: 5px;
    /* Desplazamiento inicial */
    width: 100%;
    height: 100%;
    background-color: #FF7700;
    /* Color naranja */
    z-index: 1;
    border-radius: 20px;
    /* Bordes redondeados */
    transition: all 0.2s ease-in-out;
}

#menu-icon {
    font-size: 34px;
    color: #000000;
    z-index: 10001;
    cursor: pointer;
    display: none;
}



.privacy-policy {
    max-width: 800px;
    margin: 2rem auto;
    margin-top: 5rem;
    padding: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }
  
  .policy-header h1 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
  }
  
  .policy-header p {
    font-size: 0.95rem;
    color: #666;
  }
  
  .policy-section {
    margin-top: 2rem;
  }
  
  .policy-section h2 {
    color: #005a9c;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.3rem;
  }
  
  .policy-section p,
  .policy-section ul {
    margin-bottom: 1rem;
  }
  
  .policy-section ul {
    padding-left: 1.5rem;
    list-style-type: disc;
  }
  
  a {
    color: #0066cc;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  address {
    font-style: normal;
    line-height: 1.8;
  }
  





footer {
    background: #001524;
    color: #fff;
    padding: 40px 0;
    padding-bottom: 0;
}

.containfoot {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5rem;
    padding: 0 40px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    padding-bottom: 20px;
}

.visitanos,
.enlaces,
.info-contacto,
.social-neworks {
    flex: 1;
    min-width: 300px;
}

.visitanos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.enlaces {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-contacto .datos-contacto {
    margin-top: 4rem;

}

.title-visitanos h3,
.title-enlaces h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #f0a500;
    display: inline-block;
    padding-bottom: 5px;
}

.title-visitanos h4 {
    font-size: 1.5rem;
    margin: 10px 0 5px;
    color: #ffffff;
}

p {
    font-size: 1.04rem;
    margin: 5px 0;
    line-height: 1.5;
}

.menu-enlaces ul {
    list-style: none;
    padding: 0;
}

.menu-enlaces ul li {
    margin: 8px 0;
}

.menu-enlaces ul li a {
    text-decoration: none;
    color: #ddd;
    transition: color 0.3s ease;
}

.menu-enlaces ul li a:hover {
    color: #00B4D8;
}

.datos-contacto i {
    color: #ffffff;
    margin-right: 1px;
    font-size: 1.5rem;
}

.datos-contacto li {
    margin: 8px 0;
    font-size: 1.2rem;
}

.datos-contacto li a {
    text-decoration: none;
    color: #ddd;
    transition: color 0.3s ease;
}

.datos-contacto li a:hover {
    color: #00B4D8;
}

.social-neworks {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-aso img {
    max-width: 15rem;
    margin-bottom: 10px;
}

.redes-sociales ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
}

.redes-sociales ul li a {
    color: #fff;
    font-size: 3rem;
    transition: color 0.3s ease;
}

.redes-sociales ul li a:hover {
    color: #00B4D8;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #bbb;
}

.footer-bottom {
    padding: 15px 0;
    text-align: center;
    color: #fff;
    /* Texto en blanco para contraste */
    font-size: 14px;
    margin: 0;
}

.footer-bottom .containfoot {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.copy-right p {
    margin: 0;
    font-weight: 300;
    /* Texto más liviano */
    letter-spacing: 0.5px;
}

.copy-right p:hover {
    color: #f39c12;
    /* Cambio de color al pasar el cursor */
    transition: color 0.3s ease;
}