/* Reset básico */
:root {
  --azul: #3390D0;
  --naranja: #F59C00;
  --negro: #000;
  --gris: #333;
  --blanco: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--blanco);
  color: var(--gris);
}

header {
  background-color: var(--azul);
  color: var(--blanco);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 9999;
}


.hero, .servicios, .nosotros, .contacto {
  padding: 2rem;
  text-align: center;
}

.placeholder-img {
  width: 100%;
  height: 200px;
  border: 2px dashed #ccc;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}



form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn {
  background-color: var(--naranja);
  color: var(--blanco);
  padding: 0.5rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.footer {
  background-color: var(--azul);
  color: var(--blanco);
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-info,
.footer-social {
  flex: 1 1 300px;
}

.footer-info h4,
.footer-social h4 {
  margin-bottom: 1rem;
  color: var(--blanco);
  font-size: 1.5rem;
  
}

.footer-info a,
.footer-social a {
  color: var(--blanco);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover,
.footer-social a:hover {
  color: var(--naranja); /* o cualquier color de énfasis */
}

.footer-social ul {
  list-style: none;
  padding: 0;
}

.footer-social li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
}
.icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  fill: var(--blanco);
}
.footer-info p,
.footer-social li {
  display: flex;
  align-items: center;
}
.footer-info a,
.footer-social a {
  display: inline-flex;
  align-items: center;
}


/* HERO */

.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-video {
  object-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  /*filter: brightness(0.5);  mejora la legibilidad */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
  max-width: 900px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #eee;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-btn {
  background-color: var(--naranja);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
}


.cta-btn:hover {
  background-color: #d78200;
}



/* responsive */
@media (max-width: 600px) {
  .hero {
    height: auto;
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: center;
    word-break: break-word;
  }

  .hero-description {
    font-size: 1rem;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.rc {
  color: var(--blanco);
}

.goicovich {
  color: var(--azul);
}

/* Ajusta el espacio superior de las secciones */
section {
  scroll-margin-top: 80px; /* Ajusta este valor según la altura de tu navbar */
}