@import url("spacing.css");
@import url("grid.css");
:root {
/* Colores base */
    --color-bg: #ffffff;
    --color-text: #003366;
    --color-light-grey: #e9f3f7;

    /* Header */
    --color-header-bg: #0c2f59;
    --color-header-text: #ffffff;

    /* BTN principal */
    --color-btn-bg: #21a7d0;
    --color-btn-hover-bg: #203154;
    --color-btn-text: #ffffff;

    /* Otros */
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --font-family: 'Rubik', sans-serif;
    --font-header-family: 'Nunito', sans-serif;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
h1, h2, h3 {
    font-family: var(--font-header-family);
    font-weight: 500;
}
h1 {
    font-size: calc(1rem * 2.5);
    line-height: 2.5rem;
}
h2 {
    font-size: calc(1rem * 2);
    line-height: 2rem;
}
h3 {
    font-size: calc(1rem * 1.75);
    line-height: 1.75rem;
}
.d-none {
  display: none !important;
}
.text-center {
  text-align: center !important;
}
.text-left {
  text-align: left !important;
}
.text-right {
  text-align: right !important;
}

.fluid-img {
    border-radius: 6px;
    max-width: 100%;
}
.sub-title {
    font-family: "Rubik", sans-serif;
    color: #3ba9d2;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
    background: var(--color-header-bg);
    color: var(--color-header-text);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

header .logo img {
    height: 80px;
}

header nav a {
    color: var(--color-header-text);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

header nav a img {
    height: 40px;
    margin-bottom: 10px;
}

/* Main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-banner {
  background-image: url('../images/banner.jpg'); /* Cambia por la URL de tu imagen */
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 4;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
}

.hero-overlay {    
    max-width: 960px;
    margin: 2rem 0 4rem;
    padding: 1rem 2rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-content {
    color: white;
    text-align: left;
    width: 100%;
    padding: 0;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 3.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.hero-content .btn-acceder:hover {
  background-color: var(--color-btn-hover-bg);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
.text-container {
    width: 100%;
    max-width: 960px;
    margin: 2rem 0 4rem;
    padding: 1rem 2rem;
}
.privacy-container p {
  margin: 1rem 0;
}
.privacy-container h3 {
  margin: 2rem 0 1rem;
}

.text-container h1 {
    margin-bottom: 1rem;
}
.text-container h2 {
    margin-bottom: .75rem;
}
.text-container p {
    margin-bottom: .5rem;
}
.text-container iframe,
.text-container video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 2rem 0;
}
.text-container .btn-container {
    margin: 3rem 0; 
    text-align: center;
}
.text-container .box-content {
    background: var(--color-light-grey);
    border-radius: 5px;
    padding: 30px;
}

/* Botón */
.text-container .button-section {
    width: 100%;
    text-align: center;
}

.btn-acceder {
    background-color: var(--color-btn-bg);
    color: var(--color-btn-text);
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background 0.3s;
    text-transform: uppercase;
    display: block;
    width: fit-content;
}
@media screen and (max-width: 768px) {
    .text-container .btn-acceder {
        width: 100%;
    }
}

.btn-acceder:hover {
    background-color: var(--color-btn-hover-bg);
}

/* Responsive ajustes */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

footer {
  margin-top: 2rem;
  background-color: var(--color-header-bg);
  color: var(--color-header-text);
  padding: 2rem 2rem;
}

.footer-content {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  max-width: 250px;
}

.footer-copy {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
}
.footer-copy a {
  color: #ffffff;
}

.footer-social a {
  margin-left: 0.5rem;
  display: inline-block;
}

.footer-social img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy {
    order: 3;
  }

  .footer-social {
    order: 2;
  }

  .footer-logo {
    order: 1;
  }
}