
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Anton', sans-serif;
}
body {
  background-color: white;
  font-family: 'Anton', sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}

.header-sar {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: #272525;
}

/* Contenedor con margen */
.logo-container {
  max-width: 1920px;     /* límite elegante en pantallas grandes */
  margin: 0 auto;        /* centra el banner */
  padding: 0 24px;       /* margen lateral visible */
  overflow: hidden;
}

/* Imagen */
.logo-container img {
  width: 85%;       /* 🔽 baja el tamaño (100% → 90%) */
  height: auto;
  display: block;
  margin: 0 auto;   /* centra la imagen */
}

.main-nav ul {
justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 15px 0;
  display: flex;
  justify-content: flex-end;
  background-color: #272525;
  flex-wrap: wrap;
  gap: 30px;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-family: 'Anton', sans-serif; /* o 'Oswald' si prefieres */
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: normal;
}

.main-nav ul li a:hover {
  color: #ffdd00;
}
.main-nav ul li form {
  margin: 0;
  padding: 0;
}

.main-nav ul li form .logout-link {
  background: none;
  border: none;
  color: white;
  text-decoration: none;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: normal;
  cursor: pointer;
}

.main-nav ul li form .logout-link:hover {
  color: #ffdd00;
}





.hero {
  background: url('https://via.placeholder.com/1200x500/333333/ffdd00?text=Bienvenido') no-repeat center/cover;
  padding: 6rem 2rem;
  text-align: center;
  color: white;
  border-radius: 0 0 1rem 1rem;
}
.hero h2 { font-size: 2.8rem; margin-bottom: 1rem; text-shadow: 2px 2px 6px rgba(0,0,0,0.3); }
.hero p { font-size: 1.3rem; margin-bottom: 1rem; }
.hero button {
  padding: 0.7rem 1.5rem;
  background: #ffdd00;
  color: #333;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero button:hover { background: #e6c800; }

.servicios { padding: 2rem; text-align: center; }
.servicios h2 { color: #333; font-size: 2rem; margin-bottom: 1.5rem; }
.tarjetas { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
.tarjeta {
  background: white; padding: 1.5rem; width: 220px; border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.3s ease;
}
.tarjeta:hover { transform: scale(1.05); }
.tarjeta h3 { margin-bottom: 0.5rem; color: #333; }

.galeria { padding: 2rem; background: #efefef; border-radius: 1rem; margin: 2rem; }
.galeria h2 { color: #333; text-align: center; margin-bottom: 1.5rem; }
.galeria .imagenes { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.galeria img {
  width: 200px; border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.3s;
}
.galeria img:hover { transform: scale(1.08); }

.contacto { padding: 2rem; text-align: center; color: #333; }


@media (max-width: 768px) {
  .tarjetas, .imagenes { flex-direction: column; align-items: center; }
  header { flex-direction: column; }
}


.wrapper {
    position: relative;
    width: 800px;
    background: #333;
    color: white;
    border-radius: 10px;
    padding: 6rem 2rem;
    text-align: center;
    margin: 0 auto;
}

.wrapper h1 {
    font-size: 36px;
    text-align: center;
}
.wrapper h2 {
    font-size: 36px;
    text-align: center;
}

.wrapper .input-box{
    position: relative;
    margin: 10px 0;
    width: 100%;
    height: 50px;
    margin: 30px 0;

}

.input-box input{
    width: 100%;
    height: 100%;
    background: #efefef;
    border: none;
    outline: none;
    border: 2px solid rgb(255,255,255,.2);
    border-radius: 40px;
    font-size: 16px;
    color: white;
    padding: 20px 45px 20px 20px;
}

.input-box input{
    color: black;
}

.input-box i {
    position: absolute;
    right: 20;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.input-box strong {
    position: absolute;
    left: 2px; /* Lo movemos a la izquierda con 20px de separación */
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}



.wrapper .remember-forgot{
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: -15px 0 15px;
}

.remember-forgot{
    accent-color: white;
    margin-right: 3px;
}

.remember-forgot a {
    color: white;
    text-decoration: none;
}

.wrapper .btn {
    width: 100%;
    height: 45px; /* Antes era 100%, ahora es 50px */
    background: white;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    cursor: pointer;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}


.wrapper .register-link {
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
}

.register-link p a{
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover{
    text-decoration: underline;
}

.publicacion {
    padding: 1rem;
    background: transparent; /* Para que se distinga del fondo */
    border-radius: 8px;
    text-align: left; /* También alinea el texto automáticamente a la izquierda */
}

/* ===== Footer SAR ===== */
.footer-sar{
  background:#00365c;   /* mismo azul del título */
  color:#fff;
  margin-top:28px;
  padding:18px 0;
  text-align:center;    /* centra el texto */
}
.footer-sar .copy{
  margin:0;             /* quita márgenes por defecto */
  font-size:14px;
  letter-spacing:.3px;
}

/* ——— Layout base para sticky footer ——— */
html, body {
  height: 100%;
}
body {
  min-height: 100dvh;               /* cubre toda la altura de la ventana */
  display: flex;
  flex-direction: column;
}
.site-content {
  flex: 1;                          /* empuja el footer hacia abajo */
}

/* ——— Footer SAR ——— */
/* ⚠️ Asegúrate de NO tener otra regla 'footer { ... }' que lo pise */
.footer-sar{
  background: #00365c;
  color: #fff;
  margin-top: 28px;
  padding: 18px 16px;
  text-align: center;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.footer-sar .copy{
  margin: 4px 0;
  font-size: 14px;
  letter-spacing: .3px;
  line-height: 1.4;
  word-break: break-word;  /* por si hay textos largos */
}

/* Responsivo */
@media (max-width: 640px) {
  .footer-sar { padding: 16px 12px; }
  .footer-sar .copy { font-size: 13px; }
}


/* Responsive: apila en pantallas pequeñas */
@media (max-width: 640px) {
  .footer-sar .footer-brand {
    justify-content: center;
    text-align: center;
  }
  .footer-sar .footer-links {
    justify-content: center;
  }
  .footer-sar .copy {
    text-align: center;
  }
}