/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* ESTILOS DEL HEADER */
/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    font-family: Arial, Helvetica, sans-serif;
}

/* Contenedor principal */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo img {
    height: 55px;
    width: auto;
}

/* Botón */
.header-button {
    padding: 10px 22px;
    border: 2px solid #e30613;
    border-radius: 30px;
    color: #e30613;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Hover del botón */
.header-button:hover {
    background-color: #e30613;
    color: #ffffff;
}

/* Línea roja inferior */
.header-accent {
    width: 100%;
    height: 4px;
    background-color: #e30613;
}














.hero-section {
    width: 100%;
    height: 100vh;
    min-height: auto;
    min-width: 295px;
    /*height: 1280PX;*/
    /*background-image: url("../img/UniLibreBG.png");*/
    background-image: url("../img/UniLibreBG02.png");
    background-size: cover;          /* llena el contenedor */
    background-position: right center; /* prioriza el lado derecho */
    background-repeat: no-repeat;
    position: relative;
}


/* Capa oscura encima (opcional pero recomendado) */
.hero-overlay {
    width: 100%;
    height: 100%;
/*    background-color: rgba(0, 0, 0, 0.35);*/  
    display: flex;
    align-items: center;
    justify-content: center;
}




















/* CONTENEDOR FORM */
.ocm-form {
    background: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-family: Arial, sans-serif;
    min-width: 275px;
}

/* HEADER DEL FORM */
.ocm-form-header {
    background: #111;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    /*margin-bottom: 15px;*/
}

.ocm-form-header img {
    height: 30px;
}

.ocm-form-header span {
    font-size: 12px;
    opacity: 0.9;
}

/* LABELS */
.ocm-form label {
    font-size: 12px;
    font-weight: bold;
    display: block;
    margin: 10px 0 4px;
}

/* INPUTS Y SELECT */
.ocm-form input,
.ocm-form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 20px;
    border: none;
    background: #f0f0f0;
    font-size: 13px;
    outline: none;
}

.ocm-form select {
    appearance: none;
    cursor: pointer;
}



/* TEXTO LEGAL */
.ocm-terms {
    font-size: 10px;
    color: #666;
    margin: 12px 0;
}

/* BOTÓN */
.ocm-start-button {
    width: 100%;
    background: red;
    border-radius: 20px;
    padding: 12px;
    font-weight: bold;
    color: #fff;
    border: none;
    cursor: pointer;
}

.ocm-start-button:hover {
    background: darkred;
}

/* CONTENEDOR SWITCH + TEXTO */
.ocm-terms-container {
    display: flex;
    align-items: center;   
    /*align-items: flex-start;*/
    gap: 10px;
}

/* SWITCH BASE */
.ocm-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    flex-shrink: 0;
}

/* OCULTAMOS EL CHECKBOX REAL */
.ocm-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* FONDO DEL SWITCH */
.ocm-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0; /* OFF */
    border-radius: 20px;
    transition: background-color 0.3s;
}

/* CIRCULITO */
.ocm-slider::before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background-color: #9e9e9e; /* gris OFF */
    border-radius: 50%;
    transition: transform 0.3s, background-color 0.3s;
}

/* ON (CHECKED) */
.ocm-switch input:checked + .ocm-slider {
    background-color: #e30613; /* rojo UniLibre */
}

.ocm-switch input:checked + .ocm-slider::before {
    transform: translateX(20px);
    background-color: #ffffff; /* circulo blanco */
}

/* TEXTO */
.ocm-terms {
    font-size: 11px;
    color: #555;
    line-height: 1.4;
}

.ocm-terms a {
    color: #e30613;
    text-decoration: underline;
}









































.footer {
  background-color: #0f0f0f;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 40px 60px;
}

.footer-col h4 {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  max-width: 140px;
  margin-bottom: 15px;
}

.footer-line {
  margin-bottom: 15px;
  line-height: 1.4;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: #c00;
  border-radius: 20px;
  font-size: 13px;
}

.footer-address p {
  margin-bottom: 10px;
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 40px;
  text-align: center;
}

.footer-legal {
  color: #d00000;
  margin-bottom: 6px;
  font-size: 13px;
}

.footer-copy {
  font-size: 13px;
}


.unilibre-footer {
  background: #1e1e1e;
  color: #fff;
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 14px;
}

.footer-grid {
  max-width: 1300px;
  margin: auto;
  padding: 50px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
}

.footer-box h4 {
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-box li {
  margin-bottom: 8px;
}

.footer-box a {
  color: #fff;
  text-decoration: none;
}

.footer-box a:hover {
  text-decoration: underline;
}

/* Bloque izquierdo */
.footer-left {
  grid-row: span 2;
}

.footer-logo {
  max-width: 130px;
  margin-bottom: 15px;
}

.footer-phone {
  margin-bottom: 15px;
}

.footer-sgs {
  height: 70px;
  margin-bottom: 20px;
}

/* Seccionales badge */
.badge-red {
  background: #d00000;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Dirección */
.footer-address p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.footer-socials img {
  height: 22px;
  margin-right: 10px;
}

/* Franja inferior */
.footer-bottom {
  background: #000;
  text-align: center;
  padding: 25px 15px;
}

.footer-alert {
  color: #ce1a1e;
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-copy {
  color: #fff;
  font-size: 13px;
}
